]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Clean up nptl/tst-join5 use of nanosleep.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ac9e0e5e
RM
12015-02-06 Roland McGrath <roland@hack.frob.com>
2
ca0e0675
RM
3 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4 (wait_code): New function replaces macro.
5 Call nanosleep rather than syscall.
6
8c28bbc6
RM
7 * nptl/pt-system.c: Rewritten. Put everything under
8 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9 Use IFUNC to redirect when possible.
10
ec2a88b3
RM
11 * nptl/pt-longjmp.c: Rewritten. Put everything under
12 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13 Use IFUNC to redirect when possible.
14
beff1d13
RM
15 * nptl/pt-fork.c: Rewritten. Put everything under
16 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17 Use IFUNC to redirect when possible.
18 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19
ea02c6b8
RM
20 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22 unconditionally nowadays. This included the only reference to
23 __vdso_clock_gettime that appears outside libc proper.
24 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25 Remove version set (containing only __vdso_clock_gettime).
26 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27 Add attribute_hidden.
28 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
30 libc_hidden_data_def.
31 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33
a1309c2b
RM
34 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
35 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36 setrpcent, and getrpcport to ...
37 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39 getrpcbynumber_r, and getrpcent_r to ...
40 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
41 * inet/getrpcbyname.c: Moved ...
42 * sunrpc/getrpcbyname.c: ... here.
43 * inet/getrpcbyname_r.c: Moved ...
44 * sunrpc/getrpcbyname_r.c: ... here.
45 * inet/getrpcbynumber.c: Moved ...
46 * sunrpc/getrpcbynumber.c: ... here.
47 * inet/getrpcbynumber_r.c: Moved ...
48 * sunrpc/getrpcbynumber_r.c: ... here.
49 * inet/getrpcent.c: Moved ...
50 * sunrpc/getrpcent.c: ... here.
51 * inet/getrpcent_r.c: Moved ...
52 * sunrpc/getrpcent_r.c: ... here.
53 * inet/Makefile (routines): Move those to ...
54 * sunrpc/Makefile (routines): ... here.
55 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
56 the $(subdirs) list.
57 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
58 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
59 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
60 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
61
ac9e0e5e
RM
62 * elf/Makefile (routines): Include $(all-dl-routines), not just
63 $(dl-routines).
64 (rtld-routines): Likewise. Use = rather than :=.
65 * sysdeps/aarch64/Makefile [$(subdir) = elf]
66 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
67 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
68 * sysdeps/arm/Makefile: Likewise.
69 * sysdeps/i386/Makefile: Likewise.
70 * sysdeps/x86_64/Makefile: Likewise.
71 * sysdeps/hppa/Makefile [$(subdir) = elf]
72 (sysdep_routines, sysdep-rtld-routines): Don't add
73 $(sysdep-dl-routines) to these.
74 * sysdeps/ia64/Makefile: Likewise.
75 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
76 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
77 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
78 Don't add dl-static to these; sysdep-dl-routines alone is enough.
79 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
80 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
81 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
82 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
83 * sysdeps/powerpc/Makefile [$(subdir) = elf]
84 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
85 these; sysdep-dl-routines alone is enough.
86
639e42eb
JM
872015-02-06 Joseph Myers <joseph@codesourcery.com>
88
1c7a4a51
JM
89 [BZ #17932]
90 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
91 where multiplication results in zero and third argument is finite
92 and nonzero.
93 * math/auto-libm-test-in: Add more tests of fma.
94 * math/auto-libm-test-out: Regenerated.
95
61f006c1
JM
96 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
97 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
98 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
99 (_FP_CMP_EQ): Likewise.
100 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
101
639e42eb
JM
102 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
103 extra argument CHECK_NAN. Redefine as wrapper around
104 _FP_EXTEND_CNAN.
105
3c0c543b
CD
1062015-02-06 Carlos O'Donell <carlos@systemhalted.org>
107
4e42b5b8
CD
108 * version.h (RELEASE): Set to "stable".
109 (VERSION): Set to "2.21"
110 * include/features.h (__GLIBC_MINOR__): Set to 21.
111
3c0c543b
CD
112 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
113
5bd80bfe 1142015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 115 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
116
117 [BZ #16618]
118 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
119 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
120 size in bytes. Store needed elements in wpmax. Use needed size
121 in bytes for extend_alloca.
122
3f823f48
CD
1232015-02-05 Carlos O'Donell <carlos@systemhalted.org>
124
04cb913d
CD
125 * manual/install.texi: Latest tested versions are GCC 4.9.2,
126 binutls 2.25, and texinfo 5.2.
127 * INSTALL: Regenerate.
128 * sysdeps/nios2/configure: Regenerate.
129 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
130 * manual/contrib.texi: Update.
131 * po/be.po: Update.
132 * po/bg.po: Update.
133 * po/ca.po: Update.
134 * po/cs.po: Update.
135 * po/da.po: Update.
136 * po/de.po: Update.
137 * po/el.po: Update.
138 * po/eo.po: Update.
139 * po/es.po: Update.
140 * po/fi.po: Update.
141 * po/fr.po: Update.
142 * po/gl.po: Update.
143 * po/hr.po: Update.
144 * po/hu.po: Update.
145 * po/ia.po: Update.
146 * po/id.po: Update.
147 * po/it.po: Update.
148 * po/ja.po: Update.
149 * po/ko.po: Update.
150 * po/lt.po: Update.
151 * po/nb.po: Update.
152 * po/nl.po: Update.
153 * po/pl.po: Update.
154 * po/pt_BR.po: Update.
155 * po/ru.po: Update.
156 * po/rw.po: Update.
157 * po/sk.po: Update.
158 * po/sl.po: Update.
159 * po/sv.po: Update.
160 * po/tr.po: Update.
161 * po/uk.po: Update.
162 * po/vi.po: Update.
163 * po/zh_CN.po: Update.
164 * po/zh_TW.po: Update.
165
3f823f48
CD
166 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
167 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
168 * sysdeps/hppa/dl-irel.h: Remove #warning.
169 * sysdeps/hppa/entry.h: Provide prototype for
170 __canonicalize_funcptr_for_compare and cast argument.
171 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
172 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
173 * sysdeps/hppa/sotruss-lib.c: New file.
174 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
175 (atomic_compare_and_exchange_val_acq): Use __typeof__.
176 (atomic_compare_and_exchange_bool_acq): Likewise.
177 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
178 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
179
180 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
181 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
182 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
183
34c56048
CLT
1842015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
185
186 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
187 called function in non-PIC case.
188
d4abeca5
DM
1892015-01-31 David S. Miller <davem@davemloft.net>
190
edac0a60
DM
191 * sysdeps/sparc/sparc32/bits/atomic.h
192 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
193 unlock not after it.
194 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
195 volatile register usage warnings from the compiler.
196
d4abeca5
DM
197 * sysdeps/sparc/nptl/sem_init.c: Delete.
198 * sysdeps/sparc/nptl/sem_post.c: Delete.
199 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
200 * sysdeps/sparc/nptl/sem_wait.c: Delete.
201 * sysdeps/sparc/sparc32/sem_init.c: New file.
202 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
203 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
204 padding explicitly initialized.
205 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
206 padding for in-semaphore spinlock.
207 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
208 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
209 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
210 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
211 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
212 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
213 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
214 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
215 version.
216 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
217 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
218
5f3d0b78
L
2192015-01-30 H.J. Lu <hongjiu.lu@intel.com>
220
221 [BZ #17801]
222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
223 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
224 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
225 New.
226 (index_AVX_Fast_Unaligned_Load): Likewise.
227 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
228 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
229 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
230 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
231 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
232 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
233 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
234 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
235 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
236
b658fdd8
AS
2372015-01-29 Andreas Schwab <schwab@suse.de>
238
239 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
240
3cb26316
SP
2412015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
242
243 [BZ #17892]
244 * nscd/nscd_stat.c (send_stats): Initialize DATA.
245
527de9e4
MS
2462015-01-28 Martin Sebor <msebor@redhat.com>
247
248 * math/README.libm-test: Clarify. Add "How to read the test output."
249
06991eb8
CM
2502015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
251
252 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
253 Define to 0.
254
df341342
JM
2552015-01-28 Joseph Myers <joseph@codesourcery.com>
256
257 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
258 (__HAVE_64B_ATOMICS): Define to 0.
259
08cee2a4
AZ
2602015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
261
d4d0ecb2
AZ
262 [BZ #17885]
263 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
264 value to set as new flag.
265
08cee2a4
AZ
266 [BZ #16576]
267 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
268 and use _ARCH_PPCSQ instead.
269 (__ieee754_sqrt): Likewise.
270 (__ieee754_sqrtf): Likewise.
271 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
272 _ARCH_PPCSQ is defined.
273 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
274 fsqrt instruction.
275 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
276 _ARCH_PPCSQ is defined.
277 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
278 fsqrts instruction.
279 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
280
5fe8e359
AK
2812015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
282
283 * iconv/loop.c: Suppress array out of bound warning caused by GCC
284 bug (GCC BZ #64739).
285
24bb7432
AS
2862015-01-25 Andreas Schwab <schwab@linux-m68k.org>
287
fa20da31
AS
288 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
289 Mark _retval as used.
290 (lll_futex_wake_unlock): Likewise.
291 (lll_futex_timed_wait_requeue_pi): Likewise.
292
45819cbc
AS
293 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
294 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
295 register variables.
296
403cc231
AS
297 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
298 libm_hidden_def.
299
24bb7432
AS
300 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
301 (__bswap_64): Mark as __always_inline.
302
9317ea65
B
3032015-01-25 Bram <bug_rh@spam.wizbit.be>
304
305 [BZ #15378]
306 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
307 when none of the search directories exist.
308
0e87343e
AZ
3092015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
310
bea58013
AZ
311 [BZ #17869]
312 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
313 power8 in .machine directive.
314
0e87343e
AZ
315 [BZ #17868]
316 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
317 set dependency from opd value.
318
ede0236c
L
3192015-01-23 H.J. Lu <hongjiu.lu@intel.com>
320
321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
322 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
323 architecture.
ede0236c 324
22971c35
L
3252015-01-23 H.J. Lu <hongjiu.lu@intel.com>
326
327 [BZ #17870]
328 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
329 with uint64_t.
330 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
331 (uint64_t) 1.
e0da28a1 332 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
333 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
334 Replace 1UL with (uint64_t) 1.
335 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
336 int with uint64_t.
337
da5bf245
RM
3382015-01-23 Roland McGrath <roland@hack.frob.com>
339
2ec2d703
RM
340 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
341 (if_freenameindex): Likewise.
342
da5bf245
RM
343 * resource/getrlimit64.c: Add missing libc_hidden_def.
344
d7423856
JM
3452015-01-22 Joseph Myers <joseph@codesourcery.com>
346
347 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
348 __label__.
349 (_FP_FMA): Likewise.
350 (_FP_TO_INT_ROUND): Likewise.
351 (_FP_FROM_INT): Likewise.
352
6b2ba95b
AZ
3532015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
354
355 [BZ #16418]
356 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
357 Make code racy and cancel safe.
358
ccdb048d
CD
3592015-01-21 Carlos O'Donell <carlos@redhat.com>
360
191220b3
CD
361 * sysdeps/arm/unwind-resume.h: Fix copyright year.
362 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
363 attribution.
364
0897c551
CD
365 * pwd/tst-getpw.c: Rewrite.
366
ccdb048d
CD
367 [BZ #17702]
368 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
369 (modules-names): Add moddummy1 and moddummy2.
370 ($(objpfx)tst-rec-dlopen): Define.
371 * dlfcn/moddummy1.c: New file.
372 * dlfcn/moddummy2.c: New file.
373 * dlfcn/tst-rec-dlopen.c: New file.
374 * elf/dl-cache.c (_dl_load_cache_lookup):
375 Return char*. Copy result with alloca/strcpy/strdup.
376 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
377 returns char*. Free cached. If not saving realname
378 free cached.
379 * elf/dl-open.c (dl_open_worker): Do not assert that
380 _r_debug->r_state is RT_CONSISTENT.
381 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
382 returns char*.
383
042e1521
CD
3842015-01-21 Torvald Riegel <triegel@redhat.com>
385 Carlos O'Donell <carlos@redhat.com>
386
387 [BZ #12674]
388 * nptl/sem_waitcommon.c: New file.
389 * nptl/sem_wait.c: Include sem_waitcommon.c.
390 (__sem_wait_cleanup, do_futex_wait): Remove.
391 (__new_sem_wait): Adapt.
392 (__new_sem_trywait): New function.
393 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
394 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
395 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
396 (sem_timedwait): Adapt.
397 * nptl/sem_post.c (__new_sem_post): Adapt.
398 (futex_wake): New function.
399 (__old_sem_post): Add release MO fence.
400 * nptl/sem_open.c (sem_open): Adapt.
401 * nptl/sem_init.c (__new_sem_init): Adapt.
402 (futex_private_if_supported): New function.
403 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
404 (__old_sem_getvalue): Add using previous code.
405 * sysdeps/nptl/internaltypes.h: Adapt.
406 * nptl/tst-sem13.c (do_test): Adapt.
407 * nptl/tst-sem11.c (main): Adapt.
408 * nptl/sem_trywait.c: Remove.
409 * nptl/DESIGN-sem.txt: Remove.
410 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
411 (gen-as-const-headers): Remove structsem.sym.
412 * nptl/structsem.sym: Remove.
413 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
414 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
415 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
416 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
417 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
418 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
419 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
420 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
421 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
422 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
423 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
424 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
425 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
426 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
427 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
428 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
429 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
430 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
431 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
432 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
433 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
434 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
435
fe0e85af
CD
4362015-01-20 Carlos O'Donell <carlos@redhat.com>
437
a8db092e
CD
438 * INSTALL: Regenerated.
439
fe0e85af
CD
440 * po/libc.pot: Regenerated.
441
522e6ee3
CLT
4422015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
443 Sandra Loosemore <sandra@codesourcery.com>
444 Andrew Jenner <andrew@codesourcery.com>
445 Joseph Myers <joseph@codesourcery.com>
446 Nathan Sidwell <nathan@codesourcery.com>
447
448 * NEWS: Mention new Nios II port.
449 * sysdeps/nios2/Implies: New file.
450 * sysdeps/nios2/Makefile: New file.
451 * sysdeps/nios2/Subdirs: New file.
452 * sysdeps/nios2/Versions: New file.
453 * sysdeps/nios2/__longjmp.S: New file.
454 * sysdeps/nios2/abort-instr.h: New file.
455 * sysdeps/nios2/backtrace.c: New file.
456 * sysdeps/nios2/bits/endian.h: New file.
457 * sysdeps/nios2/bits/fenv.h: New file.
458 * sysdeps/nios2/bits/link.h: New file.
459 * sysdeps/nios2/bits/setjmp.h: New file.
460 * sysdeps/nios2/bsd-_setjmp.S: New file.
461 * sysdeps/nios2/bsd-setjmp.S: New file.
462 * sysdeps/nios2/configure: New generated file.
463 * sysdeps/nios2/configure.ac: New file.
464 * sysdeps/nios2/crti.S: New file.
465 * sysdeps/nios2/crtn.S: New file.
466 * sysdeps/nios2/dl-init.c: New file.
467 * sysdeps/nios2/dl-machine.h: New file.
468 * sysdeps/nios2/dl-sysdep.h: New file.
469 * sysdeps/nios2/dl-tls.h: New file.
470 * sysdeps/nios2/dl-trampoline.S: New file.
471 * sysdeps/nios2/gccframe.h: New file.
472 * sysdeps/nios2/gmp-mparam.h: New file.
473 * sysdeps/nios2/jmpbuf-offsets.h: New file.
474 * sysdeps/nios2/jmpbuf-unwind.h: New file.
475 * sysdeps/nios2/ldsodefs.h: New file.
476 * sysdeps/nios2/libc-tls.c: New file.
477 * sysdeps/nios2/libm-test-ulps: New file.
478 * sysdeps/nios2/machine-gmon.h: New file.
479 * sysdeps/nios2/math-tests.h: New file.
480 * sysdeps/nios2/math_private.h: New file.
481 * sysdeps/nios2/memusage.h: New file.
482 * sysdeps/nios2/nptl/Makefile: New file.
483 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
484 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
485 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
486 * sysdeps/nios2/nptl/pthreaddef.h: New file.
487 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
488 * sysdeps/nios2/nptl/tls.h: New file.
489 * sysdeps/nios2/preconfigure: New file.
490 * sysdeps/nios2/s_fma.c: New file.
491 * sysdeps/nios2/s_fmaf.c: New file.
492 * sysdeps/nios2/setjmp.S: New file.
493 * sysdeps/nios2/sfp-machine.h: New file.
494 * sysdeps/nios2/sotruss-lib.c: New file.
495 * sysdeps/nios2/stackguard-macros.h: New file.
496 * sysdeps/nios2/stackinfo.h: New file.
497 * sysdeps/nios2/start.S: New file.
498 * sysdeps/nios2/sysdep.h: New file.
499 * sysdeps/nios2/tls-macros.h: New file.
500 * sysdeps/nios2/tst-audit.h: New file.
501 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
502 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
503 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
504 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
505 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
506 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
507 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
508 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
509 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
510 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
511 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
512 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
513 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
514 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
515 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
516 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
517 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
518 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
519 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
520 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
521 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
522 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
523 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
524 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
525 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
526 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
527 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
528 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
529 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
530 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
531 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
532 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
533 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
534 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
535 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
536 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
537 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
538 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
539 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
540 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
541 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
542 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
543 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
544 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
545
026eb207
SL
5462015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
547
548 [BZ #17844]
549 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
550 (getutent): Use weak_alias in non SHARED case
551 and default_symbol_version in SHARED case.
552 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
553 (getutent_r, pututline): Likewise.
554 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
555 (getutid): Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
557 (getutid_r): Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
559 (getutline): Likewise.
560 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
561 (getutline_r): Likewise.
562 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
563 (updwtmp): Likewise.
564
1d532483
SL
5652015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
566
567 [BZ #17848]
568 * sysdeps/s390/s390-32/memcmp.S
569 (memcmp_g5): Rename to __memcmp_g5.
570 * sysdeps/s390/s390-32/memcpy.S
571 (memcpy_g5): Rename to __memcpy_g5.
572 Jump to __memcpy_mvcle instead of memcpy_mvcle.
573 (memcpy_mvcle) Rename to __memcpy_mvcle.
574 * sysdeps/s390/s390-32/memset.S
575 (memset_g5): Rename to __memset_g5.
576 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
577 (IFUNC_RESOLVE): Prefix ifunc-resolve function
578 and use prefixed functions.
579 * sysdeps/s390/s390-32/multiarch/memcmp.S
580 (memcmp_z196): Rename to __memcmp_z196.
581 (memcmp_z10): Rename to __memcmp_z10.
582 (memcmp): Set alias to __memcmp_g5.
583 (bcmp): Set alias to __memcmp_g5.
584 * sysdeps/s390/s390-32/multiarch/memcpy.S
585 (memcpy_z196): Rename to __memcpy_z196.
586 Jump to __memcpy_mvcle instead of memcpy_mvcle.
587 (memcpy_z10): Rename to __memcpy_z10.
588 Jump to __memcpy_mvcle instead of memcpy_mvcle.
589 (memcpy): Set alias to __memcpy_g5.
590 * sysdeps/s390/s390-32/multiarch/memset.S
591 (memset_z196): Rename to __memset_z196.
592 Jump to __memset_mvcle instead of memset_mvcle.
593 (memset_z10): Rename to __memset_z10.
594 Jump to __memset_mvcle instead of memset_mvcle.
595 (memset_mvcle) Rename to __memset_mvcle.
596 (memset): Set alias to __memset_g5.
597 * sysdeps/s390/s390-64/memcmp.S
598 (memcmp_z900): Rename to __memcmp_z900.
599 * sysdeps/s390/s390-64/memcpy.S
600 (memcpy_z900): Rename to __memcpy_z900.
601 Jump to __memcpy_mvcle instead of memcpy_mvcle.
602 (memcpy_mvcle) Rename to __memcpy_mvcle.
603 * sysdeps/s390/s390-64/memset.S
604 (memset_z900): Rename to __memset_z900.
605 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
606 (IFUNC_RESOLVE): Prefix ifunc-resolve function
607 and use prefixed functions.
608 * sysdeps/s390/s390-64/multiarch/memcmp.S
609 (memcmp_z196): Rename to __memcmp_z196.
610 (memcmp_z10): Rename to __memcmp_z10.
611 (memcmp): Set alias to __memcmp_z900.
612 (bcmp): Set alias to __memcmp_z900.
613 * sysdeps/s390/s390-64/multiarch/memcpy.S
614 (memcpy_z196): Rename to __memcpy_z196.
615 Jump to __memcpy_mvcle instead of memcpy_mvcle.
616 (memcpy_z10): Rename to __memcpy_z10.
617 Jump to __memcpy_mvcle instead of memcpy_mvcle.
618 (memcpy): Set alias to __memcpy_z900.
619 * sysdeps/s390/s390-64/multiarch/memset.S
620 (memset_z196): Rename to __memset_z196.
621 Jump to __memset_mvcle instead of memset_mvcle.
622 (memset_z10): Rename to __memset_z10.
623 Jump to __memset_mvcle instead of memset_mvcle.
624 (memset_mvcle) Rename to __memset_mvcle.
625 (memset): Set alias to __memset_z900.
626
53fbd169
JM
6272015-01-14 Joseph Myers <joseph@codesourcery.com>
628
629 [BZ #17748]
630 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
631 __fesetenv instead of fesetenv.
632
d639a363
SP
6332015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
634
635 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
636 macro.
637
d3b00f46
AZ
6382015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
639
ce6615c9
AZ
640 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
641 regression on LE.
642
d3b00f46
AZ
643 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
644 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
645 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
646 strncmp-power8 object.
647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
648 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
649 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
650 * NEWS: Update.
651
72607db0
RS
6522015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
653 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
654
655 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
656 trailing byte check.
657
54dc5461
DM
6582015-01-13 David S. Miller <davem@davemloft.net>
659
660 * include/signal.h (__sigreturn): Guard with __USE_MISC.
661
1c6e6f23
RM
6622015-01-13 Roland McGrath <roland@hack.frob.com>
663
664 * login/logout.c (logout): Use memset rather than bzero.
665 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
666 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
667 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
668 (_gethtbyaddr): Likewise.
669 * locale/programs/simple-hash.c (bcopy): Macro removed.
670
96d6fd6c
AZ
6712015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
672
8bedcb5f
AZ
673 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
674 Add strcmp-power8 object.
675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
676 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
677 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
678 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
679 __strcmp_power8 implementation.
680 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
681 * NEWS: Update.
682
f06a4faf
AZ
683 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
684 Add strncpy-power8 and stpncpy-power8 objects.
685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
686 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
687 implementations.
688 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
689 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
690 __stpncpy_power8 implementation.
691 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
692 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
693 __strncpy_power8 implementation.
694 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
695 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
696 * NEWS: Update.
697
9f2f36e5
AZ
698 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
699 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
700 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
701
96d6fd6c 702 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
703 strncat-power8 object.
704 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
705 __strcat_power8 implementation.
706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
707 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
708 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
709 optimized strcat for power8.
710
711 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
712 strcpy-power8 and stpcpy-power8 objects.
713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
714 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
715 implementations.
716 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
717 multiarch stpcpy implementation for POWER8.
718 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
719 multiarch strcpy implementation for POWER8.
720 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
721 __strcpy_power8 function.
722 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
723 stpcpy for POWER8.
724 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
725 strcpy for POWER8.
726 * NEWS: Update.
727
0f9e5854
LH
7282015-01-13 Leonhard Holz <leonhard.holz@web.de>
729
730 [BZ #16009]
731 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
732 weights and rules. Use do_xfrm_cached if data fits in cache,
733 do_xfrm otherwise. Moved former main loop to...
734 * (do_xfrm_cached): New function.
735 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
736 find_idx, find_position and stack_push.
737 * (find_idx): New function.
738 * (find_position): Likewise.
739 * localedata/sort-test.sh: Added test run for do_xfrm.
740 * localedata/xfrm-test.c (main): Added command line option
741 -nocache to run the test with strings that are too large for
742 the STRXFRM cache.
743
c60ec0e0
TR
7442015-01-13 Torvald Riegel <triegel@redhat.com>
745
746 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
747 variable to lll_futex_wake call, not the value itself.
748
34e93d6c
JM
7492015-01-12 Joseph Myers <joseph@codesourcery.com>
750
5a9e4c09
JM
751 [BZ #17803]
752 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
753 twom64. Adjust value to 0x1p-64L.
754 (__scalblnl): Only return standard underflowing result for K <=
755 -64 not K <= -63; adjust exponent for underflowing result by 64
756 not 63.
757 * math/libm-test.inc (scalbn_test_data): Add more tests.
758 (scalbln_test_data): Likewise.
759
34e93d6c
JM
760 [BZ #17834]
761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
762 0x1p63L.
763 (__scalblnl): Get new exponent of adjusted subnormal value from ES
764 not HX.
765 * math/libm-test.inc (scalbn_test_data): Add more tests.
766 (scalbln_test_data): Likewise.
767
ca677d3c
AZ
7682015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
769 Stefani Seibold <stefani@seibold.net>
770
771 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
772 (sysdep_routines): Add dl-vdso here, ...
773 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
774 (sysdep_routines): ... not here.
775 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
776 fallback when vDSO is not presented.
777 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
778 Define with libc_hidden_proto/libc_hidden_data_def definitions.
779 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
780 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
781 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
782 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
783 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
784 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
785 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
786 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
787 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
788 fallback configurable symbol when vDSO is not available.
789 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
790 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
791 be able to redefine fallback symbol when vDSO is not available.
792 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
793 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
794
49a9f6ab 7952015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 796
56cf2763
AZ
797 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
798 (TLS_INIT_TP): Add tm_capable initialization.
799 (TLS_DEFINE_INIT_TP): Likewise.
800 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
801 TCB.
802 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
803 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
804 calculation.
805 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
806 transactoion is lock elision is built and TCB tm_capable is set.
807 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
809 (INTERNAL_SYSCALL_NCS): Likewise.
810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
811 (INTERNAL_SYSCALL_NCS): Likewise.
812 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
813
4b45943a
AZ
814 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
815 for powerpc.
816 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
817 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
818 and remove it for 32 bits case.
819 [pthread_rwlock_t] (__rwelision): New field for lock elision.
820 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
821 initialization.
822 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
823 Disable lock elision with rdlocks if elision is not available.
824
8d2c0a59
AZ
825 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
826 (sysdep_routines): Add lock elision objects.
827 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
828 [pthread_mutex_t] (__spins): Rework to add lock elision field.
829 [pthread_mutex_t] (__elision): Add field.
830 [__PTHREAD_SPINS]: Adjust to init lock elision field.
831 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
832 elision definitions for powerpc.
833 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
834 implementation of lock elision for powerpc.
835 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
836 implementation of timed lock elision for powerpc.
837 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
838 implementation of trylock with lock elision for powerpc.
839 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
840 implementaion of unlock for lock elision for powerpc.
841 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
842 automatic enable lock elision for mutexes.
843 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
844 transaction execution definitions for powerpc.
845 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
846 definitions.
847 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
848 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
849 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
850 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
851 * NEWS: Update.
852
bc0ed9f7
RM
8532015-01-09 Roland McGrath <roland@hack.frob.com>
854
855 * sysdeps/posix/shm-directory.c: Use <> rather than ""
856 for #include of <shm-directory.h>.
857
585d9c18
CLT
8582015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
859
860 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
861 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
862
aee6626c
MF
8632015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
864
865 [BZ #17791]
866 * NEWS: Mention bug fix.
867 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
868 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
869 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
870
9e560f48
TR
8712015-01-09 Torvald Riegel <triegel@redhat.com>
872
873 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
874
e1cfbd0c
TR
8752015-01-09 Torvald Riegel <triegel@redhat.com>
876
877 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
878
cf71e44f
DH
8792015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
880
881 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
882 pointer and cast to uintptr_t.
883
b360ee62
DH
8842015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
885
886 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
887 removed.
888 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
889
caff764e
DH
8902015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
891
892 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
893 of 0.
894
59ff172f
RM
8952015-01-08 Roland McGrath <roland@hack.frob.com>
896
c97d27f1
RM
897 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
898 <nptl/pthreadP.h> instead.
899 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
900
08734ccd
RM
901 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
902 already defined.
903 [__SIGRTMIN] (init): Function removed.
904 [__SIGRTMIN] (initialized): Variable removed.
905 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
906 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
907 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
908 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
909 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
910 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
911 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
912 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
913 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
914 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
915 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
916 * sysdeps/nptl/allocrtsig.c: New file.
917 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
918 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
919 * sysdeps/generic/testrtsig.h: File removed.
920
7b052e33
RM
921 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
922 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
923
cc40d25e
RM
924 * nptl/nptl-init.c (pthread_functions): Conditionalize
925 .ptr__nptl_setxid initialization on [SIGSETXID].
926
9287adf0
RM
927 * sysdeps/nptl/sys/procfs.h: New file.
928 * nptl_db/Makefile (headers): Add it.
929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
930
59ff172f
RM
931 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
932 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
933 * nptl/pthread_attr_setaffinity.c: Include it.
934 * nptl/pthread_setattr_default_np.c: Likewise.
935 * nptl/check-cpuset.h: New file.
936
b9205857
RH
9372015-01-08 Richard Henderson <rth@redhat.com>
938
939 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
940 (CFLAGS-tst-execstack-prog.c): Likewise.
941 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
942
1a0a8d15
CLT
9432015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
944 Sandra Loosemore <sandra@codesourcery.com>
945 Andrew Jenner <andrew@codesourcery.com>
946 Joseph Myers <joseph@codesourcery.com>
947 Nathan Sidwell <nathan@codesourcery.com>
948
949 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
950 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
951 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
952 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
953 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
954 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
955 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
956 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
957 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
958 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
959 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
960 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
961 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
962 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
963 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
964 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
965 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
966
dd6e8af6
AZ
9672015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
968
969 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
970 timespec struct member in syscall macro.
971 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
972 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
973 first timeval struct member in syscall macro.
974 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
975
8116321f
JM
9762015-01-07 Joseph Myers <joseph@codesourcery.com>
977
978 [BZ #17748]
979 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
980 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
981 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
982 __feupdateenv and define as weak alias of __feupdateenv. Use
983 libm_hidden_weak.
984 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
985 libm_hidden_def.
986 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
987 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
988 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
989 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
990 libm_hidden_def.
991 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
992 __feupdateenv and define as weak alias of __feupdateenv. Use
993 libm_hidden_weak.
994 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
995 libm_hidden_def.
996 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
997 __feupdateenv and define as weak alias of __feupdateenv. Use
998 libm_hidden_weak.
999 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1000 libm_hidden_def.
1001 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1002 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1003 (__feupdateenv): Likewise.
1004 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1005 __feupdateenv and define as weak alias of __feupdateenv. Use
1006 libm_hidden_weak.
1007 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1008 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1009 libm_hidden_def.
1010 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1011 function.
1012 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1013 libm_hidden_def.
1014 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1015 __feupdateenv instead of feupdateenv.
1016 (default_libc_feupdateenv_test): Likewise.
1017 (libc_feresetround_ctx): Likewise.
1018
882dfe18
AZ
10192015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1020
1021 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1022 prototype.
1023
39a12f8d
CM
10242015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1025
1026 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1027 COLL_SYM in a couple of places to avoid uninitialized variable
1028 wanings on tilegx gcc 4.8.2.
1029
dc400d7b
RE
10302015-01-07 Richard Earnshaw <rearnsha@arm.com>
1031
1032 * sysdeps/aarch64/strcpy.S: New file.
1033 * sysdeps/aarch64/stpcpy.S: New file.
1034 * NEWS: Updated.
1035
ec582ca0
RE
10362015-01-07 Richard Earnshaw <rearnsha@arm.com>
1037
1038 * sysdeps/aarch64/strrchr.S: New file.
1039 * NEWS: Updated.
1040
d5b1c5ed
EB
10412015-01-07 Eric Biggers <ebiggers3@gmail.com>
1042
1043 [BZ #17658]
1044 * stdlib/setenv.c: Fix memory leak when setting large,
1045 duplicate string.
1046
fb87ee96
VN
10472015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1048
60f046a8 1049 [BZ #17273]
fb87ee96
VN
1050 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1051 and tabs from buffer before parsing fstab entry.
1052 * misc/tst-mntent.c (main): Add test for mount entry with
1053 trailing spaces and tabs.
1054
cd42798a
JM
10552015-01-06 Joseph Myers <joseph@codesourcery.com>
1056
01238691
JM
1057 [BZ #17748]
1058 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1059 * math/fesetround.c (fesetround): Rename to __fesetround and
1060 define as weak alias of __fesetround. Use libm_hidden_weak.
1061 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1062 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1063 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1064 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1065 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1066 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1067 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1068 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1069 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1070 __fesetround_inline.
1071 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1072 __fesetround_inline instead of __fesetround.
1073 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1074 __fesetround and define as weak alias of __fesetround. Use
1075 libm_hidden_weak. Call __fesetround_inline instead of
1076 __fesetround.
1077 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1078 __fesetround and define as weak alias of __fesetround. Use
1079 libm_hidden_weak.
1080 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1081 Likewise.
1082 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1083 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1084 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1085 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1086 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1087 __fesetround and define as weak alias of __fesetround. Use
1088 libm_hidden_weak.
1089 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1090 __fesetround instead of fesetround.
1091 (default_libc_feholdexcept_setround): Likewise.
1092 (libc_feholdsetround_ctx): Likewise.
1093 (libc_feholdsetround_noex_ctx): Likewise.
1094
cd42798a
JM
1095 [BZ #17748]
1096 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1097 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1098 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1099 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1100 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1101 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1102 define as weak alias of __fesetenv. Use libm_hidden_weak.
1103 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1104 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1105 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1106 define as weak alias of __fesetenv. Use libm_hidden_weak.
1107 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1108 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1109 define as weak alias of __fesetenv. Use libm_hidden_weak.
1110 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1111 libm_hidden_def.
1112 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1113 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1114 Likewise.
1115 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1116 define as weak alias of __fesetenv. Use libm_hidden_weak.
1117 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1118 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1119 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1120 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1121 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1122 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1123 __fesetenv instead of fesetenv.
1124 (libc_feresetround_noex_ctx): Likewise.
1125 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1126 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1127 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1128 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1129 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1130 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1131 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1132 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1133 (__feupdateenv): Likewise.
1134 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1135 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1136 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1137 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1138
38949026
AJ
11392015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1140
1cf98e27 1141 [BZ #17806]
38949026
AJ
1142 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1143 addresses have been freed.
1144
5fe55e9c
AJ
11452015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1146
1147 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1148 and nservall.
1149
dc8ab018
OB
11502015-01-06 Ondřej Bílka <neleai@seznam.cz>
1151
1152 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1153 Clean up check_pf allocation pattern. addresses
1154
14bb4e57
AZ
11552015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1156
1157 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1158 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1159 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1160 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1161 * nptl/pthread_join.c (pthread_join): Likewise.
1162 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1163 * sysdeps/posix/waitid.c (__waitid): Likewise.
1164 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1165 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1166 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1167 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1168 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1169 Likewise.
1170 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1171 (__libc_pread64): Likewise.
1172 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1173 (__libc_pwrite): Likewise.
1174 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1175 (__libc_pwrite64): Likewsie.
1176 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1177 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1178 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1179 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1180 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1181 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1182 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1184 Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1186 (__libc_pread64): Likewise.
1187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1188 Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1190 (__libc_pwrite64): Likewise.
1191 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1192 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1193 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1194 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1195 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1196 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1197 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1198 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1199 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1200 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1201 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1202 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1203 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1204 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1205 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1207 Likewise.
1208
10a5e112
AS
12092015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1210
1211 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1212 (CFLAGS-test-double.c): Likewise.
1213 (CFLAGS-test-ldouble.c): Likewise.
1214 (CPPFLAGS-test-ifloat.c): Likewise.
1215 (CPPFLAGS-test-idouble.c): Likewise.
1216 (CPPFLAGS-test-ildoubl.c): Likewise.
1217 (CFLAGS-test-test-fenv.c): Remove variable.
1218 (CFLAGS-test-misc.c): Likewise.
1219
57ada0e7
L
12202015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 [BZ #17797]
1223 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1224 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1225 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1226 CLOCKS_PER_SEC == 1000000.
1227 * time/clocktest.c (main): Replace %ld with %jd and cast to
1228 intmax_t.
1229
46abb64d
RM
12302015-01-05 Roland McGrath <roland@hack.frob.com>
1231
1232 * sysdeps/generic/unwind-resume.h: New file.
1233 * sysdeps/gnu/unwind-resume.c: Include it.
1234 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1235 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1236 argument list.
1237 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1238 global rather than static.
1239 (_Unwind_Resume): Update user.
1240 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1241 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1242 rather than static. Add __attribute__ ((cold)).
1243 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1244 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1245 * sysdeps/arm/arm-unwind-resume.S: New file.
1246 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1247 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1248 * sysdeps/arm/Makefile [$(subdir) = csu]
1249 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1250 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1251 Add rt-arm-unwind-resume.
1252 [$(subdir) = nptl]
1253 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1254 Add pt-arm-unwind-resume.
1255 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1256 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1257
ef9faf13
JM
12582015-01-05 Joseph Myers <joseph@codesourcery.com>
1259
1260 [BZ #17748]
1261 * include/fenv.h (__feholdexcept): Declare. Use
1262 libm_hidden_proto.
1263 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1264 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1265 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1266 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1267 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1268 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1269 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1270 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1271 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1272 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1273 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1274 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1275 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1276 (feholdexcept): Likewise.
1277 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1278 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1279 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1280 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1281 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1282 __feholdexcept instead of feholdexcept.
1283 (default_libc_feholdexcept_setround): Likewise.
1284
295a453e
SE
12852015-01-05 Steve Ellcey <sellcey@imgtec.com>
1286
1287 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1288 to avoid using stl/str to align destination.
1289
882c4b9f
SE
12902015-01-05 Steve Ellcey <sellcey@imgtec.com>
1291
1292 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1293
ac4c11f5
JM
12942015-01-05 Joseph Myers <joseph@codesourcery.com>
1295
1296 [BZ #17796]
1297 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1298 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1299 Define as weak alias not strong alias.
1300
03403e30
SE
13012015-01-05 Steve Ellcey <sellcey@imgtec.com>
1302
1303 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1304 bltzal with addiupc.
1305 (RTLD_START): Ditto.
1306
1dca195e
CM
13072015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1308
00b8b9ba
SP
1309 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1310 for __vdso_* functions in declarations.
1311 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1312 definitions.
1313 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1314 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1315
1dca195e
CM
1316 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1317 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1318 function with cast from llround().
1319 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1320 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1321 Define.
1322
a287953a
JM
13232015-01-05 Joseph Myers <joseph@codesourcery.com>
1324
ab70da77
JM
1325 [BZ #17793]
1326 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1327 Define as weak alias not strong alias.
1328
b8986484
JM
1329 [BZ #17635]
1330 * ctype/ctype-c99.c: New file. isblank implementation moved from
1331 ...
1332 * ctype/ctype-extn.c: ... here.
1333 (__isblank_l): Move to ...
1334 * ctype/ctype-c99_l.c: ... here. New file.
1335 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1336 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1337 Remove variable.
1338 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1339 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1340 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1341 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1342 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1343
a287953a
JM
1344 [BZ #17777]
1345 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1346 (posix_fadvise64): Define as weak alias not strong alias.
1347 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1348 (posix_fallocate64): Likewise.
1349 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1350 Remove variable.
1351 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1352 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1353 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1354 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1355 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1356
b1efe3bb
MF
13572015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1358
1359 [BZ #16191]
1360 * NEWS: Mention bug fix.
1361 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1362 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1363 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1364 (HOST_STACK_END_ADDR): Likewise.
1365
9706dc5f
JM
13662015-01-02 Joseph Myers <joseph@codesourcery.com>
1367
b93c2205
JM
1368 [BZ #17748]
1369 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1370 * math/fegetround.c (fegetround): Rename to __fegetround and
1371 define as weak alias of __fegetround. Use libm_hidden_weak.
1372 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1373 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1374 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1375 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1376 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1377 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1378 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1379 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1380 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1381 Undefine after rather than before function definition; use
1382 parentheses around function name in definition.
1383 (__fegetround): Also undefine macro after function definition.
1384 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1385 __fegetround and define as weak alias of __fegetround. Use
1386 libm_hidden_weak. Do not undefine as macro.
1387 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1388 Likewise.
1389 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1390 __fegetround and define as weak alias of __fegetround. Use
1391 libm_hidden_weak.
1392 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1393 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1394 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1395 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1396 __fegetround and define as weak alias of __fegetround. Use
1397 libm_hidden_weak.
1398 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1399 __fegetround instead of fegetround.
1400
253a59cc
JM
1401 [BZ #17782]
1402 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1403 Condition macro definition on [__USE_MISC].
1404
27dae011
JM
1405 [BZ #17781]
1406 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1407 (struct sigaction): Change type of sa_flags field to int.
1408
172019c0
JM
1409 [BZ #17780]
1410 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1411 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1412 __glibc_reserved0.
1413
522ad1d6
JM
1414 * nptl/version.c (banner): Use single year in copyright notice.
1415
9706dc5f
JM
1416 * NEWS: Update copyright dates.
1417 * catgets/gencat.c (print_version): Likewise.
1418 * csu/version.c (banner): Likewise.
1419 * debug/catchsegv.sh: Likewise.
1420 * debug/pcprofiledump.c (print_version): Likewise.
1421 * debug/xtrace.sh (do_version): Likewise.
1422 * elf/ldconfig.c (print_version): Likewise.
1423 * elf/ldd.bash.in: Likewise.
1424 * elf/pldd.c (print_version): Likewise.
1425 * elf/sotruss.sh: Likewise.
1426 * elf/sprof.c (print_version): Likewise.
1427 * iconv/iconv_prog.c (print_version): Likewise.
1428 * iconv/iconvconfig.c (print_version): Likewise.
1429 * locale/programs/locale.c (print_version): Likewise.
1430 * locale/programs/localedef.c (print_version): Likewise.
1431 * login/programs/pt_chown.c (print_version): Likewise.
1432 * malloc/memusage.sh (do_version): Likewise.
1433 * malloc/memusagestat.c (print_version): Likewise.
1434 * malloc/mtrace.pl: Likewise.
1435 * manual/libc.texinfo: Likewise.
1436 * nptl/version.c (banner): Likewise.
1437 * nscd/nscd.c (print_version): Likewise.
1438 * nss/getent.c (print_version): Likewise.
1439 * nss/makedb.c (print_version): Likewise.
1440 * posix/getconf.c (main): Likewise.
1441 * scripts/test-installation.pl: Likewise.
1442 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1443
b8607aac
WN
14442015-01-02 Will Newton <will.newton@linaro.org>
1445
1446 * sysdeps/arm/armv7/configure: Removed.
1447 * sysdeps/arm/armv7/configure.ac: Likewise.
1448
b168057a
JM
14492015-01-02 Joseph Myers <joseph@codesourcery.com>
1450
1451 * All files with FSF copyright notices: Update copyright dates
1452 using scripts/update-copyrights.
1453 * intl/plural.c: Regenerated.
1454 * locale/programs/charmap-kw.h: Likewise.
1455 * locale/programs/locfile-kw.h: Likewise.
1456
b217c15f
SP
14572015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1458
1459 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1460
73a268c7
JM
14612014-12-31 Joseph Myers <joseph@codesourcery.com>
1462
1463 [BZ #17748]
1464 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1465 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1466 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1467 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1468 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1469 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1470 define as weak alias of __fegetenv. Use libm_hidden_weak.
1471 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1472 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1473 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1474 define as weak alias of __fegetenv. Use libm_hidden_weak.
1475 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1476 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1477 define as weak alias of __fegetenv. Use libm_hidden_weak.
1478 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1479 libm_hidden_def.
1480 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1481 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1482 Likewise.
1483 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1484 define as weak alias of __fegetenv. Use libm_hidden_weak.
1485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1486 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1487 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1488 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1489 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1490 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1491 __fegetenv instead of fegetenv.
1492 (libc_feholdsetround_noex_ctx): Likewise.
1493
0bd95672
MF
14942014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1495
1496 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1497 (Elf_MIPS_ABIFlags_v0): New structure.
1498 (EF_MIPS_FP64): Define.
1499 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1500 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1501 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1502 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1503 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1504 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1505 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1506 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1507 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1508 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1509 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1510 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1511 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1512 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1513 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1514 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1515 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1516 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1517 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1518 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1519 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1520 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1521 field.
1522 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1523 EF_MIPS_FP64.
1524 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1525 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1526 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1527 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1528 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1529 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1530 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1531 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1532 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1533 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1534 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1535 record the current FP ABI extension.
1536 (mips-mode-switch): Define to show if kernel headers support mode
1537 switching.
1538 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1539 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1540 supported SYSV ABI version to 3.
1541 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1542 feature.
1543
f59ad976
RS
15442014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1545 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1546
1547 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1548 path.
1549 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1550
4a3d3999
JM
15512014-12-31 Joseph Myers <joseph@codesourcery.com>
1552
1553 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1554 __fegetround and redefine to call __fegetround. Remove condition
1555 on [!__NO_MATH_INLINES].
1556 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1557 function.
1558 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1559 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1560 Remove macro.
1561 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1562 instead of <fenv_libc.h>.
1563 (__llrintl): Call fegetround instead of __fegetround.
1564 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1565 instead of <fenv_libc.h>.
1566 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1567 (__lrintl): Call fegetround instead of __fegetround.
1568 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1569 instead of <fenv_libc.h>.
1570 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1571 (__rintl): Call fegetround instead of __fegetround.
1572
195f3afc
SP
15732014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1574
1575 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1576 arrays.
1577
7062bd42
L
15782014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 [BZ #17775]
1581 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1582 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1583 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1584
07256e18
AS
15852014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1586
1587 * sysdeps/i386/tls-macros.h: Include <features.h>.
1588 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1589 (TLS_IE): Likewise.
1590 (TLS_LD): Likewise.
1591 (TLS_GD): Likewise.
1592 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1593 define for GCC >= 5.0.
1594
1ff950ad
CM
15952014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1596
1597 * math/test-fenv.c (test_single_exception, set_single_exc,
1598 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1599 feexcp_mask_test, feenable_test, fe_single_test): Add
1600 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1601 case where they are not used.
1602 * math/libm-test.inc: Likewise.
1603 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1604 unused in the absence of FP rounding/exception support.
1605 * stdio-common/tst-printf-round.c: Likewise.
1606 * stdlib/tst-strtod-round.c: Likewise.
1607 * stdlib/tst-strtod-underflow.c: Likewise.
1608
0747f818
JM
16092014-12-30 Joseph Myers <joseph@codesourcery.com>
1610
1611 [BZ #17723]
1612 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1613 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1614 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1615 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1616 libm_hidden_weak.
1617 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1618 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1619 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1620 libm_hidden_def.
1621 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1622 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1623 libm_hidden_weak.
1624 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1625 Likewise.
1626 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1627 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1628 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1629 libm_hidden_weak.
1630 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1631 libm_hidden_def.
1632 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1633 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1634 (__feraiseexcept): Likewise.
1635 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1636 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1637 libm_hidden_weak.
1638 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1639 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1640 libm_hidden_def.
1641 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1642 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1643 Use libm_hidden_def.
1644 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1645 libm_hidden_def.
1646 (feraiseexcept): Define as weak not strong alias. Use
1647 libm_hidden_weak.
1648 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1649 New inline function. Factored out of ...
1650 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1651 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1652 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1653 feraiseexcept.
1654 * math/w_acos.c (__acos): Likewise.
1655 * math/w_asin.c (__asin): Likewise.
1656 * math/w_ilogb.c (__ilogb): Likewise.
1657 * math/w_j0.c (y0): Likewise.
1658 * math/w_j1.c (y1): Likewise.
1659 * math/w_jn.c (yn): Likewise.
1660 * math/w_log.c (__log): Likewise.
1661 * math/w_log10.c (__log10): Likewise.
1662 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1663 * sysdeps/aarch64/fpu/math_private.h
1664 (libc_feupdateenv_test_aarch64): Likewise.
1665 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1666 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1667 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1668 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1669 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1670 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1671 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1672 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1673 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1674 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1675
8d2b2763
L
16762014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1677
1678 [BZ #17732]
1679 * io/test-utime.c (main): Replace %ld with %jd and cast to
1680 intmax_t.
41fad830 1681 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1682 * nptl/tst-mutex5.c: Include <stdint.h>.
1683 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1684 * posix/tst-regex.c (run_test): Likewise.
1685 (run_test_backwards): Likewise.
5d619de4
L
1686 * rt/tst-clock.c: Include <stdint.h>.
1687 (clock_test): Replace %ld with %jd and cast to intmax_t.
1688 * rt/tst-cpuclock1.c: Include <stdint.h>.
1689 (do_test): Replace %lu with %ju and cast to uintmax_t.
1690 * rt/tst-cpuclock2.c: Include <stdint.h>.
1691 (do_test): Replace %lu with %ju and cast to uintmax_t.
1692 * rt/tst-mqueue1.c: Include <stdint.h>.
1693 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1694 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1695 intmax_t.
1696 * rt/tst-mqueue4.c (do_test): Likewise.
1697 * rt/tst-timer4.c: Include <stdint.h>.
1698 (check_ts): Replace %ld with %jd and cast to intmax_t.
1699 (do_test): Likewise.
ad86fbc3
L
1700 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1701 and cast to intmax_t.
37f46900 1702 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1703 * time/clocktest.c (main): Likewise.
1704 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1705 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1706
8b4416d8
AS
17072014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1708 H.J. Lu <hongjiu.lu@intel.com>
1709
1710 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1711 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1712 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1713 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1714 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1715 version if bit_Fast_Unaligned_Load is set.
1716 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1717 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1718 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1719 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1720 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1721 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1723 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1724 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1725 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1726 to 4.
1727 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1728 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1729 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1730 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1731
e47b8d3b
CM
17322014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1733
6d6d7fde
CM
1734 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1735 instead of #if to avoid a Wundef warning.
1736 * stdlib/tst-limits.c (do_test): Likewise.
1737
cd2c37c9
CM
1738 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1739 parallel other exception macros.
1740 (fegetenv): Convert from macro to extern inline so that it applies
1741 retroactively to inline functions already seen by the compiler.
1742 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1743
e47b8d3b
CM
1744 * posix/Makefile (before-compile): Use $(objpfx) for
1745 posix-conf-vars-def.h.
1746
4a6aca7b
SP
17472014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1748
7910c2ae
SP
1749 * posix/getconf.c (main): Use size_t for type of I.
1750 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1751 NSPEC.
1752
50cbbaa9
SP
1753 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1754 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1755 * posix/posix-envs.def: Likewise.
1756 * sysdeps/posix/sysconf.c: Likewise.
1757 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1758 (specs): Remove array.
1759 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1760 array.
1761
3b566046
SP
1762 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1763 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1764 (__sysconf): Use CONF_IS_* macros.
1765
4a6aca7b
SP
1766 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1767 ($(objpfx)posix-conf-vars-def.h): New target.
1768 * posix/posix-conf-vars.list: New file.
1769 * posix/posix-conf-vars.h: New file.
1770 * posix/confstr.c: Include posix-conf-vars.h.
1771 (confstr): Use CONF_IS_* macros.
1772 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1773 CONF_IS_* macros.
1774 * scripts/gen-posix-conf-vars.awk: New file.
1775
7c1395a7
CM
17762014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1777
0025b4cc
CM
1778 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1779 fegetround): Add no-op macros to avoid linknamespace issues.
1780
d8aaf74b
CM
1781 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1782 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1783
5d24aa60
CM
1784 * sysdeps/unix/sysv/linux/tile/sysdep.h
1785 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1786 assembly-specific section to avoid a redefinition warning.
1787
7c1395a7
CM
1788 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1789 long before casting to pointer to avoid a cast warning.
1790
3c87c616
CM
17912014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1792
1793 * sysdeps/tile/tilegx/Implies: New file.
1794
f559d8cf
RE
17952014-12-23 Richard Earnshaw <rearnsha@arm.com>
1796
1797 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1798
7d81e8d6
FW
17992014-12-23 Florian Weimer <fweimer@redhat.com>
1800
1801 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1802
90aa3d09
JM
18032014-12-22 Joseph Myers <joseph@codesourcery.com>
1804
1805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1806 not define.
1807 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1808 <kernel-features.h>.
1809 (__utimes) [__NR_utimes]: Make code unconditional.
1810 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1811 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1812 (__ASSUME_UTIMES): Do not undefine.
1813 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1814 (__ASSUME_UTIMES): Likewise.
1815 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1816 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1817 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1818 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1819
4c0c0e2a
SE
18202014-12-22 Steve Ellcey <sellcey@imgtec.com>
1821
1822 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1823
0dacd7a3
CM
18242014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1825
b638f96a
CM
1826 [BZ #17747]
1827 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1828 alias to weak alias for j0l, y0l.
1829 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1830 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1831
0dacd7a3
CM
1832 [BZ #17746]
1833 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1834 conversion.
1835
528479c4
SE
18362014-12-22 Steve Ellcey <sellcey@imgtec.com>
1837
1838 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1839 to zero if not already defined.
1840
f56f9124
JM
18412014-12-22 Joseph Myers <joseph@codesourcery.com>
1842
1843 [BZ #17724]
1844 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1845 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1846 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1847 (char *) casts added.
1848 * sysdeps/ieee754/k_standardf.c: New file.
1849 * sysdeps/ieee754/k_standardl.c: Likewise.
1850 * math/Makefile (libm-support): Remove k_standard.
1851 (libm-calls): Add k_standard.
1852
8622d556
WD
18532014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1854
1855 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1856 Optimize to avoid an unnecessary FPCR read.
1857
f3806bdb
WD
18582014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1859
1860 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1861 Optimize to reduce FPCR/FPSR accesses.
1862
9b47df58
WD
18632014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1864
1865 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1866 Call libc_fetestexcept_aarch64.
1867
97be3cac
WD
18682014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1869
1870 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1871 Call libc_fesetround_aarch64.
1872
935ab817
JM
18732014-12-22 Joseph Myers <joseph@codesourcery.com>
1874
1875 [BZ #17733]
1876 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1877 (__bind): Do not define as weak alias.
1878 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1879 define.
1880 (__getsockname): Do not define as weak alias.
1881
cc8623f1
WN
18822014-12-22 Will Newton <will.newton@linaro.org>
1883
1884 * manual/install.texi: Document that we require bison 2.7
1885 or above.
1886 * INSTALL: Regenerate.
1887 * configure.ac: Use AC_CHECK_PROG_VER instead of
1888 AC_PATH_PROG when checking for bison and check for
1889 version 2.7 or above.
1890 * configure: Regenerate.
1891
a19ca65a
CM
18922014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1893
92901170 1894 [BZ #17745]
e969965a
CM
1895 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1896 * sysdeps/tile/ffsll.c (ffsll): To here.
1897
a19ca65a
CM
1898 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1899
050f7298
L
19002014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1903 if not defined.
1904 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1905 definition.
1906 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1907 hidden ___tls_get_addr.
1908 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1909 hidden __tls_get_addr.
1910 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1911 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1912 Likewise.
1913
6df5547e
AS
19142014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1915
1916 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1917 _dl_init call.
1918
7432d613
L
19192014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1920
1921 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1922 from "call _dl_init@PLT".
1923 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1924
98fe149e
AK
19252014-12-21 Anders Kaseorg <andersk@mit.edu>
1926
1927 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1928 guarantees.
1929
d12455f5
CM
19302014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1931
1932 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1933
95dee05f
CM
19342014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1935
92901170 1936 [BZ #17744]
95dee05f
CM
1937 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1938 strnlen.
1939
2ef4b74a
SE
19402014-12-19 Steve Ellcey <sellcey@imgtec.com>
1941
1942 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1943 of multu on MIPSr6.
1944 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1945 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1946 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1947 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1948 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1949
19502014-12-19 Steve Ellcey <sellcey@imgtec.com>
1951
1952 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1953 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1954 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1955 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1956 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1957 mips32r6/mips64r6.
1958 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1959
3eb38795
OB
19602014-12-19 Ondřej Bílka <neleai@seznam.cz>
1961
1962 * string/strncat.c (STRNCAT): Simplify implementation.
1963
6d4188dd
DM
19642014-12-19 David S. Miller <davem@davemloft.net>
1965
0d4ba8be
DM
1966 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1967 access the quad as both a long double and as a series of 4 words.
1968
6d4188dd
DM
1969 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1970 link_map->l_info array access.
1971
4ef91cdc
CM
19722014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1973
804c54f7
CM
1974 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1975
4ef91cdc
CM
1976 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1977 * math/atest-exp2.c (TIMEOUT): Likewise.
1978 * math/atest-sincos.c (TIMEOUT): Likewise.
1979
afd176d6
L
19802014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1983 -Wno-error with -fno-builtin-lround.
1984
a4a43a90
TR
19852014-12-19 Torvald Riegel <triegel@redhat.com>
1986
1987 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1988 Contains futex constants and functions moved over from ...
1989 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1990 <lowlevellock-futex.h>.
1991 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1992 (lll_timedwait_tid): Add comments and parentheses around macro
1993 arguments.
1994
76f71081
TR
19952014-12-19 Torvald Riegel <triegel@redhat.com>
1996
1997 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1998 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1999 (__lll_private_flag): Remove.
2000 (lll_futex_wait): Likewise.
2001 (lll_futex_timed_wait): Likewise.
2002 (lll_futex_wake): Likewise.
2003 (lll_futex_requeue): Likewise.
2004 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2005 (__lll_timedwait_tid): Spell out argument names.
2006 (lll_timedwait_tid): Add comments and parentheses around macro
2007 arguments.
2008 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2009 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2010
6b814909
TR
20112014-12-19 Torvald Riegel <triegel@redhat.com>
2012
2013 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2014 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2015 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2016 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2017 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2018 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2019 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2020 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2021 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2022 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2023 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2024 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2025 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2026 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2027 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2028 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2029 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2030 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2031 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2032
9cd4d4ab
L
20332014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2034
2035 * sysdeps/x86_64/x32/Makefile: New file.
2036
c9c1a2d0
L
20372014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2038
2039 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2040 1L with (mp_limb_t) 1.
2041
af102d95
RM
20422014-12-17 Roland McGrath <roland@hack.frob.com>
2043
dd690454
RM
2044 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2045 * nptl/libc_pthread_init.c: ... here.
2046 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2047 * nptl/register-atfork.c: ... here.
2048
74eb826c
RM
2049 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2050 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2051 Use assert_perror to check its return value.
2052 (__gai_create_helper_thread): Likewise.
2053
c9ce306b
RM
2054 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2055
af102d95
RM
2056 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2057
8ac5a76a
JM
20582014-12-17 Joseph Myers <joseph@codesourcery.com>
2059
ea41469b
JM
2060 [BZ #17725]
2061 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2062 __profil_counter.
2063 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2064 Likewise.
2065 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2066 Likewise.
2067 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2068 Likewise.
2069 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2070 (profil_counter): Likewise.
2071 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2072 (profil_counter): Likewise.
2073 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2074 Likewise.
2075 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2076 Likewise.
2077 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2078 (profil_counter): Likewise.
2079 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2080 Likewise.
2081 [!__profil_counter] (profil_counter): Define as weak alias of
2082 __profil_counter.
2083 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2084 (profil_counter): Rename to __profil_counter.
2085 [!__profil_counter] (profil_counter): Define as weak alias of
2086 __profil_counter.
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2088 (profil_counter): Rename to __profil_counter.
2089 [!__profil_counter] (profil_counter): Define as weak alias of
2090 __profil_counter.
2091 * sysdeps/posix/profil.c: Update comment referring to
2092 profil_counter.
2093 (__profil): Use __profil_counter instead of profil_counter.
2094 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2095 __profil_counter. Use __profil_counter_ushort and
2096 __profil_counter_uint in definitions.
2097 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2098 instead of profil_counter_uint and profil_counter_ushort.
2099
8ac5a76a
JM
2100 [BZ #17722]
2101 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2102 define as weak alias of __inet_makeaddr.
2103 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2104 as weak alias of __inet_addr.
2105 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2106 as weak alias of __inet_pton. Use libc_hidden_weak.
2107 * include/arpa/inet.h (__inet_pton): Declare. Use
2108 libc_hidden_proto.
2109 (inet_makeaddr): Don't use libc_hidden_proto.
2110 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2111 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2112 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2113 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2114 Remove variable.
2115 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2116 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2117
66ce3cb1
SE
21182014-12-17 Steve Ellcey <sellcey@imgtec.com>
2119
2120 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2121
d22ce01b
SL
21222014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2123
2124 * stdio-common/bug-vfprintf-nargs.c (do_test):
2125 Cast value to intptr_t to avoid format warning
2126 for usage with PRIdPTR printing macro.
2127
eca2772b
SL
21282014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2129
2130 * libio/tst-widetext.c (do_test):
2131 Use format type %td instead of %Zd for ptrdiff_t
2132 in order to avoid format warning.
2133
bdf079da
AS
21342014-12-17 Andreas Schwab <schwab@suse.de>
2135
2136 * nscd/mem.c (gc): Add size_t cast to match printf format.
2137
3eb5d2fc
RM
21382014-12-16 Roland McGrath <roland@hack.frob.com>
2139
2140 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2141 (init): Apply PTR_MANGLE to pointers before storing them.
2142 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2143 before using them.
2144
d003ada2
JM
21452014-12-16 Joseph Myers <joseph@codesourcery.com>
2146
380292ba
JM
2147 [BZ #17719]
2148 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2149 define as weak alias of __memrchr.
2150 (__memrchr): Do not define as strong alias of memrchr.
2151 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2152 Remove variable.
2153 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2154 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2155 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2156
9a44d530
JM
2157 [BZ #17717]
2158 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2159 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2160 (if_indextoname): Rename to __if_indextoname and define as weak
2161 alias of __if_indextoname. Use libc_hidden_weak.
2162 (if_freenameindex): Rename to __if_freenameindex and define as
2163 weak alias of __if_freenameindex.
2164 (if_nameindex): Rename to __if_nameindex and define as weak alias
2165 of __if_nameindex.
2166 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2167 __if_nametoindex and define as weak alias of __if_nametoindex.
2168 Use libc_hidden_weak.
2169 (if_freenameindex): Rename to __if_freenameindex and define as
2170 weak alias of __if_freenameindex.
2171 (if_nameindex): Rename to __if_nameindex and define as weak alias
2172 of __if_nameindex.
2173 (if_indextoname): Rename to __if_indextoname and define as weak
2174 alias of __if_indextoname. Use libc_hidden_weak.
2175 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2176 __if_nametoindex and define as weak alias of __if_nametoindex.
2177 Use libc_hidden_weak.
2178 (if_freenameindex): Rename to __if_freenameindex and define as
2179 weak alias of __if_freenameindex. Use libc_hidden_weak.
2180 (if_nameindex_netlink): Use __if_freenameindex instead of
2181 if_freenameindex.
2182 (if_nameindex): Rename to __if_nameindex and define as weak alias
2183 of __if_nameindex. Use libc_hidden_weak.
2184 (if_indextoname): Rename to __if_indextoname and define as weak
2185 alias of __if_indextoname. Use libc_hidden_weak.
2186 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2187 libc_hidden_proto.
2188 [!_ISOMAC] (__if_freenameindex): Likewise.
2189 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2190 if_nametoindex.
2191 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2192 variable.
2193 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2194 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2195 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2196 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2197 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2198 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2199 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2200
d003ada2
JM
2201 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2202 Remove variable.
2203 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2204 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2205
a0d424ef
SP
22062014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2207
0cd85520
SP
2208 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2209 subscript above bounds'
2210
a0d424ef
SP
2211 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2212 bounds.
2213
0e426475
AS
22142014-12-16 Arjun Shankar <arjun.is@lostca.se>
2215
8b460906
AS
2216 * libio/tst-fopenloc.c: Use test-skeleton.c.
2217
fa13e15b
AS
2218 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2219 (entry): Rename to ITEM.
2220 (do_test, comp): Adjust.
2221
0e426475
AS
2222 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2223
4f646bce
TR
22242014-12-16 Torvald Riegel <triegel@redhat.com>
2225
2226 * string/tester.c: Include <libc-internal.h>.
2227 (test_memset): Ignore -Wmemset-transposed-args.
2228
a07c4427
TR
22292014-12-16 Torvald Riegel <triegel@redhat.com>
2230
2231 * misc/tst-mntent2.c (do_test): Fix warning.
2232
1469f466
TR
22332014-12-16 Torvald Riegel <triegel@redhat.com>
2234
2235 * elf/tst-unique4lib.cc(a): Mark as used.
2236
11e3417a
FW
22372014-12-16 Florian Weimer <fweimer@redhat.com>
2238
2239 [BZ #17630]
2240 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2241 names.
2242
ae61fc7b
AM
22432014-12-16 Allan McRae <allan@archlinux.org>
2244
2245 * stdio-common/Makefile (tests): Re-add bug26.
2246
363a9899
OB
22472014-12-15 Ondřej Bílka <neleai@seznam.cz>
2248
2249 [BZ #17657]
2250 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2251 static array.
2252
d52c62df
TR
22532014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2254
2255 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2256 (__lll_lock_wait): Likewise.
2257 (__lll_timedlock_wait): Likewise.
2258 (__lll_timedwait_tid): Likewise.
2259 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2260 (__lll_robust_timedlock_wait): Likewise.
2261 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2262 (lll_cond_trylock): Likewise.
2263 (__lll_lock): Likewise.
2264 (__lll_robust_lock): Likewise.
2265 (__lll_cond_lock): Likewise.
2266 (lll_robust_cond_lock): Likewise.
2267 (__lll_timedlock): Likewise.
2268 (__lll_robust_timedlock): Likewise.
2269 (__lll_unlock): Likewise.
2270 (__lll_robust_unlock): Likewise.
2271 (lll_wait_tid): Likewise.
2272 (lll_timedwait_tid): Likewise.
2273
045a6bcd
TR
22742014-12-15 Torvald Riegel <triegel@redhat.com>
2275
2276 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2277
7f786dc1
TR
22782014-12-15 Torvald Riegel <triegel@redhat.com>
2279
2280 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2281
e7e21cba
AZ
22822014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2283
2284 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2285 * stdio-common/tst-sprintf.c: Likewise.
2286
bc89c0fc
TR
22872014-12-15 Torvald Riegel <triegel@redhat.com>
2288
2289 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2290
a5357b7c
JL
22912014-12-15 Jeff Law <law@redhat.com>
2292
2293 [BZ #16617]
2294 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2295 on the heap. (CVE-2012-3406)
2296 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2297 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2298 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2299
3a12c70f
WN
23002014-12-15 Will Newton <will.newton@linaro.org>
2301
2302 * manual/install.texi: Bump required version of texinfo
2303 to 4.7 from 4.5.
2304 * INSTALL: Regenerated.
2305 * configure.ac: Check for makeinfo version 4.7 and above.
2306 * configure: Regenerated.
2307
e4f639e4
RM
23082014-12-12 Roland McGrath <roland@hack.frob.com>
2309
2310 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2311 PREFIX, string constant to insert between directory and name.
2312 * sysdeps/posix/shm_open.c: Update caller.
2313 * sysdeps/posix/shm_unlink.c: Likewise.
2314 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2315 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2316 (SEM_SHM_PREFIX): New macro.
2317 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2318 [$(have-thread-library) = no].
2319 * nptl/Makefile (libpthread-routines): Add shm-directory.
2320 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2321 * sysdeps/nptl/shm-directory.h: New file.
2322 * sysdeps/posix/shm-directory.c
2323 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2324 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2325 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2326 INTERNAL_SYSCALL.
2327 (__where_is_shmfs): Function removed.
2328 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2329 Variables removed.
2330 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2331 Use SHM_GET_NAME.
2332 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2333
2334 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2335 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2336 unconditional for use inside libpthread.
2337 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2338
439c43f6
RM
23392014-12-12 Roland McGrath <roland@hack.frob.com>
2340
c76d1ff5
RM
2341 * nptl/pthread_getaffinity.c: New file.
2342 * nptl/pthread_setaffinity.c: New file.
2343 * nptl/pthread_getname.c: New file.
2344 * nptl/pthread_setname.c: New file.
2345
439c43f6
RM
2346 * nptl/pthread_create.c (START_THREAD_DEFN)
2347 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2348
48e435cd
SL
23492014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2350 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2351
2352 * resolv/res_send.c (send_vc): Disable warning resplen may
2353 be used uninitialized.
2354
9d9c0019
SL
23552014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2356
2357 * nptl/tst-mutex6.c
2358 (ATTR_NULL): New define checks ATTR against NULL.
2359 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2360 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2361
9173840b
JL
23622014-12-11 James Lemke <jwlemke@codesourcery.com>
2363
2364 [BZ #17581]
2365 * malloc/hooks.c
2366 (mem2mem_check): Revert my previous change.
2367 (malloc_check_get_size): Revert my previous change.
2368 (mem2chunk_check): Revert my previous change.
2369
78e21c5d
RM
23702014-12-11 Roland McGrath <roland@hack.frob.com>
2371
2372 * sysdeps/posix/shm-directory.c: New file.
2373 * sysdeps/posix/shm-directory.h: New file.
2374 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2375 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2376 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2377 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2378 Transmute EPERM to EACCES.
2379 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2380 from ...
2381 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2382 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2383
f82c43af
KK
23842014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2385
2386 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2387 pointer and cast to uintptr_t.
2388 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2389 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2390 Add cast to avoid warning.
2391 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2392
fc00cf7b
JM
23932014-12-11 Joseph Myers <joseph@codesourcery.com>
2394
2395 * nptl/semaphore.h: Move to ...
2396 * sysdeps/pthread/semaphore.h: ... here.
2397 * Makefile (installed-headers): Change nptl/semaphore.h to
2398 sysdeps/pthread/semaphore.h.
2399
1c4053db
RM
24002014-12-11 Roland McGrath <roland@hack.frob.com>
2401
73b0c1a1
RM
2402 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2403 generated error format strings.
2404
1c4053db
RM
2405 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2406 -Wformat-extra-args warnings for scanf formats.
2407 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2408 test of zero-length format (duh).
2409 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2410 corner-case scanf format test.
2411 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2412 generated fprintf format string.
2413 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2414 corner-case sprintf format tests.
2415 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2416 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2417 -Wformat-extra-args warnings throughout.
2418 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2419 (CFLAGS-scanf4.c): Likewise.
2420 (CFLAGS-scanf7.c): Likewise.
2421 (CFLAGS-tst-sprintf.c): Likewise.
2422 (CFLAGS-tst-printf.c): Likewise.
2423 (CFLAGS-tst-printfsz.c): Likewise.
2424
47d51f4f
JM
24252014-12-11 Joseph Myers <joseph@codesourcery.com>
2426
a1edbf3c
JM
2427 * include/cpio.h: New file.
2428 * include/fmtmsg.h: Likewise.
2429
47d51f4f
JM
2430 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2431 corresponding format argument to size_t.
2432 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2433 arguments.
2434 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2435 corresponding format argument to size_t.
2436 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2437 arguments.
2438 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2439 corresponding format argument to size_t.
2440 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2441 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2442 (CFLAGS-tst-mbswcs2.c): Likewise.
2443 (CFLAGS-tst-mbswcs3.c): Likewise.
2444 (CFLAGS-tst-mbswcs4.c): Likewise.
2445 (CFLAGS-tst-mbswcs5.c): Likewise.
2446 (CFLAGS-tst-trans.c): Likewise
2447
e9813cfb
RM
24482014-12-11 Roland McGrath <roland@hack.frob.com>
2449
2450 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2451 rather than assuming they won't contain any '%'s.
2452
f627ca82
CM
24532014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2454
2455 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2456 inhibit_loop_to_libcall to avoid recursive calls.
2457 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2458 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2459
7f296942
AZ
24602014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2461
2462 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2463 prototype.
2464
d0276e18
SE
24652014-12-11 Steve Ellcey <sellcey@imgtec.com>
2466
2467 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2468 integer value instead of boolean.
2469
fc56e970
SE
24702014-12-11 Steve Ellcey <sellcey@imgtec.com>
2471
2472 * malloc/malloc.c: Fix powerof2 check.
2473
40e53917
SL
24742014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2475
2476 * locale/programs/locfile.h (maybe_swap_uint32):
2477 Remove inline and add unused attribute.
2478
1ea166df
SL
24792014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2480
9d9c0019 2481 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2482 Truncating assembler expression to a .long expression.
2483
acf869f4
AS
24842014-12-11 Andreas Schwab <schwab@suse.de>
2485
2486 * elf/rtld.c (struct map_args): Constify str member.
2487 (do_preload): Constify fname argument.
2488
9d969099
AZ
24892014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2490
2491 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2492 constants definition.
2493
da5bcaa4
AS
24942014-12-11 Andreas Schwab <schwab@suse.de>
2495
b0a3c164
AS
2496 [BZ #16657]
2497 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2498 FORCE_ELISION instead of DO_ELISION.
2499 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2500 Remove.
2501 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2502 Likewise.
2503
da5bcaa4
AS
2504 * iconvdata/gconv-modules: Remove duplicate entry.
2505
6d248857
WN
25062014-12-11 Will Newton <will.newton@linaro.org>
2507
2508 Merge gettext 0.19.3 into intl/.
2509
2510 This involves a number of cosmetic changes to comments
2511 and ANSI function definitions and prototypes throughout
2512 all the files. The gettext copyright header is used but
2513 with the date ranges taken from the glibc copy.
2514
2515 * NEWS: Add gettext merge to 2.21.
2516 * intl/bindtextdom.c: Switch to gettext copyright.
2517 Use ANSI definitions and prototypes.
2518 Use gl_* locking primitives rather than __libc_* ones.
2519 Use __builtin_expect rather than __glibc_likely/unlikely.
2520 * intl/dcgettext.c: Switch to gettext copyright.
2521 Use ANSI definitions and prototypes.
2522 * intl/dcigettext.c: Switch to gettext copyright.
2523 Use ANSI definitions and prototypes.
2524 (INTDIV0_RAISES_SIGFPE): New define.
2525 Use gl_* locking primitives rather than __libc_* ones.
2526 Include eval-plural.h instead of plural-eval.c.
2527 Use __builtin_expect rather than __glibc_likely/unlikely.
2528 * intl/dcngettext.c: Switch to gettext copyright.
2529 Use ANSI definitions and prototypes.
2530 * intl/dgettext.c: Likewise.
2531 * intl/dngettext.c: Likewise.
2532 * intl/plural-eval.c: Renamed to...
2533 * intl/eval-plural.h: ...this.
2534 * intl/explodename.c: Switch to gettext copyright.
2535 Use ANSI definitions and prototypes.
2536 (_nl_explode_name): Use strchr instead of __rawmemchr.
2537 * intl/finddomain.c: Switch to gettext copyright.
2538 Use ANSI definitions and prototypes.
2539 Use gl_* locking primitives rather than __libc_* ones.
2540 (_nl_find_domain): Use malloc rather than alloca for
2541 allocation of temporary locale name.
2542 * intl/gettext.c: Switch to gettext copyright.
2543 Use ANSI definitions and prototypes.
2544 * intl/gettextP.h: Switch to gettext copyright.
2545 Use ANSI definitions and prototypes.
2546 Use gl_* locking primitives rather than __libc_* ones.
2547 * intl/gmo.h: Switch to gettext copyright.
2548 (struct sysdep_string): Move struct segment_pair outside of
2549 struct definition.
2550 * intl/hash-string.c: Use ANSI definitions and prototypes.
2551 * intl/hash-string.h: Switch to gettext copyright.
2552 Use ANSI definitions and prototypes.
2553 * intl/l10nflist.c: Switch to gettext copyright.
2554 Use ANSI definitions and prototypes.
2555 (_nl_normalize_codeset): Avoid integer overflow.
2556 * intl/loadinfo.h: Switch to gettext copyright.
2557 Use ANSI definitions and prototypes.
2558 (LIBINTL_DLL_EXPORTED): New define.
2559 (PATH_SEPARATOR): New define.
2560 * intl/loadmsgcat.c: Switch to gettext copyright.
2561 * intl/localealias.c: Switch to gettext copyright.
2562 Use ANSI definitions and prototypes.
2563 (_nl_expand_alias): Use PATH_SEPARATOR.
2564 * intl/ngettext.c: Switch to gettext copyright.
2565 Use ANSI definitions and prototypes.
2566 * intl/plural-exp.c: Likewise.
2567 * intl/plural-exp.h: Switch to gettext copyright.
2568 Use ANSI definitions and prototypes.
2569 (struct expression): Move definition of enum operator outside
2570 of struct definition.
2571 * intl/plural.c: Regenerate.
2572 * intl/plural.y: Switch to gettext copyright.
2573 Use ANSI definitions and prototypes.
2574 Port to bison 3.0.
2575 * intl/textdomain.c: Switch to gettext copyright.
2576 Use ANSI definitions and prototypes.
2577 Use gl_* locking primitives rather than __libc_* ones.
2578
48c43298
SE
25792014-12-10 Steve Ellcey <sellcey@imgtec.com>
2580
2581 * debug/warning-nop.c: Add used atrribute.
2582
2b89bce9
JM
25832014-12-10 Joseph Myers <joseph@codesourcery.com>
2584
c153ac9f
JM
2585 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2586
2b89bce9
JM
2587 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2588 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2589 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2590
2cfbdb9a
JM
25912014-12-10 Joseph Myers <joseph@codesourcery.com>
2592 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2593
2594 [BZ #17634]
2595 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2596 Undefine after defining function. Define as weak alias of
2597 __wcschr. Use libc_hidden_weak.
2598 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2599 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2600 (libc_hidden_def): Also define __GI___wcschr alias.
2601 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2602 __wcschr and define as weak alias of __wcschr.
2603 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2604 __wcschr.
2605 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2606 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2607 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2608 libc_hidden_weak. Do not use libc_hidden_def.
2609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2610 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2611 __GI___wcschr alias.
2612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2613 [IS_IN (libc)] (wcschr): Define as macro expanding to
2614 __redirect_wcschr.
2615 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2616 [IS_IN (libc)] (__wcschr_power6): Likewise.
2617 [IS_IN (libc)] (__wcschr_power7): Likewise.
2618 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2619 instead of wcschr.
2620 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2621 __libc_wcschr.
2622 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2623 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2624 __wcschr and define as weak alias of __wcschr. Use
2625 libc_hidden_builtin_def.
2626 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2627 as weak alias of __wcschr. Use libc_hidden_weak.
2628 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2629 wcschr.
2630 * time/era.c (_nl_init_era_entries): Likewise.
2631 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2632 variable.
2633 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2634 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2635
1b8bf351
JM
26362014-12-10 Joseph Myers <joseph@codesourcery.com>
2637
2638 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2639 format for long int variable.
2640
f5f46d51
AK
26412014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2642
2643 [BZ #10672]
07008f7d 2644 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2645 qsort stable.
2646
217a74a8
AS
26472014-12-10 Andreas Schwab <schwab@suse.de>
2648
2649 [BZ #12847]
2650 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2651 user-controlled locks.
2652
aa76a5c7
RE
26532014-12-10 Richard Earnshaw <rearnsha@arm.com>
2654
2655 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2656 register.
2657
2084e7ca
JM
26582014-12-10 Joseph Myers <joseph@codesourcery.com>
2659
a4ecc9eb
JM
2660 * configure.ac (--disable-werror): New configure option.
2661 (enable_werror): New AC_SUBST.
2662 * configure: Regenerated.
2663 * config.make.in (enable-werror): New variable.
2664 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2665 -Wno-error=undef.
2666 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2667 * manual/install.texi (Configuring and compiling): Document
2668 --disable-werror.
2669 * INSTALL: Regenerated.
2670 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2671 (CFLAGS-tst-chk2.c): Likewise.
2672 (CFLAGS-tst-chk3.c): Likewise.
2673 (CFLAGS-tst-chk4.cc): Likewise.
2674 (CFLAGS-tst-chk5.cc): Likewise.
2675 (CFLAGS-tst-chk6.cc): Likewise.
2676 (CFLAGS-tst-lfschk1.c): Likewise.
2677 (CFLAGS-tst-lfschk2.c): Likewise.
2678 (CFLAGS-tst-lfschk3.c): Likewise.
2679 (CFLAGS-tst-lfschk4.cc): Likewise.
2680 (CFLAGS-tst-lfschk5.cc): Likewise.
2681 (CFLAGS-tst-lfschk6.cc): Likewise.
2682
0f88636c
JM
2683 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2684 (main): Disable -Wdeprecated-declarations around calls to
2685 register_printf_function.
2686
c81e9deb
JM
2687 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2688 (do_test): Disable -Wdiv-by-zero around some calls to
2689 fwrite_unlocked and fread_unlocked.
2690
2084e7ca
JM
2691 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2692 (DIAG_POP_NEEDS_COMMENT): Likewise.
2693 (_DIAG_STR1): Likewise.
2694 (_DIAG_STR): Likewise.
2695 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2696 * stdio-common/bug21.c: Include <libc-internal.h>.
2697 (do_test): Disable -Wformat around call to sscanf.
2698 * stdio-common/scanf14.c: Include <libc-internal.h>.
2699 (main): Disable -Wformat around some calls to scanf functions.
2700
df7ecc6b
TR
27012014-12-09 Torvald Riegel <triegel@redhat.com>
2702
2703 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2704
2aa3862e
AZ
27052014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2706
2707 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2708 stack variable alignment.
2709
c5c2b7c3
JM
27102014-12-06 Joseph Myers <joseph@codesourcery.com>
2711
2712 [BZ #17682]
2713 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2714 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2715 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2716 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2717 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2718 __getrlimit instead of getrlimit.
2719 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2720 __gettimeofday instead of gettimeofday.
2721 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2722 Likewise.
2723 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2724 Likewise.
2725 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2726 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2727 Remove variable.
2728 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2729 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2730
9752c3cd
AZ
27312014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2732
2733 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2734 for wide-character tests.
2735
4bee4cd9
RM
27362014-12-04 Roland McGrath <roland@hack.frob.com>
2737
2738 * io/openat64.c: #include <libc-internal.h>
2739 (__openat64): Prototypify. Use ignore_value on MODE.
2740 * io/openat.c: Likewise.
2741 * misc/reboot.c: #include <libc-internal.h>
2742 (reboot): Prototypify. Use ignore_value on HOWTO.
2743 * misc/ptrace.c: #include <libc-internal.h>
2744 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2745
84dbedb6
JM
27462014-12-04 Joseph Myers <joseph@codesourcery.com>
2747
2748 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2749 XPG4, UNIX98 and XOPEN2K.
2750 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2751 Remove variable.
2752 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2753
b7a3e1c4 27542014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2755
af50dfc1 2756 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2757 * libio/iofopen.c: Likewise.
2758 * libio/wfileops.c: Likewise.
2759
fe8b4d98
SP
2760 [BZ #17653]
2761 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2762 offset on EOF.
2763 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2764 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2765 (fgets_func): Function pointer to fgets and fgetws.
2766 (do_ftell_test): Add test to verify ftell value after read
2767 EOF.
2768 (do_test): Set fgets_func.
2769
61b4f792
SP
2770 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2771 O_TRUNC flag for w and w+ modes.
2772 (do_rewind_test): Likewise.
2773 (do_ftell_test): Likewise.
2774 (do_write_test): Likewise.
2775
be349d70
SP
2776 [BZ #17647]
2777 * libio/fileops.c (do_ftell): Seek only when there are
2778 unflushed writes.
2779 * libio/wfileops.c (do_ftell_wide): Likewise.
2780 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2781 test case.
2782 (do_one_test): Call it.
2783
e3d6dba5
JM
27842014-12-03 Joseph Myers <joseph@codesourcery.com>
2785
2786 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2787 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2788 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2789 Remove variable.
2790 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2791 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2792 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2793
7f994279
JM
27942014-12-02 Joseph Myers <joseph@codesourcery.com>
2795
28a91e8f
JM
2796 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2797 Remove variable.
2798 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2799
7f994279
JM
2800 [BZ #17668]
2801 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2802 as weak alias of __getifaddrs. Use libc_hidden_weak.
2803 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2804 __freeifaddrs. Use libc_hidden_weak.
2805 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2806 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2807 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2808 __freeifaddrs. Use libc_hidden_weak.
2809 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2810 __getifaddrs and define as weak alias of __getifaddrs. Use
2811 libc_hidden_weak.
2812 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2813 __freeifaddrs. Use libc_hidden_weak.
2814 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2815 Remove variable.
2816 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2817 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2818
bbe4c142
PJ
28192014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2820
2821 [BZ #17601]
2822 * sysdeps/mips/start.S (__start): Use indirect jump to call
2823 __libc_start_main.
2824
66cadc05
JM
28252014-12-02 Joseph Myers <joseph@codesourcery.com>
2826
909e16d9
JM
2827 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2828
4e0b9016
JM
2829 * nptl/tst-mutex1.c: Include <stdbool.h>.
2830 [!ATTR] (ATTR_NULL): New macro.
2831 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2832 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2833 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2834
b1aff6a4
JM
2835 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2836 to char *.
2837
266865c0
JM
2838 [BZ #17665]
2839 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2840 Change conditional to [__USE_MISC].
2841
84e5e756
JM
2842 [BZ #17664]
2843 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2844 fgets_unlocked.
2845 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2846 __fgets_unlocked.
2847 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2848 fgets_unlocked.
2849 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2850 Remove variable.
2851 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2852 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2853 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2854 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2855 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2856 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2857 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2858 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2859 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2860
66cadc05
JM
2861 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2862
2e8a2de2 28632014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2864
2865 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2866 Remove strpbrk objects.
2867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2868 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2869 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2870 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2871 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2872 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2873
bb2542e0
AZ
2874 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2875 Remove strcspn objects.
2876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2877 (__libc_ifunc_impl_list): Remove strcspn implementation.
2878 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2879 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2880 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2881 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2882
2883 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2884 Remove strspn objetcs.
2885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2886 (__libc_ifunc_impl_list): Remove strspn implementation.
2887 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2888 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2889 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2890 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2891
08f1e1d2
JL
28922014-12-01 James Lemke <jwlemke@codesourcery.com>
2893
2894 [BZ #17581]
2895 * malloc/hooks.c
2896 (mem2mem_check): Add a terminator to the chain of checking blocks.
2897 (malloc_check_get_size): Use it here.
2898 (mem2chunk_check): Ditto.
2899
a8a7d7d2
RS
29002014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2901
2902 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2903 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2904
97114a38
CD
29052014-11-29 Carlos O'Donell <carlos@redhat.com>
2906
c8dc1727
CD
2907 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2908
6d03458e
CD
2909 * nptl/nptl-init.c: Include libc-internal.h.
2910 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2911
97114a38
CD
2912 * elf/ldconfig.c (search_dir): Expand comment.
2913
0e7e69ba
JM
29142014-11-29 Joseph Myers <joseph@codesourcery.com>
2915
2916 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2917 variable.
2918 (linknamespace-symlist-stdlibs-tests): Likewise.
2919 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2920 instead of $(objpfx)symlist-stdlibs.
2921 (linknamespace-libs-isoc): New variable.
2922 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2923 (linknamespace-libs-ISO): New variable.
2924 (linknamespace-libs-ISO99): Likewise.
2925 (linknamespace-libs-ISO11): Likewise.
2926 (linknamespace-libs-XPG3): Likewise.
2927 (linknamespace-libs-XPG4): Likewise.
2928 (linknamespace-libs-POSIX): Likewise.
2929 (linknamespace-libs-UNIX98): Likewise.
2930 (linknamespace-libs-XOPEN2K): Likewise.
2931 (linknamespace-libs-POSIX2008): Likewise.
2932 (linknamespace-libs-XOPEN2K8): Likewise.
2933 ($(objpfx)symlist-stdlibs): Replace by
2934 $(linknamespace-symlist-stdlibs-tests). Use
2935 $(linknamespace-libs-$*) as set of libraries.
2936 ($(linknamespace-header-tests)): Update dependencies. Use
2937 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2938 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2939 * conform/linknamespace.pl: Remove comment about considering
2940 definitions of symbols from irrelevant libraries.
2941
d8dd0080
L
29422014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2943
2944 [BZ #13862]
2945 * elf/dl-tls.c: Include <atomic.h>.
2946 (oom): Remove #ifdef SHARED/#endif.
2947 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2948 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2949 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2950 big enough.
2951 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2952 * nptl/Makefile (tests): Add tst-stack4.
2953 (modules-names): Add tst-stack4mod.
2954 ($(objpfx)tst-stack4): New.
2955 (tst-stack4mod.sos): Likewise.
2956 ($(objpfx)tst-stack4.out): Likewise.
2957 ($(tst-stack4mod.sos)): Likewise.
2958 (clean): Likewise.
2959 * nptl/tst-stack4.c: New file.
2960 * nptl/tst-stack4mod.c: Likewise.
2961
167da422
B
29622014-11-27 J. Brown <jb999@gmx.de>
2963
2964 * sysdeps/x86/bits/string.h: Add recent CPUs.
2965
9114625b
JM
29662014-11-27 Joseph Myers <joseph@codesourcery.com>
2967
6b5189eb
JM
2968 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2969 sigblock.
2970
49051f8e
JM
2971 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2972 feof.
2973
9114625b
JM
2974 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2975 variable.
2976
e7300fef
SL
29772014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2978
2979 * nscd/connections.c: Include libc-internal.h because of macro
2980 usage ignore_value.
2981
1721f0a4
SP
29822014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2983
2984 * string/bits/string3.h (__warn_memset_zero_len): Don't
2985 declare for gcc newer than 5.0.
2986 (memset): Don't test for zero-length __LEN for gcc newer than
2987 5.0.
2988
be970916
JM
29892014-11-27 Joseph Myers <joseph@codesourcery.com>
2990
d88548f4
JM
2991 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2992 size_t for %zu format.
2993
be970916
JM
2994 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2995 difference, not %ju.
2996
3b20fd5c
JM
29972014-11-26 Joseph Myers <joseph@codesourcery.com>
2998
8915eace
JM
2999 * include/libc-internal.h (ignore_value): New macro.
3000 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3001 with ignore_value.
3002
f1a5a0e3
JM
3003 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3004 definition.
3005
59ef1715
JM
3006 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3007 pthread_cleanup_push to void *.
3008
a6f3079b
JM
3009 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3010 Undefine.
3011
706688aa
JM
3012 [BZ #16619]
3013 [BZ #16740]
3014 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3015 instead of 1L << 52.
3016
12da14a5
JM
3017 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3018 * libio/bug-rewind2.c (do_test): Likewise.
3019
bd5dadac
JM
3020 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3021 * debug/test-strcpy_chk-ifunc.c: Likewise.
3022 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3023 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3024 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3025 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3026 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3027 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3028 * Rules [$(multi-arch) = no] (tests): Do not filter out
3029 $(tests-ifunc).
3030 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3031 * debug/Makefile (tests-ifunc): Remove variable.
3032 (tests): Do not add $(tests-ifunc).
3033 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3034 (tests): Do not add $(tests-ifunc).
3035 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3036 [TEST_IFUNC]: Remove conditionals.
3037 * string/test-string.h (TEST_IFUNC): Remove macro.
3038 [TEST_IFUNC]: Remove conditionals.
3039
3b20fd5c
JM
3040 * string/test-strchr.c [!WIDE] (L): New macro.
3041 [WIDE] (L): Likewise.
3042 (check1): Use CHAR instead of char. Use L on string and character
3043 constants.
3044
704f7947
AZ
30452014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3046
3047 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3048 tests.
3049 * sysdeps/powerpc/bits/atomic.h
3050 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3051 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3052 (atomic_exchange_and_add_acq): Likewise.
3053 (atomic_exchange_and_add_rel): Likewise.
3054 * sysdeps/powerpc/powerpc32/bits/atomic.h
3055 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3056 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3057 * sysdeps/powerpc/powerpc64/bits/atomic.h
3058 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3059 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3060
cdcb42d7
TR
30612014-11-26 Torvald Riegel <triegel@redhat.com>
3062
3063 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3064 Change synchronization of __sched_fifo_min_prio and
3065 __sched_fifo_max_prio.
3066 * nptl/pthread_mutexattr_getprioceiling.c
3067 (pthread_mutexattr_getprioceiling): Likewise.
3068 * nptl/pthread_mutexattr_setprioceiling.c
3069 (pthread_mutexattr_setprioceiling): Likewise.
3070 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3071 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3072 Likewise.
3073
c82f5c0c
JM
30742014-11-26 Joseph Myers <joseph@codesourcery.com>
3075
3076 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3077 void.
3078
439e1ad6
JM
30792014-11-25 Joseph Myers <joseph@codesourcery.com>
3080
3081 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3082 third argument const.
3083
b1eda10e
PE
30842014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3085
3086 fnmatch: work around GCC compiler warning bug with uninit var
3087 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3088 This works around a bug with x86-64 GCC 4.9.2 and earlier
3089 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3090 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3091 used uninitialized in this function [-Wmaybe-uninitialized]".
3092
bde2667a
JM
30932014-11-25 Joseph Myers <joseph@codesourcery.com>
3094
3095 * posix/bug-regex31.c (main): Return RES not 0.
3096
5fbb5691
AB
30972014-11-25 Anton Blanchard <anton@samba.org>
3098
3099 * sysdeps/powerpc/bits/atomic.h
3100 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3101
467fec0b
BM
31022014-11-24 Sterling Augustine <saugustine@google.com>
3103
3104 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3105
e9ff8efb
RC
31062014-11-24 Ryan Cumming <etaoins@gmail.com>
3107
3108 [BZ #17608]
3109 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3110
9744496f
JM
31112014-11-24 Joseph Myers <joseph@codesourcery.com>
3112
3113 [BZ #17633]
3114 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3115 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3116 variable.
3117 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3118 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3119
6423d475
WD
31202014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3121
3122 * string/strncpy.c (strncpy): Improve performance by using memset.
3123
31242014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3125
3126 * string/strcpy.c (strcpy):
3127 Improve performance by using strlen and memcpy.
3128
5d178c37
LH
31292014-11-24 Leonhard Holz <leonhard.holz@web.de>
3130
3131 * string/strcoll_l.c (get_next_seq): __always_inline.
3132 * string/strcoll_l.c (do_compare): __always_inline.
3133
279bc5b3
SP
31342014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3135
7a9ebfa1
SP
3136 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3137 defined.
3138 * include/mqueue.h: Likewise.
3139 * include/stdlib.h: Likewise.
3140
4f41c682
SP
3141 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3142 (get_null_defines): Adjust.
3143 * sunrpc/Makefile: Adjust comment.
3144 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3145 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3146 (CFLAGS-interp.c): Likewise.
3147 (CFLAGS-ldconfig.c): Likewise.
3148 (CPPFLAGS-.os): Likewise.
3149 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3150 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3151 * extra-modules.mk (extra-modules.mk): Likewise.
3152 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3153 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3154 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3155 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3156 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3157 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3158 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3159 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3160 * iconvdata/Makefile (CPPFLAGS): Likewise.
3161 (cpp-srcs-left): Add libof for all iconvdata routines.
3162 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3163 * include/assert.h: Likewise.
3164 * include/ctype.h: Likewise.
3165 * include/errno.h: Likewise.
3166 * include/libc-symbols.h: Likewise.
3167 * include/math.h: Likewise.
3168 * include/netdb.h: Likewise.
3169 * include/resolv.h: Likewise.
3170 * include/stdio.h: Likewise.
3171 * include/stdlib.h: Likewise.
3172 * include/string.h: Likewise.
3173 * include/sys/stat.h: Likewise.
3174 * include/wctype.h: Likewise.
3175 * intl/l10nflist.c: Likewise.
3176 * libidn/idn-stub.c: Likewise.
3177 * libio/libioP.h: Likewise.
3178 * nptl/libc_multiple_threads.c: Likewise.
3179 * nptl/pthreadP.h: Likewise.
3180 * posix/regex_internal.h: Likewise.
3181 * resolv/res_hconf.c: Likewise.
3182 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3183 * sysdeps/arm/memmove.S: Likewise.
3184 * sysdeps/arm/sysdep.h: Likewise.
3185 * sysdeps/generic/_itoa.h: Likewise.
3186 * sysdeps/generic/symbol-hacks.h: Likewise.
3187 * sysdeps/gnu/errlist.awk: Likewise.
3188 * sysdeps/gnu/errlist.c: Likewise.
3189 * sysdeps/i386/i586/memcpy.S: Likewise.
3190 * sysdeps/i386/i586/memset.S: Likewise.
3191 * sysdeps/i386/i686/memcpy.S: Likewise.
3192 * sysdeps/i386/i686/memmove.S: Likewise.
3193 * sysdeps/i386/i686/mempcpy.S: Likewise.
3194 * sysdeps/i386/i686/memset.S: Likewise.
3195 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3196 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3197 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3198 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3199 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3200 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3201 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3202 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3203 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3205 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3206 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3207 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3208 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3209 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3210 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3211 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3212 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3213 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3214 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3215 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3216 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3217 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3218 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3219 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3220 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3221 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3222 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3223 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3224 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3225 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3226 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3229 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3231 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3232 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3233 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3234 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3235 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3236 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3237 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3238 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3239 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3240 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3241 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3242 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3243 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3244 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3245 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3246 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3247 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3248 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3249 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3250 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3251 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3252 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3253 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3254 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3255 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3256 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3257 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3258 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3259 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3260 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3261 * sysdeps/posix/closedir.c: Likewise.
3262 * sysdeps/posix/opendir.c: Likewise.
3263 * sysdeps/posix/readdir.c: Likewise.
3264 * sysdeps/posix/rewinddir.c: Likewise.
3265 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3266 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3267 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3268 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3269 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3270 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3271 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3275 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3276 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3277 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3278 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3279 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3280 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3281 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3282 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3283 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3284 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3285 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3286 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3287 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3288 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3289 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3290 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3291 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3292 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3293 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3300 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3301 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3302 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3303 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3304 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3305 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3306 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3307 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3309 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3310 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3311 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3312 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3313 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3314 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3315 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3316 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3317 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3318 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3319 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3320 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3321 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3322 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3323 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3324 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3325 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3326 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3327 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3328 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3329 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3330 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3331 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3332 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3333 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3334 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3335 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3336 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3337 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3338 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3339 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3340 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3341 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3342 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3343 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3344 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3345 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3346 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3347 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3348 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3349 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3350 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3351 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3352 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3353 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3354 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3355 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3356 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3357 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3358 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3361 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3363 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3364 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3366 * sysdeps/unix/alpha/sysdep.S: Likewise.
3367 * sysdeps/unix/alpha/sysdep.h: Likewise.
3368 * sysdeps/unix/make-syscalls.sh: Likewise.
3369 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3371 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3372 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3373 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3374 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3375 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3376 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3377 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3378 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3379 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3380 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3381 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3382 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3383 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3384 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3385 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3386 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3387 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3388 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3389 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3390 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3391 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3392 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3393 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3394 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3395 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3398 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3399 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3400 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3402 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3403 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3404 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3405 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3406 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3407 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3408 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3409 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3410 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3411 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3412 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3413 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3416 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3419 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3420 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3421 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3422 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3423 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3424 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3425 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3427 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3428 * sysdeps/x86_64/memcpy.S: Likewise.
3429 * sysdeps/x86_64/memmove.c: Likewise.
3430 * sysdeps/x86_64/memset.S: Likewise.
3431 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3432 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3433 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3434 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3435 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3436 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3437 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3438 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3439 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3440 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3441 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3442 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3443 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3444 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3445 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3446 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3447 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3448 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3449 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3450 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3451 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3452 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3454 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3455 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3456 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3457 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3458 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3459 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3460 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3461 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3462 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3463 * sysdeps/x86_64/strcmp.S: Likewise.
3464
76ca86a5
SP
3465 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3466
a3848485
SP
3467 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3468 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3469 * elf/rtld-Rules: Likewise.
3470 * elf/setup-vdso.h: Likewise.
3471 * include/assert.h: Likewise.
3472 * include/bits/stdlib-float.h: Likewise.
3473 * include/errno.h: Likewise.
3474 * include/sys/stat.h: Likewise.
3475 * include/unistd.h: Likewise.
3476 * sysdeps/aarch64/setjmp.S: Likewise.
3477 * sysdeps/alpha/setjmp.S: Likewise.
3478 * sysdeps/arm/__longjmp.S: Likewise.
3479 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3480 * sysdeps/arm/setjmp.S: Likewise.
3481 * sysdeps/arm/sysdep.h: Likewise.
3482 * sysdeps/generic/_itoa.h: Likewise.
3483 * sysdeps/generic/dl-sysdep.h: Likewise.
3484 * sysdeps/generic/ldsodefs.h: Likewise.
3485 * sysdeps/i386/dl-tls.h: Likewise.
3486 * sysdeps/i386/setjmp.S: Likewise.
3487 * sysdeps/m68k/setjmp.c: Likewise.
3488 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3489 * sysdeps/mach/hurd/opendir.c: Likewise.
3490 * sysdeps/posix/getcwd.c: Likewise.
3491 * sysdeps/posix/opendir.c: Likewise.
3492 * sysdeps/posix/profil.c: Likewise.
3493 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3494 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3495 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3496 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3497 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3498 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3499 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3500 * sysdeps/s390/dl-tls.h: Likewise.
3501 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3502 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3503 * sysdeps/sh/sh3/setjmp.S: Likewise.
3504 * sysdeps/sh/sh4/setjmp.S: Likewise.
3505 * sysdeps/unix/alpha/sysdep.h: Likewise.
3506 * sysdeps/unix/arm/sysdep.S: Likewise.
3507 * sysdeps/unix/i386/sysdep.S: Likewise.
3508 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3509 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3510 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3511 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3512 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3513 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3514 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3515 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3516 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3517 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3518 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3519 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3520 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3523 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3525 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3526 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3527 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3528 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3531 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3532 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3533 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3535 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3536 * sysdeps/x86_64/setjmp.S: Likewise.
3537
a109996e
SP
3538 * include/math.h: Use IS_IN instead of IS_IN_libm.
3539 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3540 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3541 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3542 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3543 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3544 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3545 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3546 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3549 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3551 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3552 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3553 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3554 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3555 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3556 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3559 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3560 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3561 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3562 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3563 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3564 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3565 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3566 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3567 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3568 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3569 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3570 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3571 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3573 Likewise.
3574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3575 Likewise.
3576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3577 Likewise.
3578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3579 Likewise.
3580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3581 Likewise.
3582 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3583 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3584 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3585 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3586 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3587 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3593 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3594 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3595 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3596 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3597 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3598 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3599 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3600 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3601 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3602 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3603 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3604 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3605 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3606 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3608 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3609
ce9f10f7
SP
3610 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3611 * nptl/pthreadP.h: Likewise.
3612 * nptl_db/structs.def: Likewise.
3613 * sysdeps/arm/sysdep.h: Likewise.
3614 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3615 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3616 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3617 * sysdeps/unix/alpha/sysdep.h: Likewise.
3618 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3619 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3620 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3621 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3622 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3623 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3624 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3625 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3626 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3627 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3628 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3629 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3630 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3631 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3636 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.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/cancellation.S: Likewise.
3643 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3644
016afc75
SP
3645 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3646 * nptl/pthreadP.h: Likewise.
3647 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3648 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3649 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3650 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3651 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3652 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3653 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3654 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3655 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3656 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3657 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3658 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3660 Likewise.
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3662 Likewise.
3663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3665 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3668 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3669 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3670 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3671
9b42a0b3
SP
3672 * dlfcn/dladdr.c: Use IS_IN.
3673 * dlfcn/dladdr1.c: Likewise.
3674 * dlfcn/dlclose.c: Likewise.
3675 * dlfcn/dlerror.c: Likewise.
3676 * dlfcn/dlinfo.c: Likewise.
3677 * dlfcn/dlmopen.c: Likewise.
3678 * dlfcn/dlopen.c: Likewise.
3679 * dlfcn/dlsym.c: Likewise.
3680 * dlfcn/dlvsym.c: Likewise.
3681
85f36372
SP
3682 * include/ifaddrs.h: Use IS_IN.
3683 * inet/check_pf.c: Likewise.
3684 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3685 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3686
fb6784e3
SP
3687 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3688 IS_IN_ldconfig.
3689 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3690 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3691
2886d2d1
SP
3692 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3693 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3694 IS_IN (libc).
3695
9a484857
SP
3696 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3697
a10178bd
SP
3698 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3699 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3700 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3701 * include/libc-symbols.h (IS_IN_LIB): New macro.
3702 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3703 * include/netdb.h: Likewise.
3704 * include/stap-probe.h: Remove all uses of IN_LIB.
3705
279bc5b3
SP
3706 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3707 instead of IN_MODULE.
3708 * include/libc-symbols.h (IN_MODULE): Define using
3709 MODULE_NAME.
3710 (PASTE_NAME, PASTE_NAME1): New macros.
3711 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3712 of IN_LIB.
3713 (STAP_PROBE_ASM): Likewise.
3714
e0cfa510
ST
37152014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3716
3717 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3718 __mach_init in dlopened libc.
3719
34d97d87
MF
37202014-11-22 Mike Frysinger <vapier@gentoo.org>
3721
3722 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3723 * sysdeps/arm/preconfigure: Regenerate.
3724
33cd1f74
RM
37252014-11-21 Roland McGrath <roland@hack.frob.com>
3726
3727 * nptl/pthread_create.c (__pthread_create_2_1): Set
3728 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3729 when copying values from IATTR into PD.
3730
8c230039
WN
37312014-11-21 Will Newton <will.newton@linaro.org>
3732 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3733
6d3db89b
AP
3734 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3735 Refactor inline-asm. Also add comment.
3736
01194ba1
WN
3737 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3738 ElfW macro instead of hardcoded Elf64 types.
3739 (la_aarch64_gnu_pltenter): Likewise.
3740 * sysdeps/aarch64/dl-machine.h
3741 (elf_machine_runtime_setup): Use ElfW(Addr).
3742
8c230039
WN
3743 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3744 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3745 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3746 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3747 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3748 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3749 (R_AARCH64_TLS_DTPMOD): This.
3750 (R_AARCH64_TLS_DTPREL64): Rename to ...
3751 (R_AARCH64_TLS_DTPREL): This.
3752 (R_AARCH64_TLS_TPREL64): Rename to ...
3753 (R_AARCH64_TLS_TPREL): This.
3754 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3755 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3756 R_AARCH64_TLS_TPREL64.
3757 (elf_machine_rela): Likewise.
3758
0d79fa53
TR
37592014-11-21 Torvald Riegel <triegel@redhat.com>
3760
3761 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3762 by setting it to 0. 64b atomics are not supported currently.
3763
b59d114b
AO
37642014-11-21 Alexandre Oliva <aoliva@redhat.com>
3765
3766 [BZ #16469]
3767 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3768 search domain names.
3769
f3d945d5
AO
37702014-11-21 Alexandre Oliva <aoliva@redhat.com>
3771
3772 [BZ #16469]
3773 * NEWS: Update.
3774 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3775 trailing dot.
3776 * posix/tst-getaddrinfo5.c: New.
3777 * posix/Makefile (tests): Add it.
3778
49698902
AO
37792014-11-21 Alexandre Oliva <aoliva@redhat.com>
3780
3781 [BZ #14498]
3782 * NEWS: Fixed.
3783 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3784 after parsing line but before break_if_match.
3785 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3786 if there is a protocol mismatch.
3787
81959214
MS
37882014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3789
3790 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3791 because the potential race is on the user-supplied stream.
3792
7729e0e9
AO
37932014-11-21 Alexandre Oliva <aoliva@redhat.com>
3794
3795 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3796 string literal if not passed a buffer.
3797 * manual/job.texi (ctermid): Update reasoning, note deviation
3798 from posix, suggest mtasurace when not passed a buffer, for
3799 future non-preliminary safety notes.
3800
a4ea5e28
AO
38012014-11-21 Alexandre Oliva <aoliva@redhat.com>
3802
3803 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3804 of not passing it a buffer.
3805 Reported by Peng Haitao.
3806
a2b581cb
AO
38072014-11-21 Alexandre Oliva <aoliva@redhat.com>
3808
3809 * manual/Makefile ($(objpfx)stamp-summary): Require
3810 check-safety.sh to pass.
3811 * manual/check-safety.sh: Wish for verification that every
3812 @deftypefn and @deftypefun is followed by a @safety remark.
3813
f214ff74
RM
38142014-11-20 Roland McGrath <roland@hack.frob.com>
3815
7f0dfae0
RM
3816 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3817
2f531bbb
RM
3818 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3819 PTHREAD_CANCEL_ASYNCHRONOUS.
3820 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3821 send SIGCANCEL.
3822
f214ff74
RM
3823 * nptl/default-sched.h: New file.
3824 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3825 * nptl/pthread_create.c: Include it.
3826 (__pthread_create_2_1): Use collect_default_sched instead of making
3827 Linux syscalls here directly.
3828
e37c91d4
TR
38292014-11-20 Torvald Riegel <triegel@redhat.com>
3830
3831 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3832 __pthread_once): Use C11 atomics.
3833
1eccfecd
TR
38342014-11-20 Torvald Riegel <triegel@redhat.com>
3835
3836 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3837
ff871426
TR
38382014-11-20 Torvald Riegel <triegel@redhat.com>
3839
3840 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3841 atomic_thread_fence_acquire, atomic_thread_fence_release,
3842 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3843 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3844 atomic_compare_exchange_weak_relaxed,
3845 atomic_compare_exchange_weak_acquire,
3846 atomic_compare_exchange_weak_release,
3847 atomic_exchange_acquire, atomic_exchange_release,
3848 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3849 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3850 atomic_fetch_and_acquire,
3851 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3852
1ea339b6
TR
38532014-11-20 Torvald Riegel <triegel@redhat.com>
3854
3855 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3856 USE_ATOMIC_COMPILER_BUILTINS): Define.
3857 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3858 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3859 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3860 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3861 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3862 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3863 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3864 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3865 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3866 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3867 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3868 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3869 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3870 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3871 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3872 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3873 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3874 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3875 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3876 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3877 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3878 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3879 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3880 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3881 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3882 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3883 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3884 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3885 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3886 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3887 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3888 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3889 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3890 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3891 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3892 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3893 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3894 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3895 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3896 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3897
cbd463e2
RM
38982014-11-19 Roland McGrath <roland@hack.frob.com>
3899
d960211f
RM
3900 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3901 the sched_priority value here. It was already checked when the user
3902 called pthread_attr_setschedparam.
3903
cbd463e2
RM
3904 * nptl/tst-bad-schedattr.c: New file.
3905 * nptl/Makefile (tests): Add it.
3906
a39208bd
CD
39072014-11-19 Carlos O'Donell <carlos@redhat.com>
3908 Florian Weimer <fweimer@redhat.com>
3909 Joseph Myers <joseph@codesourcery.com>
3910 Adam Conrad <adconrad@0c3.net>
3911 Andreas Schwab <schwab@suse.de>
3912 Brooks <bmoses@google.com>
3913
3914 [BZ #17625]
3915 * wordexp-test.c (__dso_handle): Add prototype.
3916 (__register_atfork): Likewise.
3917 (__app_register_atfork): New function.
3918 (registered_forks): New global.
3919 (register_fork): New function.
3920 (test_case): Add 3 new tests for WRDE_CMDSUB.
3921 (main): Call __app_register_atfork.
3922 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3923 fork count is non-zero fail the test.
3924 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3925 is set.
3926 (parse_dollars): Remove check for WRDE_NOCMD.
3927 (parse_dquote): Likewise.
3928
9cd47470
SP
39292014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3930
130ac68c
SP
3931 * Makeconfig (built-modules): List non-library modules to be
3932 built.
3933 (module-cppflags): Include libc-modules.h for
3934 everything except shlib-versions.v.i.
3935 (CPPFLAGS): Use it.
3936 (before-compile): Add libc-modules.h.
3937 ($(common-objpfx)libc-modules.h,
3938 $(common-objpfx)libc-modules.stmp): New targets.
3939 (common-generated): Add libc-modules.h and libc-modules.stmp.
3940 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3941 * include/libc-symbols.h: Don't include libc-modules.h.
3942 * include/libc-modules.h: Remove file.
3943 * scripts/gen-libc-modules.awk: New script to generate
3944 libc-modules.h.
3945 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3946 Depend on libc-modules.stmp.
3947
286663c3
SP
3948 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3949
9cd47470
SP
3950 * Makeconfig (in-module): Get value of libof set for the
3951 translation unit.
3952 (CPPFLAGS): Use $(in-module).
3953 * Makerules: Don't suffix routine names for nonlib.
3954 * include/libc-modules.h: New file.
3955 * include/libc-symbols.h: Include libc-modules.h
3956 (IS_IN): New macro to replace IS_IN_* macros.
3957 * elf/Makefile: Set libof-* for each routine.
3958 * elf/rtld-Rules: Likewise.
3959 * extra-modules.mk: Likewise.
3960 * iconv/Makefile: Likewise.
3961 * iconvdata/Makefile: Likewise.
3962 * locale/Makefile: Likewise.
3963 * malloc/Makefile: Likewise.
3964 * nss/Makefile: Likewise.
3965 * sysdeps/gnu/Makefile: Likewise.
3966 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3967 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3968 * sysdeps/s390/s390-64/Makefile: Likewise.
3969 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3970 CPPFLAGS for nscd instead of nonlib.
3971
32fed10f
RM
39722014-11-18 Roland McGrath <roland@hack.frob.com>
3973
d71035bd
RM
3974 * nptl/createthread.c: New file.
3975
6540b991
RM
3976 * nptl/createthread.c: Moved ...
3977 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3978
32fed10f
RM
3979 * nptl/createthread.c: Add proper top-line comment.
3980 (do_clone): Folded into ...
3981 (create_thread): ... here. Take new arguments STOPPED_START and
3982 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3983 increment __nptl_threads, do event-reporting logic, do
3984 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3985 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3986 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3987 just send SIGCANCEL.
3988 * nptl/pthread_create.c: Forward-declare create_thread before
3989 including createthread.c.
3990 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3991 declaration, and new macro START_THREAD_SELF to replace argument.
3992 Remove return statement.
3993 (report_thread_creation): New function.
3994 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3995 synchronization logic, and __nptl_nthreads increment here, around
3996 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3997 PD->parent_cancelhandling here, before create_thread. When
3998 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3999 __deallocate_stack, and ENOMEM translation here.
4000
107a5bf0
JM
40012014-11-18 Joseph Myers <joseph@codesourcery.com>
4002
4003 [BZ #17616]
4004 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4005 (mptwo): Rename to __mptwo.
4006 (__inv): Use __mptwo instead of mptwo.
4007 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4008 (mptwo): Rename to __mptwo.
4009 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4010 of mpone and __mptwo instead of mptwo.
4011 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4012 instead of mpone.
4013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4014 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4015 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4016 of mpone and __mptwo instead of mptwo.
4017 (__mpranred): Use __mpone instead of mpone.
4018 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4019 variable.
4020 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4021 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4022 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4023 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4024 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4025 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4026 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4027 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4028 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4029 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4030 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4031 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4032 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4033 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4034 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4035 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4036 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4037 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4038 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4039
3b679ab3
TV
40402014-11-18 Tom de Vries <tom@codesoucery.com>
4041
4042 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4043 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4044
40452014-11-17 Richard Henderson <rth@redhat.com>
4046
4047 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4048 (_FP_PACK_RAW_2): Remove.
4049 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4050 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4051 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4052 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4053 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4054 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4055 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4056 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4057 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4058 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4059 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4060 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4061 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4062 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4063 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4064 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4065
0781a777
RM
40662014-11-14 Roland McGrath <roland@hack.frob.com>
4067
4068 * signal/signal.h [__USE_MISC]
4069 (struct sigvec): Remove type.
4070 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4071 (sigvec): Remove declaration.
4072 * sysdeps/posix/sigvec.c: Moved ...
4073 * signal/sigvec.c: ... here, replacing old file.
4074 (struct sigvec): New type, copied from old signal.h definition.
4075 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4076 (__sigvec): Convert definition to prototype.
4077 (sigvec): Replace weak_alias with compat_symbol.
4078 * signal/Versions (libc: GLIBC_2.21): New version set.
4079 * include/signal.h: Remove __sigvec declaration.
4080 * sysdeps/unix/bsd/sigvec.c: Remove file.
4081 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4082 * manual/signal.texi (BSD Handler): Remove subsection.
4083 Move siginterrupt up to ...
4084 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4085 (Blocking in BSD): Fold subsection into its parent.
4086 * NEWS: Mention sigvec removal.
4087
a4733812
JM
40882014-11-14 Joseph Myers <joseph@codesourcery.com>
4089
5ae4fe60
JM
4090 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4091 (DLA_FMS): Make definition conditional only on [__FMA4__].
4092 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4093 definition.
4094
6a0dd472
JM
4095 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4096 Make definition conditional only on [PROF].
4097 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4098 definition.
4099 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4100 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4101
a4733812
JM
4102 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4103 !__GNUC__].
4104 * include/signal.h (__sigpause): Move declaration above call to
4105 libc_hidden_proto.
4106 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4107 variable.
4108 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4109 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4110
cf7246dd
DM
41112014-11-14 David S. Miller <davem@davemloft.net>
4112
4113 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4114 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4115
c1b0aadc
JM
41162014-11-14 Joseph Myers <joseph@codesourcery.com>
4117
4863355a
JM
4118 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4119 * configure: Regenerated.
4120 * manual/install.texi (Tools for Compilation): Document a
4121 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4122 compiler verified to work.
4123 * INSTALL: Regenerated.
4124
c1b0aadc
JM
4125 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4126 redeclare with asm name.
4127 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4128 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4129 including <string.h>.
4130 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4131 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4132 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4133 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4134 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4135 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4136 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4137
2a1cfd94
JM
41382014-11-13 Joseph Myers <joseph@codesourcery.com>
4139
bf438382
JM
4140 * stdlib/strtol.c (__strtol): Use prototype definition.
4141
2a1cfd94
JM
4142 [BZ #17594]
4143 * stdlib/strtol.c (SYM__): New macro.
4144 (SYM__1): Likewise.
4145 (__strtol): Likewise.
4146 (strtol): Rename to __strtol and define as weak alias of
4147 __strtol. Use libc_hidden_weak.
4148
20ed0d26
SL
41492014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4150
4151 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4152 Use numbered labels in inline assembly.
4153
53244a4e
SL
41542014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4155
4156 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4157 Add setjmp LIBC_PROBE.
4158 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4159 Likewise.
4160 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4161 Add longjmp, longjmp_target LIBC_PROBE.
4162 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4163 Likewise.
4164
47df8251
SL
41652014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4166
4167 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4168 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4169 to get rid of unused variable warning.
4170
618cebef
SL
41712014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4172
4173 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4174 Check for unwind_backtrace == NULL only in SHARED case.
4175 (__backchain_backtrace): Compile only in SHARED case.
4176 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4177 Likewise.
4178 (__backchain_backtrace): Declare as static.
4179
c6aab2cb
RM
41802014-11-12 Roland McGrath <roland@hack.frob.com>
4181
4182 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4183 (__libc_multiple_threads_ptr): Variable moved ...
4184 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4185
5a6fa4d7
JM
41862014-11-12 Joseph Myers <joseph@codesourcery.com>
4187
24f4f825
JM
4188 * conform/GlibcConform.pm: New file.
4189 * conform/conformtest.pl: Use GlibcConform module.
4190 * conform/linknamespace.pl: New file.
4191 * conform/list-header-symbols.pl: Likewise.
4192 * conform/Makefile (linknamespace-symlists-base): New variable.
4193 (linknamespace-symlists-tests): Likewise.
4194 (linknamespace-header-base): Likewise.
4195 (linknamespace-header-tests): Likewise.
4196 (tests-special): Add new tests.
4197 ($(linknamespace-symlists-tests)): New rule.
4198 (linknamespace-libs): New variable.
4199 ($(objpfx)symlist-stdlibs): New rule.
4200 ($(linknamespace-header-tests)): Likewise.
4201 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4202 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4203 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4204 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4205 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4206 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4207 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4208 (test-xfail-ISO/math.h/linknamespace): Likewise.
4209 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4210 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4211 (test-xfail-ISO/time.h/linknamespace): Likewise.
4212 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4213 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4214 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4215 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4216 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4217 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4218 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4219 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4220 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4221 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4222 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4223 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4224 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4225 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4226 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4227 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4228 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4229 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4230 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4231 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4232 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4233 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4234 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4235 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4236 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4237 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4238 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4239 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4240 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4241 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4242 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4243 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4244 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4245 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4246 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4247 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4248 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4249 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4250 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4251 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4252 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4253 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4254 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4255 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4256 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4257 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4258 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4259 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4260 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4261 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4262 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4263 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4264 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4265 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4266 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4267 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4268 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4269 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4270 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4271 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4272 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4273 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4274 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4275 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4276 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4277 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4278 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4279 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4280 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4281 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4282 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4283 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4284 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4285 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4286 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4287 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4288 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4289 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4290 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4291 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4292 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4293 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4294 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4295 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4296 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4297 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4298 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4299 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4300 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4301 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4302 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4303 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4304 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4305 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4306 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4307 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4308 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4309 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4310 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4311 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4312 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4313 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4314 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4315 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4316 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4317 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4318 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4319 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4320 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4321 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4322 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4323 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4324 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4325 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4326 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4327 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4328 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4329 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4330 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4331 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4332 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4333 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4334 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4335 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4336 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4337 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4338 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4339 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4340 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4341 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4342 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4343 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4344 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4345 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4346 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4347 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4348 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4349 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4350 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4351 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4352 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4353 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4354 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4355 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4356 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4357 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4358 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4359 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4360 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4361 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4362
cc67478e
JM
4363 [BZ #17589]
4364 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4365 of fgets_unlocked.
4366
9975e3d3
JM
4367 [BZ #17585]
4368 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4369 (memmem): Rename to __memmem and define as weak alias of
4370 __memmem. Use libc_hidden_weak.
4371 (__memmem): Use libc_hidden_def.
4372 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4373 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4374 memmem.
4375
c4eae752
JM
4376 [BZ #17582]
4377 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4378 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4379 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4380 and define as weak alias of __fgets_unlocked. Use
4381 libc_hidden_weak.
4382 (__fgets_unlocked): Use libc_hidden_def.
4383 * include/stdio.h (__fgets_unlocked): Declare. Use
4384 libc_hidden_proto.
4385 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4386 __fgets_unlocked instead of fgets_unlocked.
4387 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4388 (GET_NPROCS_CONF_PARSER): Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4390 (GET_NPROCS_CONF_PARSER): Likewise.
4391
01cad84e
JM
4392 [BZ #17574]
4393 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4394 weak alias of __wmemset. Use libc_hidden_weak.
4395 (__wmemset): Use libc_hidden_def.
4396 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4397 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4398 of wmemset.
4399
939da411
JM
4400 [BZ #17573]
4401 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4402 with asm name __mempcpy.
4403 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4404
293d9a41
JM
4405 [BZ #17572]
4406 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4407 and define as weak alias of __rawmemchr.
4408 (__rawmemchr): Do not define as strong alias of rawmemchr.
4409
bef8fd60
JM
4410 [BZ #17571]
4411 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4412 alias of __qsort_r.
4413 (qsort): Call __qsort_r instead of qsort_r.
4414 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4415 (__qsort_r): Declare. Call libc_hidden_proto.
4416 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4417 instead of qsort_r.
4418 * nscd/gai.c (__qsort_r): Define to qsort_r.
4419 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4420 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4421 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4422
c52ff39e
JM
4423 [BZ #17570]
4424 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4425 define as weak alias of __malloc_info.
4426
2f5c1b00
JM
4427 [BZ #17584]
4428 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4429 as weak alias of __rewinddir. Don't use libc_hidden_def.
4430 (__rewinddir): Use libc_hidden_def.
4431 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4432 as weak alias of __rewinddir. Don't use libc_hidden_def.
4433 (__rewinddir): Use libc_hidden_def.
4434 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4435 weak alias of __rewinddir. Don't use libc_hidden_def.
4436 (__rewinddir): Use libc_hidden_def.
4437 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4438 (__rewinddir): Use libc_hidden_proto.
4439 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4440 rewinddir.
4441 (__getcwd): Use __rewinddir instead of rewinddir.
4442
5a6fa4d7
JM
4443 [BZ #17583]
4444 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4445 alias of __fileno. Use libc_hidden_weak.
4446 (__fileno): Use libc_hidden_def.
4447 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4448 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4449 alias of __ftello.
4450 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4451 __ftello.
4452 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4453 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4454 libc_hidden_def.
4455 (fread_unlocked): Don't use libc_hidden_ver.
4456 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4457 and define as weak alias of __fread_unlocked. Don't use
4458 libc_hidden_def.
4459 (__fread_unlocked): Use libc_hidden_def.
4460 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4461 (ftello): Don't use libc_hidden_proto.
4462 (__ftello): Declare. Use libc_hidden_proto.
4463 (fread_unlocked): Don't use libc_hidden_proto.
4464 (__fread_unlocked): Declare. Use libc_hidden_proto.
4465 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4466 and __ftello instead of fileno, fread_unlocked and ftello.
4467
2581b98e
SP
44682012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4469
4470 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4471 GOT12.
4472 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4473 Likewise.
4474 (_dl_start_user): Likewise.
4475 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4476
533bb7c2
SP
44772014-11-12 Carlos O'Donell <carlos@redhat.com>
4478 Siddhesh Poyarekar <siddhesh@redhat.com>
4479
4480 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4481 Move argv and envp down instead of moving argc up.
4482 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4483
fffa1cf8
LH
44842014-11-12 Leonhard Holz <leonhard.holz@web.de>
4485
4486 [BZ #17506]
4487 * test-skeleton.c (main): Return successful if one of
4488 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4489 * string/tst-strcoll-overflow.c: Define expected status.
4490
fb89b46d
TU
44912014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4492
4493 [BZ #17475]
4494 * locale/iso-639.def: Define Bhili and Tulu language codes.
4495
5c40c3ba
AH
44962014-11-11 Alan Hayward <alan.hayward@arm.com>
4497
4498 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4499
b17fe01b 45002014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4501
4502 [BZ #17555]
4503 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4504
bd805071
AS
45052014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4506
4507 * configure.ac: Updated check of minimal required version to
4508 2.22.
4509 * manual/install.texi (Tools for Compilation): Updated version
4510 number.
4511 * configure: Regenerated.
4512 * INSTALL: Likewise.
4513
1400983e
AS
45142014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4515
4516 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4517 __tls_get_addr.
4518
2c46a66a
JM
45192014-11-07 Joseph Myers <joseph@codesourcery.com>
4520
4521 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4522 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4523 (__waitpid): Don't define as alias. Use libc_hidden_def not
4524 libc_hidden_weak.
4525 (waitpid): Define as alias of __waitpid.
4526 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4527 __waitpid.
4528 (__waitpid): Don't define as alias. Use libc_hidden_def not
4529 libc_hidden_weak.
4530 (waitpid): Define as alias of __waitpid.
4531 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4532 __libc_waitpid alias.
4533 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4534 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4535 Likewise.
4536 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4537 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4538 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4539 alias.
4540 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4541 __waitpid.
4542 (__waitpid): Don't define as alias. Use libc_hidden_def not
4543 libc_hidden_weak.
4544 (waitpid): Define as alias of __waitpid.
4545
da53d6db
CD
45462014-11-06 Carlos O'Donell <carlos@redhat.com>
4547
a2887bdb
CD
4548 * manual/llio.texi: Add comment that write safety has been
4549 fixed in Linux.
4550
da53d6db
CD
4551 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4552 (localplt-build-dso): Add elf/ld.so.
4553 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4554 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4555 and free for ld.so.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4557 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4559 Likewise.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4561 Likewise.
4562 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4563 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4564 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4565 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4566 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4567 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4568 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4569 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4570 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4571 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4572 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4573
9cf27b8d
JM
45742014-11-05 Joseph Myers <joseph@codesourcery.com>
4575
4576 [BZ #14132]
4577 * include/libc-symbols.h (INTUSE): Remove macro.
4578 (INTDEF): Likewise.
4579 (INTVARDEF): Likewise.
4580 (_INTVARDEF): Likewise.
4581 (INTDEF2): Likewise.
4582 (INTVARDEF2): Likewise.
4583 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4584 rtld_hidden_def instead of INTVARDEF.
4585 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4586 (_dl_starting_up_internal): Remove declaration.
4587 (_dl_starting_up): Use rtld_hidden_proto.
4588 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4589 declaration.
4590 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4591 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4592 _dl_starting_up.
4593 * elf/dl-writev.h (_dl_writev): Likewise.
4594 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4595 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4596 _dl_starting_up_internal.
4597
af83568d
AZ
45982014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4599
4600 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4601 test-skeleton.c.
4602
b01ee67c
WN
46032014-11-05 Will Newton <will.newton@linaro.org>
4604
4605 * benchtests/Makefile: (bench-malloc): Add malloc thread
4606 scalability benchmark.
4607 * benchtests/bench-malloc-threads.c: New file.
4608
be9d4ccc
RE
46092014-11-05 Richard Earnshaw <rearnsha@arm.com>
4610
4611 * sysdeps/aarch64/strchrnul.S: New file.
4612
7110166d
AZ
46132014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4614
4615 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4616 definition.
4617 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4618 Likwise.
4619 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4620 Likewise.
4621 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4622 Likewise.
4623 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4624 Likewise.
4625 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4626 Likewise.
4627
46282014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4629
4630 * catgets/test-gencat.c: Use test-skeleton.c.
4631 * catgets/tst-catgets.c: Likewise.
4632 * csu/tst-empty.c: Likewise.
4633 * elf/tst-audit2.c: Likewise.
4634 * elf/tst-global1.c: Likewise.
4635 * elf/tst-pathopt.c: Likewise.
4636 * elf/tst-piemod1.c: Likewise.
4637 * elf/tst-tls10.c: Likewise.
4638 * elf/tst-tls11.c: Likewise.
4639 * elf/tst-tls12.c: Likewise.
4640 * gnulib/tst-gcc.c: Likewise.
4641 * iconvdata/tst-e2big.c: Likewise.
4642 * iconvdata/tst-loading.c: Likewise.
4643 * iconv/tst-iconv1.c: Likewise.
4644 * iconv/tst-iconv2.c: Likewise.
4645 * inet/test-inet6_opt.c: Likewise.
4646 * inet/tst-gethnm.c: Likewise.
4647 * inet/tst-network.c: Likewise.
4648 * inet/tst-ntoa.c: Likewise.
4649 * intl/tst-codeset.c: Likewise.
4650 * intl/tst-gettext2.c: Likewise.
4651 * intl/tst-gettext3.c: Likewise.
4652 * intl/tst-ngettext.c: Likewise.
4653 * intl/tst-translit.c: Likewise.
4654 * io/test-stat.c: Likewise.
4655 * libio/test-fmemopen.c: Likewise.
4656 * libio/tst-freopen.c: Likewise.
4657 * libio/tst-sscanf.c: Likewise.
4658 * libio/tst-ungetwc1.c: Likewise.
4659 * libio/tst-ungetwc2.c: Likewise.
4660 * libio/tst-widetext.c: Likewise.
4661 * localedata/tst-ctype.c: Likewise.
4662 * localedata/tst-digits.c: Likewise.
4663 * localedata/tst-leaks.c: Likewise.
4664 * localedata/tst-mbswcs1.c: Likewise.
4665 * localedata/tst-mbswcs2.c: Likewise.
4666 * localedata/tst-mbswcs3.c: Likewise.
4667 * localedata/tst-mbswcs4.c: Likewise.
4668 * localedata/tst-mbswcs5.c: Likewise.
4669 * localedata/tst-setlocale.c: Likewise.
4670 * localedata/tst-trans.c: Likewise.
4671 * localedata/tst-wctype.c: Likewise.
4672 * localedata/tst-xlocale1.c: Likewise.
4673 * login/tst-grantpt.c: Likewise.
4674 * malloc/tst-calloc.c: Likewise.
4675 * malloc/tst-malloc.c: Likewise.
4676 * malloc/tst-mallocstate.c: Likewise.
4677 * malloc/tst-mcheck.c: Likewise.
4678 * malloc/tst-mtrace.c: Likewise.
4679 * malloc/tst-obstack.c: Likewise.
4680 * math/atest-exp2.c: Likewise.
4681 * math/atest-exp.c: Likewise.
4682 * math/atest-sincos.c: Likewise.
4683 * math/test-matherr.c: Likewise.
4684 * math/test-misc.c: Likewise.
4685 * math/test-powl.c: Likewise.
4686 * math/tst-definitions.c: Likewise.
4687 * misc/tst-dirname.c: Likewise.
4688 * misc/tst-efgcvt.c: Likewise.
4689 * misc/tst-fdset.c: Likewise.
4690 * misc/tst-hsearch.c: Likewise.
4691 * misc/tst-mntent2.c: Likewise.
4692 * nptl/tst-sem7.c: Likewise.
4693 * nptl/tst-sem8.c: Likewise.
4694 * nptl/tst-sem9.c: Likewise.
4695 * nss/test-netdb.c: Likewise.
4696 * posix/tst-fnmatch.c: Likewise.
4697 * posix/tst-getlogin.c: Likewise.
4698 * posix/tst-gnuglob.c: Likewise.
4699 * posix/tst-mmap.c: Likewise.
4700 * pwd/tst-getpw.c: Likewise.
4701 * resolv/tst-inet_ntop.c: Likewise.
4702 * rt/tst-timer.c: Likewise.
4703 * stdio-common/test-fseek.c: Likewise.
4704 * stdio-common/test-popen.c: Likewise.
4705 * stdio-common/test-vfprintf.c: Likewise.
4706 * stdio-common/tst-cookie.c: Likewise.
4707 * stdio-common/tst-fileno.c: Likewise.
4708 * stdio-common/tst-gets.c: Likewise.
4709 * stdio-common/tst-obprintf.c: Likewise.
4710 * stdio-common/tst-perror.c: Likewise.
4711 * stdio-common/tst-sprintf2.c: Likewise.
4712 * stdio-common/tst-sprintf3.c: Likewise.
4713 * stdio-common/tst-sprintf.c: Likewise.
4714 * stdio-common/tst-swprintf.c: Likewise.
4715 * stdio-common/tst-tmpnam.c: Likewise.
4716 * stdio-common/tst-unbputc.c: Likewise.
4717 * stdio-common/tst-wc-printf.c: Likewise.
4718 * stdlib/tst-environ.c: Likewise.
4719 * stdlib/tst-fmtmsg.c: Likewise.
4720 * stdlib/tst-limits.c: Likewise.
4721 * stdlib/tst-rand48-2.c: Likewise.
4722 * stdlib/tst-rand48.c: Likewise.
4723 * stdlib/tst-random2.c: Likewise.
4724 * stdlib/tst-random.c: Likewise.
4725 * stdlib/tst-strtol.c: Likewise.
4726 * stdlib/tst-strtoll.c: Likewise.
4727 * stdlib/tst-tls-atexit.c: Likewise.
4728 * stdlib/tst-xpg-basename.c: Likewise.
4729 * string/test-ffs.c: Likewise.
4730 * string/tst-bswap.c: Likewise.
4731 * string/tst-inlcall.c: Likewise.
4732 * string/tst-strtok.c: Likewise.
4733 * string/tst-strxfrm.c: Likewise.
4734 * sysdeps/x86_64/tst-audit10.c: Likewise.
4735 * sysdeps/x86_64/tst-audit3.c: Likewise.
4736 * sysdeps/x86_64/tst-audit4.c: Likewise.
4737 * sysdeps/x86_64/tst-audit5.c: Likewise.
4738 * time/tst-ftime_l.c: Likewise.
4739 * time/tst-getdate.c: Likewise.
4740 * time/tst-mktime3.c: Likewise.
4741 * time/tst-mktime.c: Likewise.
4742 * time/tst-posixtz.c: Likewise.
4743 * time/tst-strptime2.c: Likewise.
4744 * time/tst-strptime3.c: Likewise.
4745 * wcsmbs/tst-btowc.c: Likewise.
4746 * wcsmbs/tst-mbrtowc.c: Likewise.
4747 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4748 * wcsmbs/tst-wchar-h.c: Likewise.
4749 * wcsmbs/tst-wcpncpy.c: Likewise.
4750 * wcsmbs/tst-wcrtomb.c: Likewise.
4751 * wcsmbs/tst-wcsnlen.c: Likewise.
4752 * wcsmbs/tst-wcstof.c: Likewise.
4753
2004e7fb
JM
47542014-11-04 Joseph Myers <joseph@codesourcery.com>
4755
ab97ee8f
JM
4756 [BZ #14132]
4757 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4758 INTDEF.
4759 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4760 declaration.
4761 (_dl_mcount): Use rtld_hidden_proto.
4762 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4763 _dl_mcount.
4764 * elf/rtld.c (_rtld_global_ro): Likewise.
4765
c5684fdb
JM
4766 [BZ #14132]
4767 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4768 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4769 of _dl_init_internal.
4770 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4771 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4772 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4773 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4774 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4775 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4776 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4777 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4778 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4779 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4780 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4781 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4782 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4783 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4784 * sysdeps/tile/dl-start.S (_start): Likewise.
4785 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4786 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4787
4243cbea
JM
4788 [BZ #14132]
4789 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4790 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4791 (rtld_progname): Make macro definition unconditional.
4792 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4793 INTDEF.
4794 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4795 (dl_main): Likewise.
4796 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4797 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4798 instead of _dl_argv_internal.
4799 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4800 __GI__dl_argv instead of INTUSE(_dl_argv).
4801 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4802 __GI__dl_argv instead of _dl_argv_internal.
4803
2004e7fb
JM
4804 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4805 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4806 macro.
4807 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4808 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4809 New macro.
4810 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4811 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4812 macro.
4813 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4814 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4815
97827bfc
AS
48162014-11-04 Andreas Schwab <schwab@suse.de>
4817
4818 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4819
5e4df284
AZ
48202014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4821
4822 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4823 mtvsrd instruction in binary form.
4824
04b76b5a
AS
48252014-11-03 Andreas Schwab <schwab@suse.de>
4826
4827 [BZ #17522]
4828 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4829 for less than MB_LEN_MAX use a local buffer of that size.
4830 * libio/tst-fputws.c: New file.
4831 * libio/Makefile (tests): Add tst-fputws.
4832
4c6da7da
JM
48332014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4834
4835 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4836 the size of the fpu_fr.fpu_dregs[] array.
4837
1679ba8e
JM
48382014-11-01 Joseph Myers <joseph@codesourcery.com>
4839
4840 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4841 (__nanosleep): Do not define as alias.
4842 (nanosleep): Define as alias of __nanosleep.
4843 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4844 __libc_nanosleep name.
4845
2626c183
JM
48462014-10-31 Joseph Myers <joseph@codesourcery.com>
4847
4848 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4849 install.texi in comment.
4850
7f981fc2
TR
48512014-10-31 Torvald Riegel <triegel@redhat.com>
4852
4853 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4854 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4855 ... add here and use lwsync or sync ...
4856 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4857 ... and add here using lwsync.
4858
d6f373d2
MF
48592014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4860
4861 * elf/dl-machine-reject-phdr.h: New file.
4862 * elf/dl-load.c: #include that.
4863 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4864 if that returned true.
4865
67c37987
RM
48662014-10-31 Roland McGrath <roland@hack.frob.com>
4867
4868 [BZ #17496]
4869 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4870 gen-as-const-headers chunk. Add a big scare comment after the last
4871 safe place to touch before-compile.
4872
94a42455 48732014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4874
f3f5d895
JM
4875 * manual/install.texi (Tools for Compilation): Update autoconf
4876 version requirements.
4877 * INSTALL: Regenerated.
4878
f62ff286
JM
4879 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4880 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4881 (__libc_pselect): Likewise.
94a42455
JM
4882
4883 [BZ #14138]
4884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4888
ff9dbdc0
TR
48892014-10-31 Torvald Riegel <triegel@redhat.com>
4890
4891 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4892 correct barrier instruction.
4893 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4894 Likewise.
4895 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4896 Likewise.
4897
b4f66884
RM
48982014-10-30 Roland McGrath <roland@hack.frob.com>
4899
4900 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4901 after defining inlines. Instead, just use parens to defeat macro
4902 expansion of __isctype in its declaration.
4903
e19c95fd
JM
49042014-10-30 Joseph Myers <joseph@codesourcery.com>
4905
4906 * include/sys/uio.h (__libc_readv): Remove declaration.
4907 (__libc_writev): Likewise.
4908 * misc/readv.c (__libc_readv): Rename to __readv.
4909 (__readv): Do not define as alias.
4910 (readv): Define as alias of __readv.
4911 * misc/writev.c (__libc_writev): Rename to __writev.
4912 (__writev): Do not define as alias.
4913 (writev): Define as alias of __writev.
4914 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4915 (__readv): Do not define as alias.
4916 (readv): Define unconditionally as alias of __readv.
4917 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4918 (__writev): Do not define as alias.
4919 (writev): Define unconditionally as alias of __writev.
4920 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4921 name.
4922 (writev): Do not define __libc_writev name.
4923
65b00b6c
RM
49242014-10-30 Roland McGrath <roland@hack.frob.com>
4925
4926 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4927 (convert_charseq): New function, broken out of ...
4928 (use_from_charmap): ... here. Call it.
4929 (use_to_charmap): Use convert_charseq and free instead of duplicating
4930 its code with a variable-length stack struct.
4931
d4e157aa
JM
49322014-10-30 Joseph Myers <joseph@codesourcery.com>
4933
4934 * include/fcntl.h (__libc_creat): Remove declaration.
4935 * io/creat.c (__libc_creat): Rename to creat.
4936 (creat): Do not define as alias.
4937 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4938 of creat instead of __libc_creat.
4939 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4940 to creat.
4941 (creat): Do not define as alias.
4942 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4943 __libc_creat.
4944 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4945 __libc_creat name.
4946 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4947 Likewise.
4948
0c6891a0
CD
49492014-10-29 Carlos O'Donell <carlos@redhat.com>
4950
4951 * manual/llio.texi: Add comments discussing why write() may be
4952 considered MT-unsafe on Linux.
4953
cc00cece
CD
49542014-10-28 Carlos O'Donell <carlos@redhat.com>
4955
4956 * dl-load.c (local_strdup): Remove.
4957 (expand_dynamic_string_token): Use __strdup.
4958 (decompose_rpath): Likewise.
4959 (_dl_map_object): Likewise.
4960
51e623f2
JM
49612014-10-28 Joseph Myers <joseph@codesourcery.com>
4962
4963 [BZ #14132]
4964 * sysdeps/generic/unwind-dw2-fde.c
4965 (__register_frame_info_bases_internal): Do not declare.
4966 (__register_frame_info_table_bases_internal): Likewise.
4967 (__deregister_frame_info_bases_internal): Likewise.
4968 (__register_frame_info_bases): Declare and use hidden_proto before
4969 definition. Use hidden_def instead of INTDEF.
4970 (__register_frame_info_table_bases): Likewise.
4971 (__deregister_frame_info_bases): Likewise.
4972 (__register_frame_info): Do not use INTUSE.
4973 (__register_frame): Likewise.
4974 (__register_frame_info_table): Likewise.
4975 (__register_frame_table): Likewise.
4976 (__deregister_frame_info): Likewise.
4977 (__deregister_frame): Likewise.
4978
03d41216
GC
49792014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4980
4981 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4982 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4983 not undefine.
4984 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4985 Likewise.
4986 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4987 Likewise.
4988
a4b3624d
JM
49892014-10-27 Joseph Myers <joseph@codesourcery.com>
4990
4991 [BZ #14138]
4992 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4993 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4994 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4995 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4996 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4997 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4998 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4999 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5000 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5001 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5002 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5003 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5004 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5005 syscall.
5006 (setfsuid): Likewise.
5007 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5008 (setfsuid): Likewise.
5009 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5010 (setfsuid): Likewise.
5011 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5012 Likewise.
5013 (setfsuid): Likewise.
5014 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5015 (setfsuid): Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5017 Likewise.
5018 (setfsuid): Likewise.
5019
3574f2fd
AS
50202014-10-27 Andreas Schwab <schwab@suse.de>
5021
5022 [BZ #17501]
5023 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5024 check for Slow_SSE4_2 feature bit.
5025 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5026 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5027 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5028 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5029
70996a37
RM
50302014-10-24 Roland McGrath <roland@hack.frob.com>
5031
461a7b1e
RM
5032 * configure.ac: Validate compiler version with a empirical test of
5033 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5034 $CC -v output.
5035 * configure: Regenerated.
5036
70996a37
RM
5037 * inet/htons.c (htons): Prototypify.
5038 * inet/htonl.c (htonl): Likewise.
5039
e80514b5
WD
50402014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5041
5042 * string/strncat.c (strncat): Improve performance by using strlen.
5043
6e46de42
WD
50442014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5045
5046 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5047
6a9ad2fa
WD
50482014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5049
5050 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5051 Call libc_fetestexcept_aarch64.
5052
1c8810ed
WD
50532014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5054
5055 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5056 Call libc_feholdexcept_aarch64.
5057
8b1af712
WD
50582014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5059
5060 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5061 Call get_rounding_mode.
5062
a7b00c11
WD
50632014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5064
5065 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5066 Simplify logic.
5067
3a84f1a6
WD
50682014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5069
5070 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5071 Simplify logic.
5072
48eb7a94
JM
50732014-10-24 Joseph Myers <joseph@codesourcery.com>
5074
c8bc4038
JM
5075 [BZ #14138]
5076 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5077 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5078 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5079 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5080 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5081 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5082 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5083 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5084 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5085 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5086 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5087 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5088 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5089 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5090 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5091 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5092 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5093 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5094 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5095 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5096 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5097 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5098 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5099 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5100 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5101 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5102 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5103 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5104 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5105 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5106 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5107 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5108 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5109 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5110 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5111 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5112 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5113 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5114 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5115 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5116 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5117 syscall.
5118 (geteuid): Likewise.
5119 (getgid): Likewise.
5120 (getuid): Likewise.
5121 (getresgid): Likewise.
5122 (getresuid): Likewise.
5123 (getgroups): Likewise.
5124 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5125 (geteuid): Likewise.
5126 (getgid): Likewise.
5127 (getuid): Likewise.
5128 (getresgid): Likewise.
5129 (getresuid): Likewise.
5130 (getgroups): Likewise.
5131 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5132 (geteuid): Likewise.
5133 (getgid): Likewise.
5134 (getuid): Likewise.
5135 (getresgid): Likewise.
5136 (getresuid): Likewise.
5137 (getgroups): Likewise.
5138 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5139 Likewise.
5140 (geteuid): Likewise.
5141 (getgid): Likewise.
5142 (getuid): Likewise.
5143 (getresgid): Likewise.
5144 (getresuid): Likewise.
5145 (getgroups): Likewise.
5146 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5147 (geteuid): Likewise.
5148 (getgid): Likewise.
5149 (getuid): Likewise.
5150 (getresgid): Likewise.
5151 (getresuid): Likewise.
5152 (getgroups): Likewise.
5153 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5154 Likewise.
5155 (geteuid): Likewise.
5156 (getgid): Likewise.
5157 (getuid): Likewise.
5158 (getgroups): Likewise.
5159
48eb7a94
JM
5160 [BZ #14138]
5161 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5162 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5163 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5164 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5165 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5166 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5167 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5168 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5169 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5170 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5171 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5172 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5173 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5174 __chown.
5175 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5176 (lchown): Likewise.
5177 (fchown): Likewise.
5178 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5179 Likewise.
5180 (lchown): Likewise.
5181 (fchown): Likewise.
5182 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5183 (lchown): Likewise.
5184 (fchown): Likewise.
5185 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5186 Likewise.
5187 (lchown): Likewise.
5188 (fchown): Likewise.
5189
ea9a7c8b
WD
51902014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5191
5192 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5193 Simplify logic.
5194
e226de33
WD
51952014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5196
5197 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5198 Cleanup logic.
5199
6e3d8ed3
WD
52002014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5201
5202 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5203 Remove unused include.
5204
eb04247d
WD
52052014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5206
5207 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5208 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5209 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5210 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5211
13d84554
CD
52122014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5213 Helge Deller <deller@gmx.de>
5214
5215 [BZ #17508]
5216 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5217 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5218 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5219
15f9c5df
JM
52202014-10-23 Joseph Myers <joseph@codesourcery.com>
5221
5222 [BZ #14132]
5223 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5224 Remove macro definition.
5225 (__ashrdi3_v_glibc20): Likewise.
5226 (__lshrdi3_v_glibc20): Likewise.
5227 (__cmpdi2_v_glibc20): Likewise.
5228 (__ucmpdi2_v_glibc20): Likewise.
5229 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5230 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5231 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5232 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5233 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5234 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5235
c6dfed24
RM
52362014-10-22 Roland McGrath <roland@hack.frob.com>
5237
5238 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5239 old GNU extension [0] syntax.
5240 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5241 alloca rather than an array member with variable length.
5242 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5243 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5244 (parse_opt): ... here. Likewise use alloca there.
5245 Validate the -i argument before checking for rootness.
5246 (send_shutdown): New function, broken out of ...
5247 (parse_opt): ... here.
5248
8c2b1ed8
RM
52492014-10-22 Roland McGrath <roland@hack.frob.com>
5250
5251 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5252 macro to get at the _rt_local_ro field.
5253 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5254 ([PIC] case) or _dl_hwcap ([!PIC] case).
5255 * sysdeps/arm/setjmp.S: Likewise.
5256
5257 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5258 * sysdeps/arm/configure.ac: New check to define it.
5259 * sysdeps/arm/configure: Regenerated.
5260 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5261 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5262 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5263 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5264 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5265 Use move/movt pair instead of a load.
5266 (LDST_GLOBAL): Macro removed.
5267 (LDR_GLOBAL): New macro replaces it.
5268 (LDR_HIDDEN): New macro.
5269 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5270 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5271
5272 * setjmp/tst-setjmp-static.c: New file.
5273 * setjmp/Makefile (tests): Add it.
5274 (tests-static): New variable.
5275
b5af9297
MR
52762014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5277
5278 [BZ #17485]
5279 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5280
a13d0d74
JM
52812014-10-21 Joseph Myers <joseph@codesourcery.com>
5282
5283 [BZ #14132]
5284 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5285
f05e73f6
RM
52862014-10-21 Roland McGrath <roland@hack.frob.com>
5287
5288 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5289
6ab1d1ea
RM
52902014-10-20 Roland McGrath <roland@hack.frob.com>
5291
5292 * io/fts.c (dirent_not_directory): New function.
5293 (fts_build): Call it.
5294
ab49e763
RM
52952014-10-20 Roland McGrath <roland@hack.frob.com>
5296
e436eb79
RM
5297 * nptl/version.c (__nptl_main): Use normal __write rather than
5298 INTERNAL_SYSCALL.
5299 (banner): Update copyright years.
5300
6af246cf
RM
5301 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5302 gettimeofday.
5303 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5304 * nptl/pthread_cond_timedwait.c: Likewise.
5305 * nptl/pthread_mutex_timedlock.c: Likewise.
5306 * nptl/sem_timedwait.c: Likewise.
5307
ab49e763
RM
5308 * sysdeps/nptl/bits/libc-lock.h
5309 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5310 (__libc_lock_init_recursive): Return void, not 0.
5311 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5312 (__libc_rwlock_init): Likewise.
5313 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5314
f50277c1
TR
53152014-10-20 Torvald Riegel <triegel@redhat.com>
5316
5317 [BZ #15215]
5318 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5319 (__pthread_once_slow): ... here.
5320 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5321 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5322
63668b70
TR
53232014-10-20 Torvald Riegel <triegel@redhat.com>
5324
5325 [BZ #15215]
5326 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5327 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5328 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5329 * nptl/pthread_once.c (__pthread_once): Likewise.
5330 Update comments.
5331
42b7f5d4
JM
53322014-10-20 Joseph Myers <joseph@codesourcery.com>
5333
5334 [BZ #14138]
5335 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5336 name.
5337 (writev): Use __libc_writev as strong name.
5338 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5339 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5340
b0643088
RM
53412014-10-17 Roland McGrath <roland@hack.frob.com>
5342
114c4e09
RM
5343 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5344
674b8978
RM
5345 * sysdeps/i386/nptl/tls.h
5346 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5347 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5348 New macros.
5349 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5350 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5351 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5352 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5353 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5354 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5355
184ee940
RM
5356 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5357 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5358 on [__NR_futex].
5359 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5360 broken out of ...
5361 (__pthread_mutex_init): ... here. Call it.
5362 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5363 Conditionalize PI cases on [__NR_futex].
5364 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5365 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5366 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5367
327ae257
RM
5368 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5369 conditional on [SIGSETXID].
5370 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5371 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5372 is defined. Likewise for SIGSETXID.
5373 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5374 Conditionalize definitions on [SIGSETXID].
5375 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5376 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5377 unblocking on [SIGCANCEL].
5378
b0643088
RM
5379 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5380 [__NR_set_robust_list].
5381
33cc770b
SP
53822014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5383
5384 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5385 (do_compare): Likewise.
5386
0742aef6
LH
53872014-10-17 Leonhard Holz <leonhard.holz@web.de>
5388
5389 [BZ #15884]
5390 * string/strcoll_l.c: Don't include stdio.h.
5391 (coll_seq): Remove members idxarr and rulearr.
5392 (get_next_seq_cached): Remove function.
5393 (get_next_seq): Likewise.
5394 (get_next_seq_nocache): Rename to get_next_seq.
5395 (do_compare): Remove function.
5396 (do_compare_nocache): Rename to do_compare.
5397 (STRCOLL): Remove weight and rules cache.
5398
ee54ce44
RM
53992014-10-16 Roland McGrath <roland@hack.frob.com>
5400
5401 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5402 * sysdeps/arm/sfp-machine.h: ... to here.
5403 * sysdeps/arm/Implies: Remove arm/soft-fp.
5404
a75d3b02
JM
54052014-10-14 Joseph Myers <joseph@codesourcery.com>
5406
5407 * conform/data/sys/utsname.h-data (*_t): Allow.
5408 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5409 [POSIX] (WEXITED): Do not expect constant.
5410 [POSIX] (WSTOPPED): Likewise.
5411 [POSIX] (WNOHANG): Likewise.
5412 [POSIX] (WNOWAIT): Likewise.
5413 [POSIX] (siginfo_t): Do not expect type or elements.
5414 [POSIX] (pid_t): Do not expect type.
5415 [POSIX] (signal.h): Do not allow header.
5416 [POSIX] (sys/resource.h): Likewise.
5417 [POSIX] (si_*): Do not allow pattern.
5418 [POSIX] (W*): Likewise.
5419 [POSIX] (P_*): Likewise.
5420 [POSIX] (BUS_*): Likewise.
5421 [POSIX] (CLD_*): Likewise.
5422 [POSIX] (FPE_*): Likewise.
5423 [POSIX] (ILL_*): Likewise.
5424 [POSIX] (POLL_*): Likewise.
5425 [POSIX] (SEGV_*): Likewise.
5426 [POSIX] (SI_*): Likewise.
5427 [POSIX] (TRAP_*): Likewise.
5428 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5429 variable.
5430
fda389c8
SP
54312014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5432
5433 [BZ #12926]
5434 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5435 infinite loop when __recvmsg returns 0.
5436
6bc6bd3b
JM
54372014-10-10 Joseph Myers <joseph@codesourcery.com>
5438
fcb32af1
JM
5439 * CANCEL-FCT-WAIVE: Remove file.
5440 * CANCEL-FILE-WAIVE: Likewise.
5441
6bc6bd3b
JM
5442 [BZ #14132]
5443 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5444 instead of INTVARDEF.
5445 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5446 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5447 rtld_hidden_data_def instead of INTVARDEF.
5448 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5449 * elf/dl-deps.c (expand_dst): Likewise.
5450 * elf/dl-load.c (_dl_dst_count): Likewise.
5451 (_dl_dst_substitute): Likewise.
5452 (decompose_rpath): Likewise.
5453 (_dl_init_paths): Likewise.
5454 (open_path): Likewise.
5455 (_dl_map_object): Likewise.
5456 * elf/rtld.c (dl_main): Likewise.
5457 (process_dl_audit): Likewise.
5458 (process_envvars): Likewise.
5459 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5460 Remove declaration.
5461 (__libc_enable_secure): Use rtld_hidden_proto.
5462
b8c80a7e
KS
54632014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5464
5465 * elf/dl-load.c
5466 (add_path): New function broken out of _dl_rtld_di_serinfo.
5467 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5468
ff12c11f
JM
54692014-10-09 Joseph Myers <joseph@codesourcery.com>
5470
5c0508a3
JM
5471 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5472 parentheses around macro arguments.
5473 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5474 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5475 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5476 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5477 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5478 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5479 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5480 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5481 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5482 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5483 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5484 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5485 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5486 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5487 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5488 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5489 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5490 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5491 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5492 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5493 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5494 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5495 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5496 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5497 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5499 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5500 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5501 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5502 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5503 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5504 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5505 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5506 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5507 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5508 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5509 Likewise.
5510 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5511 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5512 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5513 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5514 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5515 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5516 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5517 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5518 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5519 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5520 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5521 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5522 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5523 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5524 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5525 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5526 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5527 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5528 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5529 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5530 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5531 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5532 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5533 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5534 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5535 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5536 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5537 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5538 (_FP_FRAC_SRS_1): Likewise.
5539 (_FP_FRAC_CLZ_1): Likewise.
5540 (_FP_MUL_MEAT_1_imm): Likewise.
5541 (_FP_MUL_MEAT_1_wide): Likewise.
5542 (_FP_MUL_MEAT_1_hard): Likewise.
5543 (_FP_SQRT_MEAT_1): Likewise.
5544 (_FP_FRAC_ASSEMBLE_1): Likewise.
5545 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5546 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5547 (__FP_CLZ_2): Likewise.
5548 (_FP_MUL_MEAT_2_wide): Likewise.
5549 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5550 (_FP_MUL_MEAT_2_gmp): Likewise.
5551 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5552 (_FP_SQRT_MEAT_2): Likewise.
5553 (_FP_FRAC_ASSEMBLE_2): Likewise.
5554 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5555 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5556 (_FP_FRAC_CLZ_4): Likewise.
5557 (_FP_MUL_MEAT_4_wide): Likewise.
5558 (_FP_MUL_MEAT_4_gmp): Likewise.
5559 (_FP_SQRT_MEAT_4): Likewise.
5560 (_FP_FRAC_ASSEMBLE_4): Likewise.
5561 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5562 * soft-fp/op-common.h (_FP_CMP): Likewise.
5563 (_FP_CMP_EQ): Likewise.
5564 (_FP_CMP_UNORD): Likewise.
5565 (_FP_TO_INT): Likewise.
5566 (_FP_FROM_INT): Likewise.
5567 [!__FP_CLZ] (__FP_CLZ): Likewise.
5568 (_FP_DIV_HELP_imm): Likewise.
5569 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5570 Likewise.
5571 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5572 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5573 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5574 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5576 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5577 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5578 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5579 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5580 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5581 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5582 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5583 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5584 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5585 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5586 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5587 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5588 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5589 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5590 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5591 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5594 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5595 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5596 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5597 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5598 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5599 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5600 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5601 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5602 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5603 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5604 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5605 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5606 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5607 (FP_UNPACK_RAW_SP): Likewise.
5608 (FP_PACK_RAW_S): Likewise.
5609 (FP_PACK_RAW_SP): Likewise.
5610 (FP_UNPACK_S): Likewise.
5611 (FP_UNPACK_SP): Likewise.
5612 (FP_UNPACK_SEMIRAW_S): Likewise.
5613 (FP_UNPACK_SEMIRAW_SP): Likewise.
5614 (FP_PACK_S): Likewise.
5615 (FP_PACK_SP): Likewise.
5616 (FP_PACK_SEMIRAW_S): Likewise.
5617 (FP_PACK_SEMIRAW_SP): Likewise.
5618 (_FP_SQRT_MEAT_S): Likewise.
5619 (FP_CMP_S): Likewise.
5620 (FP_CMP_EQ_S): Likewise.
5621 (FP_CMP_UNORD_S): Likewise.
5622 (FP_TO_INT_S): Likewise.
5623 (FP_FROM_INT_S): Likewise.
5624
a736ec37
JM
5625 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5626
ff12c11f
JM
5627 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5628 (FP_EX_INVALID_IMZ): Likewise.
5629 (FP_EX_INVALID_IMZ_FMA): Likewise.
5630 (FP_EX_INVALID_ISI): Likewise.
5631 (FP_EX_INVALID_ZDZ): Likewise.
5632 (FP_EX_INVALID_IDI): Likewise.
5633 (FP_EX_INVALID_SQRT): Likewise.
5634 (FP_EX_INVALID_CVI): Likewise.
5635 (FP_EX_INVALID_VC): Likewise.
5636 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5637 "invalid" exceptions.
5638 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5639 (_FP_ADD_INTERNAL): Likewise.
5640 (_FP_MUL): Likewise.
5641 (_FP_FMA): Likewise.
5642 (_FP_DIV): Likewise.
5643 (_FP_CMP_CHECK_NAN): Likewise.
5644 (_FP_SQRT): Likewise.
5645 (_FP_TO_INT): Likewise.
5646 (FP_EXTEND): Likewise.
5647
b6dcfe8c
AM
56482014-10-09 Allan McRae <allan@archlinux.org>
5649
5650 * po/fr.po: Update French translation from translation project.
5651
2d6a47ba
JM
56522014-10-09 Joseph Myers <joseph@codesourcery.com>
5653
cb831245
JM
5654 [BZ #14132]
5655 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5656 of INTDEF.
5657 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5658 (__cxa_atexit): Use libc_hidden_proto.
5659 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5660
5deeb190
JM
5661 [BZ #14132]
5662 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5663 declaration.
5664 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5665 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5666 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5667 [!_ISOMAC] (__iswctype_internal): Likewise.
5668 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5669 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5670 alias.
5671 (fcntl): Remove __fcntl_internal alias.
5672 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5673 __connect_internal alias.
5674 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5675 Likewise.
5676
454ac701
JM
5677 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5678 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5679 FP_DENORM_ZERO.
5680 (_FP_CHECK_FLUSH_ZERO): New macro.
5681 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5682 (_FP_CMP): Likewise.
5683 (_FP_CMP_EQ): Likewise.
5684 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5685 FP_DENORM_ZERO.
5686 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5687 (FP_TRUNC): Likewise.
5688
0022e688
JM
5689 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5690 treated as invalid conversion, not as normal exponent.
5691
73e28d9c
JM
5692 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5693 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5694 (_FP_CMP_EQ): Likewise.
5695 (_FP_CMP_UNORD): Likewise.
5696 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5697 (FP_CMP_EQ_D): Likewise.
5698 (FP_CMP_UNORD_D): Likewise.
5699 * soft-fp/extended.h (FP_CMP_E): Likewise.
5700 (FP_CMP_EQ_E): Likewise.
5701 (FP_CMP_UNORD_E): Likewise.
5702 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5703 (FP_CMP_EQ_Q): Likewise.
5704 (FP_CMP_UNORD_Q): Likewise.
5705 * soft-fp/single.h (FP_CMP_S): Likewise.
5706 (FP_CMP_EQ_S): Likewise.
5707 (FP_CMP_UNORD_S): Likewise.
5708 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5709 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5710 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5711 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5712 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5713 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5714 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5715 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5716 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5717 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5718 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5719 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5720 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5721 to FP_CMP_Q.
5722 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5723 FP_CMP_Q.
5724 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5725 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5726 FP_CMP_EQ_Q.
5727 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5728 FP_CMP_Q.
5729 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5730 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5731 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5732 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5733 FP_CMP_EQ_Q.
5734 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5735 FP_CMP_Q.
5736 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5737 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5738 FP_CMP_EQ_Q.
5739 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5740 FP_CMP_Q.
5741 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5742 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5743 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5744 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5745 FP_CMP_EQ_Q.
5746
43059f42
JM
5747 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5748 a subnormal result, set the underflow exception if trapping on
5749 underflow is enabled.
5750 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5751 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5752 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5753 redefine to 0.
5754 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5755 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5756 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5757 * soft-fp/extendxftf2.c (__extendxftf2): Use
5758 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5759
2d6a47ba
JM
5760 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5761 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5762 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5763 FP_HANDLE_EXCEPTIONS.
5764 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5765 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5766 FP_HANDLE_EXCEPTIONS.
5767 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5768 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5769 FP_HANDLE_EXCEPTIONS.
5770 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5771 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5772 FP_HANDLE_EXCEPTIONS.
5773
620f462e
JM
57742014-10-08 Joseph Myers <joseph@codesourcery.com>
5775
5776 [BZ #14132]
5777 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5778 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5779 use INTUSE.
5780 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5781 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5782 Remove alias.
5783 (__adjtimex): Define using libc_hidden_ver.
5784 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5785 Remove declaration.
5786 (ntp_gettime): Call __adjtimex directly.
5787 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5788 Remove declaration.
5789 (ntp_gettimex): Call __adjtimex directly.
5790 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5791 __adjtimex_internal alias.
5792
c763c5d2
RM
57932014-10-08 Roland McGrath <roland@hack.frob.com>
5794
5795 [BZ #17460]
5796 * nscd/nscd.c (more_help): Rewrite list of tables collection
5797 using xstrdup and asprintf.
5798
5799 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5800
7b8fb2b8
RM
58012014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5802 Roland McGrath <roland@hack.frob.com>
5803
5804 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5805 (do_lookup_unique): ... local function 'enter' here; update callers.
5806
abb280f7
JM
58072014-10-06 Joseph Myers <joseph@codesourcery.com>
5808
f7b42517
JM
5809 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5810 compat_symbol calls on [SHARED].
5811 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5812 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5813 Remove.
5814 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5815 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5816 (oldsetrlimit): Remove.
5817 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5819 (lchown): New syscall entry.
5820 (oldsetrlimit): Remove.
5821 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5823 (oldsetrlimit): Remove.
5824 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5825
abb280f7
JM
5826 [BZ #14138]
5827 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5828 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5829 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5830 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5831 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5832 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5833 (fchown): Likewise.
5834 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5835 (fchown): Likewise.
5836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5837 Likewise.
5838
47d46237
AZ
58392014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5840
5841 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5842 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5843 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5844 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5845 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5846 Likewise.
5847 (__old_sem_post): Likewise.
5848
58492014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5850
845a7343
CM
5851 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5852 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5853 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5854 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5855 Use INLINE_VSYSCALL macro.
5856 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5857 __vdso_clock_gettime.
5858 * sysdeps/unix/sysv/linux/tile/init-first.c
5859 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5860 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5861 __vdso_clock_gettime.
5862
83d641ef
CM
5863 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5864 to set up frame more cleanly.
5865
d9cd52e6
CM
5866 * sysdeps/tile/memcmp.c: New file.
5867
4b68ea11
CM
5868 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5869
c86f7b80
CM
5870 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5871 * sysdeps/tile/tilegx/strcasestr.c: New file.
5872 * sysdeps/tile/tilegx/strnlen.c: New file.
5873 * sysdeps/tile/tilegx/strstr.c: New file.
5874
1c4c1a6f
CM
5875 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5876
99d86ea3
AS
58772014-10-06 Arjun Shankar <arjun.is@lostca.se>
5878
5879 * nptl/tst-setuid3.c: Write errors to stdout.
5880
06210a44
KS
58812014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5882
5883 * elf/dl-deps.c
5884 (preload): New functions broken out of _dl_map_object_deps.
5885 (_dl_map_object_deps): Remove a nested function. Update call sites.
5886
6268f532
JM
58872014-10-01 Joseph Myers <joseph@codesourcery.com>
5888
5889 [BZ #14138]
5890 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5891 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5892
b925285f
SE
58932014-10-01 Steve Ellcey <sellcey@mips.com>
5894
5895 * sysdeps/mips/strcmp.S: New.
5896
754a15c6
JM
58972014-09-30 Joseph Myers <joseph@codesourcery.com>
5898
5899 [BZ #14138]
5900 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5901 (linkat): Likewise.
5902 (mkdirat): Likewise.
5903 (readlinkat): Likewise.
5904 (renameat): Likewise.
5905 (symlinkat): Likewise.
5906 (unlinkat): Likewise.
5907 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5908 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5909 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5910 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5911 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5912 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5913 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5914
85bb81c9
WN
59152014-09-30 Will Newton <will.newton@linaro.org>
5916
dc6fe23b
WN
5917 * math/math.h: Define long double math functions if
5918 _LIBC_TEST is defined.
5919 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5920
85bb81c9
WN
5921 * localedata/Makefile: Move assignment to tests-special
5922 into an ifdef testing run-built-tests.
5923 * timezone/Makefile: Likewise.
5924
b7e02da4
JM
59252014-09-29 Joseph Myers <joseph@codesourcery.com>
5926
5927 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5928 with $(BASH) not $(SHELL).
5929
62058ce6
CD
59302014-09-29 Carlos O'Donell <carlos@redhat.com>
5931 Matthew LeGendre <legendre1@llnl.gov>
5932
5933 [BZ #17411]
5934 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5935 l_reloc_result.
5936
8e257a29
KS
59372014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5938
5939 * stdio-common/printf_fp.c
5940 (hack_digit): New function, broken out of ...
5941 (__printf_fp): ... local function here. Update call sites.
5942 hack_digit now takes an additional parameter that is a pointer
5943 to a struct of the referenced locals. Those locals moved inside
5944 the struct and references updated.
5945
f4a58f0d
L
59462014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5947
5948 * aclocal.m4: Require autoconf 2.69.
5949 * configure: Regenerated.
5950 * sysdeps/aarch64/configure: Likewise.
5951 * sysdeps/alpha/configure: Likewise.
5952 * sysdeps/arm/armv7/configure: Likewise.
5953 * sysdeps/arm/configure: Likewise.
5954 * sysdeps/ia64/configure: Likewise.
5955 * sysdeps/mach/configure: Likewise.
5956 * sysdeps/mips/configure: Likewise.
5957 * sysdeps/s390/configure: Likewise.
5958 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5960
5961 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5962 file.
5963 * sysdeps/ia64/configure.ac: Likewise.
5964
93ae1eba
JM
59652014-09-26 Joseph Myers <joseph@codesourcery.com>
5966
1810d3ab
JM
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5968 specify symbol version for ld.so. Do not include entry for
5969 libpthread.
5970 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5971 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5972 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5973
93ae1eba
JM
5974 [BZ #14171]
5975 * Makeconfig [$(build-shared) = yes]
5976 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5977 makefiles.
5978 [$(build-shared) = yes && $(soversions.mk-done) = t]
5979 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5980 [$(build-shared) = yes && $(soversions.mk-done) = t]
5981 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5982 to Makerules.
5983 [$(build-shared) = yes && $(soversions.mk-done) = t]
5984 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5985 here.
5986 [$(build-shared) = yes && $(soversions.mk-done) = t]
5987 (common-generated): Don't append gnu/lib-names.h and
5988 gnu/lib-names.stmp here.
5989 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5990 (lib-names-h-abi): New variable.
5991 [$(build-shared) = yes && $(soversions.mk-done) = t]
5992 (lib-names-stmp-abi): Likewise.
5993 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5994 abi-variants] (before-compile): Append
5995 $(common-objpfx)$(lib-names-h-abi).
5996 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5997 abi-variants] (common-generated): Append gnu/lib-names.h.
5998 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5999 abi-variants] (install-others-nosubdir): Depend on
6000 $(inst_includedir)/$(lib-names-h-abi).
6001 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6002 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6003 [$(build-shared) = yes && $(soversions.mk-done) = t]
6004 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6005 [$(build-shared) = yes && $(soversions.mk-done) = t]
6006 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6007 [$(build-shared) = yes && $(soversions.mk-done) = t]
6008 (common-generated): Append $(lib-names-h-abi) and
6009 $(lib-names-stmp-abi).
6010 * scripts/lib-names.awk: Do not handle multi being set.
6011 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6012 Remove variable.
6013 (abi-lp64_be-ld-soname): Likewise.
6014 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6015 Likewise.
6016 (abi-hard-ld-soname): Likewise.
6017 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6018 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6019 Remove variable.
6020 (abi-o32_hard-ld-soname): Likewise.
6021 (abi-o32_soft_2008-ld-soname): Likewise.
6022 (abi-o32_hard_2008-ld-soname): Likewise.
6023 (abi-n32_soft-ld-soname): Likewise.
6024 (abi-n32_hard-ld-soname): Likewise.
6025 (abi-n32_soft_2008-ld-soname): Likewise.
6026 (abi-n32_hard_2008-ld-soname): Likewise.
6027 (abi-n64_soft-ld-soname): Likewise.
6028 (abi-n64_hard-ld-soname): Likewise.
6029 (abi-n64_soft_2008-ld-soname): Likewise.
6030 (abi-n64_hard_2008-ld-soname): Likewise.
6031 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6032 Likewise.
6033 (abi-64-v2-ld-soname): Likewise.
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6035 ld.so entries.
6036 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6037 variable.
6038 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6039 entry.
6040 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6041 variable.
6042 (abi-64-ld-soname): Likewise.
6043 (abi-x32-ld-soname): Likewise.
6044 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6045 entry.
6046 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6047
68870f12
JM
60482014-09-23 Joseph Myers <joseph@codesourcery.com>
6049
6050 [BZ #14138]
6051 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6052 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6053 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6054 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6055 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6056 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6057 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6058 syscall entry for GLIBC_2.2 symbol version.
6059 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6060 Likewise.
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6062 (setrlimit): Likewise.
6063 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6064 Likewise.
6065
ea58f202
WN
60662014-09-23 Will Newton <will.newton@linaro.org>
6067
6068 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6069 _LINUX_ARM_SYSDEP_H include guard too.
6070 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6071 define.
6072
69eb9a18
RV
60732014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6074
6075 * sysdeps/unix/sysv/linux/eventfd.c:
6076 Make first argument unsigned.
6077 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6078 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6079
20e5a5f7
OB
60802014-09-20 Ondřej Bílka <neleai@seznam.cz>
6081
6082 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6083 * socket/sys/socket.h: Likewise
6084 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6085
d3c827e7
AK
60862014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6087
6088 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6089
fe1cc35a
AS
60902014-09-17 Arjun Shankar <arjun.is@lostca.se>
6091
6092 * time/tst-ftime.c: New test.
6093 * time/Makefile (tests): Add tst-ftime.
6094
4e8afe69
JM
60952014-09-17 Joseph Myers <joseph@codesourcery.com>
6096
c4fe3ea7
JM
6097 * soft-fp/extended.h: Fix comment formatting.
6098 * soft-fp/op-1.h: Likewise.
6099 * soft-fp/op-2.h: Likewise.
6100 * soft-fp/op-4.h: Likewise.
6101 * soft-fp/op-8.h: Likewise.
6102 * soft-fp/op-common.h: Likewise.
6103 * soft-fp/soft-fp.h: Likewise.
6104
4e8afe69
JM
6105 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6106
af296fcd
JM
61072014-09-16 Joseph Myers <joseph@codesourcery.com>
6108
6109 [BZ #6652]
6110 * Makeconfig (soversions-default-setname): Remove variable.
6111 ($(common-objpfx)soversions.i): Don't pass default_setname to
6112 soversions.awk.
6113 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6114 oldest_abi to abi-versions.awk.
6115 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6116 * config.make.in (oldest-abi): Remove variable.
6117 * configure.ac (--enable-oldest-abi): Remove configure option.
6118 * configure: Regenerated.
6119 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6120 text.
6121 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6122 * scripts/soversions.awk: Do not handle default_setname variable.
6123 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6124 variable.
6125 * sysdeps/mach/hurd/configure: Regenerated.
6126 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6127 variable.
6128 * sysdeps/unix/sysv/linux/configure: Regenerated.
6129
545583d6
SP
61302014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6131
d330b980
SP
6132 * elf/Makefile (CFLAGS-interp.c): Remove.
6133 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6134 path string.
6135 * elf/interp.c: Include generated runtime-linker.h
6136
02657da2
SP
6137 * Makerules (lib%.so): Don't include $(+interp) in
6138 prerequisites.
6139 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6140 * dlfcn/eval.c: Remove file.
6141
653b1080
SP
6142 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6143 macros.
6144
602f80ec
SP
6145 [BZ #17266]
6146 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6147 4.2 and newer.
6148
545583d6
SP
6149 [BZ #17370]
6150 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6151
884ddc50
SP
61522014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6153 Jakub Jelinek <jakub@redhat.com>
6154
6155 [BZ #17266]
6156 * libio/stdio.h: Check definition of __fortify_function
6157 instead of __extern_always_inline to include bits/stdio2.h.
6158 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6159 check if __extern_always_inline is defined.
6160 [__USE_MISC || __USE_XOPEN]: Likewise.
6161 [__USE_ISOC99] Likewise.
6162 * misc/sys/cdefs.h (__fortify_function): Define only if
6163 __extern_always_inline is defined.
6164 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6165 __extern_always_inline and __extern_inline only for g++-4.3
6166 and newer or a compatible gcc.
6167
a7b87268
AS
61682014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6169
6170 [BZ #17371]
6171 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6172 last change to handle zero prefix length.
6173
3f41521d
SP
61742014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6175
61fe374a
SP
6176 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6177 _SC_REGEX_VERSION.
6178
3f41521d
SP
6179 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6180 _POSIX_RAW_SOCKETS.
6181
d8f879ee
AM
61822014-09-13 Allan McRae <allan@archlinux.org>
6183
6184 * po/ru.po: Update Russian translation from translation project.
6185
c079afb7
RM
61862014-09-12 Roland McGrath <roland@hack.frob.com>
6187
a62b3c15
RM
6188 * locale/programs/locale.c (show_locale_vars): Inline local function
6189 into its sole call site. Clean up some style nits.
6190 (print_item): New function, broken out of ...
6191 (show_info): ... local function here. Clean up style nits.
6192
d7e49b19
RM
6193 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6194 out of ...
6195 (set_class_defaults): ... local function set_default here.
6196 Define set_default as a macro locally to pass constant parameters.
6197 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6198 rather than a shared local.
6199
c079afb7
RM
6200 * stdlib/rpmatch.c (try): New function, broken out of ...
6201 (rpmatch): ... local function here. Also, prototypify definition.
6202
0bd72468
JM
62032014-09-12 Joseph Myers <joseph@codesourcery.com>
6204
ba90e050
JM
6205 * scripts/soversions.awk: Do not handle configuration names.
6206 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6207 vendor and os variables to soversions.awk.
6208 * configure.ac: Do not modify gnu-* host_os.
6209 * configure: Regenerated
6210 * shlib-versions: Remove first column with configuration names.
6211 * nptl/shlib-versions: Likewise.
6212 * nptl_db/shlib-versions: Likewise.
6213 * sysdeps/hppa/shlib-versions: Likewise.
6214 * sysdeps/m68k/shlib-versions: Likewise.
6215 * sysdeps/mach/hurd/shlib-versions: Likewise.
6216 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6217 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6218 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6219 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6220 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6221 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6222 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6223 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6225 Likewise.
6226 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6227 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6228 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6229 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6230 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6231 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6232 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6233 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6234
73a39112
JM
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6236 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6238 Regenerated.
6239 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6241 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6242
c729e7c1
JM
6243 * shlib-versions: Remove OS-specific entries. Moved to files in
6244 sysdeps.
6245 * sysdeps/mach/hurd/shlib-versions: New file.
6246 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6247
dc932a24
JM
6248 * nptl/shlib-versions: Remove architecture-specific entries.
6249 Moved to files in sysdeps.
6250 * shlib-versions: Likewise.
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6252 file.
6253 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6254 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6255 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6256 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6257
0bd72468
JM
6258 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6259 (UDP_NO_CHECK6_RX): Likewise.
6260
920238e0
SP
62612014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6262
6263 * sysdeps/posix/sysconf.c (__sysconf): Spell
6264 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6265
ba7b4d29
FW
62662014-08-12 Florian Weimer <fweimer@redhat.com>
6267
6268 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6269 loading.
6270 * iconv/Versions (__gconv_transliterate): Export for use from
6271 gconv modules.
6272 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6273 (struct __gconv_trans_data, __gconv_trans_fct,
6274 __gconv_trans_context_fct, __gconv_trans_query_fct,
6275 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6276 definitions.
6277 (struct __gconv_step_data): Remove __trans member.
6278 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6279 longer hidden. Remove unused trans_data argument.
6280 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6281 (__gconv_translit_find): Remove declaration.
6282 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6283 prototype.
6284 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6285 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6286 trans_data argument. Add hidden definition.
6287 (__gconv_translit_find): Remove.
6288 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6289 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6290 * iconv/skeleton.c: Remove transliteration initialization.
6291 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6292 __gconv_step_data initialization.
6293 * libio/iofwide.c (__libio_translit_): Remove.
6294 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6295 * wcsmbs/btowc.c (__btowc): Likewise.
6296 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6297 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6298 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6299 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6300 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6301 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6302 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6303 * wcsmbs/wctob.c (wctob): Likewise.
6304
5379aebd
SP
63052014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6306
6307 [BZ #16194]
6308 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6309 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6310 register usage.
6311 * sysdeps/x86/Makefile: Adjust.
6312
8c0ab919
RM
63132014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6314 Roland McGrath <roland@hack.frob.com>
6315
6316 * locale/weight.h: Add include guard.
6317 (findidx): Make static rather than auto; take new parameters
6318 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6319 * locale/weightwc.h: Likewise.
6320 * posix/fnmatch_loop.c
6321 (FCT): Change type of EXTRA from int32_t to wint_t.
6322 Don't include either header inside the function.
6323 Call FINDIDX rather than findidx, and pass new arguments.
6324 #undef FINDIDX at the end of the file.
6325 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6326 FINDIDX before including fnmatch_loop.c for the non-wide version.
6327 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6328 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6329 for the wide version.
6330 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6331 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6332 Pass new arguments to findidx.
6333 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6334 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6335 Don't #include it inside the function. Pass new arguments to findidx.
6336 * posix/regex_internal.h
6337 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6338 (re_string_elem_size_at): Don't #include it inside the function.
6339 Pass new arguments to findidx.
6340 * string/strcoll_l.c: #include WEIGHT_H at top level.
6341 (get_next_seq): Don't #include it inside the function.
6342 Pass new arguments to findidx.
6343 (get_next_seq_nocache): Likewise.
6344 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6345 (STRXFRM): Don't #include it inside the function.
6346 Pass new arguments to findidx.
6347
52ffbdf2
FW
63482014-09-11 Florian Weimer <fweimer@redhat.com>
6349
6350 [BZ #17344]
6351 * malloc/malloc.c (unlink): Turn asserts into a call to
6352 malloc_printerr.
6353
984c0ea9
TL
63542014-09-11 Tim Lammens <tim.lammens@gmail.com>
6355
6356 [BZ #17370]
6357 * libio/wfileops (do_ftell_wide): Free OUT.
6358
3daee107
CM
63592014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6360
6361 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6362
58b930ae
SP
63632014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6364
6365 [BZ #17363]
6366 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6367 group if the current group is empty.
6368
3b473fec
AZ
63692014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6370
71ae8647
AZ
6371 * benchtests/bench-memset.c (test_main): Add more test from size
6372 from 32 to 512 bytes.
6373 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6374 Add POWER8 memset object.
6375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6376 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6377 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6378 implementation.
6379 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6380 Likewise.
6381 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6382 multiarch POWER8 memset optimization.
6383 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6384 POWER8 memset optimization.
6385
3b473fec
AZ
6386 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6387 Remove bzero multiarch objects.
6388 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6389 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6390 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6391 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6392 Remove define.
6393 [__bzero]: Redefine to specific name.
6394 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6395 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6396 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6397 define.
6398 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6399 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6400
e6fb9587
FW
64012014-09-10 Florian Weimer <fweimer@redhat.com>
6402
6403 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6404 warnings into errors.
6405
6406 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6407 __cxa_thread_atexit_impl prototype.
6408
9d3a350b
SE
64092014-09-09 Steve Ellcey <sellcey@mips.com>
6410
6411 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6412 Fix capitalization of error message.
6413
0febba23
SE
64142014-09-09 Steve Ellcey <sellcey@mips.com>
6415
6416 * sysdeps/mips/preconfigure: Modify ABI tests.
6417
645a0e9c
CD
64182014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6419
6420 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6421
d83f0734
CD
64222014-09-07 Roland McGrath <roland@hack.frob.com>
6423 Carlos O'Donell <carlos@systemhalted.org>
6424
6425 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6426 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6427 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6428 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6429 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6430 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6431 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6432 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6433 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6434 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6435 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6436 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6437 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6438 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6439 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6440 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6441 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6442 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6443 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6444 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6445 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6446 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6447 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6448 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6449 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6450 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6451 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6452 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6453 Deconditionalize the code that was previously under [RESET_PID].
6454 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6455 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6456 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6457 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6458 include sysdep.h.
6459
21c83793
AM
64602014-09-08 Allan McRae <allan@archlinux.org>
6461
6462 * version.h (RELEASE): Set to "development".
6463 (VERSION): Set to "2.20.90"
6464
1cd9b65c
AM
64652014-09-07 Allan McRae <allan@archlinux.org
6466
b8079dd0
AM
6467 * version.h (RELEASE): Set to "stable".
6468 (VERSION): Set to "2.20"
6469 * include/features.h (__GLIBC_MINOR__): Set to 20.
6470
c46303ef
AM
6471 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6472 Liebler.
6473
1cd9b65c
AM
6474 * po/ko.po: Update Korean translation from translation project.
6475
8622092d
CM
64762014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6477
6478 [BZ #17354]
6479 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6480 macro for handling signed relocations.
6481
41488498
FW
64822014-09-03 Florian Weimer <fweimer@redhat.com>
6483
6484 [BZ #17325]
6485 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6486 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6487 assert.
6488 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6489 * iconvdata/ibm935.c (BODY): Likewise.
6490 * iconvdata/ibm937.c (BODY): Likewise.
6491 * iconvdata/ibm939.c (BODY): Likewise.
6492 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6493 assert.
6494 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6495 script.
6496 * iconvdata/run-iconv-test.sh: New test loop for checking for
6497 decoder crashers.
6498
a78b712d
KR
64992014-09-02 Khem Raj <raj.khem@gmail.com>
6500
6501 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6502 libm_hidden_ver.
6503
cb08abc6
AM
65042014-09-01 Allan McRae <allan@archlinux.org>
6505
2c31e102
AM
6506 * po/eo.po: Update Esperanto translation from translation project.
6507
cb08abc6
AM
6508 * po/ca.po: Update Catalan translation from translation project.
6509
17a62de1
ST
65102014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6511
6512 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6513 __proc_dostop call.
6514
9570bc53
MW
65152014-08-27 Mark Wielaard <mjw@redhat.com>
6516
6517 [BZ #17319]
6518 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6519 to call set_thread_area instead of hand written asm.
6520 (__NR_set_thread_area): Removed define.
6521 (TLS_FLAG_WRITABLE): Likewise.
6522 (__ASSUME_SET_THREAD_AREA): Remove check.
6523 (TLS_EBX_ARG): Remove define.
6524 (TLS_LOAD_EBX): Likewise.
6525
b0f955c9
ST
65262014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6527
6528 Simplify atomicity of socket creation in bind.
6529
6530 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6531 looking up the name after linking the file.
6532
529bf515
AM
65332014-08-27 Allan McRae <allan@archlinux.org>
6534
6535 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6536
a1a6a401
FW
65372014-08-26 Florian Weimer <fweimer@redhat.com>
6538
6539 [BZ #17187]
6540 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6541 trans_compare, open_translit, __gconv_translit_find):
6542 Remove module loading code.
6543
686ab290
AM
65442014-08-26 Allan McRae <allan@archlinux.org>
6545
e4e7cfd2
AM
6546 * po/vi.po: Update Vietnamese translation from translation project.
6547
6aa09f71
AM
6548 * po/uk.po: Update Ukrainian translation from translation project.
6549
edc0660e
AM
6550 * po/fr.po: Update French translation from translation project.
6551
7eea72ac
AM
6552 * po/ru.po: Update Russian translation from translation project.
6553
93c49eff
AM
6554 * po/pl.po: Update Polish translation from translation project.
6555
46acaf63
AM
6556 * po/cs.po: Update Czech translation from translation project.
6557
a9f5ce98
AM
6558 * po/de.po: Update German translation from translation project.
6559
373f2b78
AM
6560 * po/bg.po: Update Bulgarian translation from translation project.
6561
e7548bd8
AM
6562 * po/sv.po: Update Sweedish translation from translation project.
6563
c526bf4d
AM
6564 * po/nl.po: Update Dutch translation from translation project.
6565
686ab290
AM
6566 * po/es.po: Update Spanish translation from translation project.
6567
eb72478a
SP
65682014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6569
dd763fdb
SP
6570 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6571
318c7a58
SP
6572 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6573 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6574 (CPPFLAGS-iconvconfig): Likewise.
6575 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6576
eb72478a
SP
6577 * include/libc-symbols.h: Remove unnecessary check for
6578 NOT_IN_libc.
6579 * nptl/pthreadP.h: Likewise.
6580 * sysdeps/aarch64/setjmp.S: Likewise.
6581 * sysdeps/alpha/setjmp.S: Likewise.
6582 * sysdeps/arm/sysdep.h: Likewise.
6583 * sysdeps/i386/setjmp.S: Likewise.
6584 * sysdeps/m68k/setjmp.c: Likewise.
6585 * sysdeps/posix/getcwd.c: Likewise.
6586 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6587 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6588 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6589 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6590 * sysdeps/sh/sh3/setjmp.S: Likewise.
6591 * sysdeps/sh/sh4/setjmp.S: Likewise.
6592 * sysdeps/unix/alpha/sysdep.h: Likewise.
6593 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6594 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6595 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6596 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6601 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6604 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6606 * sysdeps/x86_64/setjmp.S: Likewise.
6607
d44a052c
JM
66082014-08-13 Joseph Myers <joseph@codesourcery.com>
6609
6610 [BZ #17263]
6611 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6612 <stdint.h>.
6613 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6614 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6615
508ce3ac
SP
66162014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6617
e44c8b0e
SP
6618 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6619
508ce3ac
SP
6620 [BZ #17262]
6621 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6622 and __x86_64__ when disabling x87 inline functions.
6623
b4acef1f
L
66242014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6625
6626 [BZ #17259]
6627 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6628 asm statement with __cpuid_count.
6629
61b1ef6e
MF
66302014-08-12 Mike Frysinger <vapier@gentoo.org>
6631
6632 * configure.ac: Change __ehdr_start code to dereference the struct.
6633 Run readelf on the output to look for relocations.
6634 * configure: Regenerated.
6635
898c62f4
JM
66362014-08-12 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #17261]
6639 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6640 value to 0.
6641 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6642
9a8a5720
RM
66432014-08-12 Roland McGrath <roland@hack.frob.com>
6644
6645 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6646
4e75751c
BO
66472014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6648
6649 [BZ #16892]
6650 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6651 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6652
bb2ce416
SA
66532014-08-12 Sean Anderson <seanga2@gmail.com>
6654
6655 * malloc/malloc.c: Fix typo in comment.
6656
7950a4ee
AM
66572014-08-09 Allan McRae <allan@archlinux.org>
6658
6659 * Regenerate libc.po.
6660
f469c49f
MF
66612014-08-08 Mike Frysinger <vapier@gentoo.org>
6662
6663 * intl/tst-gettext2.sh: Check every lang file for creation.
6664
656b84c2
WD
66652014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6666
6667 * sysdeps/aarch64/fpu/math_private.h
6668 (libc_feholdsetround_noex_aarch64_ctx): New function.
6669
538e9e45
W
66702014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6671
6672 * sysdeps/arm/armv6/strcpy.S (strcpy):
6673 Fix performance issue in misaligned cases.
6674
d4795e4a
AZ
66752014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676
6677 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6678 Move definition from termios.h.
6679 (struct termio): Likewise.
6680 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6681 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6682 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6683 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6684 Likewise.
6685 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6686 Move definition to ioctl-types.h
6687 (struct termio): Likewise.
6688 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6689 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6690 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6691 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6692 Likewise.
6693
64accb62
RH
66942014-08-05 Richard Henderson <rth@redhat.com>
6695
27bb6dc0
RH
6696 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6697 exceptions.
6698 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6699 Add fraiseexcpt.
6700 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6701 Use __feraiseexcept.
6702 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6703 Protect libm symbols with IS_IN_libm.
6704
64accb62
RH
6705 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6706
e5292691
BO
67072014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6708
6709 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6710
5b4bd2d4
WN
67112014-08-04 Will Newton <will.newton@linaro.org>
6712
6713 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6714 file.
6715
fcadaeef
MF
67162014-08-04 Mike Frysinger <vapier@gentoo.org>
6717
6718 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6719 variants for each function.
6720
43a94c64
RM
67212014-08-04 Roland McGrath <roland@hack.frob.com>
6722
6723 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6724 appended ...
6725 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6726 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6727 appended ...
6728 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6729 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6730 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6731 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6732 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6733 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6734 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6735 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6736 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6737 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6738 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6739 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6740 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6742 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6743 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6744 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6745 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6746 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6747 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6748 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6749 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6750 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6751 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6752 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6753 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6754 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6755 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6756 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6760 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6761 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6762 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6763 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6764 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6765 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6766 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6767 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6768 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6769 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6770 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6771 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6772 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6773 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6774 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6775 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6776 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6777 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6778 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6779 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6780 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6781 Update #include.
6782 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6783 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6784
8f3c1fa4
RM
67852014-08-04 Roland McGrath <roland@hack.frob.com>
6786
6787 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6788 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6789 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6790 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6791 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6792 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6793
ca08746f
RM
67942014-08-04 Roland McGrath <roland@hack.frob.com>
6795
6796 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6797 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6798 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6799 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6800
9c925ff9
RM
68012014-08-04 Roland McGrath <roland@hack.frob.com>
6802
6803 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6804 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6805 (__libc_vfork): Define function under this name.
6806 (__vfork): Define as an alias.
6807 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6808 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6809
e641054c
RM
68102014-08-04 Roland McGrath <roland@hack.frob.com>
6811
6812 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6813 that was previously under [RESET_PID].
6814 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6815
dacdc867
AS
68162014-08-04 Andreas Schwab <schwab@suse.de>
6817
6818 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6819
41f725ff
MF
68202014-08-03 Mike Frysinger <vapier@gentoo.org>
6821
6822 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6823 (main): Likewise.
6824
277cfb31
RM
68252014-08-01 Roland McGrath <roland@hack.frob.com>
6826
6827 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6828
4896f049
RH
68292014-08-01 Richard Henderon <rth@redhat.com>
6830
6831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6832 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6833 typo in exact zero test.
6834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6835 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6836 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6837
6f64e7d7
RM
68382014-08-01 Roland McGrath <roland@hack.frob.com>
6839
6840 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6841 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6842 * sysdeps/arm/sysdep.h: ... here.
6843 [!__ASSEMBLER__]: Include <stdint.h>.
6844
3f3dd810
SP
68452014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6846
a476ac4b
SP
6847 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6848 (HAVE_WCTYPE_H): Likewise.
6849 (HAVE_ISWCTYPE): Likewise.
6850 (ENABLE_NLS): Likewise.
6851 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6852 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6853
78dd658a
SP
6854 * posix/regex_internal.c: Check if DEBUG is defined and is
6855 set.
6856
3f3dd810
SP
6857 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6858 (HAVE_MBSRTOWCS): Likewise.
6859 * posix/fnmatch.c: Include string.h unconditionally.
6860
95ee7fb1
SL
68612014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6862
6863 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6864 reversal.
6865
23fe486b
RM
68662014-07-31 Roland McGrath <roland@hack.frob.com>
6867
f61a113f
RM
6868 * sysdeps/generic/safe-fatal.h: New file.
6869 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6870 * nptl/forward.c: Include it.
6871 (__pthread_unwind): Use __safe_fatal as default action, rather
6872 than a bogus use of INTERNAL_SYSCALL that could never work.
6873
9fe7e787
RM
6874 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6875 * configure.ac (libc_cv_builtin_trap): New test.
6876 * configure: Regenerated.
6877 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6878 (ABORT_INSTRUCTION): Define using __builtin_trap.
6879
23fe486b
RM
6880 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6881 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6882 * sysdeps/nptl/nptl-signals.h: New file.
6883 * nptl/pthreadP.h: Include <nptl-signals.h>.
6884
f349489e
SL
68852014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6886
6887 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6888 (ONE_DIRECTION): Define.
6889 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6890 (ONE_DIRECTION): Define.
6891 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6892 (ONE_DIRECTION): Define.
6893
2f438e20
SL
68942014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6895
6896 * sysdeps/s390/Makefile: Delete file.
6897 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6898 * sysdeps/s390/__longjmp.c: Delete file.
6899 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6900 Remove fields __flags and __reserved.
6901 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6902 and add versioning.
6903 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6904 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6905 * sysdeps/s390/rtld-setjmp.S: Likewise.
6906 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6907 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6908 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6909 * sysdeps/s390/s390-32/setjmp.S: ... here.
6910 Add versioning.
6911 (__sigsetjmp): Remove setting __flags field.
6912 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6913 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6914 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6915 * sysdeps/s390/s390-64/setjmp.S: ... here.
6916 Add versioning.
6917 (__sigsetjmp): Remove setting __flags field.
6918 * sysdeps/s390/setjmp.S: Delete file.
6919 * sysdeps/s390/sigjmp.c: Likewise.
6920 * sysdeps/s390/v1-longjmp.c: Likewise.
6921 * sysdeps/s390/v1-setjmp.h: Likewise.
6922 * sysdeps/s390/v1-sigjmp.c: Likewise.
6923 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6924 Remove v1-longjmp_chk.
6925 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6926 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6927 Include debug/longjmp_chk.c and add versioning.
6928 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6929 Include nptl/pt-longjmp.c and add versioning.
6930 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6931 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6932 Include __longjmp.c.
6933 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6934 Move to ...
6935 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6936 (__getcontext): Remove setting __flags field.
6937 Add versioning.
6938 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6939 Don't restore upper high grps.
6940 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6941 Likewise.
6942 (__swapcontext): Remove setting uc_flags field.
6943 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6944 Delete file.
6945 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6946 Include __longjmp.c.
6947 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6948 Move to ...
6949 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6950 (__getcontext): Remove setting __flags field.
6951 Add versioning.
6952 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6953 (__swapcontext): Remove setting uc_flags field.
6954 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6955 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6956 Remove fields uc_high_gprs and __reserved.
6957 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6958 New file with reverted content.
6959 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6960 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6961 Regenerated.
6962 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6963 Regenerated.
6964
6c9578a2
AS
69652014-07-31 Andreas Schwab <schwab@suse.de>
6966
6967 * config.h.in (HAVE_IFUNC): Define to 0.
6968 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6969 definedness.
6970
05f3633d
LM
69712014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6972
6973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6974 memmove-avx-unaligned, memcpy-avx-unaligned and
6975 mempcpy-avx-unaligned.
6976 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6977 Add tests for AVX memcpy functions.
6978 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6979 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6980 memcpy_chk.
6981 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6982 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6983 memmove_chk.
6984 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6985 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6986 mempcpy_chk.
6987 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6988 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6989 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6990
a53fbd8e
AZ
69912013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6992
6993 [BZ #17213]
6994 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6995 powerpc64le.
6996
0961f7e1
JL
69972014-07-29 Jeff Layton <jlayton@poochiereds.net>
6998
6999 [BZ #16839]
7000 * manual/llio.texi: Add section about open file description locks.
7001 * manual/examples/ofdlocks.c: Example of open file description
7002 lock usage.
7003 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7004 F_OFD_SETLK, and F_OFD_SETLKW.
7005
cc5fb300
AM
70062014-07-23 Allan McRae <allan@archlinux.org>
7007
7008 * po/es.po: Update Spanish translation from translation project.
7009
23329dca
AS
70102014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7011
7012 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7013
9c82da17
MR
70142014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7015
7016 [BZ #17078]
7017 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7018 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7019 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7020
29c4f53e
JM
70212014-07-17 Joseph Myers <joseph@codesourcery.com>
7022
831b9896
JM
7023 [BZ #17088]
7024 * math/fesetenv.c (__fesetenv)
7025 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7026 * math/feupdateenv.c (__feupdateenv)
7027 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7028
b21c2d50
JM
7029 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7030 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7031 (__ASSUME_SOCKETCALL): Do not define.
7032
067764ef
JM
7033 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7034 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7035 (__ASSUME_SOCKETCALL): Do not define.
7036 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7037 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7038 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7039 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7040 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7041 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7042 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7043 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7044
642530c1
JM
7045 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7046 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7047 (__ASSUME_SOCKETCALL): Do not define.
7048 (__ASSUME_IPC64): Define unconditionally.
7049 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7050 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7051 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7052 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7053 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7054 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7055 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7056 Likewise.
7057
03f77315
JM
7058 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7059 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7060 (__ASSUME_SOCKETCALL): Do not define.
7061 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7062 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7063 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7064 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7065 (__ASSUME_REQUEUE_PI): Define unconditionally.
7066 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7067 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7068 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7069 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7070 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7071 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7072
083b1f7c
JM
7073 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7074 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7075 (__ASSUME_SOCKETCALL): Do not define.
7076 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7077 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7078 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7079 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7080 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7081 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7082
5be44ea6
JM
7083 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7084 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7085 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7086 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7087 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7088 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7089 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7090 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7091 (__ASSUME_GETCPU_SYSCALL): Likewise.
7092
d95ffd4c
JM
7093 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7094 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7095 cases for individual architectures.
7096 * sysdeps/gnu/configure: Regenerated.
7097 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7098 LIBC_SLIBDIR_RTLDDIR.
7099 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7100 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7101 LIBC_SLIBDIR_RTLDDIR.
7102 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7104 LIBC_SLIBDIR_RTLDDIR.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7106 Regenerated.
7107 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7108 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7109 file.
7110 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7111 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7112 file.
7113 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7114 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7115 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7116 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7117
29c4f53e
JM
7118 * sysdeps/aarch64/shlib-versions: Move to ...
7119 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7120 * sysdeps/alpha/shlib-versions: Move to ...
7121 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7122 * sysdeps/arm/shlib-versions: Move to ...
7123 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7124 * sysdeps/hppa/shlib-versions: Move all contents except for
7125 libgcc_s entry to ...
7126 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7127 entry from ...
7128 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7129 * sysdeps/ia64/shlib-versions: Move to ...
7130 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7131 entry from ...
7132 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7133 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7134 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7135 * sysdeps/microblaze/shlib-versions: Move to ...
7136 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7137 * sysdeps/mips/shlib-versions: Move to ...
7138 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7139 entry from ...
7140 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7141 * sysdeps/tile/shlib-versions: Move to ...
7142 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7143 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7144 from ...
7145 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7146 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7147 entry from ...
7148 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7149
32bead5b
WN
71502014-07-17 Will Newton <will.newton@linaro.org>
7151
57977c4b
WN
7152 * sysdeps/arm/bits/atomic.h
7153 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7154 (__arch_compare_and_exchange_bool_16_int): Likewise.
7155 (__arch_compare_and_exchange_bool_64_int): Likewise.
7156
32bead5b
WN
7157 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7158 into an #else block.
7159
37fccd41
RM
71602014-07-16 Roland McGrath <roland@hack.frob.com>
7161
7162 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7163 just Linux configurations. Test empirically that the compiler sets
7164 __ARM_EABI__, rather than using the tuple to decide.
7165 * sysdeps/arm/preconfigure: Regenerated.
7166 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7167 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7168 contents appended ...
7169 * sysdeps/arm/configure.ac: ... here.
7170 * sysdeps/arm/configure: Regenerated.
7171
b365f3ec
RM
71722014-07-15 Roland McGrath <roland@hack.frob.com>
7173
8badf496
RM
7174 * nptl/pthread_kill.c: New file.
7175 * nptl/pthread_sigmask.c: New file.
7176 * nptl/pthread_sigqueue.c: New file.
7177
3df6f22e
RM
7178 * sysdeps/nptl/lowlevellock.h: New file.
7179 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7180 * sysdeps/nptl/lowlevellock-futex.h: New file.
7181
b365f3ec
RM
7182 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7183 Remove dead declarations.
7184
f2fef657
L
71852014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7186
7187 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7188 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7189 config-cflags-avx2.
7190 * sysdeps/x86_64/configure.ac: Likewise.
7191 * sysdeps/i386/configure: Regenerated.
7192 * sysdeps/x86_64/configure: Likewise.
7193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7194 memset-avx2 only if config-cflags-avx2 is yes.
7195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7196 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7197 defined.
7198 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7199 only if HAVE_AVX2_SUPPORT is defined.
7200 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7201
f6c44d47
AM
72022014-07-14 Alan Modra <amodra@gmail.com>
7203
7204 [BZ #17153]
7205 * elf/elf.h (DT_PPC64_NUM): Correct value.
7206 * NEWS: Add to fixed bug list.
7207
7ee03f00
JM
72082014-07-13 Jim Meyering <meyering@fb.com>
7209
7210 [BZ 17150]
7211 regex: don't deref NULL upon heap allocation failure
7212 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7213 failure in one more place.
7214 To trigger the segfault, configure grep -with-included-regex,
7215 build it, and run these commands:
7216 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7217
9d39d517
AS
72182014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7219
7220 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7221
a75b89b7
RH
72222014-07-11 Richard Henderson <rth@redhat.com>
7223
7224 * sysdeps/aarch64/libm-test-ulps: Update.
7225
771eb141
FW
72262014-07-10 Florian Weimer <fweimer@redhat.com>
7227
7228 [BZ #17135]
7229 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7230 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7231 (__nptl_setxid): Initialize error member. Call
7232 __nptl_setxid_error.
7233 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7234 * nptl/descr.h (struct xid_command): Add error member.
7235 * nptl/tst-setuid3.c: New file.
7236 * nptl/Makefile (tests): Add it.
7237
bc1da176
AZ
72382014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7239
7240 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7241 New define.
7242 (__lll_trylock): Use __lll_base_trylock.
7243 (__lll_cond_trylock): Likewise.
7244
887865fc
RM
72452014-07-10 Roland McGrath <roland@hack.frob.com>
7246
c0c6bac9
RM
7247 * nptl/pthread_create.c (start_thread): Use atomic_or and
7248 lll_futex_wake directly rather than lll_robust_dead.
7249 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7250 (lll_robust_dead): Macro removed.
6a42be57 7251 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7252 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7253 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7254 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7255 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7256 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7257 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7258 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7259 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7260 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7261 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7262 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7263 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7264 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7265 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7266
887865fc
RM
7267 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7268 Use atomic_compare_and_exchange_val_acq directly rather than
7269 lll_robust_trylock.
7270 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7271 (__lll_robust_trylock, lll_robust_trylock): Removed.
7272 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7273 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7274 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7275 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7276 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7277 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7278 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7279 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7280 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7282 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7283 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7284 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7285 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7286
58536726
FW
72872014-07-02 Florian Weimer <fweimer@redhat.com>
7288
7289 * manual/locale.texi (Locale Names): New section documenting
7290 locale name syntax. Adjust menu and node chaining accordingly.
7291 (Choosing Locale): Reference Locale Names, Locale Categories.
7292 Mention setting LC_ALL=C. Reflect that name syntax is now
7293 documented.
7294 (Locale Categories): New section title. Reference Locale Names.
7295 LC_ALL is an environment variable, but not a category.
7296 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7297 description, now in Locale Name. Reference that section. Locale
7298 name syntax is now documented.
7299
4e8f95a0
FW
73002014-07-02 Florian Weimer <fweimer@redhat.com>
7301
7302 [BZ #17137]
7303 * locale/findlocale.c (name_present, valid_locale_name): New
7304 functions.
7305 (_nl_find_locale): Use the loc_name variable to store name
7306 candidates. Call name_present and valid_locale_name to check and
7307 validate locale names. Return an error if the locale is invalid.
7308
d1836456
FW
73092014-07-02 Florian Weimer <fweimer@redhat.com>
7310
7311 * locale/setlocale.c (setlocale): Use strdup for allocating
7312 composite name copy.
7313
d69b7f5a
SP
73142014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7315
888c679b
SP
7316 Sync up with gnulib.
7317 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7318 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7319 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7320 and _GL_ARG_NONNULL.
7321 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7322 [!_LIBC]: Include code for Windows and Cygwin.
7323 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7324 Include prototype for int strerror_r.
7325 [!_LIBC] (is_open): New function.
7326 (flush_stdout): New function.
7327 (print_errno_message): Use it.
7328 (error): Likewise.
7329 (error_at_line): Likewise.
7330 (error_tail) Add function attribute macros. Use
7331 __builtin_expect.
7332
180e0e4b
SP
7333 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7334
d22f1fe2
SP
7335 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7336
12f2254b
SP
7337 * io/ftw.c: Include sys/param.h unconditionally.
7338
c3c7c360
SP
7339 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7340
d62aa75a
SP
7341 [BZ #17125]
7342 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7343 libc_freeres_ptr.
7344 (freecache): New function to free CACHE on exit.
7345
d69b7f5a
SP
7346 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7347 initialization.
7348
5efe06a1
DM
73492014-07-09 David S. Miller <davem@davemloft.net>
7350
7351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7352
7000d82e
DM
7353 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7354 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7355 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7356 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7357 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7358 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7359 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7360 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7361 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7362 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7363 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7364 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7365 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7366
c213442d
AS
73672014-07-09 Andreas Schwab <schwab@suse.de>
7368
4a2552c3
AS
7369 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7370 output.
7371 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7372 (do_test): Likewise.
7373
c213442d
AS
7374 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7375
82374e65
WN
73762014-07-09 Will Newton <will.newton@linaro.org>
7377
7378 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7379 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7380 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7381 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7382 * sysdeps/hppa/start.S (_start): Likewise.
7383
6680738a
SP
73842014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7385
6ee3eab4
SP
7386 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7387
6680738a
SP
7388 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7389 defined.
7390
80b5c505
SP
73912014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7392
e35c53e3
SP
7393 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7394 after checking that it is non-NULL.
7395
80b5c505
SP
7396 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7397
91f4b564
AZ
73982014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7399
27b75f56
AZ
7400 * sysdeps/powerpc/memmove.c: Remove file.
7401 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7402 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7403 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7404 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7405 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7406 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7407 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7408 string memmove instead of removed powerpc one.
7409
e7f95bb5
AZ
7410 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7411 [weak_alias]: Fix compiler warning due trailing data.
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7413 [weak_alias]: Likewise.
7414 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7415 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7416
91f4b564
AZ
7417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7418 (__libc_ifunc_impl_list): Add memmove functions.
7419
7c33f1e5
SP
74202014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7421
7422 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7423 Remove code.
7424 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7425 Likewise
7426 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7427 Likewise
7428 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7429 Likewise
7430 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7431 Likewise
7432 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7433 Likewise
7434 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7435 Likewise
7436 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7437 Likewise
7438 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7439 Likewise
7440 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7441 Likewise
7442 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7443 Likewise
7444 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7445 Likewise
7446 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7447 Likewise
7448 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7449 Likewise
7450 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7451 Likewise
7452 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7453 Likewise
7454 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7455 Likewise
7456
3f17b03b
AZ
74572014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7458
87868c24
AZ
7459 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7460 to avoid alignment traps in non-cacheable memory.
7461 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7462
07aedd78
AZ
7463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7464 multiarch objects.
7465 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7466 file: multiarch power7 memmove.
7467 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7468 multiarch default memmove.
7469 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7470 multiarch memove for powerpc32/power4.
7471
17762f66
AZ
7472 * string/bcopy.c: Use full path to include memmove.c.
7473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7474 multiarch objects.
7475 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7476 bcopy for powerpc64.
7477 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7478 bcopy for powerpc64.
7479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7480 and memmove implementations.
7481 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7482 optimized multiarch memmove for POWER7/powerpc64.
7483 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7484 default multiarch memmove for powerpc64.
7485 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7486 multiarch for powerpc64.
7487 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7488 for POWER7/powerpc64.
7489 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7490 memmove for POWER7/powerpc64.
7491
d6f68bbe
AZ
7492 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7493 glibc default one.
7494
3f17b03b
AZ
7495 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7496 __ELF_NATIVE_CLASS equal to 64.
7497
08192659
RM
74982014-07-07 Roland McGrath <roland@hack.frob.com>
7499
f4c4021b
RM
7500 * sysdeps/nptl/lowlevellock.h: File removed.
7501
f083450f
RM
7502 * NEWS: NPTL is no longer an add-on!
7503 * nptl/internaltypes.h: Moved ...
7504 * sysdeps/nptl/internaltypes.h: ... here.
7505 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7506 * sysdeps/nptl/fork.c: Likewise.
7507 * sysdeps/nptl/gai_misc.h: Likewise.
7508 * sysdeps/nptl/librt-cancellation.c: Likewise.
7509 * sysdeps/nptl/jmp-unwind.c: Likewise.
7510 * sysdeps/nptl/setxid.h: Likewise.
7511 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7512 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7513 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7514 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7515 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7516 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7517 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7518 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7519 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7520 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7521 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7522 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7523 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7524 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7525 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7526 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7527 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7528 * nptl/Makeconfig: Moved ...
7529 * sysdeps/nptl/Makeconfig: ... here.
7530 * nptl/configure: File removed.
7531 * nptl/ANNOUNCE: File removed.
7532 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7533 * sysdeps/unix/sysv/linux/configure: Regenerated.
7534
08192659
RM
7535 * nptl/Makefile (routines): Add libc_pthread_init,
7536 libc_multiple_threads, register-atfork and unregister-atfork.
7537 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7538 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7539 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7540 pthread-pi-defines.sym, structsem.sym.
7541 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7542 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7543 [$(subdir) = nptl] (tests): Add tst-setgetname.
7544 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7545 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7546 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7547 [!LIBC_SIGACTION]: Remove aliases.
7548 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7549 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7550 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7551 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7552 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7553 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7554 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7556 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7557 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7558 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7559 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7560 __libc_allocate_rtsig_private.
7561 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7562 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7563 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7564 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7565 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7566 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7567 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7568 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7569 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7570 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7571 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7572 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7573 * nptl/internaltypes.h: ... here.
7574 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7575 * sysdeps/nptl/jmp-unwind.c: ... here.
7576 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7577 * nptl/libc-lowlevellock.c: ... here.
7578 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7579 * nptl/libc_multiple_threads.c: ... here.
7580 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7581 * nptl/libc_pthread_init.c: ... here.
7582 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7583 * nptl/lowlevelbarrier.sym: ... here.
7584 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7585 * nptl/lowlevelcond.sym: ... here.
7586 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7587 * nptl/lowlevellock.c: ... here.
7588 * nptl/lowlevellock.h: Moved ...
7589 * sysdeps/nptl/lowlevellock.h: ... here.
7590 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7591 * nptl/lowlevelrobustlock.c: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7593 * nptl/lowlevelrobustlock.sym: ... here.
7594 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7595 * nptl/lowlevelrwlock.sym: ... here.
7596 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7597 * nptl/pt-fork.c: ... here.
7598 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7599 * nptl/pthread-pi-defines.sym: ... here.
7600 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7601 * nptl/pthread_attr_getaffinity.c: ... here.
7602 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7603 * nptl/pthread_attr_setaffinity.c: ... here.
7604 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7605 * nptl/pthread_mutex_cond_lock.c: ... here.
7606 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7607 Update #include.
7608 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7609 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7610 * nptl/pthread_once.c: ... here, replacing old file.
7611 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7612 * nptl/pthread_yield.c: ... here.
7613 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7614 * nptl/register-atfork.c: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7616 * nptl/sem_post.c: ... here.
7617 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7618 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7619 * nptl/sem_timedwait.c: ... here.
7620 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7621 * nptl/sem_trywait.c: ... here.
7622 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7623 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7624 * nptl/sem_wait.c: ... here.
7625 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7626 * nptl/structsem.sym: ... here.
7627 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7628 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7629 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7630 * nptl/unregister-atfork.c: ... here.
7631 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7632 * nptl/unwindbuf.sym: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7634 * sysdeps/nptl/fork.c: ... here.
7635 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7636 * sysdeps/nptl/fork.h: ... here.
7637 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7638 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7639 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7641 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7643 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7645 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7647 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7649 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7650 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7651 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7653 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7655 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7656 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7657 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7658 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7659 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7661 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7663 * sysdeps/unix/sysv/linux/raise.c: ... here.
7664 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7665 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7666 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7667 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7669 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7671 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7672 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7673 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7674 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7675 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7676 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7677 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7678 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7679
96baf6ff
SP
76802014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7681
7682 * sysdeps/generic/memcopy.h: Add comment for
7683 MEMCPY_OK_FOR_FWD_MEMMOVE.
7684
6b7b14b2
WN
76852014-07-04 Will Newton <will.newton@linaro.org>
7686
1570a72b
WN
7687 * string/memchr.c: Merge from gnulib.
7688 [_LIBC]: Remove conditionals.
7689 (__ptr_t): Remove define.
7690 (LONG_MAX_32_BITS): Likewise.
7691 (LONG_MAX): Likewise.
7692 (MEMCHR): Use ANSI prototype and optimize algorithm.
7693
6b7b14b2
WN
7694 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7695
38851324
SP
76962014-07-03 Roland McGrath <roland@hack.frob.com>
7697
3d9eb57c
RM
7698 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7699 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7700
78b984ae
RM
7701 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7702 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7703 in a bare environment with no <stdlib.h> installed.
7704 * sysdeps/nptl/configure: Regenerated.
7705
2d5976a5
RM
7706 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7707
c1f5acd4
RM
7708 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7709 AC_EGREP_CPP for kernel header checks, so they only succeed if
7710 including <linux/version.h> actually works right.
7711 * sysdeps/unix/sysv/linux/configure: Regenerated.
7712
4d614fe5
RM
7713 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7714 value so it's not diagnosed as unused.
7715
38851324
SP
7716 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7717 thing) with "ifeq ($(subdir),rt)".
7718
b3ec00e5
RH
77192014-07-03 Richard Henderson <rth@redhat.com>
7720
69862e25
RH
7721 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7722 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7723 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7724
d5e16ade
RH
7725 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7726 (math_force_eval): New.
7727
ca7b945c
RH
7728 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7729 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7730
cd1175a3
RH
7731 * sysdeps/alpha/fpu/s_round.c: Remove file.
7732 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7733
b3ec00e5
RH
7734 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7735 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7736 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7737 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7738 (_dl_start, print_statistics): Likewise.
7739 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7740 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7741
7742 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7743 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7744 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7745 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7746 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7747 (HP_SMALL_TIMING_AVAIL): Define.
7748 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7749 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7750 (HP_SMALL_TIMING_AVAIL): Define.
7751 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7752 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7753
7754 * sysdeps/aarch64/hp-timing.h: New file.
7755
7756 * sysdeps/generic/hp-timing.h: Remove dead comment.
7757 * sysdeps/generic/hp-timing-common.h: New file.
7758 * sysdeps/alpha/hp-timing.h: Include it.
7759 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7760 * sysdeps/i386/i686/hp-timing.h: Likewise.
7761 * sysdeps/ia64/hp-timing.h: Likewise.
7762 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7763 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7764 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7765 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7766 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7767 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7768 (hp_timing_t): New.
7769
7770 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7771 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7772 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7773 * elf/rtld.c (_dl_start_final): Likewise.
7774 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7775 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7776 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7777 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7778 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7779 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7780 (HP_TIMING_DIFF_INIT): Remove.
7781 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7782 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7783 (HP_TIMING_DIFF_INIT): Remove.
7784 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7785 * sysdeps/i386/i686/hp-timing.c: Remove file.
7786 * sysdeps/x86_64/hp-timing.c: Remove file.
7787 * sysdeps/ia64/hp-timing.c: Remove file.
7788 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7789 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7790 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7791 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7792
7793 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7794 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7795 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7796 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7797 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7798 (HP_TIMING_ACCUM): Remove.
7799 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7800 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7801 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7802
7803 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7804 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7805 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7806 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7807 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7808 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7809 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7810 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7811
7812 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7813
225f410f
MR
78142014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7815
7816 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7817
3247f285
SP
78182014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7819
7820 Sync up with gettext.
7821 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7822 [_MSC_VER]: Include malloc.h
7823 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7824 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7825 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7826 TEMP_FAILURE_RETRY. Cast return of alloca.
7827 [!_LIBC] Call gl_rwlock_init.
7828 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7829
d12704c7
SP
78302014-07-02 Roland McGrath <roland@hack.frob.com>
7831
7832 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7833 before checking its value.
7834
99f8dc92
SP
78352014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7836
05fdac77
SP
7837 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7838
99f8dc92
SP
7839 * debug/memcpy_chk.c: Don't include pagecopy.h.
7840 * debug/mempcpy_chk.c: Likewise.
7841 * string/memcpy.c: Likewise.
7842 * string/memmove.c: Likewise.
7843 * sysdeps/powerpc/memmove.c: Likewise.
7844 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7845 definition of PAGE_COPY_FWD_MAYBE here...
7846 * sysdeps/generic/pagecopy.h: ... from here.
7847 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7848
bc8ea385
VR
78492014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7850 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7851
7852 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7854 optimizations.
7855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7856 (__libc_ifunc_impl_list): Likewise.
7857 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7858 multiarch strcat for PPC64.
7859 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7860 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7861
fe5f34e4
RM
78622014-07-02 Roland McGrath <roland@hack.frob.com>
7863
7864 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7865
256aa665
SP
78662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7867
d4eb8195
SP
7868 * intl/loadmsgcat.c: Remove declaration of
7869 get_sysdep_segment_value.
7870 (get_sysdep_segment_value): Use ISO C style.
7871 (_nl_load_domain): Use ISO C style. Get rid of redundant
7872 semicolon. Fix typo and formatting in comment.
7873 (_nl_unload_domain): Use ISO C style.
7874
256aa665
SP
7875 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7876
b100f9aa
WN
78772014-07-02 Will Newton <will.newton@linaro.org>
7878
7879 * malloc/obstack.c: Merge from gnulib master.
7880 [HAVE_CONFIG_H]: Remove conditional code.
7881 [!_LIBC]: Include config.h.
7882 [!ELIDE_CODE]: Don't include inttypes.h, include
7883 stdint.h unconditionally.
7884 (print_and_abort): Mark as _Noreturn.
7885 (_obstack_allocated_p): Mark as __attribute_pure__.
7886 (obstack_free): Rename to __obstack_free.
7887 [!__attribute__]: Remove conditional code.
7888 * malloc/obstack.h: Merge from gnulib master.
7889 [__cplusplus]: Move conditional down.
7890 [!__attribute_pure__]: Define __attribute_pure__ here
7891 if it is not already defined.
7892 (_obstack_memory_used): Mark as __attribute_pure__.
7893 [!__obstack_free]: Define as obstack_free.
7894 [__GNUC__]: Remove check for ancient NeXT gcc.
7895
c4c41244
PE
78962014-07-02 Will Newton <will.newton@linaro.org>
7897 Paul Eggert <eggert@cs.ucla.edu>
7898
7899 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7900
e1e041c4
SP
79012014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7902
7903 * resolv/gethnamaddr.c: Add comment warning that the file is
7904 not maintained.
7905
ccf431ff
CD
79062014-07-01 Carlos O'Donell <carlos@redhat.com>
7907
d34570a6
CD
7908 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7909 entries.
7910
ccf431ff
CD
7911 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7912 entry for aio_cancel and aio_cancel64.
7913 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7914 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7915 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7916 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7917 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7918 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7919 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7920 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7921 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7922 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7923 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7924 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7925 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7926
ca06321d
RM
79272014-07-01 Roland McGrath <roland@hack.frob.com>
7928
7929 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7930 * nptl/pthread_mutex_lock.c: Likewise.
7931 * nptl/pthread_mutex_timedlock.c: Likewise.
7932 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7933
a1ac3184
RH
79342014-07-01 Richard henderson <rth@redhat.com>
7935
631021e0
RH
7936 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7937 (__isnan, __isnanl): Remove.
7938 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7939
a1ac3184
RH
7940 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7941
0c1d731f
SL
79422014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7943
7944 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7945
76985d3e
SP
79462014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7947
7948 * resolv/nss_dns/dns-host.c (getanswer_r)
7949 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7950
b0cb3096
JM
79512014-07-01 Joseph Myers <joseph@codesourcery.com>
7952
7953 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7954 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7955 undefine.
7956 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7957 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7958
4d76cb39
RM
79592014-07-01 Roland McGrath <roland@hack.frob.com>
7960
7961 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7962 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7963
7964 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7965 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7966
7967 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7968 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7969 ... here.
7970 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7971 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7972
7973 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7974 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7975 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7976 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7977
7978 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7979 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7980 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7981 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7982 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7983 Moved ...
7984 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7985 ... here.
7986 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7987 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7988 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7989 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7990 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7991 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7992 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7993 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7994 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7995 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7996 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7997 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7998 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7999 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8000 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8001 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8002 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8003 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8004 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8005 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8006 ... here.
8007 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8010 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8011 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8012 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8013 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8014 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8015
0cdcad17
DH
80162014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8017
8018 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8019 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8020 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8021 Add sysdep.
8022
9b71d0e3
AZ
80232014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8024
8025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8026
665390c2
JM
80272014-06-30 Joseph Myers <joseph@codesourcery.com>
8028
ae05a9d7
JM
8029 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8030 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8031
a7672a2f
JM
8032 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8033
665390c2
JM
8034 * sysdeps/arm/libm-test-ulps: Regenerated.
8035
d7a05d07
MR
80362014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8037 Roland McGrath <roland@hack.frob.com>
8038
8039 * test-skeleton.c (signal_handler): Kill the whole process group
8040 before killing the child individually.
8041 (main): Report any failure on `setpgid'.
8042
46f1d8a6
RM
80432014-06-30 Roland McGrath <roland@hack.frob.com>
8044
8045 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8046 from _TLS_H to _ARM_NPTL_TLS_H.
8047 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8048 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8049
9c37ec0b
JM
80502014-06-30 Joseph Myers <joseph@codesourcery.com>
8051
ce9c5b3e
JM
8052 [BZ #16539]
8053 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8054 (__expm1l): Return argument unchanged when small but not
8055 subnormal.
8056
3a6e9887
JM
8057 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8058 include macro name.
8059 (_FP_UNPACK_RAW_1_P): Likewise.
8060 (_FP_PACK_RAW_1): Likewise.
8061 (_FP_PACK_RAW_1_P): Likewise.
8062 (_FP_MUL_MEAT_1_wide): Likewise.
8063 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8064 (_FP_MUL_MEAT_1_hard): Likewise.
8065 (_FP_DIV_MEAT_1_imm): Likewise.
8066 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8067 (_FP_DIV_MEAT_1_udiv): Likewise.
8068 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8069 (_FP_UNPACK_RAW_2): Likewise.
8070 (_FP_UNPACK_RAW_2_P): Likewise.
8071 (_FP_PACK_RAW_2): Likewise.
8072 (_FP_PACK_RAW_2_P): Likewise.
8073 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8074 (_FP_MUL_MEAT_2_wide): Likewise.
8075 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8076 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8077 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8078 (_FP_MUL_MEAT_2_gmp): Likewise.
8079 (_FP_DIV_MEAT_2_udiv): Likewise.
8080 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8081 (_FP_FRAC_SRL_4): Likewise.
8082 (_FP_FRAC_SRST_4): Likewise.
8083 (_FP_FRAC_SRS_4): Likewise.
8084 (_FP_UNPACK_RAW_4): Likewise.
8085 (_FP_UNPACK_RAW_4_P): Likewise.
8086 (_FP_PACK_RAW_4): Likewise.
8087 (_FP_PACK_RAW_4_P): Likewise.
8088 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8089 (_FP_MUL_MEAT_4_wide): Likewise.
8090 (_FP_MUL_MEAT_4_gmp): Likewise.
8091 (umul_ppppmnnn): Likewise.
8092 (_FP_DIV_MEAT_4_udiv): Likewise.
8093 (__FP_FRAC_ADD_4): Likewise.
8094 (__FP_FRAC_SUB_3): Likewise.
8095 (__FP_FRAC_SUB_4): Likewise.
8096 (__FP_FRAC_DEC_3): Likewise.
8097 (__FP_FRAC_DEC_4): Likewise.
8098 (__FP_FRAC_ADDI_4): Likewise.
8099 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8100 (_FP_FRAC_SRL_8): Likewise.
8101 (_FP_FRAC_SRS_8): Likewise.
8102
9c37ec0b
JM
8103 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8104 include macro name.
8105 (FP_UNPACK_RAW_EP): Likewise.
8106 (FP_PACK_RAW_E): Likewise.
8107 (FP_PACK_RAW_EP): Likewise.
8108 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8109 (_FP_ISSIGNAN): Likewise.
8110 (_FP_ADD_INTERNAL): Likewise.
8111 (_FP_FMA): Likewise.
8112 (_FP_CMP): Likewise.
8113 (_FP_SQRT): Likewise.
8114 (_FP_TO_INT): Likewise.
8115 (_FP_FROM_INT): Likewise.
8116 (FP_EXTEND): Likewise.
8117 (_FP_DIV_MEAT_N_loop): Likewise.
8118
2125f674
MR
81192014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8120
8121 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8122 throughout.
8123
edea4028
JM
81242014-06-29 Joseph Myers <joseph@codesourcery.com>
8125
8126 [BZ #17097]
8127 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8128 result with correct sign in case of exponents that produce
8129 overflow except for X very close to 1.
8130
dd0ba018
PE
81312014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8132
8133 mktime: merge #if/#ifdef usage from glibc
8134 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8135 as that works with both Glibc's and Gnulib's style.
8136 See thread starting at Siddhesh Poyarekar's bug report at:
8137 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8138
64df73c2
SP
81392014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8140
8141 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8142 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8143 * sysdeps/tile/tilegx/memmove.c: Remove file.
8144
f1eafb41
JM
81452014-06-27 Joseph Myers <joseph@codesourcery.com>
8146
8147 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8148 abi-name definition.
8149 * scripts/soversions.awk: Do not handle or generate ABI lines.
8150 * shlib-versions: Remove ABI entries.
8151 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8152 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8153
58eb0862
RM
81542014-06-27 Roland McGrath <roland@hack.frob.com>
8155
37caf178
RM
8156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8157 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8158 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8159 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8161 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8163 Moved ...
8164 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8165 ... here.
8166 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8167 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8168 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8169 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8170 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8171 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8172 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8173 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8175 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8177 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8178 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8179 Moved ...
8180 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8181 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8182 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8184 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8185 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8186 Moved ...
8187 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8188 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8189 Moved ...
8190 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8192 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8193 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8194 Moved ...
8195 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8196 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8197 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8198 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8199 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8200 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8201 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8203 Moved ...
8204 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8208 Moved ...
8209 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8211 Moved ...
8212 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8213 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8214 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8215 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8216 Moved ...
8217 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8218 ... here.
8219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8220 Identical file removed.
8221 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8222 Moved ...
8223 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8224 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8225 Identical file removed.
8226 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8227 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8228 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8229 Moved ...
8230 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8231 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8232 Identical file removed.
8233 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8234 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8236 Identical file removed.
8237 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8238 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8239 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8240 Identical file removed.
8241 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8242 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8244 Identical file removed.
8245 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8246 Moved ...
8247 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8248 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8249 Identical file removed.
8250 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8251 Moved ...
8252 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8254 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8255 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8256 Identical file removed.
8257 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8258 Moved ...
8259 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8260 ... here.
8261 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8262 Identical file removed.
8263 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8264 Moved ...
8265 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8266 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8267 Identical file removed.
8268 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8269 Moved ...
8270 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8271 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8272 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8273 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8274 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8276 Moved ...
8277 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8278 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8279 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8280
58eb0862
RM
8281 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8282 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8283 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8284 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8285 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8286
6f12d062
AS
82872014-06-27 Arjun Shankar <arjun.is@lostca.se>
8288
8289 [BZ #17092]
8290 * nscd/nscd.c (monitor_child): Return exit status of child
8291 instead of return value from wait syscall.
8292
be254932
JM
82932014-06-27 Joseph Myers <joseph@codesourcery.com>
8294
cb403c34
JM
8295 * configure.ac (libc_commonpagesize): Remove variable.
8296 (libc_relro_required): Likewise.
8297 (libc_cv_z_relro): Remove configure test.
8298 * configure: Regenerated.
8299 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8300 variable.
8301 (libc_relro_required): Likewise.
8302 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8303 (libc_relro_required): Likewise.
8304 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8305 (libc_relro_required): Likewise.
8306 * sysdeps/arm/preconfigure: Regenerated.
8307 * sysdeps/ia64/preconfigure: Remove file.
8308 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8309 variable.
8310 (libc_relro_required): Likewise.
8311
be254932
JM
8312 [BZ #16561]
8313 [BZ #16562]
8314 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8315 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8316 recompute overflowing results in original rounding mode.
8317 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8318 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8319 recompute overflowing results in original rounding mode.
8320 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8321 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8322 recompute overflowing results in original rounding mode.
8323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8324 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8325 recompute overflowing results in original rounding mode.
8326 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8327 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8328 recompute overflowing results in original rounding mode.
8329 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8330 (libc_feholdsetround_ctx): New macro.
8331 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8332 * sysdeps/i386/fpu/libm-test-ulps: Update.
8333 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8334
b351d85a
JM
83352014-06-26 Joseph Myers <joseph@codesourcery.com>
8336
8337 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8338 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8339 corresponding .cpsetup call.
8340
3cb4de47
RM
83412014-06-26 Roland McGrath <roland@hack.frob.com>
8342
8343 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8344 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8345 * sysdeps/arm/Makefile [$(subdir) = csu]
8346 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8347 (static-only-routines): Add aeabi_read_tp here.
8348 (shared-only-routines): Add libc-aeabi_read_tp here.
8349 (CFLAGS-libc-start.c): Add -fexceptions here.
8350 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8351 (sysdep_routines, static-only-routines, shared-only-routines):
8352 Don't add to these here.
8353 (CFLAGS-libc-start.c): Likewise.
8354
8355 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8356 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8357 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8358 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8359 * sysdeps/arm/Makefile [$(subdir) = rt]
8360 (librt-sysdep_routines, librt-shared-only-routines):
8361 Append rt-aeabi_unwind_cpp_pr1 here.
8362 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8363 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8364 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8365 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8366 Append nptl-aeabi_unwind_cpp_pr1 here.
8367 (tests): Filter out tst-cleanupx4 here.
8368 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8369 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8370 Don't do those here.
8371
354426bb
JM
83722014-06-26 Joseph Myers <joseph@codesourcery.com>
8373
8374 * scripts/list-sources.sh: Do not handle ports specially.
8375
28b0a8c9
RM
83762014-06-26 Roland McGrath <roland@hack.frob.com>
8377
a3dd035d
RM
8378 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8379 * sysdeps/arm/feupdateenv.c: Likewise.
8380
28b0a8c9
RM
8381 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8382
e66a8203
JM
83832014-06-26 Joseph Myers <joseph@codesourcery.com>
8384
8385 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8386 trailing whitespace removed.
8387 * scripts/config.guess: Update to version 2014-03-23.
8388 * scripts/config.sub: Update to version 2014-05-01
8389 * scripts/install-sh: Update to version 2013-12-25.23.
8390 * scripts/move-if-change: Update from gnulib.
8391
74171115
SP
83922014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8393
b97c9ce5
SP
8394 * debug/memmove_chk.c: Remove pagecopy.h include.
8395
4000f892
SP
83962014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8397
74171115
SP
8398 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8399 identical to gnulib mktime.
8400
a8779c28
JM
84012014-06-26 Joseph Myers <joseph@codesourcery.com>
8402
e64708de
JM
8403 * configure.ac: Do not test for machine being rs6000. Do not test
8404 for powerpc*-*soft.
8405 * configure: Regenerated.
8406
a8779c28
JM
8407 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8408 test.
8409 * configure: Regenerated.
8410 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8411 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8412 Remove configure test.
8413 * sysdeps/arm/configure: Regenerated.
8414 * sysdeps/nptl/configure.ac: Do not check
8415 libc_cv_asm_cfi_directives.
8416 * sysdeps/nptl/configure: Regenerated.
8417 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8418 * sysdeps/x86_64/nptl/configure: Remove generated file.
8419 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8420 unconditional.
8421 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8422
2aac0a86
SP
84232014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8424
059bf913
SP
8425 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8426 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8427 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8428 it is defined.
8429
4cf5b6d0
SP
8430 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8431 instead of whether it is defined.
8432 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8433 * sysdeps/hppa/dl-machine.h: Likewise.
8434 * sysdeps/ia64/dl-machine.h: Likewise.
8435 * sysdeps/m68k/dl-machine.h: Likewise.
8436 * sysdeps/microblaze/dl-machine.h: Likewise.
8437 * sysdeps/mips/dl-machine.: Likewise.
8438 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8439 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8440 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8441 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8442 * sysdeps/sh/dl-machine.h: Likewise.
8443 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8444 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8445 * sysdeps/tile/dl-machine.h: Likewise.
8446 * sysdeps/x86_64/dl-machine.h: Likewise.
8447
2aac0a86
SP
8448 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8449 code.
8450 (verify_persistent_db): Likewise.
8451
6ad2df0b
RM
84522014-06-26 Roland McGrath <roland@hack.frob.com>
8453
d8a483f3
RM
8454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8455 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8457 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8459 Moved ...
8460 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8461 ... here.
8462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8463 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8465 Identical file removed.
8466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8467 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8469 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8471 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8473 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8475 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8477 Moved ...
8478 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8480 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8482 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8484 Moved ...
8485 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8487 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8489 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8491 Identical file removed.
8492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8493 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8497 Moved ...
8498 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8499 ... here.
8500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8501 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8503 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8505 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8509 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8511 Moved ...
8512 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8514 Moved ...
8515 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8517 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8519 Moved ...
8520 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8522 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8523
52ae23b4
RM
8524 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8525 folded into ...
8526 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8527 * sysdeps/unix/sysv/linux/s390/Versions
8528 (libpthread: GLIBC_2.19): New version set.
8529 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8530 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8531 (librt: GLIBC_2.3.3): New version set.
8532 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8533 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8534 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8535 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8536 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8537 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8538 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8539 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8540 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8541 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8542 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8543 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8544 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8545 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8546 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8547 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8548 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8549 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8550 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8551 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8552 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8553 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8554 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8555 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8556 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8557 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8558 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8559 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8560 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8561 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8562 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8563 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8564 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8565 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8566 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8567 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8568 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8569 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8570 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8571 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8572 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8573 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8574 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8575 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8576 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8577
39507e4a
RM
8578 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8579 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8580 (__libc_vfork): Define the function under this name.
8581 [!NOT_IN_libc] (__vfork): Make this an alias.
8582 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8584 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8585 (__libc_vfork): Define the function under this name.
8586 [!NOT_IN_libc] (__vfork): Make this an alias.
8587 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8588 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8589 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8591 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8592 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8593
e549ee56
RM
8594 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8595 code that was previously under [RESET_PID].
8596 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8597 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8599
6ad2df0b
RM
8600 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8601 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8602 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8603 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8604 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8605 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8606 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8607 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8608 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8609 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8610 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8611 Moved ...
8612 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8616 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8620 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8622 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8624 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8626 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8628 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8630 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8631 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8632 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8634 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8635 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8636 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8637 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8638 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8639 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8640 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8641
7c1c1d8e
RM
86422014-06-25 Roland McGrath <roland@hack.frob.com>
8643
8644 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8645 that was previously under [RESET_PID].
8646 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8647
3e239be6
JM
86482014-06-25 Joseph Myers <joseph@codesourcery.com>
8649
74385da5
JM
8650 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8651 not undefine and redefine.
8652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8653 [O_CLOEXEC]: Make code unconditional.
8654 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8655 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8656 <kernel-features.h>.
8657 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8658 conditional variable definition.
8659 (shm_open) [O_CLOEXEC]: Make code unconditional.
8660 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8661 code.
8662
c2570a0b
JM
8663 * configure.ac (USE_REGPARMS): Don't define here.
8664 * configure: Regenerated.
8665 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8666 * sysdeps/i386/configure: Regenerated.
8667
11b076bb
JM
8668 * nptl/createthread.c: Don't include kernel-features.h.
8669 * nptl/pthread_cancel.c: Likewise.
8670 * nptl/pthread_condattr_setclock.c: Likewise.
8671 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8672 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8673 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8674 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8675 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8676 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8677 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8678 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8679 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8680 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8681 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8682 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8683 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8684 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8685 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8686 * nscd/gai.c: Likewise.
8687 * nss/nss_db/db-open.c: Likewise.
8688 * sysdeps/generic/ldsodefs.h: Likewise.
8689 * sysdeps/sh/nptl/tls.h: Likewise.
8690 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8691 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8692 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8693 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8694 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8695 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8696 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8697 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8698 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8699 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8700 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8701 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8702 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8703 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8704 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8705 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8706 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8707 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8708 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8709 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8710 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8711 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8712 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8713 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8714 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8715 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8716 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8717 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8718 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8719 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8720 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8721 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8722 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8723 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8724 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8725 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8726 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8727 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8728 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8729 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8730 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8731 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8732 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8733 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8734 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8735 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8736 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8737 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8738 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8739 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8740 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8741 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8742 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8743 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8744 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8745 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8746 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8747 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8770 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8771 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8772 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8773 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8774 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8775 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8776 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8777 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8778 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8779 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8780 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8781 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8782 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8783 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8784 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8785 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8787 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8788 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8789 * sysdeps/unix/sysv/linux/system.c: Likewise.
8790 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8791 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8792 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8793 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8794 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8795 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8796 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8797
92072d57
JM
8798 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8799 * configure: Regenerated.
8800 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8801
3e239be6
JM
8802 * configure.ac (base_machine): Do not set specially for particular
8803 machines here.
8804 * configure: Regenerated.
8805 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8806 settings from configure.ac.
8807 * sysdeps/i386/preconfigure: New file.
8808 * sysdeps/s390/preconfigure: Likewise.
8809 * sysdeps/sh/preconfigure: Likewise.
8810 * sysdeps/sparc/preconfigure: Likewise.
8811
06d50baa
RM
88122014-06-25 Roland McGrath <roland@hack.frob.com>
8813
74836003
RM
8814 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8815 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8816 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8817 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8818 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8819 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8820 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8821 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8822 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8823 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8824 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8825 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8826 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8827 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8828 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8829 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8830 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8831 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8832 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8833
8834 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8835 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8836 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8837 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8838 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8839 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8840 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8841 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8842 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8843 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8844 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8845 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8846 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8847 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8848 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8849 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8850 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8851 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8852 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8853 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8854 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8855 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8856 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8857 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8859 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8860 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8861 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8862 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8863 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8864 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8865 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8866 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8867 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8868 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8869 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8870 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8871 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8872
06d50baa
RM
8873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8874 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8876 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8878 Moved ...
8879 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8880 ... here.
8881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8882 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8884 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8886 Moved ...
8887 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8889 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8891 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8893 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8895 Moved ...
8896 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8898 Moved ...
8899 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8901 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8903 Moved ...
8904 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8908 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8910 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8914 Moved ...
8915 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8916 ... here.
8917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8918 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8920 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8922 Moved ...
8923 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8925 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8927 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8929 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8931 Moved ...
8932 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8934 Moved ...
8935 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8937 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8939 Moved ...
8940 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8942 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8944 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8945
a4ccbc9b
JM
89462014-06-25 Joseph Myers <joseph@codesourcery.com>
8947
0828edbf
JM
8948 * timezone/checktab.awk: Update from tzcode 2014e.
8949 * timezone/private.h: Likewise.
8950 * timezone/tzfile.h: Likewise.
8951 * timezone/zdump.c: Likewise.
8952 * timezone/zic.c: Likewise.
8953
a4ccbc9b
JM
8954 * sysdeps/unix/sysv/linux/kernel-features.h
8955 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8956 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8957 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8958 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8959 Remove conditional code.
8960
9aea0cb8
WN
89612014-06-25 Will Newton <will.newton@linaro.org>
8962
8963 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8964 (_dl_arm_cap_flags): Add HWCAP2 values.
8965 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8966 (_DL_HWCAP_COUNT): Increase to 37.
8967 (_DL_HWCAP_LAST): New define.
8968 (_DL_HWCAP2_LAST): New define.
8969 (_dl_procinfo): Add support for printing
8970 AT_HWCAP2 entries.
8971 (_dl_string_hwcap): Use _dl_hwcap_string.
8972
6eaa65ce
AZ
89732014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8974
8975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8976
0f5b7185
JM
89772014-06-25 Joseph Myers <joseph@codesourcery.com>
8978
cfd2ea50
JM
8979 * README: Do not mention ports directory.
8980
cecf2ed4
JM
8981 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8982 Remove macro.
8983 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8984 <kernel-features.h>.
8985 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8986 conditional variable definition.
8987 (__futimes): Update comment.
8988 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8989 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8990
a638de82
JM
8991 [BZ #16560]
8992 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8993 arguments close to 0.
8994 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8995 Likewise.
8996 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8997 Likewise.
8998 * math/auto-libm-test-in: Add more tests of exp10.
8999 * math/auto-libm-test-out: Regenerated.
9000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9001
0f5b7185
JM
9002 * sysdeps/unix/sysv/linux/kernel-features.h
9003 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9004 * sysdeps/unix/sysv/linux/readv.c: Do not include
9005 <kernel-features.h>.
9006 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9007 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9008 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9009 unconditional.
9010 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9011 conditional code.
9012 * sysdeps/unix/sysv/linux/writev.c: Do not include
9013 <kernel-features.h>.
9014 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9015 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9016 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9017 unconditional.
9018 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9019 conditional code.
9020
c7aec4be
WN
90212014-06-25 Will Newton <will.newton@linaro.org>
9022
9023 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9024 comment changes throughout the file. Remove checks
9025 for HAVE_*_H definitions that are not required.
9026 (__gen_tempname): Call abort if an unknown kind value is
9027 passed.
9028
c5241f95
AS
90292014-06-25 Andreas Schwab <schwab@suse.de>
9030
9031 [BZ #17086]
9032 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9033 scalbln, scalblnf, scalblnl in libc.
9034
911422da
SP
90352014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9036
9037 [BZ #17086]
9038 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9039 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9040 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9041
0d749bbe
RM
90422014-06-24 Roland McGrath <roland@hack.frob.com>
9043
9044 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9045 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9046 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9047 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9048 Update #include.
9049 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9050 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9051 Update #include.
9052 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9053 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9054 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9055 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9056 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9057 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9058 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9059 * sysdeps/x86/bits/semaphore.h: ... here.
9060 * sysdeps/x86/nptl/elide.h: Moved ...
9061 * sysdeps/x86/elide.h: ... here.
9062 * sysdeps/x86_64/nptl/Implies: File removed.
9063 * sysdeps/i386/nptl/Implies: File removed.
9064
0ea5d373
JM
90652014-06-24 Joseph Myers <joseph@codesourcery.com>
9066
4060283d
JM
9067 [BZ #16539]
9068 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9069 return the argument for normal arguments with exponent below -64.
9070 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9071 Likewise.
9072 * math/auto-libm-test-in: Add another test of expm1.
9073 * math/auto-libm-test-out: Regenerated.
9074
e7dd3c8c
JM
9075 [BZ #16287]
9076 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9077 calling __erfcl for arguments at least 16.
9078 * math/auto-libm-test-in: Add more tests of erf.
9079 * math/auto-libm-test-out: Regenerated.
9080
0ea5d373
JM
9081 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9082 individual architectures.
9083 * sysdeps/unix/sysv/linux/configure: Regenerated.
9084 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9085 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9086 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9087 (ldd_rewrite_script): Define variable.
9088 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9090 file.
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9092 generated file.
9093 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9094 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9095 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9096 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9097 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9098 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9099 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9100 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9101
2307e126
SP
91022014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9103
9104 [BZ #17084]
9105 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9106 Rename member __data.d to __data.__elision_data.
9107
c0a4ed77
W
91082014-06-24 Wilco <wdijkstr@arm.com>
9109
9110 * NEWS: Add 16918 to fixed bug list.
9111
b8c00573
W
91122014-06-24 Wilco <wdijkstr@arm.com>
9113
9114 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9115
b5570d92
W
91162014-06-24 Wilco <wdijkstr@arm.com>
9117
9118 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9119 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9120 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9121 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9122 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9123 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9124 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9125 Use _FPU_MASK_RM.
9126
947bdca2
W
91272014-06-24 Wilco <wdijkstr@arm.com>
9128
9129 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9130
00f669ed
W
91312014-06-24 Wilco <wdijkstr@arm.com>
9132
9133 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9134 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9135 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9136 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9137
db59bad3
W
91382014-06-24 Wilco <wdijkstr@arm.com>
9139
9140 [BZ #16918]
9141 * sysdeps/arm/feupdateenv.c (feupdateenv):
9142 Rewrite to reduce FPSCR accesses and fix return value.
9143
001f7b77
W
91442014-06-24 Wilco <wdijkstr@arm.com>
9145
9146 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9147 Optimize to avoid unnecessary FPSCR writes.
9148 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9149 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9150 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9151 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9152
4841e6a6
W
91532014-06-24 Wilco <wdijkstr@arm.com>
9154
9155 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9156 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9157 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9158 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9159 Call libc_fetestexcept_vfp.
9160 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9161 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9162 __SOFTFP__ ifdef so that they can be built for softfp.
9163
0813022c
SP
91642014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9165
08e5862f
SP
9166 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9167 argument type signed char.
9168
0813022c
SP
9169 * Makerules (check-abi): Dump diff of symlist if the test
9170 fails.
9171
3fc7236a
RM
91722014-06-23 Roland McGrath <roland@hack.frob.com>
9173
aba8ef95
RM
9174 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9175 using abort.
9176
3fc7236a
RM
9177 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9178 Remove unused variable ST.
9179
4da6db51
JM
91802014-06-23 Joseph Myers <joseph@codesourcery.com>
9181
4648909d
JM
9182 [BZ #16354]
9183 [BZ #17061]
9184 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9185 small arguments before calling __expm1.
9186 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9187 small arguments before calling __expm1f.
9188 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9189 small arguments before calling __expm1l.
9190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9191 Likewise.
9192 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9193 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9194 spurious underflow for some cosh tests.
9195 * math/auto-libm-test-out: Regenerated.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197
46a3d3c7
JM
9198 [BZ #17050]
9199 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9200 (__ieee754_y1): Set errno if return value overflows.
9201 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9202 (__ieee754_y1f): Set errno if return value overflows.
9203 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9204 (__ieee754_y1l): Set errno if return value overflows.
9205 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9206 (__ieee754_y1l): Set errno if return value overflows.
9207 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9208 * math/auto-libm-test-out: Regenerated.
9209
863893ec
JM
9210 * math/gen-auto-libm-tests.c: Document use of
9211 ignore-zero-inf-sign.
9212 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9213 (input_flags): Add ignore-zero-inf-sign.
9214 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9215 * math/gen-libm-test.pl (generate_testfile): Handle
9216 ignore-zero-inf-sign.
9217 * math/auto-libm-test-in: Mark some cpow tests with
9218 ignore-zero-inf-sign and some with xfail-rounding.
9219 * math/auto-libm-test-out: Regenerated.
9220 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9221 * sysdeps/i386/fpu/libm-test-ulps: Update.
9222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9223
4da6db51
JM
9224 [BZ #16315]
9225 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9226 overflowing or underflowing operations take place with sign of
9227 result.
9228 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9229 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9230 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9231 (__ieee754_pow): Recompute overflowing and underflowing results in
9232 original rounding mode.
9233 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9234 (__powl_helper): Allow negative argument X and scale negated value
9235 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9236 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9237 overflowing or underflowing operations take place with sign of
9238 result.
9239 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9240 Include <math.h>.
9241 * math/auto-libm-test-in: Add more tests of pow.
9242 * math/auto-libm-test-out: Regenerated.
9243 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9244 (pow_tonearest_test_data): Remove.
9245 (pow_test_tonearest): Likewise.
9246 (pow_towardzero_test_data): Likewise.
9247 (pow_test_towardzero): Likewise.
9248 (pow_downward_test_data): Likewise.
9249 (pow_test_downward): Likewise.
9250 (pow_upward_test_data): Likewise.
9251 (pow_test_upward): Likewise.
9252 (main): Don't call removed functions.
9253 * sysdeps/i386/fpu/libm-test-ulps: Update.
9254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9255
5686b236
RM
92562014-06-23 Roland McGrath <roland@hack.frob.com>
9257
9258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9259 Moved ...
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9262 Moved ...
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9265 Moved ...
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9268 Moved ...
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9271 File removed.
9272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9273 File removed.
9274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9275 File removed.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9277 File removed.
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9279 File removed.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9281 File removed.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9283 File removed.
9284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9285 File removed.
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9287 File removed.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9289 File removed.
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9291 File removed.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9293 File removed.
9294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9295 Moved ...
9296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9298 Moved ...
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9300 ... here.
9301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9302 Moved ...
9303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9305 Moved ...
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9308 Moved ...
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9311 Moved ...
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9314 Moved ...
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9317 Moved ...
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9320 Moved ...
9321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9324 ... here.
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9326 Moved ...
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9329 Moved ...
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9331 ... here.
9332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9333 Moved ...
9334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9335 ... here.
9336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9337 Moved ...
9338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9339 ... here.
9340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9341 Moved ...
9342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9344 Moved ...
9345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9349 Moved ...
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9351 ... here.
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9353 Moved ...
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9355 ... here.
9356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9357 Moved ...
9358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9360 Moved ...
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9363 Moved ...
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9366 Moved ...
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9369 Moved ...
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9371 ... here.
9372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9373 Moved ...
9374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9376 Moved ...
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9379 Moved ...
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9382 Moved ...
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9387 Moved ...
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9390 Moved ...
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9393 Moved ...
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9395 ... here.
9396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9397 Moved ...
9398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9399 ... here.
9400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9401 Moved ...
9402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9403 ... here.
9404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9405 Moved ...
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9408 Moved ...
9409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9411 Moved ...
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9414 Moved ...
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9416 ... here.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9418 Moved ...
9419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9420 ... here.
9421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9422 Moved ...
9423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9424 ... here.
9425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9426 Moved ...
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9429 Moved ...
9430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9431
e6d90d67
WD
94322014-06-23 Will Newton <will.newton@linaro.org>
9433 Wilco <wdijkstr@arm.com>
9434
9435 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9436 implementation. Include get-rounding-mode.h.
9437 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9438 [!libc_feholdsetround_noex_ctx]: Define
9439 libc_feholdsetround_noex_ctx.
9440 [!libc_feholdsetround_noexf_ctx]: Define
9441 libc_feholdsetround_noexf_ctx.
9442 [!libc_feholdsetround_noexl_ctx]: Define
9443 libc_feholdsetround_noexl_ctx.
9444 (libc_feholdsetround_ctx): New function.
9445 (libc_feresetround_ctx): New function.
9446 (libc_feholdsetround_noex_ctx): New function.
9447 (libc_feresetround_noex_ctx): New function.
9448
d42df555
RM
94492014-06-23 Roland McGrath <roland@hack.frob.com>
9450
88a46474
RM
9451 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9452 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9453 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9454 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9455 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9456 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9457
15bed472
RM
9458 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9459 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9460 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9461 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9462 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9463 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9464 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9465 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9466 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9467 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9469 Moved ...
9470 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9471 ... here.
9472 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9473 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9474 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9475 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9476 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9477 Moved ...
9478 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9479 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9480 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9481 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9482 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9483 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9484 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9485 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9486 Moved ...
9487 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9488 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9489 Moved ...
9490 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9491 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9492 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9493 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9494 Moved ...
9495 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9496 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9497 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9498 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9499 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9500 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9501 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9502 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9503 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9504 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9505 Moved ...
9506 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9507 ... here.
9508 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9509 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9510 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9511 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9512 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9513 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9514 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9515 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9516 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9517 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9518 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9519 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9520 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9521 Moved ...
9522 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9523 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9524 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9525 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9526 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9527 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9528 Moved ...
9529 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9530 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9531 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9532 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9533 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9534
d42df555
RM
9535 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9536 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9537 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9538 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9539 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9540 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9541 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9542 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9543 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9544 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9545 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9546 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9547 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9548 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9549 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9550 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9551 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9552 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9553 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9554 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9556 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9557 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9558 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9559 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9560 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9561 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9562 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9563
76e5216e
JM
95642014-06-23 Joseph Myers <joseph@codesourcery.com>
9565
9566 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9567 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9568 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9569 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9570 (IPV6_PMTUDISC_INTERFACE): Likewise.
9571 (IPV6_PMTUDISC_OMIT): Likewise.
9572
7a81cbcc
AS
95732014-06-23 Andreas Schwab <schwab@suse.de>
9574
9575 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9576 Remove unused errout label.
9577
db224009
AZ
95782014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9579
9580 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9581 macro: hardware supports Vector Crypto instructions.
9582
f393b4aa
WN
95832014-06-23 Will Newton <will.newton@linaro.org>
9584
cc7d0447
WN
9585 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9586 rather than __builtin_expect.
9587
d6d06225
WN
9588 * elf/dl-lookup.c (undefined_msg): Remove variable.
9589 (_dl_lookup_symbol_x): Replace undefined_msg with string
9590 literal.
9591
f393b4aa
WN
9592 * elf/dl-lookup.c (do_lookup_unique): New function.
9593 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9594 to a separate function.
9595
ac60763e
AS
95962014-06-23 Andreas Schwab <schwab@suse.de>
9597
9598 [BZ #17079]
9599 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9600 before reading the next line.
9601
c5c13355
WN
96022014-06-23 Will Newton <will.newton@linaro.org>
9603
9604 * test-skeleton.c (signal_handler): Use printf and %m
9605 rather than perror. Use printf rather than fprintf to
9606 stderr. Use puts rather than fputs to stderr.
9607 (main): Likewise.
9608
bd3675f9
LC
96092014-06-22 Ludovic Courtès <ludo@gnu.org>
9610
9611 * nscd/nscd.c (thread_info_t): Remove typedef.
9612 (thread_info): Remove variable.
9613
d03efb2f
AM
96142014-06-21 Allan McRae <allan@archlinux.org>
9615
9616 * NEWS: Mention CVE-2014-4043.
9617
bc4a86fa
RM
96182014-06-20 Roland McGrath <roland@hack.frob.com>
9619
dc9a54f8
RM
9620 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9621 * nptl/smp.h: ... here.
9622
bd7022c4
RM
9623 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9624
26ffd5e6
RM
9625 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9626 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9627 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9628 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9629
93a6d082
RM
9630 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9631 * nptl/stack-aliasing.h: New file.
9632 * sysdeps/i386/i686/stack-aliasing.h: New file.
9633 * sysdeps/i386/i686/nptl/Makefile: File removed.
9634 * sysdeps/x86_64/stack-aliasing.h: New file.
9635 * sysdeps/x86_64/nptl/Makefile
9636 (CFLAGS-pthread_create.c): Variable removed.
9637
bc4a86fa
RM
9638 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9639 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9640 old file.
9641 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9642 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9643 old file.
9644
2272ffc1
JM
96452014-06-21 Joseph Myers <joseph@codesourcery.com>
9646
9647 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9648 (__ASSUME_SIGFRAME_V2): Remove macro.
9649 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9650 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9651 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9652 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9653 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9654 Declare as function. Remove conditional macro definitions.
9655 (__default_rt_sa_restorer): Likewise.
9656 (__default_sa_restorer_v1): Remove declaration.
9657 (__default_sa_restorer_v2): Likewise.
9658 (__default_rt_sa_restorer_v1): Likewise.
9659 (__default_rt_sa_restorer_v2): Likewise.
9660 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9661 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9662 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9663
4b88139b
RM
96642014-06-20 Roland McGrath <roland@hack.frob.com>
9665
9666 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9667 (libpthread-routines): Add sysdep.
9668 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9669 * sysdeps/unix/sysv/linux/sparc/Versions
9670 (libpthread: GLIBC_2.3.3): New version set.
9671 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9672 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9673 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9674 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9675 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9676 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9677 Moved ...
9678 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9679 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9680 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9681 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9682 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9683 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9684 * sysdeps/sparc/nptl/sem_init.c: ... here.
9685 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9686 * sysdeps/sparc/nptl/sem_post.c: ... here.
9687 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9688 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9689 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9690 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9692 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9693 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9694 (libpthread-routines): Add cpu_relax.
9695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9696 File removed.
9697 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9698 (librt: GLIBC_2.3.3): New version set.
9699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9700 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9701 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9702 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9705 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9707 Moved ...
9708 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9710 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9712 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9714 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9716 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9718 Moved ...
9719 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9720 Update #include.
9721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9722 Moved ...
9723 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9724 Update #include.
9725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9726 Moved ...
9727 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9728 Update #include.
9729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9730 Moved ...
9731 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9732 Update #include.
9733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9734 Moved ...
9735 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9736 Update #include.
9737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9738 Moved ...
9739 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9740 Update #include.
9741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9742 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9746 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9748 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9750 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9752 Moved ...
9753 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9755 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9756 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9757 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9758
d7109027
JM
97592014-06-20 Joseph Myers <joseph@codesourcery.com>
9760
9bc6103d
JM
9761 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9762 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9763 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9764 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9765 * nscd/nscd.c: Likewise.
9766 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9767 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9768 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9769 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9770
d7109027
JM
9771 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9772 <kernel-features.h>.
9773 (init_mq_netlink): Remove conditional have_sock_cloexec
9774 definitions. Remove code conditional on have_sock_cloexec < 0.
9775 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9776 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9777 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9778 <kernel-features.h>.
9779 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9780 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9781
d92d8f8a
L
97822014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9783
9784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9785 Add tests for memset_chk and memset.
9786
9787 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9788 with AVX2_Usable.
9789
4e6d2347
MR
97902014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9791
257ce712
MR
9792 [BZ #16046]
9793 * elf/tst-dl-iter-static.c: New file.
9794 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9795
4e6d2347
MR
9796 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9797 error.
9798
a2a76afe
JM
97992014-06-20 Joseph Myers <joseph@codesourcery.com>
9800
7fd00f99
JM
9801 * sysdeps/unix/sysv/linux/kernel-features.h
9802 (__ASSUME_F_GETOWN_EX): Remove macro.
9803 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9804 <kernel-features.h>.
9805 (miss_F_GETOWN_EX): Remove variable or macro.
9806 (do_fcntl): Do not check miss_F_GETOWN_EX.
9807 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9808
4a103975
JM
9809 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9810 Remove macro.
9811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9812 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9813 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9814
a2a76afe
JM
9815 * sysdeps/unix/sysv/linux/kernel-features.h
9816 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9817 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9818 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9819 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9820
90e5dd48
MR
98212014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9822
9823 [BZ #17075]
9824 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9825 Fix calculation of the symbol's value.
9826 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9827 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9828 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9829 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9830 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9831 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9832 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9833 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9834 (modules-names): Add `tst-armtlsdescmod',
9835 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9836 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9837 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9838 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9839 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9840 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9841 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9842 ($(objpfx)tst-armtlsdescloc): New dependency.
9843 ($(objpfx)tst-armtlsdescextnow): Likewise.
9844 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9845 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9846 TLS scheme support.
9847 * sysdeps/arm/configure: Regenerate.
9848
809fdf0d
JM
98492014-06-20 Joseph Myers <joseph@codesourcery.com>
9850
9851 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9852 (__atfct_seterrno_2): Likewise.
9853 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9854 <kernel-features.h>.
9855 (__ASSUME_ATFCTS): Do not undefine and redefine.
9856 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9857 (__have_atfcts): Remove conditional definition.
9858 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9859 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9860 unreachable if [__ASSUME_ATFCTS].
9861 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9862 not undefine and redefine.
9863 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9864 <kernel-features.h>.
9865 (faccessat) [__NR_faccessat]: Make code unconditional.
9866 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9867 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9868 <kernel-features.h>.
9869 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9870 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9871 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9872 <kernel-features.h>.
9873 (fchownat) [__NR_fchownat]: Make code unconditional.
9874 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9875 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9876 <kernel-features.h>.
9877 (futimesat) [__NR_futimesat]: Make code unconditional.
9878 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9879 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9880 <kernel-features.h>.
9881 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9882 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9883 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9884 <kernel-features.h>.
9885 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9886 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9887 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9888 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9889 <kernel-features.h>.
9890 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9891 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9892 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9893 <kernel-features.h>.
9894 (linkat) [__NR_linkat]: Make code unconditional.
9895 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9896 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9897 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9898 <kernel-features.h>.
9899 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9900 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9901 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9902 <kernel-features.h>.
9903 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9904 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9905 * sysdeps/unix/sysv/linux/openat.c: Do not include
9906 <kernel-features.h>.
9907 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9908 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9909 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9910 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9911 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9912 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9913 <kernel-features.h>.
9914 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9915 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9916 result of INLINE_SYSCALL directly, not via int variable.
9917 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9918 <kernel-features.h>.
9919 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9920 (renameat) [__NR_renameat]: Make code unconditional.
9921 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9922 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9923 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9924 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9925 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9926 (__ASSUME_ATFCTS): Do not undefine and redefine.
9927 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9928 <kernel-features.h>.
9929 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9930 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9931 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9932 <kernel-features.h>.
9933 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9934 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9935 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9936 (__ASSUME_ATFCTS): Do not undefine and redefine.
9937 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9938 <kernel-features.h>.
9939 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9940 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9941 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9942 <kernel-features.h>.
9943 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9944 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9945
224c6c51
L
99462014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9947
9948 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9949
aa6ec754
AS
99502014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9951
9952 [BZ #17069]
9953 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9954 constructed tree before returning error.
9955 * posix/bug-regexp36.c: Expand test case.
9956
d8c2869d
SL
99572014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9958
3ef6b850
SL
9959 [BZ #6803]
9960 * math/libm-test.inc (scalbln_test_date):
9961 Add errno expectations.
9962 * math/w_scalblnf.c: New File.
9963 Add wrapper which checks for setting errno to ERANGE.
9964 Add weak_alias for corresponding scalbln function.
9965 * math/w_scalbln.c: Likewise.
9966 * math/w_scalblnl.c: Likewise.
9967 * math/Makefile (libm-calls): Add w_scalbln.
9968 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9969 Remove weak_alias for corresponding scalbln function.
9970 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9972 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9974 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9975 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9976 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9977 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9978 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9979 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9980 Remove long_double_symbol for scalblnl function in libm, libc.
9981 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9982 Add wrapper which checks for setting errno to ERANGE.
9983 Add long_double_symbol for scalblnl function in libm, libc.
9984 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9985 Remove long_double_symbol for scalblnl in libm.
9986 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9987 Add wrapper which checks for setting errno to ERANGE.
9988 Add long_double_symbol for scalblnl function in libm.
9989 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9990 Do not use wrapper because of own implementation.
9991
c8daec5c
L
99922014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9993
9994 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9995 3 bytes for __pad1 for x32.
9996 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9997
5c74e47c
LM
99982014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9999 H.J. Lu <hongjiu.lu@intel.com>
10000
10001 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10002 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10003 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10004 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10005 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10006
4d43ef1e
AS
100072014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10008
10009 [BZ #17069]
10010 * posix/regcomp.c (parse_expression): Deallocate partially
10011 constructed tree before returning error.
10012 * posix/Makefile.c (tests): Add bug-regex36.
10013 (generated): Add bug-regex36.mtrace.
10014 (tests-special): Add $(objpfx)bug-regex36-mem.out
10015 (bug-regex36-ENV): New variable.
10016 ($(objpfx)bug-regex36-mem.out): New rule.
10017 * posix/bug-regex36.c: New file.
10018
51a7380b
WN
100192014-06-19 Will Newton <will.newton@linaro.org>
10020
10021 * malloc/malloc.c (systrim): If extra is zero then return
10022 early.
10023
91b84fe5
SP
100242014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10025
10026 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10027
f940b965
RE
100282014-06-19 Richard Earnshaw <rearnsha@arm.com>
10029
10030 * sysdeps/aarch64/strchr.S: New file.
10031
4ba7a00f
JM
100322014-06-18 Joseph Myers <joseph@codesourcery.com>
10033
10034 [BZ #17022]
10035 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10036 from arguments -2 or below.
10037 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10038 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10039
b3a9f56b
AS
100402014-06-18 Andreas Schwab <schwab@suse.de>
10041
10042 [BZ #17062]
10043 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10044 of a bracket expr not to run off the end of the string.
10045 * posix/Makefile (tests): Add tst-fnmatch3.
10046 * posix/tst-fnmatch3.c: New file.
10047
85d89278
JM
100482014-06-18 Joseph Myers <joseph@codesourcery.com>
10049
10050 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10051 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10052 [$(cross-compiling) = no]: Likewise.
10053 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10054 [$(cross-compiling) = no]: Likewise.
10055
754c5a08
RS
100562014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10057
10058 [BZ #17031]
10059 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10060 double, adjusted for any remainder from the high double.
10061 * math/libm-test.inc (nearbyint): Add tests.
10062 (rint): Likewise.
10063
556f529d
AZ
100642014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10065
10066 * nptl/sysdeps/powerpc/Makefile: Moved ...
10067 * sysdeps/powerpc/nptl/Makefile: ... here.
10068 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10069 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10070 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10071 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10072 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10073 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10074 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10075 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10076 * nptl/sysdeps/powerpc/tls.h: Moved ...
10077 * sysdeps/powerpc/nptl/tls.h: ... here.
10078
91c03c53
JM
100792014-06-16 Joseph Myers <joseph@codesourcery.com>
10080
10081 [BZ #16681]
10082 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10083 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10084 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10085 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10086 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10087 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10088 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10089 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10090 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10091
a76e63c5
AS
100922014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10093
10094 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10095
f2f6d82f
AS
100962014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10097
ea8a15f6
AS
10098 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10099 defined operator.
10100
f2f6d82f
AS
10101 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10102 $TIMEOUTFACTOR.
10103
a7291117
FW
101042014-06-16 Florian Weimer <fweimer@redhat.com>
10105
10106 [BZ #17058]
10107 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10108 non-executed part of the test.
10109
3d7c00e3
AS
101102014-06-16 Andreas Schwab <schwab@suse.de>
10111
10112 * string/bits/string2.h (strdup, strndup): Update feature guard.
10113
6957fb31
DM
101142014-06-14 David S. Miller <davem@davemloft.net>
10115
10116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10117
11b9e55b
AS
101182014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10119
1d2a0492
AS
10120 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10121 that was previously under [RESET_PID].
10122 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10123
11b9e55b
AS
10124 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10125 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10126 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10127 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10128 (__libc_vfork): New strong alias.
10129 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10130
0f6901d0
AK
101312014-06-14 Andi Kleen <ak@linux.intel.com>
10132
10133 * sysdeps/generic/elide.h: New file.
10134
38bbbb9f
SL
101352014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10136
10137 * Makefile (installed-headers): Adjust path of pthread.h header.
10138
45193bb8
RM
101392014-06-13 Roland McGrath <roland@hack.frob.com>
10140
9a25fd1e
RM
10141 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10142 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10143 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10144 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10145
4004f7e4
RM
10146 * nptl/sysdeps/s390/Makefile: Moved ...
10147 * sysdeps/s390/nptl/Makefile: ... here.
10148 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10149 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10150 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10151 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10152 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10153 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10154 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10155 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10156 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10157 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10158 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10159 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10160 * nptl/sysdeps/s390/tls.h: Moved ...
10161 * sysdeps/s390/nptl/tls.h: ... here.
10162
45193bb8
RM
10163 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10164 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10165
f6fdf533
DM
101662014-06-13 David S. Miller <davem@davemloft.net>
10167
10168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10171 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10175 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10176 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10177 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10178 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10179 Remove RESET_PID cpp guards.
10180 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10181 Remove RESET_PID cpp guards.
10182 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10183
f5d71e14
AS
101842014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10185
10186 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10187 __sp to uintptr_t.
10188
b7aa8caa
AK
101892014-06-13 Andi Kleen <ak@linux.intel.com>
10190
4b266200
AZ
10191 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10192 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10193 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10194 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10195 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10196 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10197 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10198 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10199 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10201 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10202 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10203 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10204 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10205 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10206 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10207 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10208 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10209 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10210 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10211
10212 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10213 (pthread_rwlock_rdlock): Add elision.
10214 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10215 (pthread_rwlock_wrlock): Add elision.
10216 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10217 (pthread_rwlock_trywrlock): Add elision.
10218 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10219 (pthread_rwlock_tryrdlock): Add elision.
10220 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10221 (pthread_rwlock_tryrdlock): Add elision unlock.
10222 * nptl/sysdeps/pthread/pthread.h:
10223 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10224 (PTHREAD_RWLOCK_INITIALIZER,
10225 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10226 Handle new elision field.
10227 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10228 * sysdeps/arm/nptl/bits/pthreadtypes.h
10229 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10230 * sysdeps/sh/nptl/bits/pthreadtypes.h
10231 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10232 * sysdeps/tile/nptl/bits/pthreadtypes.h
10233 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10234 * sysdeps/a/nptl/bits/pthreadtypes.h
10235 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10236 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10237 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10238 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10239 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10240 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10241 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10242 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10244 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10245 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10246 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10247 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10248 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10249 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10250 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10252 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10253 (elision_init): Set try_xbegin to zero when no RTM.
10254 * sysdeps/x86/nptl/bits/pthreadtypes.h
10255 (pthread_rwlock_t): Change __pad1 to __rwelision.
10256 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10257
a832bdd3
AK
102582014-06-13 Andi Kleen <ak@linux.intel.com>
10259
10260 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10261 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10262 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10263 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10264
995a46bb
MI
102652014-06-13 Meador Inge <meadori@codesourcery.com>
10266
10267 [BZ #16996]
03ed7738 10268 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10269 that the cached result has been set before returning it.
10270
45262aee
RM
102712014-06-12 Roland McGrath <roland@hack.frob.com>
10272
febf6cc5
RM
10273 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10274 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10275 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10276 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10277 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10278 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10279
e2682246
RM
10280 * nptl/sysdeps/sparc/Makefile: Moved ...
10281 * sysdeps/sparc/nptl/Makefile: ... here.
10282 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10283 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10284 * nptl/sysdeps/sparc/tls.h: Moved ...
10285 * sysdeps/sparc/nptl/tls.h: ... here.
10286 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10287 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10288 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10289 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10290 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10291 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10292 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10293 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10294 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10295 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10296 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10297 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10298 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10299 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10300 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10301 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10302 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10303 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10304 Update #include.
10305 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10306 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10307 Update #include.
10308 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10309 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10310 Update #include.
10311 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10312 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10313 Update #include.
10314
b0725f43
RM
10315 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10316
b14368b8
RM
10317 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10318 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10319
c5620eb3
RM
10320 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10321 (struct list_links): Type removed.
10322 (struct thread_node, struct timer_node): Replace struct list_links
10323 with struct list_head.
10324 (list_unlink_ip): Likewise.
10325 * sysdeps/pthread/timer_routines.c
10326 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10327 (list_append, list_insbefore): Likewise.
10328 (list_init): Function removed.
10329 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10330 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10331 * sysdeps/pthread/Makefile: ... here, new file.
10332
10333 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10334 * sysdeps/nptl/Implies: ... here.
10335 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10336 * nptl/sysdeps/pthread/list.h: Moved ...
10337 * include/list.h: ... here.
10338 * nptl/sysdeps/pthread/createthread.c: Moved ...
10339 * nptl/createthread.c: ... here.
10340 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10341 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10342 * nptl/pt-longjmp.c: ... here.
10343 * nptl/sysdeps/pthread/Makefile: Moved ...
10344 * sysdeps/nptl/Makefile: ... here.
10345 * nptl/sysdeps/pthread/Subdirs: Moved ...
10346 * sysdeps/nptl/Subdirs: ... here.
10347 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10348 * sysdeps/nptl/aio_misc.h: ... here.
10349 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10350 * sysdeps/nptl/bits/libc-lock.h: ... here.
10351 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10352 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10353 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10354 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10355 * nptl/sysdeps/pthread/configure: Moved ...
10356 * sysdeps/nptl/configure: ... here.
10357 * nptl/sysdeps/pthread/configure.ac: Moved ...
10358 * sysdeps/nptl/configure.ac: ... here.
10359 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10360 * sysdeps/nptl/gai_misc.h: ... here.
10361 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10362 * sysdeps/nptl/librt-cancellation.c: ... here.
10363 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10364 * sysdeps/nptl/malloc-machine.h: ... here.
10365 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10366 * sysdeps/nptl/pthread-functions.h: ... here.
10367 * nptl/sysdeps/pthread/pthread.h: Moved ...
10368 * sysdeps/nptl/pthread.h: ... here.
10369 * nptl/sysdeps/pthread/setxid.h: Moved ...
10370 * sysdeps/nptl/setxid.h: ... here.
10371 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10372 * sysdeps/nptl/sigfillset.c: ... here.
10373 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10374 * sysdeps/nptl/tcb-offsets.h: ... here.
10375 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10376 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10377 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10378 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10379 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10380 * sysdeps/pthread/allocalim.h: ... here.
10381 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10382 * sysdeps/pthread/bits/sigthread.h: ... here.
10383 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10384 * sysdeps/pthread/flockfile.c: ... here.
10385 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10386 * sysdeps/pthread/ftrylockfile.c: ... here.
10387 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10388 * sysdeps/pthread/funlockfile.c: ... here.
10389 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10390 * sysdeps/pthread/posix-timer.h: ... here.
10391 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10392 * sysdeps/pthread/timer_create.c: ... here.
10393 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10394 * sysdeps/pthread/timer_delete.c: ... here.
10395 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10396 * sysdeps/pthread/timer_getoverr.c: ... here.
10397 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10398 * sysdeps/pthread/timer_gettime.c: ... here.
10399 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10400 * sysdeps/pthread/timer_routines.c: ... here.
10401 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10402 * sysdeps/pthread/timer_settime.c: ... here.
10403 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10404 * sysdeps/pthread/tst-timer.c: ... here.
10405 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10406 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10407
e876b090
RM
10408 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10409 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10410
f6b07b3d
RM
10411 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10412 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10413 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10414 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10415 Update #include target.
10416 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10417 * sysdeps/i386/i686/nptl/Makefile: ... here.
10418 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10419 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10420 Update #include target.
10421 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10422 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10423 * nptl/sysdeps/i386/Makefile: Moved ...
10424 * sysdeps/i386/nptl/Makefile: ... here.
10425 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10426 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10427 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10428 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10429 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10430 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10431 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10432 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10433 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10434 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10435 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10436 * nptl/sysdeps/i386/tls.h: Moved ...
10437 * sysdeps/i386/nptl/tls.h: ... here.
10438
45262aee
RM
10439 * sysdeps/sh/Makefile [$(subdir) = csu]
10440 (gen-as-const-headers): Add tcb-offsets.sym.
10441 * nptl/sysdeps/sh/Makefile: File removed.
10442 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10443 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10444 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10445 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10446 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10447 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10448 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10449 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10450 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10451 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10452 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10453 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10454 * nptl/sysdeps/sh/tls.h: Moved ...
10455 * sysdeps/sh/nptl/tls.h: ... here.
10456 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10457 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10458 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10459 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10460 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10461 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10462 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10463 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10464 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10465 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10466 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10467 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10468 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10469 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10470 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10471 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10472 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10473 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10474 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10475 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10476 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10477 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10478 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10479 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10480 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10481 Moved ...
10482 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10483 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10484 Moved ...
10485 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10486 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10487 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10488 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10489 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10490 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10491 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10492 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10493 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10494 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10495 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10496 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10497 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10498 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10499 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10500 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10501 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10502 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10503 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10504
35a5e3e3
SL
105052014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10506
10507 * posix/spawn_faction_addopen.c: Include string.h.
10508
14642b85
RM
105092014-06-11 Roland McGrath <roland@hack.frob.com>
10510
10511 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10512 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10513 * nptl/sysdeps/x86_64/Makefile: Moved ...
10514 * sysdeps/x86_64/nptl/Makefile: ... here.
10515 * nptl/sysdeps/x86_64/configure: Moved ...
10516 * sysdeps/x86_64/nptl/configure: ... here.
10517 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10518 * sysdeps/x86_64/nptl/configure.ac: ... here.
10519 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10520 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10521 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10522 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10523 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10524 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10525 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10526 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10527 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10528 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10529 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10530 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10531 * nptl/sysdeps/x86_64/tls.h: Moved ...
10532 * sysdeps/x86_64/nptl/tls.h: ... here.
10533 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10534 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10535 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10536 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10537
10538 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10539
31c44fea
AZ
105402014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10541
10542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10543
e81a4f9a
JM
105442014-06-11 Joseph Myers <joseph@codesourcery.com>
10545
10546 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10547 type.
10548 [POSIX] (off_t): Likewise.
10549 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10550 [POSIX] (S_ISBLK): Require macro.
10551 [POSIX] (S_ISCHR): Likewise.
10552 [POSIX] (S_ISDIR): Likewise.
10553 [POSIX] (S_ISFIFO): Likewise.
10554 [POSIX] (S_ISREG): Likewise.
10555 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10556 optional-macro.
10557 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10558 type.
10559 [POSIX] (time_t): Likewise.
10560 [POSIX] (timer_t): Likewise.
10561
89e435f3
FW
105622014-06-11 Florian Weimer <fweimer@redhat.com>
10563
10564 [BZ #17048]
10565 * posix/spawn_int.h (struct __spawn_action): Make the path string
10566 non-const to support deallocation.
10567 * posix/spawn_faction_addopen.c
10568 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10569 * posix/spawn_faction_destroy.c
10570 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10571 path in all spawn_do_open actions.
10572 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10573 posix_spawn_file_actions_addopen.
10574
c3a2ebe1
CM
105752014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10576
10577 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10578 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10579 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10580 conditional code always true.
10581 (__libc_vfork): New alias.
10582
9503784a
RM
105832014-06-11 Roland McGrath <roland@hack.frob.com>
10584
c9cab3d2
RM
10585 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10586 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10587
d3996c79
RM
10588 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10589
ba5ec611
RM
10590 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10591 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10592
f12b4814
RM
10593 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10594 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10595
9503784a
RM
10596 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10597 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10598
e23d3d26
VR
105992014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10600
10601 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10602 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10603 multiarch strcmp for PPC64.
10604 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10605 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10607 multiarch optimizations.
10608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10609 (__libc_ifunc_impl_list): Likewise.
10610
42b1161e
SP
106112014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10612
10613 * benchtests/scripts/validate_benchout.py: New script.
10614 * benchtests/Makefile (bench-func): Call it.
10615 * benchtests/scripts/benchout.schema.json: New file.
10616
2d0fc4dc
CM
106172014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10618
4a594c34
AZ
10619 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10620 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10621 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10622 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10623 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10624 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10625 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10626 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10627 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10628 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10629 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10630 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10631 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10632 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10633 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10634 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10636 Moved ...
4a594c34 10637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10638 ... here.
4a594c34 10639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10640 Moved ...
4a594c34
AZ
10641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10643 Moved ...
4a594c34 10644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10645 ... here.
4a594c34 10646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10647 Moved ...
4a594c34 10648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10649 ... here.
4a594c34 10650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10651 Moved ...
4a594c34
AZ
10652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10654 Moved ...
4a594c34 10655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10656 ... here.
4a594c34 10657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10658 Moved ...
4a594c34 10659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10660 ... here.
4a594c34 10661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10662 Moved ...
4a594c34
AZ
10663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10665 Moved ...
4a594c34 10666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10667 ... here.
4a594c34 10668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10669 Moved ...
4a594c34 10670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10671 ... here.
4a594c34 10672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10673 Moved ...
4a594c34 10674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10675 ... here.
4a594c34 10676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10677 Moved ...
4a594c34
AZ
10678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10680 Moved ...
4a594c34 10681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10682 ... here.
4a594c34 10683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10684 Moved ...
4a594c34 10685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10686 ... here.
4a594c34 10687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10688 Moved ...
4a594c34 10689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10690 ... here.
4a594c34 10691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10692 Moved ...
4a594c34
AZ
10693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10695 Moved ...
4a594c34 10696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10697 ... here.
4a594c34 10698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10699 Moved ...
4a594c34 10700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10701 ... here.
4a594c34 10702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10703 Moved ...
4a594c34
AZ
10704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10706 Moved ...
4a594c34 10707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10708 ... here.
4a594c34 10709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10710 Moved ...
4a594c34
AZ
10711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10713 Moved ...
4a594c34
AZ
10714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10716 Moved ...
4a594c34 10717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10718 ... here.
4a594c34 10719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10720 Moved ...
4a594c34 10721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10722 ... here.
4a594c34 10723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10724 Moved ...
4a594c34 10725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10726 ... here.
4a594c34 10727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10728 Moved ...
4a594c34
AZ
10729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10731 Moved ...
4a594c34 10732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10733 ... here.
4a594c34 10734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10735 Moved ...
4a594c34 10736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10737 ... here.
4a594c34
AZ
10738 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10739 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10740 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10741 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10742 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10743 Moved ...
4a594c34 10744 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10745 ... here.
4a594c34
AZ
10746 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10747 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10748 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10749 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10750 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10751 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10752 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10753 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10754 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10755 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10757 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10759 Moved ...
4a594c34
AZ
10760 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10761 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10762 Moved ...
4a594c34
AZ
10763 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10764 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10765 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10766 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10767 Moved ...
4a594c34
AZ
10768 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10769 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10770 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10771 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10772 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10773 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10774 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10775
0570cfed
W
107762014-06-10 Wilco <wdijkstr@arm.com>
10777
10778 * math/test-fenv-return.c: New file.
10779 * math/Makefile: Add new test test-fenv-return.
10780
f8ba1b56
JM
107812014-06-10 Joseph Myers <joseph@codesourcery.com>
10782
10783 [BZ #17042]
10784 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10785 when x - 1 is zero.
10786 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10787 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10788 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10789 0.0L for an argument of 1.0L.
10790 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10791 Likewise.
10792 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10793 value when x - 1 is zero.
10794 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10795 * sysdeps/i386/fpu/libm-test-ulps: Update.
10796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10797
2c3520d9
BO
107982014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10799
10800 [BZ #15119]
10801 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10802
acaa4d24
RM
108032014-06-09 Roland McGrath <roland@hack.frob.com>
10804
10805 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10806 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10807
962b744d
RM
108082014-06-09 Roland McGrath <roland@hack.frob.com>
10809
d752f0cc
RM
10810 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10811 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10812
34eda6d1
RM
10813 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10814 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10815
50f0a637
RM
10816 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10817 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10818
08f41f04
RM
10819 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10820 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10821
962b744d
RM
10822 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10823 if not already defined.
10824 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10825 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10826 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10827 (TLS_INIT_TP): Use it.
10828 (TLS_DEFINE_INIT_TP): New macro.
10829 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10830
09f19b05
JM
108312014-06-09 Joseph Myers <joseph@codesourcery.com>
10832
10833 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10834 constant.
10835 [POSIX] (IXANY): Likewise.
10836 [POSIX] (OLCUC): Likewise.
10837 [POSIX || POSIX2008] (CBAUD): Do not allow.
10838 [POSIX || POSIX2008] (DEFECHO): Likewise.
10839 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10840 [POSIX || POSIX2008] (ECHOKE): Likewise.
10841 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10842 [POSIX || POSIX2008] (EXTA): Likewise.
10843 [POSIX || POSIX2008] (EXTB): Likewise.
10844 [POSIX || POSIX2008] (FLUSHO): Likewise.
10845 [POSIX || POSIX2008] (LOBLK): Likewise.
10846 [POSIX || POSIX2008] (PENDIN): Likewise.
10847 [POSIX || POSIX2008] (SWTCH): Likewise.
10848 [POSIX || POSIX2008] (VDISCARD): Likewise.
10849 [POSIX || POSIX2008] (VDSUSP): Likewise.
10850 [POSIX || POSIX2008] (VLNEXT): Likewise.
10851 [POSIX || POSIX2008] (VREPRINT): Likewise.
10852 [POSIX || POSIX2008] (VSTATUS): Likewise.
10853 [POSIX || POSIX2008] (VWERASE): Likewise.
10854 (B*): Change to B[0123456789]*.
10855 * conform/data/time.h-data [POSIX || UNIX98]
10856 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10857 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10858 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10859 [POSIX] (tm_*): Do not allow.
10860
686554bf
JM
108612014-06-07 Joseph Myers <joseph@codesourcery.com>
10862
10863 * Makefile (install): Don't set LANGUAGE.
10864 * Makefile.in (install): Likewise.
10865 * assert/Makefile (test-assert-ENV): Remove variable.
10866 (test-assert-perr-ENV): Likewise.
10867 * elf/Makefile (neededtest4-ENV): Likewise.
10868 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10869 [$(cross-compiling) = no]: Don't set LANGUAGE.
10870 * io/ftwtest-sh (LANG): Remove variable.
10871 * libio/Makefile (tst-widetext-ENV): Likewise.
10872 * manual/install.texi (Running make install): Don't refer to
10873 environment settings for make install.
10874 * INSTALL: Regenerated.
10875 * nptl/tst-tls6.sh: Don't set LANG.
10876 * posix/globtest.sh (LANG): Remove variable.
10877 * string/Makefile (tester-ENV): Likewise.
10878 (inl-tester-ENV): Likewise.
10879 (noinl-tester-ENV): Likewise.
10880 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10881 [$(cross-compiling) = no]: Don't set LANGUAGE.
10882 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10883 without explicit environment settings.
10884
68e6b6b1
RM
108852014-06-06 Roland McGrath <roland@hack.frob.com>
10886
10887 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10888 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10889 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10890 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10891
4d3ae034
CM
108922014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10893
10894 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10895 other files in the crypt directory.
10896 * crypt/crypt.c: Remove duplicate includes.
10897 * crypt/crypt-entry.c: Likewise.
10898 * crypt/crypt_util.c: Likewise.
10899
8540f6d2
JM
109002014-06-06 Joseph Myers <joseph@codesourcery.com>
10901
10902 * Makeconfig (run-program-env): New variable.
10903 (run-program-prefix-before-env): Likewise.
10904 (run-program-prefix-after-env): Likewise.
10905 (run-program-prefix): Define in terms of new variables.
10906 (built-program-cmd-before-env): New variable.
10907 (built-program-cmd-after-env): Likewise.
10908 (built-program-cmd): Define in terms of new variables.
10909 (test-program-prefix-before-env): New variable.
10910 (test-program-prefix-after-env): Likewise.
10911 (test-program-prefix): Define in terms of new variables.
10912 (test-program-cmd-before-env): New variable.
10913 (test-program-cmd-after-env): Likewise.
10914 (test-program-cmd): Define in terms of new variables.
10915 * Rules (make-test-out): Use $(run-program-env).
10916 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10917 (help): Do not mention environment variables. Mention
10918 --timeoutfactor option.
10919 (timeoutfactor): New variable.
10920 (blacklist_exports): Remove function.
10921 (exports): Remove variable.
10922 (command): Do not include ${exports}.
10923 * manual/install.texi (Configuring and compiling): Do not mention
10924 test wrappers preserving environment variables. Mention that last
10925 assignment to a variable must take precedence.
10926 * INSTALL: Regenerated.
10927 * benchtests/Makefile (run-bench): Use $(run-program-env).
10928 * catgets/Makefile ($(objpfx)test1.cat): Use
10929 $(built-program-cmd-before-env), $(run-program-env) and
10930 $(built-program-cmd-after-env).
10931 ($(objpfx)test2.cat): Do not specify environment variables
10932 explicitly.
10933 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10934 $(run-program-env) and $(built-program-cmd-after-env).
10935 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10936 $(run-program-env) and $(test-program-cmd-after-env).
10937 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10938 explicitly.
10939 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10940 run_program_env and test_program_cmd_after_env arguments.
10941 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10942 * elf/tst-pathopt.sh: Use run_program_env argument.
10943 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10944 $(test-wrapper-env) and $(run-program-env).
10945 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10946 run_program_env arguments.
10947 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10948 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10949 $(test-program-prefix-before-env), $(run-program-env) and
10950 $(test-program-prefix-after-env).
10951 ($(objpfx)tst-gettext2.out): Likewise.
10952 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10953 run_program_env and test_program_prefix_after_env arguments.
10954 * intl/tst-gettext2.sh: Likewise.
10955 * intl/tst-gettext4.sh: Do not set environment variables
10956 explicitly.
10957 * intl/tst-gettext6.sh: Likewise.
10958 * intl/tst-translit.sh: Likewise.
10959 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10960 $(test-program-prefix-before-env), $(run-program-env) and
10961 $(test-program-prefix-after-env).
10962 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10963 run_program_env and test_program_prefix_after_env arguments.
10964 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10965 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10966 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10967 explicitly with each use of ${test_wrapper_env}.
10968 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10969 $(test-program-prefix-before-env), $(run-program-env) and
10970 $(test-program-prefix-after-env).
10971 * posix/tst-getconf.sh: Do not set environment variables
10972 explicitly.
10973 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10974 run_program_env and test_program_prefix_after_env arguments.
10975 * stdio-common/tst-printf.sh: Do not set environment variables
10976 explicitly.
10977 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10978 $(test-program-prefix-before-env), $(run-program-env) and
10979 $(test-program-prefix-after-env).
10980 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10981 run_program_env and test_program_prefix_after_env arguments.
10982 Split $test calls into $test_pre and $test.
10983 * timezone/Makefile (build-testdata): Use
10984 $(built-program-cmd-before-env), $(run-program-env) and
10985 $(built-program-cmd-after-env).
10986
ed36bfa1
AZ
109872014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10988
10989 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10990 strlen for non SHARED builds.
10991
fc75bf46
SP
109922014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10993
10994 * nptl/allocatestack.c (check_list): Inlined function...
10995 (__reclaim_stacks): ... here.
10996
d89b3d80
OB
109972014-06-05 Ondřej Bílka <neleai@seznam.cz>
10998
10999 [BZ #15698]
11000 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11001 memory overrun.
11002
2bf18041
JM
110032014-06-05 Joseph Myers <joseph@codesourcery.com>
11004
11005 * Rules (make-test-out): Include
11006 LOCPATH=$(common-objpfx)localedata in default environment.
11007 * debug/Makefile (tst-chk1-ENV): Remove variable.
11008 (tst-chk2-ENV): Likewise.
11009 (tst-chk3-ENV): Likewise.
11010 (tst-chk4-ENV): Likewise.
11011 (tst-chk5-ENV): Likewise.
11012 (tst-chk6-ENV): Likewise.
11013 (tst-lfschk1-ENV): Likewise.
11014 (tst-lfschk2-ENV): Likewise.
11015 (tst-lfschk3-ENV): Likewise.
11016 (tst-lfschk4-ENV): Likewise.
11017 (tst-lfschk5-ENV): Likewise.
11018 (tst-lfschk6-ENV): Likewise.
11019 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11020 (tst-iconv7-ENV): Likewise.
11021 * intl/Makefile (LOCPATH-ENV): Likewise.
11022 (tst-codeset-ENV): Likewise.
11023 (tst-gettext3-ENV): Likewise.
11024 (tst-gettext5-ENV): Likewise.
11025 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11026 (tst-fopenloc-ENV): Likewise.
11027 (tst-fgetws-ENV): Remove variable.
11028 (tst-ungetwc1-ENV): Likewise.
11029 (tst-ungetwc2-ENV): Likewise.
11030 (bug-ungetwc2-ENV): Likewise.
11031 (tst-swscanf-ENV): Likewise.
11032 (bug-ftell-ENV): Likewise.
11033 (tst-fgetwc-ENV): Likewise.
11034 (tst-fseek-ENV): Likewise.
11035 (tst-ftell-partial-wide-ENV): Likewise.
11036 (tst-ftell-active-handler-ENV): Likewise.
11037 (tst-ftell-append-ENV): Likewise.
11038 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11039 (tst-regexloc-ENV): Likewise.
11040 (bug-regex1-ENV): Likewise.
11041 (tst-regex-ENV): Likewise.
11042 (tst-regex2-ENV): Likewise.
11043 (bug-regex5-ENV): Likewise.
11044 (bug-regex6-ENV): Likewise.
11045 (bug-regex17-ENV): Likewise.
11046 (bug-regex18-ENV): Likewise.
11047 (bug-regex19-ENV): Likewise.
11048 (bug-regex20-ENV): Likewise.
11049 (bug-regex22-ENV): Likewise.
11050 (bug-regex23-ENV): Likewise.
11051 (bug-regex25-ENV): Likewise.
11052 (bug-regex26-ENV): Likewise.
11053 (bug-regex30-ENV): Likewise.
11054 (bug-regex32-ENV): Likewise.
11055 (bug-regex33-ENV): Likewise.
11056 (bug-regex34-ENV): Likewise.
11057 (bug-regex35-ENV): Likewise.
11058 (tst-rxspencer-ENV): Likewise.
11059 (tst-rxspencer-no-utf8-ENV): Likewise.
11060 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11061 (tst-sscanf-ENV): Likewise.
11062 (tst-swprintf-ENV): Likewise.
11063 (tst-swscanf-ENV): Likewise.
11064 (test-vfprintf-ENV): Likewise.
11065 (scanf13-ENV): Likewise.
11066 (bug14-ENV): Likewise.
11067 (tst-grouping-ENV): Likewise.
11068 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11069 (tst-strtod3-ENV): Likewise.
11070 (tst-strtod4-ENV): Likewise.
11071 (tst-strtod5-ENV): Likewise.
11072 (testmb2-ENV): Likewise./
11073 * string/Makefile (tst-strxfrm-ENV): Likewise.
11074 (tst-strxfrm2-ENV): Likewise.
11075 (bug-strcoll1-ENV): Likewise.
11076 (test-strcasecmp-ENV): Likewise.
11077 (test-strncasecmp-ENV): Likewise.
11078 * time/Makefile (tst-strptime-ENV): Likewise.
11079 (tst-ftime_l-ENV): Likewise.
11080 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11081 (tst-mbrtowc-ENV): Likewise.
11082 (tst-wcrtomb-ENV): Likewise.
11083 (tst-mbrtowc2-ENV): Likewise.
11084 (tst-c16c32-1-ENV): Likewise.
11085 (tst-mbsnrtowcs-ENV): Likewise.
11086
cd1fb604
OB
110872014-06-05 Ondřej Bílka <neleai@seznam.cz>
11088
11089 * manual/resource.texi (How to get information about the memory
11090 subsystem?): Fix typo.
11091 Reported by Peon de la Parra Ivan <peon@keba.com>
11092
b42eca7d
GY
110932014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11094
11095 [BZ #16882]
11096 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11097 (pthread_spin_lock): Branch out of spin loop to proper location.
11098 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11099 (pthread_spin_lock): Likewise.
11100
902b71f9
DM
11101 * nptl/tst-spin4.c: New test.
11102 * nptl/Makefile (tests): Add tst-spin4.
11103
f9d2d032
AS
111042014-06-03 Andreas Schwab <schwab@suse.de>
11105
11106 [BZ #15946]
11107 * resolv/res_send.c (send_dg): Reload file descriptor after
11108 calling reopen.
11109
cf7bfd28
SL
111102014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11111
11112 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11113
111cc714
RH
111142014-06-03 Richard Henderson <rth@redhat.com>
11115
89b4bd6b
RH
11116 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11117 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11118 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11119 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11120 in the SAVE_PID block.
11121 (__libc_vfork): New alias.
71840409 11122 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11123
111cc714
RH
11124 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11125 child in registers, not on the stack. Remove RESET_PID conditionals.
11126 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11127
ccc39911
MS
111282014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11129
11130 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11131
693096cc
W
111322014-06-03 Wilco <wdijkstr@arm.com>
11133
11134 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11135 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11136 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11137 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11138 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11139 Likewise.
11140
0b4366bc
W
111412014-06-03 Wilco <wdijkstr@arm.com>
11142
11143 * sysdeps/aarch64/fpu/math_private.h
11144 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11145 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11146 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11147 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11148 Fix declarations.
11149
8747cd03
KS
111502014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11151
11152 * crypt/crypt-private.h: Include ufc-crypt.h.
11153 (__b64_from_24bit): Declare extern.
11154 * crypt/crypt_util.c(__b64_from_24bit): New function.
11155 (b64t): New static const variable.
11156 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11157 (b64t): Remove variable.
11158 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11159 * crypt/sha256-crypt.c: Include crypt-private.h.
11160 (b64t): Remove variable.
11161 (__sha256_crypt_r): Remove b64_from_24bit and replace
11162 with __b64_from_24bit.
11163 * crypt/sha512-crypt.c: Likewise.
11164
d936d379
RM
111652014-06-02 Roland McGrath <roland@hack.frob.com>
11166
11167 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11168 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11169 Label the code __libc_vfork rather than __vfork.
11170 [!NOT_IN_libc] (vfork): Define as weak alias.
11171 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11172 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11173 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11174
9fa76613
SP
111752014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11176
11177 * malloc/malloc.c (malloc_info): Fix format specifier for
11178 n_mmaps.
11179
a88dadbe
W
111802014-06-02 Wilco <wdijkstr@arm.com>
11181
11182 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11183 FPCR write.
11184
c95b3011
W
111852014-06-02 Wilco <wdijkstr@arm.com>
11186
11187 [BZ #17009]
11188 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11189 Rewrite to reduce FPCR/FPSR accesses.
11190
6b4d7a90
DM
111912014-06-01 David S. Miller <davem@davemloft.net>
11192
11193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11194
30f3d07c
DM
111952014-05-31 David S. Miller <davem@davemloft.net>
11196
11197 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11198 to occur in round to nearest mode when |x| >= 2.0
11199
74f31c18
RH
112002014-05-30 Richard Henderson <rth@twiddle.net>
11201
f0712b54
RH
11202 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11203 (PSEUDO_RET_NOERRNO): Remove.
11204 (ret): Don't redefine.
11205 (ret_NOERRNO): Define in terms of ret.
11206 (ret_ERRVAL): Likewise.
11207
74f31c18
RH
11208 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11209 use of PSEUDO_RET; perform the error check directly.
11210
30477995
MM
112112014-05-30 Marko Myllynen <myllynen@redhat.com>
11212
11213 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11214 with __int128_t.
11215
62a58816
SP
112162014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11217
11218 * malloc/malloc (malloc_info): Fix formatting.
11219
4d653a59
SP
112202014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11221 Roland McGrath <roland@hack.frob.com>
11222
11223 * malloc/malloc (malloc_info): Also print mmapped statistics.
11224
5190c17f
RM
112252014-05-30 Roland McGrath <roland@hack.frob.com>
11226
11227 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11228 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11229
987c0269
OB
112302014-05-30 Ondřej Bílka <neleai@seznam.cz>
11231
11232 * malloc/malloc.c (malloc_info): Inline mi_arena.
11233
af4e8ef9
RH
112342014-05-29 Richard Henderson <rth@twiddle.net>
11235
1670e207
RH
11236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11237 Remove comma before expanding ASM_ARGS_##nr.
11238 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11239 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11240 of ASM_ARGS_##nr.
11241 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11242 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11243 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11244 (ASM_ARGS_1): Add leading comma.
11245
11a28aee
RH
11246 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11247 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11248 to __errno_location.
11249 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11250 Remove the expected plt for __errno_location.
11251
a17e5ffb 11252 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11253 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11254 call to __read_tp.
11255
b5be4597
RH
11256 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11257 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11258 it and break it down.
11259 (DOCARGS_0, DOCARGS_1): Do nothing.
11260 (DOCARGS_2): Update to store into the new stack frame.
11261 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11262 (UNDOCARGS_1): Update to restore from the new stack frame.
11263 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11264 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11265
645d44ab
RH
11266 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11267 (SINGLE_THREAD_P): New parameter for result regno.
11268 (PSEUDO): Update to match; use cbz instead of beq.
11269
a8b4f04a
RH
11270 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11271 Use ENTRY to define the _nocancel entry point. Share the syscall
11272 and syscall error check paths with the cancel path.
11273 (PSEUDO_END): New.
11274
af4e8ef9
RH
11275 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11276 whitespace; tabs before and after asm mnemonics.
11277
26b0d2e1
EW
112782014-05-29 Eric Wong <normalperson@yhbt.net>
11279
11280 [BZ #15132]
11281 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11282 Call fstat64 or stat64 internally, depending on arguments passed.
11283 Replace stat buffer argument with file descriptor argument.
11284 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11285 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11286 Pass fd to __internal_statvfs instead of calling fstat64.
11287 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11288 Pass fd to __internal_statvfs64 instead of calling fstat64.
11289 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11290 Pass -1 to __internal_statvfs instead of calling stat64.
11291 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11292 Pass -1 to __internal_statvfs64 instead of calling stat64.
11293
1efe2bd9
RM
112942014-05-28 Roland McGrath <roland@hack.frob.com>
11295
0d3b7a19
RM
11296 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11297 that was previously under [RESET_PID].
11298 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11299
1efe2bd9
RM
11300 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11301 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11302
a6bea3ca
RM
113032014-05-27 Roland McGrath <roland@hack.frob.com>
11304
30b6629e
RM
11305 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11306
a6bea3ca
RM
11307 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11308 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11309
3dfb9a5c
OB
113102014-05-27 Ondřej Bílka <neleai@seznam.cz>
11311
11312 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11313
774f9285
AS
113142014-05-27 Andreas Schwab <schwab@suse.de>
11315
11316 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11317 TLS_INIT_TP macro.
11318 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11319 * elf/rtld.c (init_tls, dl_main): Likewise.
11320 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11321 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11322 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11323 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11324 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11325 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11326 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11327 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11328 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11329 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11330 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11331 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11332 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11333 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11334 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11335 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11336 * sysdeps/generic/tls.h: Update description.
11337
36ffe739
WN
113382014-05-27 Will Newton <will.newton@linaro.org>
11339
11340 [BZ #16990]
11341 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11342 and restore r2 rather than just restoring.
11343
2482ae43
SP
113442014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11345
11346 [BZ #16724]
11347 * libio/tst-ftell-append.c: New test case.
11348 * libio/Makefile (tests): Add test case.
11349 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11350 append mode.
11351 * libio/wfileops.c (do_ftell_wide): Likewise.
11352
3d1024e8
AZ
113532014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11354
bab90016
AZ
11355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11356
c7a8d667
AZ
11357 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11358 ...
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11361 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11362 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11363 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11364 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11365 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11366 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11367 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11368 Moved ...
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11370 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11371 Moved ...
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11373 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11374 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11375 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11376 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11377 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11378 ...
11379 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11381 Moved ...
11382 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11383 here.
11384 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11385 ...
11386 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11387 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11388 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11389
daee7851
AZ
11390 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11391 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11392 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11393 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11394
50a40819
AZ
11395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11396 merge into ...
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11399 ...
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11401 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11402 ...
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11405 Moved ...
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11407 here.
11408 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11409 Moved ...
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11411 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11412 Moved ...
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11414
8464c2a1
AZ
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11416 conditional [RESET_PID].
11417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11419 removed.
11420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11421 removed.
11422
3d1024e8
AZ
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11424 <tcb-offsets.h>.
11425 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11426 (__libc_vfork): New strong alias.
11427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11428 removed.
11429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11430 Removed.
11431
11432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11433 <tcb-offsets.h>.
11434 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11435 (__libc_vfork): New strong alias.
11436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11437 removed.
11438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11439 removed.
11440
fdfd175d
CD
114412014-05-26 Carlos O'Donell <carlos@redhat.com>
11442
11443 * malloc/malloc.c (mi_arena): New function.
11444 (malloc_info): Remove nested function mi_arena. Call non-nosted
11445 function mi_arena.
11446
d298c416
AZ
114472014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11448
11449 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11450 by insrwi.
11451 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11452 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11453 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11454 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11455 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11456 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11457 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11458
b60ea6ff
AS
114592014-05-26 Andreas Schwab <schwab@suse.de>
11460
11461 [BZ #16984]
11462 * locale/programs/repertoire.c (repertoire_read): Add slash
11463 between I18NPATH element and file name.
11464 * locale/programs/locfile.c (locfile_read): Likewise.
11465
67365926
SL
114662014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11467
11468 * nptl/pthread_mutexattr_settype.c
11469 (__pthread_mutexattr_settype):
11470 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11471
f8bdf1f0
SL
114722014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11473
11474 * nptl/tst-mutex5 (do_test):
11475 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11476
15eaf6ff
SP
114772014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11478
11479 * benchtests/README: Document 'init' directive.
11480 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11481 BENCH_INIT.
11482 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11483 (parse_file): Recognize 'init' directive.
11484
75f11331
KM
114852014-05-26 Kyle McMartin <kyle@redhat.com>
11486
11487 [BZ #16796]
11488 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11489 alignment of struct pthread.
11490
c3ec475c
SP
114912014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11492
11493 [BZ #16878]
11494 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11495 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11496 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11497 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11498
82aab97c
RH
114992014-05-25 Richard Henderson <rth@twiddle.net>
11500
aa2f176d
RH
11501 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11502 (SINGLE_THREAD_P_PIC): Remove.
11503 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11504 (SINGLE_THREAD_P_PIC): Remove.
11505
ca3cfa40
RH
11506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11507 branch to syscall error ...
11508 (PSEUDO): ... here.
11509 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11510 from __local_syscall_error to .Lsyscall_error.
11511 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11512 (SYSCALL_ERROR): Update label name.
11513
6e6c2d01
RH
11514 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11515 Do not use DOARGS/UNDOARGS.
11516 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11517 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11518 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11519 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11520 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11521
c69abcee
RH
11522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11523 block comment.
11524
82aab97c
RH
11525 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11526 define if !NOT_IN_libc.
11527 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11528 define with non-default symbol versions.
11529
8820e3ac
RH
115302014-05-23 Richard Henderson <rth@twiddle.net>
11531
900e445f
RH
11532 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11533 (vfork, __vfork): Define via compat_symbol.
11534
8820e3ac
RH
11535 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11536 [!HAVE_IFUNC] (vfork_compat): Remove.
11537 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11538
e59252a5
JM
115392014-05-23 Joseph Myers <joseph@codesourcery.com>
11540
11541 [BZ #16978]
11542 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11543 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11544 variable.
11545
132c7f5f
RH
115462014-05-23 Richard Henderson <rth@twiddle.net>
11547
bc89e962
RH
11548 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11549 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11550 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11551 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11552
11553 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11554 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11555 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11556 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11557 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11558 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11559 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11560 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11561 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11562 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11563 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11564 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11565 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11566 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11567 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11568 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11569 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11570 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11571 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11572 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11573 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11574 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11575 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11576 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11577 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11578 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11579 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11580 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11581 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11582 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11583 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11584 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11585 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11586 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11587 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11588 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11589 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11590 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11591 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11592 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11593 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11594 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11595 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11596 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11597 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11598 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11599 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11600 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11602 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11604 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11605 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11606 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11607 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11608 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11609
e2fa4bc2
RH
11610 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11611 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11612 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11613 before exiting on error.
11614 (__libc_vfork): New strong alias.
11615 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11616 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11617
279b24e2
RH
11618 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11619 that was previously under [RESET_PID].
11620 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11621
132c7f5f
RH
11622 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11623
b72592e7
JM
116242014-05-23 Joseph Myers <joseph@codesourcery.com>
11625
11626 [BZ #16977]
11627 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11628 value when x - 1 is zero.
11629 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11630 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11631 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11632 0.0L for an argument of 1.0L.
11633 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11634 Likewise.
11635 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11636 value when x - 1 is zero.
11637 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11638 * sysdeps/i386/fpu/libm-test-ulps: Update.
11639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11640
2302d679
RV
116412014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11642
11643 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11644 alphasort and versionsort.
11645
32999d63
AZ
116462014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11647
11648 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11649 macro.
11650 [copysignf]: Likewise.
11651
019324d0
SP
116522014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11653
11654 * crypt/md5-crypt.c: Fix formatting.
11655
34fff5c2
KS
116562014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11657
11658 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11659 (b64_from_24bit): New function.
11660
3d2badac
AZ
116612014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11662
11663 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11664 libc_hidden_builtin_def to ifunc.
11665 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11666 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11667
f7bb179f 116682014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11669
11670 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11671 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11672
4134b50d
JM
116732014-05-21 Joseph Myers <joseph@codesourcery.com>
11674
bb7d0337
JM
11675 * nscd/Depend (linuxthreads): Remove.
11676 (nptl): Add.
11677 * resolv/Depend (linuxthreads): Remove.
11678 * rt/Depend (linuxthreads): Remove.
11679
4134b50d
JM
11680 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11681 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11682 $(common-objpfx)elf/.
11683 (link-libc-before-gnulib): Likewise.
11684 (elfobjdir): Remove variable.
11685 * Makefile (install): Use $(elf-objpfx) instead of
11686 $(common-objpfx)elf/.
11687 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11688 $(elfobjdir)/.
11689 (link-libc-deps): Likewise.
11690 ($(common-objpfx)libc.so): Likewise.
11691 ($(common-objpfx)linkobj/libc.so): Likewise.
11692 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11693 instead of $(common-objpfx)elf/.
11694 (symbolic-link-list): Likewise.
11695 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11696 [$(cross-compiling) = no]: Likewise.
11697 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11698 $(elfobjdir)/.
11699 (static-gnulib-arch): Likewise.
11700 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11701 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11702 $(common-objpfx)elf/.
11703
3612eb8f
RH
117042014-05-21 Richard Henderson <rth@redhat.com>
11705
a6b3657b
RH
11706 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11707 (SINGLE_THREAD_P): Use the correct width load. Fold
11708 into the ldr offset.
11709
3612eb8f
RH
11710 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11711 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11712
175cef41
JM
117132014-05-20 Joseph Myers <joseph@codesourcery.com>
11714
11715 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11716 (libgcc_s_resume): Use __attribute_used__.
11717 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11718 Likewise.
11719
e13bccd3
AZ
117202014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11721
11722 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11723 optimization when used with float constants.
11724
7c112a38
AZ
11725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11726
ae75a883
AJ
117272014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11728
11729 [BZ #16915]
11730 * locale/nl_langinfo_l.c: Make direct reference to every
11731 _nl_current_CATEGORY symbol.
11732 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11733 (tests-static): Add tst-langinfo-static.
11734 (tests-special): Add tst-langinfo-static.out.
11735 ($(objpfx)tst-langinfo.out): Redirect output.
11736 ($(objpfx)tst-langinfo-static.out): New.
11737 * localedata/tst-langinfo.sh: Send output to stdout.
11738 * localedata/tst-langinfo-static.c: New file.
11739
4406c41c
AJ
11740 [BZ #16965]
11741 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11742 when the shift amount is modulo the limb size.
11743
4c0a1e63
RH
117442014-05-20 Richard Henderson <rth@redhat.com>
11745
de9d8f20
RH
11746 [BZ #16967]
11747 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11748 Change type of sa_flags from unsigned int to int.
11749
4c0a1e63
RH
11750 [BZ #16966]
11751 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11752
11753 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11754
a60339aa
WN
117552014-05-20 Will Newton <will.newton@linaro.org>
11756
11757 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11758 Test the return value of the system call in the nocancel case.
11759
7d05a816
YR
117602014-05-20 Will Newton <will.newton@linaro.org>
11761 Yvan Roux <yvan.roux@linaro.org>
11762
11763 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11764 #include of asm/ptrace.h.
11765 (PTRACE_GET_THREAD_AREA): Remove #undef.
11766 (PTRACE_GETHBPREGS): Likewise.
11767 (PTRACE_SETHBPREGS): Likewise.
11768 (struct user_regs_struct): New structure.
11769 (struct user_fpsimd_struct): New structure.
11770 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11771 #include of asm/ptrace.h and second #include of sys/user.h.
11772 (PTRACE_GET_THREAD_AREA): Remove #undef.
11773 (PTRACE_GETHBPREGS): Likewise.
11774 (PTRACE_SETHBPREGS): Likewise.
11775 (ELF_NGREG): Use new struct user_regs_struct.
11776 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11777
af121e37
AZ
117782014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11779
11780 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11782
834caf06
JM
117832014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11784
11785 [BZ #16958]
11786 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11787 membar to avoid block loads/stores to overlap previous stores.
11788
e184a918
RH
117892014-05-17 Richard Henderson <rth@redhat.com>
11790
11791 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11792 Create the __##syscall_name##_nocancel entry point.
11793 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11794 Remove; let the sysdep-cancel.h code create it.
11795
f56c7a6a
DM
117962014-05-17 David S. Miller <davem@davemloft.net>
11797
11798 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11799 Protect with __USE_GNU.
11800 (TIOCSET_TEMPT): Likewise.
11801 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11802 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11803 these are already provided in bits/ioctl-types.h
11804
f75616b2
RM
118052014-05-16 Roland McGrath <roland@hack.frob.com>
11806
3edeca86
RM
11807 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11808 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11809
f75616b2
RM
11810 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11811 Use wait4 regardless of [__NR_waitpid].
11812
deb0f7f6
MR
118132014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11814
11815 PR libgcc/60166
11816 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11817 (_FP_NANSIGN_Q): Set the quiet bit.
11818
79520f4b
JM
118192014-05-16 Joseph Myers <joseph@codesourcery.com>
11820
11821 * benchtests/Makefile
11822 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11823 not $(common-objpfx)math/libm.so.
11824 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11825 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11826 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11827 $(common-objpfx)dlfcn/libdl.so.
11828 ($(objpfx)tst-audit8): Depend on $(libm), not
11829 $(common-objpfx)math/libm.so.
11830 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11831 not $(common-objpfx)dlfcn/libdl.so.
11832 * math/Makefile
11833 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11834 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11835 [$(build-shared) = yes].
11836 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11837 $(common-objpfx)nptl/libpthread.so.
11838 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11839 $(common-objpfx)math/libm.so$(libm.so-version) or
11840 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11841 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11842 $(common-objpfx)dlfcn/libdl.so.
11843 * setjmp/Makefile (link-libm): Remove variable.
11844 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11845 * stdio-common/Makefile (link-libm): Remove variable.
11846 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11847 * stdlib/Makefile (link-libm): Remove variable.
11848 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11849 ($(objpfx)tst-strtod-round): Likewise.
11850 ($(objpfx)tst-tininess): Likewise.
11851 ($(objpfx)tst-strtod-underflow): Likewise.
11852 ($(objpfx)tst-strtod6): Likewise.
11853 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11854 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11855 $(common-objpfx)dlfcn/libdl.so.
11856
026b0fe4
AZ
118572014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11858
11859 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11860 BSD terminal modes definitions.
11861
def4bcb2
RM
118622014-05-16 Roland McGrath <roland@hack.frob.com>
11863
fe39b021
RM
11864 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11865 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11866
1d1fc46e 11867 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11868 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11869 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11870 Don't do #include_next.
11871 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11872 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11873 Don't do #include_next.
11874 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11875 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11876 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11877 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11878
c72399fb
AM
118792014-05-16 Allan McRae <allan@archlinux.org>
11880
d51d659d
AM
11881 * po/sv.po: Update Swedish translation from translation project.
11882
c72399fb
AM
11883 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11884 in sed expression.
11885
d0583c40
AJ
118862014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11887
11888 [BZ #16917]
11889 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11890 errno if the TIOCGPTN ioctl fails with an error different than
11891 EINVAL.
11892 * login/tst-ptsname.c: New file.
11893 * login/Makefile (tests): Add tst-ptsname.
11894
d16e6ec7
AJ
11895 [BZ #16943]
11896 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11897 and prlimit64.
11898
cf26a0cb
SP
118992014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11900
11901 [BZ #16849]
11902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11903 herrno to return EAI_AGAIN.
11904
5675da1e
RM
119052014-05-14 Roland McGrath <roland@hack.frob.com>
11906
a5d87b3d
RM
11907 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11908 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11909 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11910 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11912 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11913 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11914 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11915 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11916 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11917 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11918 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11919 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11920 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11921 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11922 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11923 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11924 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11925 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11926 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11927 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11928 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11929 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11930 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11931 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11932 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11933 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11934 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11935 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11936 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11938 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11940 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11942 Moved ...
11943 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11945 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11947 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11949 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11951 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11953 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11955 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11957 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11959 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11961 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11963 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11965 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11967 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11969 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11971 Moved ...
11972 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11974 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11976 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11978 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11980 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11982 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11984 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11986 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11988 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11990 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11992 Moved ...
11993 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11995 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11996
039890a6
RM
11997 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11998 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11999 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12000 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12001 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12002 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12003 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12004 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12005 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12006 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12007 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12008 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12009 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12010 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12011 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12012 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12013 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12014 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12015 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12016 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12017 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12018 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12019 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12020 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12021 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12022 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12023 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12024 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12025 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12026 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12027 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12028
65c89320
RM
12029 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12030 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12031
348f8e8c
RM
12032 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12033 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12034 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12035 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12036 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12037 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12038 Moved ...
12039 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12040 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12041 Moved ...
12042 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12043 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12044 Moved ...
12045 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12046 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12047 Moved ...
12048 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12049 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12050 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12051 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12052 Moved ...
12053 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12054 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12055 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12056 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12057 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12058 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12059 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12060 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12061 Moved ...
12062 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12063 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12064 Moved ...
12065 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12066 ... here.
12067 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12068 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12069 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12070 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12071 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12072 Moved ...
12073 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12074 ... here.
12075 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12076 Moved ...
12077 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12078 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12079 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12080 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12081 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12082 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12083 Moved ...
12084 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12085 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12086 Moved ...
12087 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12088 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12089 Moved ...
12090 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12091 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12092 Moved ...
12093 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12094 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12095 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12096 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12097 Moved ...
12098 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12099 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12100 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12101 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12102 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12103 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12104 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12105 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12106 Moved ...
12107 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12108 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12109 Moved ...
12110 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12111 ... here.
12112 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12113 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12114 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12115 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12116 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12117 Moved ...
12118 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12119 ... here.
12120 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12121 Moved ...
12122 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12123 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12124 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12125 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12126 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12127 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12128 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12129 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12130 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12131 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12132 Moved ...
12133 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12134 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12135 Moved ...
12136 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12137 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12138 Moved ...
12139 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12140 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12141 Moved ...
12142 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12143 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12144 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12145 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12146 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12147 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12148 Moved ...
12149 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12150 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12151 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12152 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12153 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12154 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12155 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12157 Moved ...
12158 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12159 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12160 Moved ...
12161 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12162 ... here.
12163 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12164 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12165 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12166 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12167 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12168 Moved ...
12169 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12170 ... here.
12171 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12172 Moved ...
12173 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12174 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12175 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12176 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12177 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12178 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12179 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12180 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12181 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12182 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12183 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12184
5085af05
RM
12185 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12186 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12187
708f0813
RM
12188 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12189 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12190
c96067bc
RM
12191 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12192 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12193 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12194 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12195 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12196 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12197 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12198 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12199 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12200 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12201 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12202 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12203 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12204 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12205 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12206 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12207 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12208 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12209 Moved ...
12210 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12211 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12212 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12213 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12214 Moved ...
12215 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12216 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12217 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12218 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12219 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12221 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12223 Moved ...
12224 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12225 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12226 Moved ...
12227 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12228 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12229 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12230 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12231 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12232 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12233 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12234 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12235 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12236 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12237 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12238 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12239 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12240 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12241 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12242 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12243 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12244
ec136444
RM
12245 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12246 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12247 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12248 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12249 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12250
2fbdf533
RM
12251 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12252 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12253 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12254 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12255 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12256 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12257 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12258 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12259 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12260 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12261
4c68138b
RM
12262 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12263 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12264
4eaae765
RM
12265 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12266 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12267 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12268 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12269 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12270 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12271 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12272 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12273 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12274 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12275 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12276 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12277 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12278 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12279 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12280 Update #include.
12281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12282 Likewise.
12283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12284 Likewise.
12285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12286 Likewise.
12287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12288 Likewise.
12289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12290 Likewise.
12291 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12292 Likewise.
12293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12294 Likewise.
12295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12296 Likewise.
12297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12298 Likewise.
4ef6befa
RM
12299 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12300 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12301 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12302 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12303 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12304 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12305 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12306 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12307 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12308 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12309 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12310 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12311 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12312 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12313 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12314
941d7dfd
RM
12315 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12316 that was previously under [RESET_PID].
12317 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12318 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12319 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12320
1b731c35
RM
12321 * sysdeps/i386/nptl/Implies: New file.
12322 * sysdeps/x86_64/nptl/Implies: New file.
12323 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12324 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12326 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12327
e2787137
RM
12328 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12329 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12330 (__libc_vfork): New strong alias.
12331 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12332 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12333
12334 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12335 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12336 (__libc_vfork): New strong alias.
12337 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12338 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12339
5675da1e
RM
12340 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12341 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12342 (__libc_vfork): New strong alias.
12343 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12344 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12345 * nptl/pt-vfork.c: New file.
12346 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12347 (libpthread: GLIBC_2.20): New version set (empty).
12348
4f02e2b8
WN
123492014-05-14 Will Newton <will.newton@linaro.org>
12350
12351 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12352 rather than #if.
12353
0bf061d3
JM
123542014-05-14 Joseph Myers <joseph@codesourcery.com>
12355
1a84c3d6
JM
12356 [BZ #16564]
12357 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12358 arguments with exponent 65 or above.
12359 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12360 arguments 0x1p113L or above.
12361 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12362 to arguments 0x1p107L or above.
12363 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12364 positive arguments with exponent 65 or above.
12365 * math/auto-libm-test-in: Add more tests of log1p.
12366 * math/auto-libm-test-out: Regenerated.
12367
01dbacd2
JM
12368 [BZ #16928]
12369 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12370 non-finite arguments is +0.
12371 * math/s_cacosf.c (__cacosf): Likewise.
12372 * math/s_cacosl.c (__cacosl): Likewise.
12373 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12374 * sysdeps/i386/fpu/libm-test-ulps: Update.
12375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12376
913d03c8
JM
12377 [BZ #16927]
12378 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12379 value.
12380 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12381 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12382 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12383 for explicit high bit of mantissa when testing for argument equal
12384 to 1.
12385 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12386 * sysdeps/i386/fpu/libm-test-ulps: Update.
12387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12388
0bf061d3
JM
12389 [BZ #16516]
12390 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12391 (__erf): Scale by 16 instead of 8 in potentially underflowing
12392 case. Ensure exception if result actually underflows.
12393 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12394 (__erff): Scale by 16 instead of 8 in potentially underflowing
12395 case. Ensure exception if result actually underflows.
12396 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12397 (efx8): Remove variable.
12398 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12399 case. Ensure exception if result actually underflows.
12400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12401 (efx8): Remove variable.
12402 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12403 case. Ensure exception if result actually underflows.
12404 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12405 (efx8): Remove variable.
12406 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12407 case. Ensure exception if result actually underflows.
12408 * math/auto-libm-test-in: Add more tests of erf.
12409 * math/auto-libm-test-out: Regenerated.
12410
73ba67cb
AS
124112014-05-14 Andreas Schwab <schwab@suse.de>
12412
3d8c8bff
AS
12413 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12414 Remove code conditionalized on USE___THREAD.
12415
73ba67cb
AS
12416 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12417 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12418 not definedness.
12419
5c521ecd
JM
124202014-05-14 Joseph Myers <joseph@codesourcery.com>
12421
5e7698c6
JM
12422 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12423 Define unconditionally.
12424 (__ASSUME_O_CLOEXEC): Likewise.
12425 (__ASSUME_SOCK_CLOEXEC): Likewise.
12426 (__ASSUME_IN_NONBLOCK): Likewise.
12427 (__ASSUME_PIPE2): Likewise.
12428 (__ASSUME_EVENTFD2): Likewise.
12429 (__ASSUME_SIGNALFD4): Likewise.
12430 (__ASSUME_DUP3): Likewise.
12431 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12432 (__ASSUME_DUP3): Do not define.
12433 (__ASSUME_EVENTFD2): Likewise.
12434 (__ASSUME_IN_NONBLOCK): Likewise.
12435 (__ASSUME_O_CLOEXEC): Likewise.
12436 (__ASSUME_PIPE2): Likewise.
12437 (__ASSUME_SIGNALFD4): Likewise.
12438 (__ASSUME_SOCK_CLOEXEC): Likewise.
12439 (__ASSUME_UTIMES): Undefine.
12440 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12441 (__ASSUME_UTIMES): Do not define.
12442 (__ASSUME_O_CLOEXEC): Likewise.
12443 (__ASSUME_SOCK_CLOEXEC): Likewise.
12444 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12445 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12446 0x020621].
12447 (__ASSUME_PIPE2): Likewise.
12448 (__ASSUME_EVENTFD2): Likewise.
12449 (__ASSUME_SIGNALFD4): Likewise.
12450 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12451 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12452 Do not define.
12453 (__ASSUME_EVENTFD2): Likewise.
12454 (__ASSUME_SIGNALFD4): Likewise.
12455 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12456 (__ASSUME_32BITUIDS): Likewise.
12457 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12458 (__ASSUME_IPC64): Likewise.
12459 (__ASSUME_ST_INO_64_BIT): Likewise.
12460 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12461 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12462 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12463 (__ASSUME_UTIMES): Do not define.
12464 (__ASSUME_PSELECT): Likewise.
12465 (__ASSUME_PPOLL): Likewise.
12466 (__ASSUME_O_CLOEXEC): Likewise.
12467 (__ASSUME_SOCK_CLOEXEC): Likewise.
12468 (__ASSUME_IN_NONBLOCK): Likewise.
12469 (__ASSUME_PIPE2): Likewise.
12470 (__ASSUME_EVENTFD2): Likewise.
12471 (__ASSUME_SIGNALFD4): Likewise.
12472 (__ASSUME_DUP3): Likewise.
12473 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12474 (__ASSUME_UTIMES): Likewise.
12475 (__ASSUME_O_CLOEXEC): Likewise.
12476 (__ASSUME_SOCK_CLOEXEC): Likewise.
12477 (__ASSUME_IN_NONBLOCK): Likewise.
12478 (__ASSUME_PIPE2): Likewise.
12479 (__ASSUME_EVENTFD2): Likewise.
12480 (__ASSUME_SIGNALFD4): Likewise.
12481 (__ASSUME_DUP3): Likewise.
12482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12483 (__ASSUME_UTIMES): Likewise.
12484 (__ASSUME_O_CLOEXEC): Likewise.
12485 (__ASSUME_SOCK_CLOEXEC): Likewise.
12486 (__ASSUME_IN_NONBLOCK): Likewise.
12487 (__ASSUME_PIPE2): Likewise.
12488 (__ASSUME_EVENTFD2): Likewise.
12489 (__ASSUME_SIGNALFD4): Likewise.
12490 (__ASSUME_DUP3): Likewise.
12491 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12492 Likewise.
12493 (__ASSUME_UTIMES): Likewise.
12494 (__ASSUME_EVENTFD2): Likewise.
12495 (__ASSUME_SIGNALFD4): Likewise.
12496 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12497 (__ASSUME_O_CLOEXEC): Likewise.
12498 (__ASSUME_SOCK_CLOEXEC): Likewise.
12499 (__ASSUME_IN_NONBLOCK): Likewise.
12500 (__ASSUME_PIPE2): Likewise.
12501 (__ASSUME_EVENTFD2): Likewise.
12502 (__ASSUME_SIGNALFD4): Likewise.
12503 (__ASSUME_DUP3): Likewise.
12504 (__ASSUME_UTIMES): Undefine.
12505
5c521ecd
JM
12506 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12507 feclearexcept. Remove symbol versioning code.
12508 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12509 symbol versioning code.
12510 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12511 symbol versioning code.
12512 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12513 feupdateenv. Remove symbol versioning code.
12514 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12515 fegetexceptflag. Remove symbol versioning code.
12516 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12517 fesetexceptflag. Remove symbol versioning code.
12518 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12519 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12520 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12521 (__posix_fadvise64_l32): Remove prototype.
12522 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12523 code.
12524
5da9dfad
RM
125252014-05-13 Roland McGrath <roland@hack.frob.com>
12526
12527 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12528 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12529 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12530 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12531
893b4f37
SK
125322014-05-13 Sami Kerola <kerolasa@iki.fi>
12533
12534 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12535 current working directory
12536
e0db6517
RM
125372014-05-13 Roland McGrath <roland@hack.frob.com>
12538
58aa195d
RM
12539 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12540 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12541 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12542 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12543 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12544 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12545 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12546 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12547 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12548 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12549 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12550 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12551 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12552 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12553 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12554 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12555 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12556 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12557 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12558 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12559 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12560 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12561 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12562 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12563 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12564 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12565 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12566 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12567 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12568 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12569 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12570 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12571 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12572 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12573 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12574 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12575 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12576 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12577 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12578 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12579 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12580 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12581
8c6d01f0
RM
12582 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12583 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12584
12585 * sysdeps/unix/sysv/linux/arm/Makefile
12586 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12587 Add rt-aeabi_unwind_cpp_pr1.
12588 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12589 Add nptl-aeabi_unwind_cpp_pr1.
12590 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12591 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12592 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12593 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12594 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12595 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12596
12597 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12598 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12599 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12600 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12601
bba6da4e
RM
12602 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12603 Deconditionalize the code that was previously under [RESET_PID].
12604 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12605
e0db6517
RM
12606 * sysdeps/generic/exit-thread.h: New file.
12607 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12608 * include/unistd.h (__exit_thread): Remove declaration.
12609 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12610 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12611 * csu/libc-start.c: Include <exit-thread.h>.
12612 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12613 * nptl/pthread_create.c: Include <exit-thread.h>.
12614 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12615 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12616 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12617 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12618 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12619 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12620 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12621 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12622 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12623 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12624 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12625 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12626 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12627 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12628 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12629 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12630 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12631
01eb16fd
AS
126322014-05-13 Andreas Schwab <schwab@suse.de>
12633
12634 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12635
637461d9
JM
126362014-05-12 Joseph Myers <joseph@codesourcery.com>
12637
12638 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12639 (__ASSUME_UTIMES): Do not condition on kernel version.
12640 (__ASSUME_PSELECT): Define unconditionally.
12641 (__ASSUME_PPOLL): Likewise.
12642 (__ASSUME_ATFCTS): Likewise.
12643 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12644 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12645 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12646 (__ASSUME_UTIMENSAT): Define unconditionally.
12647 (__ASSUME_PRIVATE_FUTEX): Likewise.
12648 (__ASSUME_FALLOCATE): Likewise.
12649 (__ASSUME_O_CLOEXEC): Likewise.
12650 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12651 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12652 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12653 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12654 (__ASSUME_IN_NONBLOCK): Likewise.
12655 (__ASSUME_PIPE2): Likewise.
12656 (__ASSUME_EVENTFD2): Likewise.
12657 (__ASSUME_SIGNALFD4): Likewise.
12658 (__ASSUME_DUP3): Likewise.
12659 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12660 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12661 (__ASSUME_AT_RANDOM): Likewise.
12662 (__ASSUME_PREADV): Likewise.
12663 (__ASSUME_PWRITEV): Likewise.
12664 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12665 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12666 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12667 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12668 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12669 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12670 (__ASSUME_O_CLOEXEC): Define unconditionally.
12671 (__ASSUME_PSELECT): Do not undefine conditionally.
12672 (__ASSUME_PPOLL): Likewise.
12673 (__ASSUME_ATFCTS): Likewise.
12674 (__ASSUME_SET_ROBUST_LIST): Likewise.
12675 (__ASSUME_UTIMENSAT): Likewise.
12676 (__ASSUME_FDATASYNC): Define unconditionally.
12677 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12678 (__ASSUME_SIGFRAME_V2): Likewise.
12679 )__ASSUME_EVENTFD2): Likewise.
12680 (__ASSUME_SIGNALFD4): Likewise.
12681 (__ASSUME_PSELECT): Do not undefine conditionally.
12682 (__ASSUME_PPOLL): Likewise.
12683 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12684 (__ASSUME_PSELECT): Define unconditionally.
12685 (__ASSUME_PPOLL): Likewise.
12686 (__ASSUME_O_CLOEXEC): Likewise.
12687 (__ASSUME_SOCK_CLOEXEC): Likewise.
12688 (__ASSUME_IN_NONBLOCK): Likewise.
12689 (__ASSUME_PIPE2): Likewise.
12690 (__ASSUME_EVENTFD2): Likewise.
12691 (__ASSUME_SIGNALFD4): Likewise.
12692 (__ASSUME_DUP3): Likewise.
12693 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
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/mips/kernel-features.h
12702 (__ASSUME_EVENTFD2): Likewise.
12703 (__ASSUME_SIGNALFD4): Likewise.
12704 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12705
315eb1d8
AS
127062014-05-12 Andreas Schwab <schwab@suse.de>
12707
12708 [BZ #16932]
12709 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12710 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12711 than maximum RPC packet size.
12712 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12713 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12714 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12715 (_nss_nis_getservbyport_r): Likewise.
12716
91df99f7
WN
127172014-05-12 Will Newton <will.newton@linaro.org>
12718
12719 * malloc/Makefile (tests): Add tst-mallopt.
12720 * malloc/tst-mallopt.c: New file.
12721
0a982a29
RM
127222014-05-09 Roland McGrath <roland@hack.frob.com>
12723
12724 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12725 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12726
0ded08a5
AZ
127272014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12728
12729 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12730 (tst-tlsmod6.so): Likewise.
12731
55d4d550
RM
127322014-05-09 Roland McGrath <roland@hack.frob.com>
12733
12734 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12735
77d08aca
JM
127362014-05-09 Joseph Myers <joseph@codesourcery.com>
12737
12738 [BZ #16064]
12739 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12740 and <dl-procinfo.h>.
12741 (__fegetenv): Save SSE state in envp->__eip if supported.
12742 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12743 envp->__eip if supported.
12744 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12745 and <dl-procinfo.h>.
12746 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12747 __data_offset and __data_selector in environment to 0. Set SSE
12748 state if supported.
12749 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12750 test-fenv-sse.
12751 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12752 -mfpmath=sse.
12753 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12754
28162f4d
WN
127552014-05-09 Will Newton <will.newton@linaro.org>
12756
12757 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12758 and libc_relro_required for ARM.
12759 * sysdeps/arm/preconfigure: Regenerate.
12760
5a414ff7
DV
127612014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12762 Stefan Liebler <stli@linux.vnet.ibm.com>
12763
12764 * config.make.in (enable-lock-elision): New Makefile variable.
12765 * configure.ac: Likewise.
12766 * configure: Regenerate.
12767 * sysdeps/s390/configure.ac:
12768 Add check for gcc transactions support.
12769 * sysdeps/s390/configure: Regenerate.
12770 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12771 Build elision files if enabled.
12772 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12773 Add lock elision support for s390.
12774 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12775 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12776 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12777 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12778 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12779 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12780 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12781 Likewise.
12782 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12783 Likewise.
12784 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12785 Likewise.
12786 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12787 Likewise.
12788 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12789 (__lll_timedlock_elision, __lll_lock_elision)
12790 (__lll_unlock_elision, __lll_trylock_elision)
12791 (lll_timedlock_elision, lll_lock_elision)
12792 (lll_unlock_elision, lll_trylock_elision): Add.
12793 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12794 (pthread_mutex_t): Add lock elision support for s390.
12795
1a2f40e5
W
127962014-05-14 Wilco <wdijkstr@arm.com>
12797
12798 * sysdeps/arm/fclrexcpt.c: Cleanup.
12799 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12800 * sysdeps/arm/feenablxcpt.c: Cleanup.
12801 * sysdeps/arm/fegetenv.c: Cleanup.
12802 * sysdeps/arm/fegetexcept.c: Cleanup.
12803 * sysdeps/arm/fegetround.c: Cleanup.
12804 * sysdeps/arm/feholdexcpt.c: Cleanup.
12805 * sysdeps/arm/fesetenv.c: Cleanup.
12806 * sysdeps/arm/fesetround.c: Cleanup.
12807 * sysdeps/arm/feupdateenv.c: Cleanup.
12808 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12809 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12810 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12811 * sysdeps/arm/ftestexcept.c: Cleanup.
12812 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12813 * sysdeps/arm/setfpucw.c: Cleanup.
12814
f63c86fe
WN
128152014-05-09 Will Newton <will.newton@linaro.org>
12816
12817 * sysdeps/arm/armv7/strcmp.S: New file.
12818 * NEWS: Mention addition of ARMv7 optimized strcmp.
12819
7a1a51b5
RM
128202014-05-08 Roland McGrath <roland@hack.frob.com>
12821
95afbbe5
RM
12822 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12823 look for %.ac rather than %.in.
12824
12825 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12826 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12827 * sysdeps/mach/hurd/configure: Regenerated.
12828 * sysdeps/unix/sysv/linux/configure: Regenerated.
12829
7a1a51b5
RM
12830 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12831
5057ad3b
SE
128322014-05-07 Steve Ellcey <sellcey@mips.com>
12833
12834 [BZ# 16922]
12835 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12836 (LONG_SUB): Ditto.
12837 (PTR_SUB): Ditto.
12838
8dc97517
AS
128392014-05-07 Andreas Schwab <schwab@suse.de>
12840
12841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12842 when skipping over non-matching result from nscd.
12843
ce0c5b8f
OB
128442014-05-07 Ondřej Bílka <neleai@seznam.cz>
12845
12846 [BZ #16876]
12847 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12848
a1189263
OB
12849 [BZ #16877]
12850 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12851 nscd security class.
ce0c5b8f 12852
0f58d252
RM
128532014-05-06 Roland McGrath <roland@hack.frob.com>
12854
12855 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12856 * sysdeps/arm/unwind.h: ... here.
12857
83df9ad0
AJ
128582014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12859
ce0c5b8f
OB
12860 [BZ# 16916]
12861 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12862 Define.
83df9ad0 12863
f360f94a
VR
128642014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12865
12866 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12867 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12868 multiarch strncpy for PPC64.
12869 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12870 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12872 multiarch optimizations.
12873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12874 (__libc_ifunc_impl_list): Likewise.
12875 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12876 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12877 multiarch stpncpy for PPC64.
12878 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12879 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12880
978a41c3
AS
128812014-05-06 Andreas Schwab <schwab@suse.de>
12882
12883 [BZ #16912]
12884 * gmon/mcount.c (_MCOUNT_DECL): Use
12885 atomic_compare_and_exchange_bool_acq instead of
12886 catomic_compare_and_exchange_bool_acq.
12887
eb1ed03d
RM
128882014-05-05 Roland McGrath <roland@hack.frob.com>
12889
fe658845
RM
12890 * elf/Makefile (others, install-bin): Remove pldd.
12891 (pldd-modules): Variable removed.
12892 ($(objpfx)pldd): Target removed.
12893 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12894 (others, install-bin): Append pldd here.
12895 ($(objpfx)pldd): New target.
12896
eb1ed03d
RM
12897 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12898 to 0, so the first #if test emitted later doesn't see it undefined.
12899 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12900 * sysdeps/gnu/errlist.c: Regenerated.
12901
19c4bec0
AZ
129022014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12903
12904 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12905 [libc_hidden_builtin_def]: Define to empty value.
12906 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12907 [libc_hidden_builtin_def]: Likewise.
12908 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12909 [libc_hidden_builtin_def]: Likewise.
12910 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12911 [libc_hidden_builtin_def]: Likewise.
12912 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12913 __redirect_memcpy and define ifunc as default hidden symbol.
12914 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12915 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12916
7776e669
AC
129172014-05-04 Adam Conrad <adconrad@0c3.net>
12918
12919 * locale/iso-4217.def: Reintroduce XDR currency.
12920
d69aeb12
AM
129212014-05-04 Allan McRae <allan@archlinux.org>
12922
12923 * po/eo.po: Update Esperanto translation from translation project.
12924
8f1df5cf
CD
129252014-05-02 Carlos O'Donell <carlos@redhat.com>
12926
12927 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12928 and FEATURE_INDEX_MAX to 1.
12929 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12930
13e402e7
SE
129312014-05-01 Steve Ellcey <sellcey@mips.com>
12932
12933 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12934 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12935 * iconvdata/big5.c (ONE_DIRECTION): Define.
12936 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12937 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12938 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12939 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12940 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12941 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12942 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12943 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12944 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12945 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12946 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12947 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12948 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12949 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12950 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12951 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12952 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12953 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12954 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12955 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12956 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12957 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12958 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12959 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12960 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12961 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12962 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12963 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12964 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12965 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12966 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12967 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12968 * iconvdata/johab.c (ONE_DIRECTION): Define.
12969 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12970 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12971 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12972 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12973 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12974 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12975 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12976 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12977 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12978 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12979
c727f032
RM
129802014-05-01 Roland McGrath <roland@hack.frob.com>
12981
8f2f08d0
RM
12982 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12983 (_IO_JUMPS_OFFSET): Define to 0.
12984
c727f032
RM
12985 * nptl/sysdeps/pthread/bits/libc-lock.h
12986 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12987 (__libc_lock_define_initialized_recursive): Always define using
12988 initializer. Modern compilers treat uninitialized (implicit zero) and
12989 explicit zero initializers the same (i.e. put the datum in bss).
12990
a849e800
AS
129912014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12992
12993 * nscd/nscd-client.h: Include <string.h>.
12994
5331255b
DM
129952014-05-01 David S. Miller <davem@davemloft.net>
12996
12997 [BZ #16885]
12998 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12999 multiple zero bytes exist at the end of a string.
13000 Reported by Aurelien Jarno <aurelien@aurel32.net>
13001
13002 * string/test-strcmp.c (check): Add explicit test for situations where
13003 there are multiple zero bytes after the first.
13004
4fdfe821
AS
130052014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13006
13007 [BZ #16890]
13008 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13009 when compiling wprintf.
13010 * stdio-common/tstdiomisc.c (t3): New function.
13011 (main): Call it.
13012
0cdddc25
SE
130132014-05-01 Steve Ellcey <sellcey@mips.com>
13014
13015 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13016 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13017 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13018 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13019
6426d77e
SE
130202014-05-01 Steve Ellcey <sellcey@mips.com>
13021
13022 * stdlib/longlong.h: Updated from GCC.
13023
6d96f5e4
WN
130242014-05-01 Will Newton <will.newton@linaro.org>
13025 Bernard Ogden <bernie.ogden@linaro.org>
13026
7470db0c
WN
13027 * NEWS: Update fixed bug list.
13028
6d96f5e4
WN
13029 [BZ #15119]
13030 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13031
211d653c
DM
130322014-04-30 David S. Miller <davem@davemloft.net>
13033
4fa262fa
DM
13034 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13035 (libc_feholdexcept_setround_sparc_ctx): New function.
13036 (libc_fesetenv_sparc_ctx): Likewise.
13037 (libc_feupdateenv_sparc_ctx): Likewise.
13038 (libc_feholdsetround_sparc_ctx): Likewise.
13039 (libc_feholdexcept_setround_ctx): Define.
13040 (libc_feholdexcept_setroundf_ctx): Likewise.
13041 (libc_feholdexcept_setroundl_ctx): Likewise.
13042 (libc_fesetenv_ctx): Likewise.
13043 (libc_fesetenvf_ctx): Likewise.
13044 (libc_fesetenvl_ctx): Likewise.
13045 (libc_feupdateenv_ctx): Likewise.
13046 (libc_feupdateenvf_ctx): Likewise.
13047 (libc_feupdateenvl_ctx): Likewise.
13048 (libc_feresetround_ctx): Likewise.
13049 (libc_feresetroundf_ctx): Likewise.
13050 (libc_feresetroundl_ctx): Likewise.
13051 (libc_feholdsetround_ctx): Likewise.
13052 (libc_feholdsetroundf_ctx): Likewise.
13053 (libc_feholdsetroundl_ctx): Likewise.
13054
1d3d93ef
DM
13055 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13056 with __USE_GNU instead of XOPEN cpp guards.
13057
8aa583c3
DM
13058 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13059 0.
13060
211d653c
DM
13061 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13062 with XOPEN cpp guards.
13063
60c8f1f6
JB
130642014-04-30 Julian Brown <julian@codesourcery.com>
13065
13066 [BZ #16888]
13067 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13068 handling.
13069
9a461d46
JM
130702014-04-30 Joseph Myers <joseph@codesourcery.com>
13071
d0f5b3f8
JM
13072 [BZ #9894]
13073 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13074 Change to 2.6.32.
13075 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13076 * sysdeps/unix/sysv/linux/configure: Regenerated.
13077 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13078 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13079 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13080 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13081 * README: Update reference to required Linux kernel version.
13082 * manual/install.texi (Linux): Update reference to required Linux
13083 kernel headers version.
13084 * INSTALL: Regenerated.
13085
9a461d46
JM
13086 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13087 header inclusion.
13088 [POSIX] (limits.h): Likewise.
13089 [POSIX] (math.h): Likewise.
13090 [POSIX] (sys/wait.h): Likewise.
13091 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13092 function.
13093 [POSIX] (stddef.h): Do not allow header inclusion.
13094
1775babf
AZ
130952014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13096
57f41c40 13097 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13098
8f630cca
YY
130992014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13100
13101 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13102 Return immediately after lll_futex_wake.
13103
1cdeb237
SP
131042014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13105
bc8f194c
SP
13106 [BZ #16791]
13107 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13108 structure.
13109 (datahead_init_pos): Call datahead_init_common early.
13110 (datahead_init_neg): Likewise.
13111
1cdeb237
SP
13112 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13113 datahead_init_neg): New functions.
13114 * nscd/aicache.c (addhstaiX): Use them.
13115 * nscd/grpcache.c (cache_addgr): Likewise.
13116 * nscd/hstcache.c (cache_addhst): Likewise.
13117 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13118 * nscd/netgroupcache.c (do_notfound): Likewise.
13119 (addgetnetgrentX): Likewise.
13120 (addinnetgrX): Likewise.
13121 * nscd/pwdcache.c (cache_addpw): Likewise.
13122 * nscd/servicescache.c (cache_addserv): Likewise.
13123
16b293a7
SP
131242014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13125 Atsushi Onoe <atsushi@onoe.org>
13126
13127 [BZ #14308]
13128 [BZ #12994]
13129 [BZ #13651]
13130 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13131 one response is valid.
13132 * resolv/res_send.c (send_dg): Check for validity of other
13133 response if the current response is a referral.
13134
a28a9b94
SE
131352014-04-29 Steve Ellcey <sellcey@mips.com>
13136
13137 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13138
2ca180e9
SL
131392014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13140
13141 [BZ #16823]
13142 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13143 Always divide by positive zero when computing -Inf result.
13144 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13145 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13146
18f2945a
AZ
131472014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13148
13149 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13150 FPSCR if value do not change.
13151 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13152 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13153 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13154 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13155 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13156 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13157 function.
13158
5abebba4
CD
131592014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13160
13161 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13162 * sysdeps/unix/sysv/linux/hppa: Move directory from
13163 ports/systeps/unix/sysv/linux/hppa.
13164 * README: Update listing for hppa-*-linux-gnu.
13165
f7ed60c2
OB
131662014-04-28 Ondřej Bílka <neleai@seznam.cz>
13167
fff763a5
OB
13168 [BZ #16754]
13169 * manual/stdio.texi (Hook functions): Fix types of stream hook
13170 functions.
f7ed60c2
OB
13171 [BZ #16854]
13172 * socket/sys/socket.h: Fix typo in comment.
13173
df639d73
WD
131742014-04-28 Wilco <wdijkstr@arm.com>
13175
f7ed60c2 13176 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13177 * sysdeps/arm/math_private.h: New file.
13178 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13179
48332d82
L
131802014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13181
13182 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13183 with __int128_t.
13184 (La_x86_64_retval): Likewise.
13185
e5e0d9a4
IB
131862014-04-24 Ian Bolton <ian.bolton@arm.com>
13187
13188 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13189 fpsr if value didn't change.
13190 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13191 to fpcr if value didn't change.
13192 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13193 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13194 fpsr or fpcr if value didn't change.
13195 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13196 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13197 fpcr if value didn't change.
13198 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13199 to fpsr if value didn't change.
13200
bacc75f7
SP
132012014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13202
13203 * nptl/tst-sem3.c: Use test-skeleton.c
13204 (main): Rename to do_test. Use return instead of
13205 exit.
13206 * nptl/tst-sem4.c: Use test-skeleton.c
13207 (main): Rename to do_test.
13208
a059d359
DM
132092014-04-22 David S. Miller <davem@davemloft.net>
13210
13211 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13212 (struct sigaction): New struct member __glibc_reserved0, change
13213 type of sa_flags to int.
13214
ea6c92f3
YZ
132152014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13216
13217 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13218 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13219
766c4a36
SP
132202014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13221
13222 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13223 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13224
140cc7ab
VK
132252014-04-22 Will Newton <will.newton@linaro.org>
13226 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13227
13228 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13229 (__longjmp): Add longjmp and longjmp_target SystemTap
13230 probes.
13231 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13232 (__sigsetjmp): Add setjmp SystemTap probe.
13233
c54e5cf7
CD
132342014-04-17 Carlos O'Donell <carlos@redhat.com>
13235
13236 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13237 match manual order.
13238
75ffb047
AZ
132392014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13240
13241 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13242
2cd925f7
AZ
13243 * sysdeps/powerpc/fpu/fenv_private.h
13244 (libc_feholdexcept_setroundl_ctx): Define to
13245 libc_feholdexcept_setround_ppc_ctx.
13246 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13247 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13248 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13249 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13250
39e6cd8d
IB
132512014-04-17 Ian Bolton <ian.bolton@arm.com>
13252
13253 * sysdeps/aarch64/math-tests.h: New file.
13254
f9281df9
SY
132552014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13256
13257 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13258 New.
13259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13260 Check and set bit_AVX2_Usable.
13261 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13262 macro.
13263 (bit_AVX2): Likewise.
13264 (index_AVX2_Usable): Likewise.
13265 (CPUID_AVX2): Likewise.
13266 (HAS_AVX2): Likewise.
13267
37d35007
WN
132682014-04-17 Will Newton <will.newton@linaro.org>
13269
7c677662
WN
13270 * manual/setjmp.texi (System V contexts): Add note that
13271 calling setcontext on a context created by a call to a
13272 signal handler is undefined. Update text to note that
13273 setcontext from a signal handler is possible but not
13274 recommended.
13275
37d35007 13276 [BZ #16629]
e04a4e9d
WN
13277 * stdlib/tst-setcontext.c: Include signal.h.
13278 (main): Check that the signal stack before and
13279 after swapcontext is the same.
13280
37d35007
WN
13281 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13282 Re-implement to restore registers in user code and avoid
13283 rt_sigreturn system call.
13284
423a7160
W
132852014-04-17 Wilco <wdijkstr@arm.com>
13286
13287 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13288 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13289 * math/test-fenv.c: Skip exception trap tests on targets which only
13290 support non-stop mode.
13291
bc93ab29
IB
132922014-04-17 Ian Bolton <ian.bolton@arm.com>
13293 Wilco Dijkstra <wilco.dijkstra@arm.com>
13294
13295 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13296 (libc_feholdsetround_aarch64_ctx)
13297 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13298 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13299 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13300 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13301 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13302 (libc_feresetround_noexl_ctx): Define.
13303
95fc5fa3
RH
133042014-04-16 Richard Henderson <rth@redhat.com>
13305
ddb04724
RH
13306 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13307
d77c0899
RH
13308 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13309 unwind tables.
13310
a3df56fc
RH
13311 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13312 const from the non-libc, non-ldso copy.
13313
95fc5fa3
RH
13314 * sysdeps/alpha/libm-test-ulps: Regenerate.
13315
7e0b6763
IB
133162014-04-16 Ian Bolton <ian.bolton@arm.com>
13317 Wilco Dijkstra <wilco.dijkstra@arm.com>
13318
13319 * sysdeps/aarch64/fpu/math_private.h: New file.
13320
a9ea2e0c
MS
133212014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13322
13323 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13324
ea8ba7cd
IZ
133252014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13326
7e54fd04 13327 [BZ #16275]
ea8ba7cd
IZ
13328 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13329 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13331 Intel MPX bound registers before _dl_profile_fixup.
13332 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13333 registers after _dl_profile_fixup. Save and restore bound
13334 registers bnd0/bnd1 when calling _dl_call_pltexit.
13335 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13336 (LR_BND_OFFSET): Likewise.
13337 (LRV_BND0_OFFSET): Likewise.
13338 (LRV_BND1_OFFSET): Likewise.
13339
9f2a4fbc
ST
133402014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13341
13342 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13343 to...
13344 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13345 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13346 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13347 fields.
9f2a4fbc 13348
fd15a59b
ST
133492014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13350
13351 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13352
f19dfa0a
SL
133532014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13354
13355 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13356
4fa8bc3b
SL
133572014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13358
13359 [BZ #14770]
13360 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13361 * sysdeps/s390/configure: Regenerate.
13362
8ea587db
SL
13363 [BZ #16824]
13364 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13365 Set round-to-nearest internally to reduce error accumulation.
13366
aa5f0ff1
AM
133672014-04-16 Alan Modra <amodra@gmail.com>
13368
13369 [BZ #16740]
13370 [BZ #16619]
13371 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13372 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13373 * NEWS: Update fixed bug list.
aa5f0ff1 13374
bb9c256f
SP
133752014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13376
13377 * benchtests/Makefile: Depend on libraries in build directory.
13378 (bench-math): Separate out math tests.
13379 (bench-pthread): Separate out pthread tests.
13380 (bench): Include math and pthread tests.
13381
f737dfd0
CD
133822014-04-14 Carlos O'Donell <carlos@redhat.com>
13383
13384 [BZ #16831]
13385 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13386 _dl_debug_initialize.
13387
0699f766
CD
13388 * configure.ac: Remove SELinux header check.
13389 * configure: Regenerate.
13390 * nscd/selinux.c (perms): Array of const char* to permission names.
13391 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13392 default policy. Call string_to_security_class and string_to_av_perm to
13393 translate strings. Enforce default policy and call avs_has_perm with
13394 results of translated strings.
13395
809bd45f
DM
133962014-04-13 David S. Miller <davem@davemloft.net>
13397
13398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13399
89e691f2
AM
134002014-04-12 Allan McRae <allan@archlinux.org>
13401
13402 [BZ #16838]
13403 * manual/string.texi (Collation Functions): Fix qsort argument
13404 order in example.
13405 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13406
9c9daaeb
CM
134072014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13408
13409 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13410 Make the test a no-op if there are no exceptions defined.
13411
95561fb9
PP
134122014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13413
fe8d072c 13414 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13415 enable-hardcoded-path-in-tests
13416
970c602a
WN
134172014-04-11 Will Newton <will.newton@linaro.org>
13418
13419 * benchtests/Makefile (extra-objs): Add json-lib.o.
13420 (bench-func): Tidy up JSON output.
13421 * benchtests/bench-skeleton.c: Include json-lib.h.
13422 (main): Use JSON library functions to do output of
13423 benchmark results.
13424 * benchtests/bench-timing-type.c (main): Output the
13425 timing type simply, leaving formatting to the user.
13426 * benchtests/json-lib.c: New file.
13427 * benchtests/json-lib.h: Likewise.
13428
36875b06
TR
134292014-04-11 Torvald Riegel <triegel@redhat.com>
13430
13431 [BZ #15215]
13432 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13433 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13434 memory barriers. Add comments.
13435 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13436 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13437 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13438 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13439 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13440 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13441
579db35a
SL
134422014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13443
13444 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13445 * sysdeps/s390/s390-64/configure.ac: ... this ...
13446 * sysdeps/s390/configure.ac: ... to here.
13447 * sysdeps/s390/s390-32/configure: Delete file.
13448 * sysdeps/s390/s390-64/configure: Delete file.
13449 * sysdeps/s390/configure: Regenerate.
13450
c12e9f37
JAPH
134512014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13452
13453 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13454
439bda32
WN
134552014-04-11 Will Newton <will.newton@linaro.org>
13456
13457 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13458 to zero if it is not defined elsewhere. (mtrim): Test
13459 the value of MALLOC_DEBUG with #if rather than #ifdef.
13460
6a5d6ea1
TR
134612014-04-10 Torvald Riegel <triegel@redhat.com>
13462
13463 * benchtests/pthread_once-inputs: New file.
13464 * benchtests/pthread_once-source.c: New file.
13465 * benchtests/README: Update documentation.
13466
a4c75cfd
IZ
134672014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13468 H.J. Lu <hongjiu.lu@intel.com>
13469
7e54fd04 13470 [BZ #16275]
a4c75cfd
IZ
13471 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13472 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13473 * sysdeps/x86_64/configure: Regenerated.
13474 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13475 macro.
13476 (REGISTER_SAVE_RAX): Likewise.
13477 (REGISTER_SAVE_RCX): Likewise.
13478 (REGISTER_SAVE_RDX): Likewise.
13479 (REGISTER_SAVE_RSI): Likewise.
13480 (REGISTER_SAVE_RDI): Likewise.
13481 (REGISTER_SAVE_R8): Likewise.
13482 (REGISTER_SAVE_R9): Likewise.
13483 (REGISTER_SAVE_BND0): Likewise.
13484 (REGISTER_SAVE_BND1): Likewise.
13485 (REGISTER_SAVE_BND2): Likewise.
13486 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13487 bound registers when calling _dl_fixup.
13488
27822ce6
AZ
134892014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13490
13491 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13492 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13493 of its definition.
27822ce6
AZ
13494 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13495 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13496 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13497 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13498 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13499 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13500 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13501
a88ddc90
PTB
135022014-04-09 Peter Brett <peter@peter-b.co.uk>
13503
13504 [BZ #15514]
13505 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13506 pathconf(_PC_NAME_MAX).
13507
01f8eac2
AZ
135082014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13509
13510 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13511 Remove macro usage.
13512 (__PTHREAD_SPINS): Move definition to ...
13513 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13514 (__PTHREAD_SPINS): ... here.
13515 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13516 (__PTHREAD_SPIN): Likewise.
13517 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13518 (__PTHREAD_SPIN): Likewise.
13519 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13520 (__PTHREAD_SPIN): Likewise.
13521 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13522 (__PTHREAD_SPIN): Likewise.
13523 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13524 (__PTHREAD_SPIN): Likewise.
13525 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13526 (__PTHREAD_SPIN): Likewise.
13527 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13528 (__PTHREAD_SPIN): Likewise.
13529 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13530 (__PTHREAD_SPIN): Likewise.
13531 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13532 (__PTHREAD_SPIN): Likewise.
13533 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13534 (__PTHREAD_SPIN): Likewise.
13535 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13536 (__PTHREAD_SPIN): Likewise.
13537 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13538 (__PTHREAD_SPIN): Likewise.
13539
de21c33c
AZ
13540 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13541 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13542 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13543 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13544 imply folder.
13545 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13546 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13547 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13548 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13549 correct imply path.
13550 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13551 strlen symbol for non multi-arch builds.
13552 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13553 missing hidden_def and weak_alias.
13554
862c472e
CD
135552014-04-08 Carlos O'Donell <carlos@redhat.com>
13556
13557 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13558
8667f90e
WN
135592014-04-07 Will Newton <will.newton@linaro.org>
13560
13561 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13562 and contents. [!_LIBC] Remove #ifndef and contents.
13563 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13564 * string/memccpy.c (__memccpy): Use ANSI prototype.
13565 * string/memfrob.c (memfrob): Likewise.
13566 * string/strcoll.c (STRCOLL): Likewise.
13567 * string/strlen.c (strlen): Likewise.
13568 * string/strtok.c (STRTOK): Likewise.
13569 * string/strcat.c: Remove unused #include of memcopy.h.
13570 (strcat): Use ANSI prototype.
13571 * string/strchr.c: Remove unused #include of memcopy.h.
13572 (strchr): Use ANSI prototype.
13573 * string/strcmp.c: Remove unused #include of memcopy.h.
13574 (strcmp): Use ANSI prototype.
13575 * string/strcpy.c: Remove unused #include of memcopy.h.
13576 (strcpy): Use ANSI prototype.
13577
7ffa9423
AZ
135782014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13579
13580 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13581 * config.make.in (config-extra-cppflags): Set it from
13582 libc_extra_cppflags.
13583 * configure.ac (libc_extra_cflags): Make it accumulate over
13584 configure fragments.
13585 (libc_extra_cppflags): New flag.
13586 * configure. Regenerate.
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13588 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13589 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13591
8bd70862
AZ
13592 [BZ #16815]
13593 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13594 result for FE_DOWNWARD rounding mode.
13595 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13596 Likewise.
13597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13598
d42f3448
CM
135992014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13600
13601 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13602 in function argument name.
13603
1c21d115
DS
136042014-04-03 David Svoboda <svoboda@cert.org>
13605
13606 [BZ #5666]
13607 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13608 explicitly.
13609
fcccd512
RM
136102014-04-03 Roland McGrath <roland@hack.frob.com>
13611
13612 * elf/dl-unmap-segments.h: New file.
13613 * sysdeps/generic/ldsodefs.h
13614 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13615 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13616 * elf/dl-fptr.c: Likewise.
13617 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13618 * sysdeps/aarch64/tlsdesc.c: Likewise.
13619 * sysdeps/arm/tlsdesc.c: Likewise.
13620 * sysdeps/i386/tlsdesc.c: Likewise.
13621 * sysdeps/tile/dl-runtime.c: Likewise.
13622 * sysdeps/x86_64/tlsdesc.c: Likewise.
13623 * elf/dl-load.h: New file.
13624 * elf/dl-load.c: Include it.
13625 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13626 Macros moved to dl-load.h.
13627 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13628 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13629 Use _dl_unmap_segments in place of __munmap.
13630 Break out segment-mapping loop into ...
13631 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13632
f6488e2b
WN
136332014-04-03 Will Newton <will.newton@linaro.org>
13634
13635 * elf/dl-lookup.c (do_lookup_x): Remove comment
13636 referring to nested function and move variable
13637 declarations down to before first use.
13638
6f05bafe
JM
136392014-04-02 Joseph Myers <joseph@codesourcery.com>
13640
a84e78c8
JM
13641 [BZ #16799]
13642 [BZ #16800]
13643 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13644 with 0 numerator.
13645 * math/s_catanf.c (__catanf): Likewise.
13646 * math/s_catanh.c (__catanh): Likewise.
13647 * math/s_catanhf.c (__catanhf): Likewise.
13648 * math/s_catanhl.c (__catanhl): Likewise.
13649 * math/s_catanl.c (__catanl): Likewise.
13650 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13651 by positive zero when computing -Inf result.
13652 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13653 (catanh_test): Likewise.
13654 * sysdeps/i386/fpu/libm-test-ulps: Update.
13655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13656
6f05bafe
JM
13657 [BZ #16789]
13658 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13659 instead of using underflowing value in computing result.
13660 * math/s_clog10.c (__clog10): Likewise.
13661 * math/s_clog10f.c (__clog10f): Likewise.
13662 * math/s_clog10l.c (__clog10l): Likewise.
13663 * math/s_clogf.c (__clogf): Likewise.
13664 * math/s_clogl.c (__clogl): Likewise.
13665 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13666 (clog10_test): Likewise.
13667 * sysdeps/i386/fpu/libm-test-ulps: Update.
13668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13669
b0abbc21
AM
136702014-04-02 Alan Modra <amodra@gmail.com>
13671
13672 [BZ #16739]
13673 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13674 output when value is near a power of two. Use int64_t for lx and
13675 remove casts. Use decimal rather than hex exponent constants.
13676 Don't use long double multiplication when double will suffice.
13677 * math/libm-test.inc (nextafter_test_data): Add tests.
13678 * NEWS: Add 16739 and 16786 to bug list.
13679
af6b1797
AM
13680 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13681
483818d7
AM
13682 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13683
f6c55796
WN
136842014-04-01 Will Newton <will.newton@linaro.org>
13685
13686 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13687 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13688
13f7fe35
FW
136892014-04-01 Florian Weimer <fweimer@redhat.com>
13690
13691 [BZ #13347]
13692 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13693 * nptl/tst-setuid2.c: New file.
13694 * nptl/Makefile (xtests): Add tst-setuid2.
13695
c859b32e
AM
136962014-04-01 Alan Modra <amodra@gmail.com>
13697
13698 [BZ #16786]
13699 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13700
54fa2475
JM
137012014-03-31 Joseph Myers <joseph@codesourcery.com>
13702
8795b4a4
JM
13703 [BZ #6803]
13704 [BZ #6804]
13705 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13706 set errno as appropriate.
13707 * math/w_scalbf.c (__scalbf): Likewise.
13708 * math/w_scalbl.c (__scalbl): Likewise.
13709 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13710 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13711 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13712 Add more NaN tests.
13713
54fa2475
JM
13714 [BZ #16349]
13715 * math/w_atan2.c: Include <errno.h>.
13716 (__atan2): Set errno for result underflowing to zero.
13717 * math/w_atan2f.c: Include <errno.h>.
13718 (__atan2f): Set errno for result underflowing to zero.
13719 * math/w_atan2l.c: Include <errno.h>.
13720 (__atan2l): Set errno for result underflowing to zero.
13721 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13722 tests.
13723 * math/auto-libm-test-out: Regenerated.
13724
757d9dd5
AZ
137252014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13726
13727 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13728 Encode instruction correctly in little endian.
13729 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13730 Likewise.
13731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13732 Likewise.
13733 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13734 Likewise.
13735 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13736 Likewise.
13737
d7a68734
JM
137382014-03-31 Joseph Myers <joseph@codesourcery.com>
13739
47c5adeb
JM
13740 [BZ #9894]
13741 * sysdeps/unix/sysv/linux/kernel-features.h
13742 [__sparc__ && !__arch64__ && !__sparc_v9__]
13743 (__ASSUME_SET_ROBUST_LIST): Do not define.
13744 [__sparc__ && !__arch64__ && !__sparc_v9__]
13745 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13746 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13747 Likewise.
13748 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13749 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13750 (__ASSUME_REQUEUE_PI): Likewise.
13751 (__ASSUME_SET_ROBUST_LIST): Likewise.
13752 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13753 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13754 Undefine.
13755 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13756 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13757 Likewise.
13758 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13759 Likewise.
13760 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13761 Likewise.
13762 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13763 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13764 Undefine.
13765 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13766 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13767 Likewise.
13768
d7a68734
JM
13769 [BZ #16648]
13770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13771 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13772 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13773
c760f5c2
WN
137742014-03-31 Will Newton <will.newton@linaro.org>
13775
13776 * benchtests/Makefile (bench): Add ffs and ffsll to list
13777 of tests.
13778 * benchtests/ffs-inputs: New file.
13779 * benchtests/ffsll-inputs: Likewise.
13780
ea6029b1
JM
137812014-03-29 Joseph Myers <joseph@codesourcery.com>
13782
13783 [BZ #16770]
13784 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13785 too large before casting to int.
13786 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13787 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13788 * math/libm-test.inc (scalb_test_data): Add more tests.
13789
cf806aff
SP
137902014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13791
56737508
SP
13792 * benchtests/Makefile (DETAILED_OPT): New make option.
13793 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13794 set.
13795 * benchtests/bench-skeleton.c: Include stdbool.h.
13796 (main): Store and print timings per input.
13797 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13798 member to each argument value.
13799 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13800 (_print_arg_data): Initialize per-input timing to 0.
13801
cb5e4aad
SP
13802 * benchtests/Makefile (timing-type): New binary.
13803 (bench-clean): Also remove bench-timing-type.
13804 (bench): New target for timing-type.
13805 (bench-func): Print output in JSON format.
13806 * benchtests/bench-skeleton.c (main): Print output in JSON
13807 format.
13808 * benchtests/bench-timing-type.c: New file.
13809 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13810 (TIMING_PRINT_STATS): Remove.
13811 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13812 name separately.
13813
cf806aff
SP
13814 * benchtests/bench-modf.c: Remove.
13815 * benchtests/modf-inputs: New inputs file.
13816
289e0779
JM
138172014-03-28 Joseph Myers <joseph@codesourcery.com>
13818
13819 [BZ #16362]
13820 * math/s_clog10.c (M_PI_LOG10E): New macro.
13821 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13822 imaginary parts are 0.
13823 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13824 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13825 imaginary parts are 0.
13826 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13827 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13828 imaginary parts are 0.
13829 * math/libm-test.inc (clog10_test_data): Update expected results
13830 for when real and imaginary parts are 0.
13831
277ae3f1
PP
138322014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13833
13834 * elf/dl-load.c: Finish conversion of __builtin_expect into
13835 __glibc_{un}likely.
13836
03a7091f
JM
138372014-03-27 Joseph Myers <joseph@codesourcery.com>
13838
13839 [BZ #16348]
13840 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13841 1+x for argument with exponent below -67.
13842 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13843 Likewise.
13844 * math/auto-libm-test-in: Add more tests of exp.
13845 * math/auto-libm-test-out: Regenerated.
13846
ea7d8b95
SP
138472014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13848
dd3022d7
SP
13849 [BZ #16759]
13850 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13851 (nscd_getnetgrent): Use it.
13852
ea7d8b95
SP
13853 [BZ #16760]
13854 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13855 of stpcpy.
13856
df5b85da
AK
138572014-03-27 Andi Kleen <ak@linux.intel.com>
13858
57f41c40
AS
13859 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13860 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13861 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13862 (lll_robust_unlock): Remove out of line section. Use cfi
13863 intrinsics.
df5b85da 13864 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13865 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13866 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13867 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13868 (lll_robust_unlock): Remove out of line section. Use cfi
13869 intrinsics.
df5b85da
AK
13870 (LLL_STUB_UNWIND_INFO*): Remove.
13871
fbd6b5a4
SP
138722014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13873
13874 [BZ #16758]
13875 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13876 blank values.
13877
1b26b855
PP
138782014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13879
13880 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13881
9be36fb8
JM
138822014-03-26 Joseph Myers <joseph@codesourcery.com>
13883
13884 [BZ #16198]
13885 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13886 fnstenv.
13887 * math/test-fenv-preserve.c: New file.
13888 * math/Makefile (tests): Add test-fenv-preserve.
13889
60a2f3c1
WN
138902014-03-26 Will Newton <will.newton@linaro.org>
13891
13892 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13893
a5e5f1e2
RM
138942014-03-25 Roland McGrath <roland@hack.frob.com>
13895
13896 * scripts/versionlist.awk: Partition the version sets and emit all
13897 GLIBC_* (sorted) before all others (sorted).
13898
00f4012a
JM
138992014-03-25 Joseph Myers <joseph@codesourcery.com>
13900
13901 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13902 GLIBC_2.2.5 version.
13903
7bc5a741
AZ
139042014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13905
13906 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13907 calls.
13908
7578473b
AZ
13909 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13910 previous change.
13911
f3f1dab3
AZ
13912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13913
6da36183
AS
139142014-03-25 Andreas Schwab <schwab@suse.de>
13915
13916 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13917 label to be used after in6ailist is initialized.
13918
f3f1dab3 139192014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13920
7578473b 13921 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13922 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13923
046651c1
JM
139242014-03-25 Joseph Myers <joseph@codesourcery.com>
13925
13926 [BZ #16357]
13927 [BZ #16599]
13928 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13929 min_plus_half.
13930 (fp_formats): Update initializers.
13931 (init_fp_formats): Initialize new field.
13932 (output_for_one_input_case): Allow underflow for results up to
13933 min_plus_half.
13934 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13935 * math/auto-libm-test-in: Don't mark some underflows from asin and
13936 atanh as spurious.
13937 * math/auto-libm-test-out: Regenerated.
13938 * sysdeps/i386/fpu/libm-test-ulps: Update.
13939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13940
003e49ed
AS
139412014-03-25 Andreas Schwab <schwab@suse.de>
13942
13943 * libio/Makefile (tst-ftell-partial-wide-ENV)
13944 (tst-ftell-active-handler-ENV): Define.
13945
de031874
SL
139462014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13947
13948 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13949
55a81e3b
PP
139502014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13951
13952 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13953
f3426898
JM
139542014-03-24 Joseph Myers <joseph@codesourcery.com>
13955
13956 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13957 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13958 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13959
a42faf59
PP
139602014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13961
13962 [BZ #16634]
a42faf59 13963 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13964 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13965 (open_path): Change from boolean 'secure' to complete flag 'mode'
13966 (_dl_map_object): Adjust.
a42faf59
PP
13967 * elf/Makefile (tests): Add tst-dlopen-aout.
13968 * elf/tst-dlopen-aout.c: New test.
13969
50936127
SL
139702014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13971
13972 [BZ #16714]
13973 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13974 (struct stat): Rename member pad0 to __glibc_reserved0.
13975
26011b5c
SL
13976 [BZ #16712]
13977 * sysdeps/s390/s390-32/bits/wordsize.h
13978 (__WORDSIZE32_SIZE_ULONG): New define.
13979 * sysdeps/s390/s390-64/bits/wordsize.h
13980 (__WORDSIZE32_SIZE_ULONG): Likewise.
13981 * sysdeps/generic/stdint.h (SIZE_MAX):
13982 Define as UL if __WORDSIZE32_SIZE_ULONG.
13983
a2d86bf1
SL
13984 [BZ #16713]
13985 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13986 (__glibc_reserved0): New variable.
13987 (sa_flags): Change type to int.
13988
78b6eebc
SL
13989 * posix/Makefile (before-compile): Use += before-compile instead
13990 of a :=.
13991
f1399b5a
SL
13992 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13993 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13994
a071766e
AS
139952014-03-20 Andreas Schwab <schwab@suse.de>
13996
13997 [BZ #16743]
13998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13999 non-matching result from nscd.
14000
27c673b8
SP
140012014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14002
14003 * scripts/bench.py: Moved to ...
14004 * benchtests/scripts/bench.py: ... here.
14005 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14006
44152e4b
AS
140072014-03-24 Andreas Schwab <schwab@suse.de>
14008
14009 [BZ #16002]
14010 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14011 alloca_account and account alloca use for struct in6ailist.
14012
b376a11a
JM
140132014-03-24 Joseph Myers <joseph@codesourcery.com>
14014
14015 [BZ #16284]
14016 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14017 rounding mode to recompute results that overflow to infinity or
14018 underflow to zero.
14019 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14020 bug 16284.
14021 * math/auto-libm-test-out: Regenerated.
14022 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14023 (ccosh_test): Likewise.
14024 (csin_test_data): Use plus_oflow.
14025 (csin_test): Use ALL_RM_TEST.
14026 (csinh_test_data): Use plus_oflow.
14027 (csinh_test): Use ALL_RM_TEST.
14028 * sysdeps/i386/fpu/libm-test-ulps: Update.
14029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14030
f7be7376
JM
140312014-03-21 Joseph Myers <joseph@codesourcery.com>
14032
1ca2d03e
JM
14033 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14034 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14035 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14036
f7be7376
JM
14037 [BZ #16731]
14038 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14039 when x - 1 is zero.
14040 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14041 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14042 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14043 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14044 argument is 1.
14045 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14046 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14047 zero.
14048 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14049 * sysdeps/i386/fpu/libm-test-ulps: Update.
14050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14051
fdf4534d
SP
140522014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14053
df26ea53
SP
14054 * scripts/bench.pl: Remove file.
14055 * scripts/bench.py: New benchmark script.
14056 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14057 * benchtests/README: Mention python dependency.
14058 * scripts/pylintrc: New file.
14059 * scripts/pylint: New file.
14060
fdf4534d
SP
14061 * bits/mathdef.h: Use #ifdef instead of #if.
14062 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14063 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14064 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14065 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14066 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14067 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14068
6f23d093
AZ
140692014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14070 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14071
14072 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14074 and strpbrk-ppc64 objects.
14075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14076 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14077 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14078 multiarch strpbrk for POWER7.
14079 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14080 multiarch strpbrk for PPC64.
14081 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14082 ifunc selector.
14083 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14084 strpbrk for POWER7.
14085
8c92dfff
JM
140862014-03-20 Joseph Myers <joseph@codesourcery.com>
14087
14088 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14089 (atan_test): Likewise.
14090 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14091 (atanh_test): Use ALL_RM_TEST.
14092 (atan2_test_data): Likewise.
14093 (cabs_test): Likewise.
14094 (cacosh_test): Likewise.
14095 (carg_test): Likewise.
14096 (casin_test): Likewise.
14097 (casinh_test): Likewise.
14098 (cbrt_test): Likewise.
14099 (csqrt_test): Likewise.
14100 (erf_test): Likewise.
14101 (erfc_test): Likewise.
14102 (pow10_test): Likewise.
14103 (exp2_test): Likewise.
14104 (hypot_test): Likewise.
14105 (j0_test): Likewise.
14106 (j1_test): Likewise.
14107 (lgamma_test): Likewise.
14108 (gamma_test): Likewise.
14109 (sincos_test): Likewise.
14110 (tanh_test): Likewise.
14111 (y0_test): Likewise.
14112 (y1_test): Likewise.
14113 * sysdeps/i386/fpu/libm-test-ulps: Update.
14114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14115
6eaf95cb
AZ
141162014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14117
a387428c
SP
14118 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14120 and strcspn-ppc64 objects.
14121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14122 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14123 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14124 multiarch strcspn for POWER7.
14125 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14126 multiarch strcspn for PPC64.
14127 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14128 ifunc selector.
14129 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14130 strcspn for POWER7.
14131
ae3a5dff
JM
141322014-03-20 Joseph Myers <joseph@codesourcery.com>
14133
14134 * math/gen-libm-test.pl (generate_testfile): Expect only function
14135 name as argument to AUTO_TESTS_* and pass results for all rounding
14136 modes to parse_args.
14137 (parse_auto_input): Separate inputs of automatic tests from
14138 outputs before storing in %auto_tests.
14139 * math/libm-test.inc (acos_test_data): Update call to
14140 AUTO_TESTS_f_f.
14141 (acos_test): Use ALL_RM_TEST.
14142 (acos_tonearest_test_data): Remove.
14143 (acos_test_tonearest): Likewise.
14144 (acos_towardzero_test_data): Likewise.
14145 (acos_test_towardzero): Likewise.
14146 (acos_downward_test_data): Likewise.
14147 (acos_test_downward): Likewise.
14148 (acos_upward_test_data): Likewise.
14149 (acos_test_upward): Likewise.
14150 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14151 (asin_test_data): Likewise.
14152 (asin_test): Use ALL_RM_TEST.
14153 (asin_tonearest_test_data): Remove.
14154 (asin_test_tonearest): Likewise.
14155 (asin_towardzero_test_data): Likewise.
14156 (asin_test_towardzero): Likewise.
14157 (asin_downward_test_data): Likewise.
14158 (asin_test_downward): Likewise.
14159 (asin_upward_test_data): Likewise.
14160 (asin_test_upward): Likewise.
14161 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14162 (atan_test_data): Likewise.
14163 (atanh_test_data): Likewise.
14164 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14165 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14166 (carg_test_data): Likewise.
14167 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14168 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14169 (ccosh_test_data): Likewise.
14170 (cexp_test_data): Likewise.
14171 (clog_test_data): Likewise.
14172 (clog10_test_data): Likewise.
14173 (cos_test_data): Update call to AUTO_TESTS_f_f.
14174 (cos_test): Use ALL_RM_TEST.
14175 (cos_tonearest_test_data): Remove.
14176 (cos_test_tonearest): Likewise.
14177 (cos_towardzero_test_data): Likewise.
14178 (cos_test_towardzero): Likewise.
14179 (cos_downward_test_data): Likewise.
14180 (cos_test_downward): Likewise.
14181 (cos_upward_test_data): Likewise.
14182 (cos_test_upward): Likewise.
14183 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14184 (cosh_test): Use ALL_RM_TEST.
14185 (cosh_tonearest_test_data): Remove.
14186 (cosh_test_tonearest): Likewise.
14187 (cosh_towardzero_test_data): Likewise.
14188 (cosh_test_towardzero): Likewise.
14189 (cosh_downward_test_data): Likewise.
14190 (cosh_test_downward): Likewise.
14191 (cosh_upward_test_data): Likewise.
14192 (cosh_test_upward): Likewise.
14193 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14194 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14195 (ctan_test_data): Likewise.
14196 (ctan_test): Use ALL_RM_TEST.
14197 (ctan_tonearest_test_data): Remove.
14198 (ctan_test_tonearest): Likewise.
14199 (ctan_towardzero_test_data): Likewise.
14200 (ctan_test_towardzero): Likewise.
14201 (ctan_downward_test_data): Likewise.
14202 (ctan_test_downward): Likewise.
14203 (ctan_upward_test_data): Likewise.
14204 (ctan_test_upward): Likewise.
14205 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14206 (ctanh_test): Use ALL_RM_TEST.
14207 (ctanh_tonearest_test_data): Remove.
14208 (ctanh_test_tonearest): Likewise.
14209 (ctanh_towardzero_test_data): Likewise.
14210 (ctanh_test_towardzero): Likewise.
14211 (ctanh_downward_test_data): Likewise.
14212 (ctanh_test_downward): Likewise.
14213 (ctanh_upward_test_data): Likewise.
14214 (ctanh_test_upward): Likewise.
14215 (erf_test_data): Update call to AUTO_TESTS_f_f.
14216 (erfc_test_data): Likewise.
14217 (exp_test_data): Likewise.
14218 (exp_test): Use ALL_RM_TEST.
14219 (exp_tonearest_test_data): Remove.
14220 (exp_test_tonearest): Likewise.
14221 (exp_towardzero_test_data): Likewise.
14222 (exp_test_towardzero): Likewise.
14223 (exp_downward_test_data): Likewise.
14224 (exp_test_downward): Likewise.
14225 (exp_upward_test_data): Likewise.
14226 (exp_test_upward): Likewise.
14227 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14228 (exp10_test): Use ALL_RM_TEST.
14229 (exp10_tonearest_test_data): Remove.
14230 (exp10_test_tonearest): Likewise.
14231 (exp10_towardzero_test_data): Likewise.
14232 (exp10_test_towardzero): Likewise.
14233 (exp10_downward_test_data): Likewise.
14234 (exp10_test_downward): Likewise.
14235 (exp10_upward_test_data): Likewise.
14236 (exp10_test_upward): Likewise.
14237 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14238 (expm1_test_data): Likewise.
14239 (expm1_test): Use ALL_RM_TEST.
14240 (expm1_tonearest_test_data): Remove.
14241 (expm1_test_tonearest): Likewise.
14242 (expm1_towardzero_test_data): Likewise.
14243 (expm1_test_towardzero): Likewise.
14244 (expm1_downward_test_data): Likewise.
14245 (expm1_test_downward): Likewise.
14246 (expm1_upward_test_data): Likewise.
14247 (expm1_test_upward): Likewise.
14248 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14249 (fma_test): Use ALL_RM_TEST.
14250 (fma_towardzero_test_data): Remove.
14251 (fma_test_towardzero): Likewise.
14252 (fma_downward_test_data): Likewise.
14253 (fma_test_downward): Likewise.
14254 (fma_upward_test_data): Likewise.
14255 (fma_test_upward): Likewise.
14256 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14257 (j0_test_data): Update call to AUTO_TESTS_f_f.
14258 (j1_test_data): Likewise.
14259 (jn_test_data): Update call to AUTO_TESTS_if_f.
14260 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14261 (log_test_data): Update call to AUTO_TESTS_f_f.
14262 (log10_test_data): Likewise.
14263 (log1p_test_data): Likewise.
14264 (log2_test_data): Likewise.
14265 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14266 (pow_tonearest_test_data): Likewise.
14267 (sin_test_data): Update call to AUTO_TESTS_f_f.
14268 (sin_test): Use ALL_RM_TEST.
14269 (sin_tonearest_test_data): Remove.
14270 (sin_test_tonearest): Likewise.
14271 (sin_towardzero_test_data): Likewise.
14272 (sin_test_towardzero): Likewise.
14273 (sin_downward_test_data): Likewise.
14274 (sin_test_downward): Likewise.
14275 (sin_upward_test_data): Likewise.
14276 (sin_test_upward): Likewise.
14277 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14278 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14279 (sinh_test): Use ALL_RM_TEST.
14280 (sinh_tonearest_test_data): Remove.
14281 (sinh_test_tonearest): Likewise.
14282 (sinh_towardzero_test_data): Likewise.
14283 (sinh_test_towardzero): Likewise.
14284 (sinh_downward_test_data): Likewise.
14285 (sinh_test_downward): Likewise.
14286 (sinh_upward_test_data): Likewise.
14287 (sinh_test_upward): Likewise.
14288 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14289 (sqrt_test): Use ALL_RM_TEST.
14290 (sqrt_tonearest_test_data): Remove.
14291 (sqrt_test_tonearest): Likewise.
14292 (sqrt_towardzero_test_data): Likewise.
14293 (sqrt_test_towardzero): Likewise.
14294 (sqrt_downward_test_data): Likewise.
14295 (sqrt_test_downward): Likewise.
14296 (sqrt_upward_test_data): Likewise.
14297 (sqrt_test_upward): Likewise.
14298 (tan_test_data): Update call to AUTO_TESTS_f_f.
14299 (tan_test): Use ALL_RM_TEST.
14300 (tan_tonearest_test_data): Remove.
14301 (tan_test_tonearest): Likewise.
14302 (tan_towardzero_test_data): Likewise.
14303 (tan_test_towardzero): Likewise.
14304 (tan_downward_test_data): Likewise.
14305 (tan_test_downward): Likewise.
14306 (tan_upward_test_data): Likewise.
14307 (tan_test_upward): Likewise.
14308 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14309 (tgamma_test_data): Likewise.
14310 (y0_test_data): Likewise.
14311 (y1_test_data): Likewise.
14312 (yn_test_data): Update call to AUTO_TESTS_if_f.
14313 (main): Do not call removed functions.
14314
d71aeee8
JM
143152014-03-19 Joseph Myers <joseph@codesourcery.com>
14316
14317 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14318 (ldexp_test_data): Remove.
14319 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14320 scalbn_test_data.
14321 (scalb_test): Use ALL_RM_TEST.
14322
baaf1ded
AS
143232014-03-19 Andreas Schwab <schwab@suse.de>
14324
14325 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14326
b1115e91
JM
143272014-03-19 Joseph Myers <joseph@codesourcery.com>
14328
14329 [BZ #16649]
14330 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14331 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14332 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14334 (__ASSUME_PREADV): Undefine.
14335 (__ASSUME_PWRITEV): Likewise.
14336
0283ecca
RM
143372014-03-18 Roland McGrath <roland@hack.frob.com>
14338
7d375303
RM
14339 * bits/mman-linux.h: Add comment about non-Linux use.
14340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14341 bits/mman-linux.h resting place.
14342
0283ecca
RM
14343 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14344 * bits/mman-linux.h: ... here.
14345
aebe1003
AZ
143462014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14347
14348 * conform/conformtest.pl: Add standard definition when calling C
14349 preprocessor on data files.
14350 (checknamespace): Remove unused variable.
14351
b29b6bb8
JM
143522014-03-18 Joseph Myers <joseph@codesourcery.com>
14353
14354 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14355 minus_oflow, plus_uflow and minus_uflow in expected results.
14356 * math/libm-test.inc (scalbn_test_data): Add more tests of
14357 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14358 minus_uflow.
14359 (scalbn_test): Use ALL_RM_TEST.
14360 (scalbln_test_data): Add more tests of negative arguments. Use
14361 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14362 (scalbln_test): Use ALL_RM_TEST.
14363
c8f8fa15
RM
143642014-03-18 Roland McGrath <roland@hack.frob.com>
14365
14366 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14367
fede7a5f
WN
143682014-03-18 Will Newton <will.newton@linaro.org>
14369
14370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14371 inaccurate comment.
14372
80cf0a58
JM
143732014-03-18 Joseph Myers <joseph@codesourcery.com>
14374
14375 * Makerules [!subdir] (check-abi): Exit with error status if a
14376 test failed.
14377
b3620862
JM
143782014-03-17 Joseph Myers <joseph@codesourcery.com>
14379
14380 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14381 for rint. Include results for all rounding modes.
14382 (nearbyint_test): Use ALL_RM_TEST.
14383 (rint_test_data): Include all tests used for nearbyint.
14384
788bba36
WN
143852014-03-17 Will Newton <will.newton@linaro.org>
14386
04ec140a
WN
14387 * nptl/sysdeps/pthread/pthread.h: Revert previous
14388 change.
14389
7579d8d5
WN
14390 * sysdeps/generic/ldsodefs.h: Revert previous
14391 change.
14392
c15cf13a
WN
14393 * libio/genops.c: Revert previous change.
14394 * libio/libioP.h: Likewise.
14395 * stdio-common/vfprintf.c: Likewise.
14396
d0ac1324
WN
14397 * sysdeps/generic/math_private.h: Revert previous
14398 change.
14399
9290130a
WN
14400 * sysdeps/generic/math_private.h: Check whether
14401 HAVE_RM_CTX is defined with #ifdef rather
14402 than #if.
14403
afb466fc
WN
14404 * argp/argp-fmtstream.h: Check whether
14405 __STRICT_ANSI__ is defined with #ifdef rather
14406 than #if.
14407 * argp/argp.h: Likewise.
14408
f7efd7c3
WN
14409 * libio/genops.c: Check whether
14410 _IO_JUMPS_OFFSET is defined with #ifdef rather
14411 than #if.
14412 * libio/libioP.h: Likewise.
14413 * stdio-common/vfprintf.c: Likewise.
14414
53f1bed3
WN
14415 * sysdeps/generic/ldsodefs.h: Check whether
14416 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14417 than #if.
14418
788bba36
WN
14419 * nptl/sysdeps/pthread/pthread.h: Check
14420 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14421 its value.
14422
fcd89ebe
SP
144232014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14424
ae42bbc5
SP
14425 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14426 setting O_APPEND.
14427 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14428 test case.
14429
ea33158c
SP
14430 [BZ #16680]
14431 * libio/fileops.c (_IO_file_open): Seek to end of file but
14432 don't cache the offset.
14433 (get_file_offset): Remove function.
14434 (do_ftell): Use cached offset when available.
14435 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14436 don't cache the offset.
14437 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14438 case.
14439 (do_one_test): Call it.
14440 (do_ftell_test): Fix up expected old offset for a+ mode.
14441 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14442 available.
14443
b1dbb426
SP
14444 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14445 up test status with function return status.
14446 (do_write_test): Likewise.
14447 (do_append_test): Likewise.
14448
fcd89ebe
SP
14449 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14450 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14451 Remove.
14452
9962a2d3
JM
144532014-03-17 Joseph Myers <joseph@codesourcery.com>
14454
14455 * math/gen-libm-test.pl (parse_args): Handle results specified for
14456 each rounding mode separately.
14457 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14458 tests and results from lrint_tonearest_test_data,
14459 lrint_towardzero_test_data, lrint_downward_test_data and
14460 lrint_upward_test_data.
14461 (lrint_test): Use ALL_RM_TEST.
14462 (lrint_tonearest_test_data): Remove.
14463 (lrint_test_tonearest): Likewise.
14464 (lrint_towardzero_test_data): Likewise.
14465 (lrint_test_towardzero): Likewise.
14466 (lrint_downward_test_data): Likewise.
14467 (lrint_test_downward): Likewise.
14468 (lrint_upward_test_data): Likewise.
14469 (lrint_test_upward): Likewise.
14470 (llrint_test_data): Merge in per-rounding-mode tests and results
14471 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14472 llrint_downward_test_data and llrint_upward_test_data.
14473 (llrint_test): Use ALL_RM_TEST.
14474 (llrint_tonearest_test_data): Remove.
14475 (llrint_test_tonearest): Likewise.
14476 (llrint_towardzero_test_data): Likewise.
14477 (llrint_test_towardzero): Likewise.
14478 (llrint_downward_test_data): Likewise.
14479 (llrint_test_downward): Likewise.
14480 (llrint_upward_test_data): Likewise.
14481 (llrint_test_upward): Likewise.
14482 (rint_test_data): Merge in per-rounding-mode tests and results
14483 from rint_tonearest_test_data, rint_towardzero_test_data,
14484 rint_downward_test_data and rint_upward_test_data. Add
14485 per-rounding-mode results for tests not in those arrays.
14486 (rint_test): Use ALL_RM_TEST.
14487 (rint_tonearest_test_data): Remove.
14488 (rint_test_tonearest): Likewise.
14489 (rint_towardzero_test_data): Likewise.
14490 (rint_test_towardzero): Likewise.
14491 (rint_downward_test_data): Likewise.
14492 (rint_test_downward): Likewise.
14493 (rint_upward_test_data): Likewise.
14494 (rint_test_upward): Likewise.
14495 (main): Don't call removed functions.
14496
5006148e
RM
144972014-03-14 Roland McGrath <roland@hack.frob.com>
14498
14499 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14500 "Compiled on ..." crapola. It is anti-useful.
14501
d6fe5e58
JM
145022014-03-14 Joseph Myers <joseph@codesourcery.com>
14503
14504 * scripts/evaluate-test.sh: Handle fourth argument to determine
14505 whether test run should stop on failure.
14506 * Makeconfig (stop-on-test-failure): New variable.
14507 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14508 $(stop-on-test-failure).
14509 * Makefile (tests): Give a summary of results from testing and
14510 exit with failure status if they include an ERROR or FAIL.
14511 (xtests): Likewise.
14512 * manual/install.texi (Configuring and compiling): Mention
14513 stop-on-test-failure=y.
14514 * INSTALL: Regenerated.
14515
498a2233
RM
145162014-03-14 Roland McGrath <roland@hack.frob.com>
14517
22dbc19d
RM
14518 * scripts/versionlist.awk: New file.
14519 * Makerules [$(build-shared) = yes]
14520 (postclean-generated): Add Versions.def, not Versions.def.v and
14521 Versions.def.v.i.
14522 ($(common-objpfx)Versions.def.v.i): Target removed.
14523 ($(common-objpfx)Versions.def): New target.
14524 ($(common-objpfx)Versions.all): Depend on that rather that
14525 $(common-objpfx)Versions.def.v.
14526 * Versions.def: File removed.
14527
498a2233
RM
14528 * Makeconfig (+gccwarn): Add -Wundef.
14529 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14530 a dl-sysdep.h breaking its contract.
14531 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14532 * include/stackinfo.h: New file.
14533 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14534 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14535 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14536 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14537 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14538 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14539 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14540 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14541 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14542 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14543 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14544 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14545 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14546 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14547 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14548
c7de5025
AZ
145492014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14550
14551 [BZ #16707]
14552 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14553 implementation.
14554 * math/libm-test.inc (round_test_data): Add more tests.
14555
98fb27a3
AZ
14556 [BZ #16706]
14557 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14558 implementation.
14559 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14560
374f7f61
AZ
14561 [BZ #16701]
14562 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14563 implementation.
14564 * math/libm-test.inc (ceil_test_data): Add more tests.
14565
4655c291
AZ
14566 * math/libm-test.inc (trunc_test_data): Add more tests related to
14567 BZ#16414.
14568
d7329d4b
RM
145692014-03-14 Roland McGrath <roland@hack.frob.com>
14570
14571 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14572 with #if rather than #ifdef.
14573 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14574
aa4de9ce
L
145752014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14576
14577 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14578 first. Disable AVX-512 GCC support if assembler doesn't support
14579 it.
14580 * sysdeps/x86_64/configure: Regenerated.
14581
2e03fae7
CD
145822014-03-13 Carlos O'Donell <carlos@redhat.com>
14583
14584 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14585 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14586 (__old_pthread_attr_setstack): Likewise.
14587 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14588 [!_STACK_GROWS_DOWN]: Likewise.
14589
43ca83ec
MF
145902014-03-13 Mike Frysinger <vapier@gentoo.org>
14591
14592 * config.make.in (have-bash2): Delete.
14593 * configure.ac (libc_cv_have_bash2): Delete.
14594 * configure: Regenerate.
14595 * elf/Makefile (common-ldd-rewrite): Rename to ...
14596 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14597 (sh-ldd-rewrite): Delete.
14598 (bash-ldd-rewrite): Delete.
14599 (have-bash2): Delete checks.
57f41c40
AS
14600 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14601 ldd-rewrite.
c66e48b4
MF
14602
14603 * config.make.in (have-ksh): Delete.
14604 (KSH): Delete.
14605 * configure.ac (libc_cv_have_ksh): Delete.
14606 * configure: Regenerate.
14607
b93834ef
MF
14608 * elf/Makefile: Delete $(have-ksh) check.
14609 ($(objpfx)sotruss): Change KSH to BASH.
14610 * elf/sotruss.ksh: Rename to ...
14611 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14612 function style to match POSIX. Drop ksh vim mode setting.
14613
f3a4632a
MF
14614 * manual/time.texi (Specifying the Time Zone with TZ): Change
14615 Tuesday to Thursday.
14616
5896c8bd
MF
14617 * debug/tst-longjmp_chk2.c: Update header comment.
14618 (stackoverflow_handler): Add comment. Call assert on pass value.
14619
2d63a517
IZ
146202014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14621
7e54fd04 14622 [BZ #16194]
2d63a517
IZ
14623 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14624 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14625 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14626 (La_x86_64_vector): Add zmm.
14627 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14628 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14629 ($(objpfx)tst-audit10): New target.
14630 ($(objpfx)tst-audit10.out): Likewise.
14631 (tst-audit10-ENV): New.
14632 (AVX512-CFLAGS): Likewise.
14633 (CFLAGS-tst-audit10.c): Likewise.
14634 (CFLAGS-tst-auditmod10a.c): Likewise.
14635 (CFLAGS-tst-auditmod10b.c): Likewise.
14636 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14637 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14638 * sysdeps/x86_64/configure: Regenerated.
14639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14640 AVX-512 zmm register support.
14641 (_dl_x86_64_save_sse): Likewise.
14642 (_dl_x86_64_restore_sse): Likewise.
14643 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14644 size vector registers.
14645 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14646 (ZMM_SIZE): Likewise.
14647 * sysdeps/x86_64/tst-audit10.c: New file.
14648 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14649 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14650
44c4e5d5
RM
146512014-03-13 Roland McGrath <roland@hack.frob.com>
14652
14653 * configure.ac (HAVE_EHDR_START): New check.
14654 * configure: Regenerated.
14655 * config.h.in (HAVE_EHDR_START): New #undef.
14656 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14657 assuming the lowest-addressed segment maps the start of the file.
14658
acd6e389
JM
146592014-03-13 Joseph Myers <joseph@codesourcery.com>
14660
14661 * INSTALL: Regenerated.
14662
6f918f36
WN
146632014-03-13 Will Newton <will.newton@linaro.org>
14664
14665 * manual/setjmp.texi (System V contexts): Improve
14666 clarity and grammar of documentation.
14667
798212a0
PP
146682014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14669
14670 [BZ #16381]
798212a0 14671 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14672 (tests-pie): Add tst-pie2.
798212a0
PP
14673 * elf/tst-pie2.c: New file.
14674 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14675 for ET_EXEC.
14676 * elf/rtld.c (map_doit): Load executable as lt_executable.
14677 (dl_main): Likewise.
14678
abe6d90c
JM
146792014-03-12 Joseph Myers <joseph@codesourcery.com>
14680
14681 [BZ #16642]
14682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14683 (__ASSUME_PSELECT): Undefine.
14684
dd3946c6
AZ
146852014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14686
14687 [BZ #16689]
14688 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14689 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14690 static build.
14691 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14692 selector for static builds.
14693
c44496df
SP
146942014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14695
14696 [BZ #16695]
14697 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14698 key in the buffer.
14699
27c7220a
AZ
147002014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14701
57f41c40
AS
14702 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14703 IFUNC selector for static builds.
27c7220a 14704
600fa361
JM
147052014-03-11 Joseph Myers <joseph@codesourcery.com>
14706
76c96cf7
JM
14707 * sysdeps/mips/math_private.h [__mips_hard_float]
14708 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14709 libc_feresetround_mips_ctx.
14710 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14711 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14712 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14713
600fa361
JM
14714 [BZ #16677]
14715 * math/s_nextafter.c (__nextafter): Do not return value from
14716 overflowing computation.
14717 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14718 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14719 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14720 Likewise.
14721 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14722 Likewise.
14723 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14724 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14725
d7706c32
RM
147262014-03-11 Roland McGrath <roland@hack.frob.com>
14727
14728 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14729 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14730 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14731 the new mov targetting sp.
14732
4facea47
AZ
147332014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734
14735 [BZ #16683]
14736 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14737 Define it for static builds as well.
14738 (NO_BZERO_IMPL): Likewise.
14739
e65caf1f
VR
147402014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14741
14742 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14743 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14744 multiarch strspn for PPC64.
14745 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14746 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14748 (__libc_ifunc_impl_list): Likewise.
14749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14750 multiarch optimizations
14751 * string/strspn.c (strspn): Using macro to redefine symbol name.
14752
ba9cc071
AZ
147532014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14754 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14755
14756 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14757 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14758 multiarch strncat for PPC64.
14759 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14760 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14762 (__libc_ifunc_impl_list): Likewise.
14763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14764 multiarch optimizations
14765
8b4ff974
SP
147662014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14767
14768 [BZ #16639]
14769 * nscd/nscd.service: Make service type forking.
14770
54b46a4b
AZ
147712014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14772
14773 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14774 sign in non default rounding modes.
14775 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14776
e9996ef7
JM
147772014-03-08 Joseph Myers <joseph@codesourcery.com>
14778
14779 * math/libm-test.inc (ALL_RM_TEST): New macro.
14780 (ceil_test): Use ALL_RM_TEST.
14781 (cimag_test): Likewise.
14782 (conj_test): Likewise.
14783 (copysign_test): Likewise.
14784 (cproj_test): Likewise.
14785 (creal_test): Likewise.
14786 (fabs_test): Likewise.
14787 (floor_test): Likewise.
14788 (fmax_test): Likewise.
14789 (fmin_test): Likewise.
14790 (fmod_test): Likewise.
14791 (fpclassify_test): Likewise.
14792 (frexp_test): Likewise.
14793 (ilogb_test): Likewise.
14794 (isfinite_test): Likewise.
14795 (finite_test): Likewise.
14796 (isgreater_test): Likewise.
14797 (isgreaterequal_test): Likewise.
14798 (isinf_test): Likewise.
14799 (isless_test): Likewise.
14800 (islessequal_test): Likewise.
14801 (islessgreater_test): Likewise.
14802 (isnan_test): Likewise.
14803 (isnormal_test): Likewise.
14804 (issignaling_test): Likewise.
14805 (isunordered_test): Likewise.
14806 (logb_test): Likewise.
14807 (logb_downward_test_data): Remove.
14808 (logb_test_downward): Likewise.
14809 (lround_test): Use ALL_RM_TEST.
14810 (llround_test): Likewise.
14811 (modf_test): Likewise.
14812 (nexttoward_test): Likewise.
14813 (remainder_test): Likewise.
14814 (drem_test): Likewise.
14815 (remainder_tonearest_test_data): Likewise.
14816 (remainder_test_tonearest): Likewise.
14817 (drem_test_tonearest): Likewise.
14818 (remainder_towardzero_test_data): Likewise.
14819 (remainder_test_towardzero): Likewise.
14820 (drem_test_towardzero): Likewise.
14821 (remainder_downward_test_data): Likewise.
14822 (remainder_test_downward): Likewise.
14823 (drem_test_downward): Likewise.
14824 (remainder_upward_test_data): Likewise.
14825 (remainder_test_upward): Likewise.
14826 (drem_test_upward): Likewise.
14827 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14828 (round_test): Use ALL_RM_TEST.
14829 (signbit_test): Likewise.
14830 (trunc_test): Likewise.
14831 (significand_test): Likewise.
14832 (main): Don't call removed functions.
14833
bc61d27c
JM
148342014-03-07 Joseph Myers <joseph@codesourcery.com>
14835
5c780849
JM
14836 [BZ #16674]
14837 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14838 || __USE_XOPEN2K8].
14839 (ILL_ILLOPN): Likewise.
14840 (ILL_ILLADR): Likewise.
14841 (ILL_ILLTRP): Likewise.
14842 (ILL_PRVOPC): Likewise.
14843 (ILL_PRVREG): Likewise.
14844 (ILL_COPROC): Likewise.
14845 (ILL_BADSTK): Likewise.
14846 (FPE_INTDIV): Likewise.
14847 (FPE_INTOVF): Likewise.
14848 (FPE_FLTDIV): Likewise.
14849 (FPE_FLTOVF): Likewise.
14850 (FPE_FLTUND): Likewise.
14851 (FPE_FLTRES): Likewise.
14852 (FPE_FLTINV): Likewise.
14853 (FPE_FLTSUB): Likewise.
14854 (SEGV_MAPERR): Likewise.
14855 (SEGV_ACCERR): Likewise.
14856 (BUS_ADRALN): Likewise.
14857 (BUS_ADRERR): Likewise.
14858 (BUS_OBJERR): Likewise.
14859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14860 (TRAP_TRACE): Likewise.
14861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14862 __USE_XOPEN2K8].
14863 (CLD_KILLED): Likewise.
14864 (CLD_DUMPED): Likewise.
14865 (CLD_TRAPPED): Likewise.
14866 (CLD_STOPPED): Likewise.
14867 (CLD_CONTINUED): Likewise.
14868 (POLL_IN): Likewise.
14869 (POLL_OUT): Likewise.
14870 (POLL_MSG): Likewise.
14871 (POLL_ERR): Likewise.
14872 (POLL_PRI): Likewise.
14873 (POLL_HUP): Likewise.
14874 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14875 Likewise.
14876 (ILL_ILLOPN): Likewise.
14877 (ILL_ILLADR): Likewise.
14878 (ILL_ILLTRP): Likewise.
14879 (ILL_PRVOPC): Likewise.
14880 (ILL_PRVREG): Likewise.
14881 (ILL_COPROC): Likewise.
14882 (ILL_BADSTK): Likewise.
14883 (FPE_INTDIV): Likewise.
14884 (FPE_INTOVF): Likewise.
14885 (FPE_FLTDIV): Likewise.
14886 (FPE_FLTOVF): Likewise.
14887 (FPE_FLTUND): Likewise.
14888 (FPE_FLTRES): Likewise.
14889 (FPE_FLTINV): Likewise.
14890 (FPE_FLTSUB): Likewise.
14891 (SEGV_MAPERR): Likewise.
14892 (SEGV_ACCERR): Likewise.
14893 (BUS_ADRALN): Likewise.
14894 (BUS_ADRERR): Likewise.
14895 (BUS_OBJERR): Likewise.
14896 (BUS_MCEERR_AR): Likewise.
14897 (BUS_MCEERR_AO): Likewise.
14898 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14899 (TRAP_TRACE): Likewise.
14900 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14901 __USE_XOPEN2K8].
14902 (CLD_KILLED): Likewise.
14903 (CLD_DUMPED): Likewise.
14904 (CLD_TRAPPED): Likewise.
14905 (CLD_STOPPED): Likewise.
14906 (CLD_CONTINUED): Likewise.
14907 (POLL_IN): Likewise.
14908 (POLL_OUT): Likewise.
14909 (POLL_MSG): Likewise.
14910 (POLL_ERR): Likewise.
14911 (POLL_PRI): Likewise.
14912 (POLL_HUP): Likewise.
14913 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14914 (ILL_ILLOPN): Likewise.
14915 (ILL_ILLADR): Likewise.
14916 (ILL_ILLTRP): Likewise.
14917 (ILL_PRVOPC): Likewise.
14918 (ILL_PRVREG): Likewise.
14919 (ILL_COPROC): Likewise.
14920 (ILL_BADSTK): Likewise.
14921 (FPE_INTDIV): Likewise.
14922 (FPE_INTOVF): Likewise.
14923 (FPE_FLTDIV): Likewise.
14924 (FPE_FLTOVF): Likewise.
14925 (FPE_FLTUND): Likewise.
14926 (FPE_FLTRES): Likewise.
14927 (FPE_FLTINV): Likewise.
14928 (FPE_FLTSUB): Likewise.
14929 (SEGV_MAPERR): Likewise.
14930 (SEGV_ACCERR): Likewise.
14931 (BUS_ADRALN): Likewise.
14932 (BUS_ADRERR): Likewise.
14933 (BUS_OBJERR): Likewise.
14934 (BUS_MCEERR_AR): Likewise.
14935 (BUS_MCEERR_AO): Likewise.
14936 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14937 (TRAP_TRACE): Likewise.
14938 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14939 __USE_XOPEN2K8].
14940 (CLD_KILLED): Likewise.
14941 (CLD_DUMPED): Likewise.
14942 (CLD_TRAPPED): Likewise.
14943 (CLD_STOPPED): Likewise.
14944 (CLD_CONTINUED): Likewise.
14945 (POLL_IN): Likewise.
14946 (POLL_OUT): Likewise.
14947 (POLL_MSG): Likewise.
14948 (POLL_ERR): Likewise.
14949 (POLL_PRI): Likewise.
14950 (POLL_HUP): Likewise.
14951 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14952 Likewise.
14953 (ILL_ILLOPN): Likewise.
14954 (ILL_ILLADR): Likewise.
14955 (ILL_ILLTRP): Likewise.
14956 (ILL_PRVOPC): Likewise.
14957 (ILL_PRVREG): Likewise.
14958 (ILL_COPROC): Likewise.
14959 (ILL_BADSTK): Likewise.
14960 (ILL_BADIADDR): Likewise.
14961 (ILL_BREAK): Likewise.
14962 (FPE_INTDIV): Likewise.
14963 (FPE_INTOVF): Likewise.
14964 (FPE_FLTDIV): Likewise.
14965 (FPE_FLTOVF): Likewise.
14966 (FPE_FLTUND): Likewise.
14967 (FPE_FLTRES): Likewise.
14968 (FPE_FLTINV): Likewise.
14969 (FPE_FLTSUB): Likewise.
14970 (FPE_DECOVF): Likewise.
14971 (FPE_DECDIV): Likewise.
14972 (FPE_DECERR): Likewise.
14973 (FPE_INVASC): Likewise.
14974 (FPE_INVDEC): Likewise.
14975 (SEGV_MAPERR): Likewise.
14976 (SEGV_ACCERR): Likewise.
14977 (SEGV_PSTKOVF): Likewise.
14978 (BUS_ADRALN): Likewise.
14979 (BUS_ADRERR): Likewise.
14980 (BUS_OBJERR): Likewise.
14981 (BUS_MCEERR_AR): Likewise.
14982 (BUS_MCEERR_AO): Likewise.
14983 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14984 (TRAP_TRACE): Likewise.
14985 (TRAP_BRANCH): Likewise.
14986 (TRAP_HWBKPT): Likewise.
14987 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14988 __USE_XOPEN2K8].
14989 (CLD_KILLED): Likewise.
14990 (CLD_DUMPED): Likewise.
14991 (CLD_TRAPPED): Likewise.
14992 (CLD_STOPPED): Likewise.
14993 (CLD_CONTINUED): Likewise.
14994 (POLL_IN): Likewise.
14995 (POLL_OUT): Likewise.
14996 (POLL_MSG): Likewise.
14997 (POLL_ERR): Likewise.
14998 (POLL_PRI): Likewise.
14999 (POLL_HUP): Likewise.
15000 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15001 (ILL_ILLOPN): Likewise.
15002 (ILL_ILLADR): Likewise.
15003 (ILL_ILLTRP): Likewise.
15004 (ILL_PRVOPC): Likewise.
15005 (ILL_PRVREG): Likewise.
15006 (ILL_COPROC): Likewise.
15007 (ILL_BADSTK): Likewise.
15008 (FPE_INTDIV): Likewise.
15009 (FPE_INTOVF): Likewise.
15010 (FPE_FLTDIV): Likewise.
15011 (FPE_FLTOVF): Likewise.
15012 (FPE_FLTUND): Likewise.
15013 (FPE_FLTRES): Likewise.
15014 (FPE_FLTINV): Likewise.
15015 (FPE_FLTSUB): Likewise.
15016 (SEGV_MAPERR): Likewise.
15017 (SEGV_ACCERR): Likewise.
15018 (BUS_ADRALN): Likewise.
15019 (BUS_ADRERR): Likewise.
15020 (BUS_OBJERR): Likewise.
15021 (BUS_MCEERR_AR): Likewise.
15022 (BUS_MCEERR_AO): Likewise.
15023 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15024 (TRAP_TRACE): Likewise.
15025 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15026 __USE_XOPEN2K8].
15027 (CLD_KILLED): Likewise.
15028 (CLD_DUMPED): Likewise.
15029 (CLD_TRAPPED): Likewise.
15030 (CLD_STOPPED): Likewise.
15031 (CLD_CONTINUED): Likewise.
15032 (POLL_IN): Likewise.
15033 (POLL_OUT): Likewise.
15034 (POLL_MSG): Likewise.
15035 (POLL_ERR): Likewise.
15036 (POLL_PRI): Likewise.
15037 (POLL_HUP): Likewise.
15038 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15039 (ILL_ILLOPN): Likewise.
15040 (ILL_ILLADR): Likewise.
15041 (ILL_ILLTRP): Likewise.
15042 (ILL_PRVOPC): Likewise.
15043 (ILL_PRVREG): Likewise.
15044 (ILL_COPROC): Likewise.
15045 (ILL_BADSTK): Likewise.
15046 (FPE_INTDIV): Likewise.
15047 (FPE_INTOVF): Likewise.
15048 (FPE_FLTDIV): Likewise.
15049 (FPE_FLTOVF): Likewise.
15050 (FPE_FLTUND): Likewise.
15051 (FPE_FLTRES): Likewise.
15052 (FPE_FLTINV): Likewise.
15053 (FPE_FLTSUB): Likewise.
15054 (SEGV_MAPERR): Likewise.
15055 (SEGV_ACCERR): Likewise.
15056 (BUS_ADRALN): Likewise.
15057 (BUS_ADRERR): Likewise.
15058 (BUS_OBJERR): Likewise.
15059 (BUS_MCEERR_AR): Likewise.
15060 (BUS_MCEERR_AO): Likewise.
15061 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15062 (TRAP_TRACE): Likewise.
15063 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15064 __USE_XOPEN2K8].
15065 (CLD_KILLED): Likewise.
15066 (CLD_DUMPED): Likewise.
15067 (CLD_TRAPPED): Likewise.
15068 (CLD_STOPPED): Likewise.
15069 (CLD_CONTINUED): Likewise.
15070 (POLL_IN): Likewise.
15071 (POLL_OUT): Likewise.
15072 (POLL_MSG): Likewise.
15073 (POLL_ERR): Likewise.
15074 (POLL_PRI): Likewise.
15075 (POLL_HUP): Likewise.
15076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15077 (ILL_ILLOPN): Likewise.
15078 (ILL_ILLADR): Likewise.
15079 (ILL_ILLTRP): Likewise.
15080 (ILL_PRVOPC): Likewise.
15081 (ILL_PRVREG): Likewise.
15082 (ILL_COPROC): Likewise.
15083 (ILL_BADSTK): Likewise.
15084 (FPE_INTDIV): Likewise.
15085 (FPE_INTOVF): Likewise.
15086 (FPE_FLTDIV): Likewise.
15087 (FPE_FLTOVF): Likewise.
15088 (FPE_FLTUND): Likewise.
15089 (FPE_FLTRES): Likewise.
15090 (FPE_FLTINV): Likewise.
15091 (FPE_FLTSUB): Likewise.
15092 (SEGV_MAPERR): Likewise.
15093 (SEGV_ACCERR): Likewise.
15094 (BUS_ADRALN): Likewise.
15095 (BUS_ADRERR): Likewise.
15096 (BUS_OBJERR): Likewise.
15097 (BUS_MCEERR_AR): Likewise.
15098 (BUS_MCEERR_AO): Likewise.
15099 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15100 (TRAP_TRACE): Likewise.
15101 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15102 __USE_XOPEN2K8].
15103 (CLD_KILLED): Likewise.
15104 (CLD_DUMPED): Likewise.
15105 (CLD_TRAPPED): Likewise.
15106 (CLD_STOPPED): Likewise.
15107 (CLD_CONTINUED): Likewise.
15108 (POLL_IN): Likewise.
15109 (POLL_OUT): Likewise.
15110 (POLL_MSG): Likewise.
15111 (POLL_ERR): Likewise.
15112 (POLL_PRI): Likewise.
15113 (POLL_HUP): Likewise.
15114 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15115 (ILL_ILLOPN): Likewise.
15116 (ILL_ILLADR): Likewise.
15117 (ILL_ILLTRP): Likewise.
15118 (ILL_PRVOPC): Likewise.
15119 (ILL_PRVREG): Likewise.
15120 (ILL_COPROC): Likewise.
15121 (ILL_BADSTK): Likewise.
15122 (ILL_DBLFLT): Likewise.
15123 (ILL_HARDWALL): Likewise.
15124 (FPE_INTDIV): Likewise.
15125 (FPE_INTOVF): Likewise.
15126 (FPE_FLTDIV): Likewise.
15127 (FPE_FLTOVF): Likewise.
15128 (FPE_FLTUND): Likewise.
15129 (FPE_FLTRES): Likewise.
15130 (FPE_FLTINV): Likewise.
15131 (FPE_FLTSUB): Likewise.
15132 (SEGV_MAPERR): Likewise.
15133 (SEGV_ACCERR): Likewise.
15134 (BUS_ADRALN): Likewise.
15135 (BUS_ADRERR): Likewise.
15136 (BUS_OBJERR): Likewise.
15137 (BUS_MCEERR_AR): Likewise.
15138 (BUS_MCEERR_AO): Likewise.
15139 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15140 (TRAP_TRACE): Likewise.
15141 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15142 __USE_XOPEN2K8].
15143 (CLD_KILLED): Likewise.
15144 (CLD_DUMPED): Likewise.
15145 (CLD_TRAPPED): Likewise.
15146 (CLD_STOPPED): Likewise.
15147 (CLD_CONTINUED): Likewise.
15148 (POLL_IN): Likewise.
15149 (POLL_OUT): Likewise.
15150 (POLL_MSG): Likewise.
15151 (POLL_ERR): Likewise.
15152 (POLL_PRI): Likewise.
15153 (POLL_HUP): Likewise.
15154 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15155 (ILL_ILLOPN): Likewise.
15156 (ILL_ILLADR): Likewise.
15157 (ILL_ILLTRP): Likewise.
15158 (ILL_PRVOPC): Likewise.
15159 (ILL_PRVREG): Likewise.
15160 (ILL_COPROC): Likewise.
15161 (ILL_BADSTK): Likewise.
15162 (FPE_INTDIV): Likewise.
15163 (FPE_INTOVF): Likewise.
15164 (FPE_FLTDIV): Likewise.
15165 (FPE_FLTOVF): Likewise.
15166 (FPE_FLTUND): Likewise.
15167 (FPE_FLTRES): Likewise.
15168 (FPE_FLTINV): Likewise.
15169 (FPE_FLTSUB): Likewise.
15170 (SEGV_MAPERR): Likewise.
15171 (SEGV_ACCERR): Likewise.
15172 (BUS_ADRALN): Likewise.
15173 (BUS_ADRERR): Likewise.
15174 (BUS_OBJERR): Likewise.
15175 (BUS_MCEERR_AR): Likewise.
15176 (BUS_MCEERR_AO): Likewise.
15177 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15178 (TRAP_TRACE): Likewise.
15179 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15180 __USE_XOPEN2K8].
15181 (CLD_KILLED): Likewise.
15182 (CLD_DUMPED): Likewise.
15183 (CLD_TRAPPED): Likewise.
15184 (CLD_STOPPED): Likewise.
15185 (CLD_CONTINUED): Likewise.
15186 (POLL_IN): Likewise.
15187 (POLL_OUT): Likewise.
15188 (POLL_MSG): Likewise.
15189 (POLL_ERR): Likewise.
15190 (POLL_PRI): Likewise.
15191 (POLL_HUP): Likewise.
15192 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15193 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15194
bc61d27c
JM
15195 [BZ #16670]
15196 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15197 before #include of <time.h>.
15198 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15199 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15200 (test-xfail-UNIX98/sched.h/conform): Likewise.
15201
302949e2
MS
152022014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15203
15204 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15205 error absence of trapping exception support.
15206 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15207
a00f522a
JM
152082014-03-07 Joseph Myers <joseph@codesourcery.com>
15209
6f99f280
JM
15210 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15211 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15212 * timezone/Makefile (testdata): Move definition above include of
15213 Rules.
15214 (test-zones): New variable.
15215 (tests-special): Add zone files.
15216 (build-testdata): Use $(evaluate-test).
15217
0b20a9e8
JM
15218 * elf/Makefile (tests-special): Rename tests to end with .out.
15219 ($(objpfx)noload-mem): Likewise.
15220 ($(objpfx)tst-leaks1-mem): Likewise.
15221 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15222 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15223 $(objpfx)test-iconvconfig.out.
15224 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15225 set -e inside subshell and redirect output to file.
15226 * iconvdata/Makefile (generated): Rename tests to end with .out.
15227 Correct type.
15228 (tests-special): Rename tests to end with .out.
15229 ($(objpfx)mtrace-tst-loading): Likewise.
15230 * intl/Makefile (generated): Likewise.
15231 (tests-special): Likewise.
15232 ($(objpfx)mtrace-tst-gettext): Likewise.
15233 * misc/Makefile (generated): Likewise.
15234 (tests-special): Likewise.
15235 ($(objpfx)tst-error1-mem): Likewise.
15236 * nptl/Makefile (tests-special): Likewise.
15237 ($(objpfx)tst-stack3-mem): Likewise.
15238 (generated): Likewise.
15239 * posix/Makefile (generated): Likewise.
15240 (tests-special): Likewise.
15241 (xtests-special): Likewise.
15242 ($(objpfx)tst-fnmatch-mem): Likewise.
15243 ($(objpfx)bug-regex2-mem): Likewise.
15244 ($(objpfx)bug-regex14-mem): Likewise.
15245 ($(objpfx)bug-regex21-mem): Likewise.
15246 ($(objpfx)bug-regex31-mem): Likewise.
15247 ($(objpfx)tst-vfork3-mem): Likewise.
15248 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15249 ($(objpfx)tst-pcre-mem): Likewise.
15250 ($(objpfx)tst-boost-mem): Likewise.
15251 ($(objpfx)bug-ga2-mem): Likewise.
15252 ($(objpfx)bug-glob2-mem): Likewise.
15253 * resolv/Makefile (generate): Likewise.
15254 (tests-special): Likewise.
15255 (xtests-special): Likewise.
15256 (generated): Likewise.
15257 ($(objpfx)mtrace-tst-leaks): Likewise.
15258 ($(objpfx)mtrace-tst-leaks2): Likewise.
15259
265d52ab
JM
15260 * scripts/merge-test-results.sh: New file.
15261 * Makefile (tests-special-notdir): New variable.
15262 (tests): Run merge-test-results.sh.
15263 (xtests): Likewise.
15264 * Rules (tests-special-notdir): New variable.
15265 (xtests-special-notdir): Likewise.
15266 (tests): Run merge-test-results.sh
15267 (xtests): Likewise.
15268
54ee292d
JM
15269 * Makeconfig (test-xfail-name): New variable.
15270 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15271 compute variable name for expected failures.
15272 * conform/Makefile (conformtest-headers-data): New variable.
15273 (conformtest-standards): Likewise.
15274 (conformtest-headers-ISO): Likewise.
15275 (conformtest-headers-ISO99): Likewise.
15276 (conformtest-headers-ISO11): Likewise.
15277 (conformtest-headers-POSIX): Likewise.
15278 (conformtest-headers-XPG3): Likewise.
15279 (conformtest-headers-XPG4): Likewise.
15280 (conformtest-headers-UNIX98): Likewise.
15281 (conformtest-headers-XOPEN2K): Likewise.
15282 (conformtest-headers-POSIX2008): Likewise.
15283 (conformtest-headers-XOPEN2K8): Likewise.
15284 (conformtest-header-list-base): Likewise.
15285 (conformtest-header-list-tests): Likewise.
15286 (conformtest-header-base): Likewise.
15287 (conformtest-header-tests): Likewise.
15288 (tests-special): Add $(conformtest-header-list-tests). If
15289 [$(fast-check) && !$(cross-compiling)], add
15290 $(conformtest-header-tests) instead of
15291 $(objpfx)run-conformtest.out.
15292 (generated): Add $(conformtest-header-list-base). If
15293 [$(fast-check) && !$(cross-compiling)], add
15294 $(conformtest-header-base). Remove previous setting.
15295 ($(conformtest-header-list-tests)): New target.
15296 (test-xfail-run-conformtest): Remove variable.
15297 ($(objpfx)run-conformtest.out): Remove target.
15298 (test-xfail-ISO11/complex.h/conform): New variable.
15299 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15300 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15301 (test-xfail-XPG3/varargs.h/conform): Likewise.
15302 (test-xfail-XPG4/varargs.h/conform): Likewise.
15303 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15304 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15305 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15306 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15307 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15308 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15309 (test-xfail-XPG3/ftw.h/conform): Likewise.
15310 (test-xfail-XPG3/grp.h/conform): Likewise.
15311 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15312 (test-xfail-XPG3/limits.h/conform): Likewise.
15313 (test-xfail-XPG3/pwd.h/conform): Likewise.
15314 (test-xfail-XPG3/search.h/conform): Likewise.
15315 (test-xfail-XPG3/signal.h/conform): Likewise.
15316 (test-xfail-XPG3/stdio.h/conform): Likewise.
15317 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15318 (test-xfail-XPG3/string.h/conform): Likewise.
15319 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15320 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15321 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15322 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15323 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15324 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15325 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15326 (test-xfail-XPG3/termios.h/conform): Likewise.
15327 (test-xfail-XPG3/time.h/conform): Likewise.
15328 (test-xfail-XPG3/unistd.h/conform): Likewise.
15329 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15330 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15331 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15332 (test-xfail-XPG4/netdb.h/conform): Likewise.
15333 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15334 (test-xfail-XPG4/signal.h/conform): Likewise.
15335 (test-xfail-XPG4/stdio.h/conform): Likewise.
15336 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15337 (test-xfail-XPG4/stropts.h/conform): Likewise.
15338 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15339 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15340 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15341 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15342 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15343 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15344 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15345 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15346 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15347 (test-xfail-XPG4/termios.h/conform): Likewise.
15348 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15349 (test-xfail-XPG4/unistd.h/conform): Likewise.
15350 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15351 (test-xfail-POSIX/sched.h/conform): Likewise.
15352 (test-xfail-POSIX/signal.h/conform): Likewise.
15353 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15354 (test-xfail-POSIX/tar.h/conform): Likewise.
15355 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15356 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15357 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15358 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15359 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15360 (test-xfail-UNIX98/sched.h/conform): Likewise.
15361 (test-xfail-UNIX98/signal.h/conform): Likewise.
15362 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15363 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15364 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15365 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15366 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15367 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15368 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15369 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15370 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15371 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15372 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15373 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15374 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15375 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15376 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15377 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15378 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15379 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15380 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15381 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15382 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15383 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15384 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15385 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15386 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15387 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15388 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15389 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15390 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15391 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15392 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15393 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15394 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15395 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15396 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15397 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15398 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15399 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15400 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15401 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15402 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15403 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15404 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15405 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15406 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15407 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15408 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15409 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15410 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15411 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15412 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15413 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15414 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15415 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15416 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15417 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15418 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15419 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15420 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15421 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15422 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15423 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15424 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15425 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15426 (conformtest-cc-flags): Likewise.
15427 ($(conformtest-header-tests): New target.
15428 * conform/check-header-lists.sh: New file.
15429 * conform/run-conformtest.sh: Remove.
15430
a00f522a
JM
15431 * conform/conformtest.pl: Allow ' and \ in values given for
15432 constants.
15433 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15434 inclusion.
15435 [POSIX] (sys/types.h): Likewise.
15436 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15437 inclusion.
15438 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15439 inclusion.
15440 * conform/data/signal.h-data (SIGIO): Remove expectation.
15441 [XPG3] (SIGBUS): Do not expect.
15442 [POSIX || XPG3] (SIGPOLL): Likewise.
15443 [POSIX || XPG3] (SIGPROF): Likewise.
15444 [POSIX || XPG3] (SIGSYS): Likewise.
15445 [XPG3] (SIGTRAP): Likewise.
15446 [POSIX || XPG3] (SIGURG): Likewise.
15447 [POSIX || XPG3] (SIGVTALRM): Likewise.
15448 [POSIX || XPG3] (SIGXCPU): Likewise.
15449 [POSIX || XPG3] (SIGXFSZ): Likewise.
15450 [POSIX] (SA_SIGINFO): Expect.
15451 [XPG3] (siginfo_t): Do not expect type or contents.
15452 [POSIX] (si_pid): Do not expect element.
15453 [POSIX] (si_uid): Likewise.
15454 [POSIX] (si_addr): Likewise.
15455 [POSIX] (si_status): Likewise.
15456 [POSIX] (si_band): Likewise.
15457 [XPG4] (si_value): Likewise.
15458 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15459 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15460 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15461 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15462 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15463 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15464 [POSIX || XPG3] (ILL_COPROC): Likewise.
15465 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15466 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15467 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15468 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15469 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15470 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15471 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15472 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15473 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15474 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15475 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15476 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15477 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15478 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15479 [POSIX || XPG3] (CLD_EXITED): Likewise.
15480 [POSIX || XPG3] (CLD_KILLED): Likewise.
15481 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15482 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15483 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15484 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15485 [POSIX || XPG3] (POLL_IN): Likewise.
15486 [POSIX || XPG3] (POLL_OUT): Likewise.
15487 [POSIX || XPG3] (POLL_MSG): Likewise.
15488 [POSIX || XPG3] (POLL_ERR): Likewise.
15489 [POSIX || XPG3] (POLL_PRI): Likewise.
15490 [POSIX || XPG3] (POLL_HUP): Likewise.
15491 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15492 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15493 (SIG*): Do not allow.
15494 [XPG3] (si_*): Likewise.
15495 [XPG3] (SI_*): Likewise.
15496 [XPG3 || XPG4] (sigev_*): Likewise.
15497 [XPG3 || XPG4] (SIGEV_*): Likewise.
15498 [XPG3 || XPG4] (sival_*): Likewise.
15499 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15500 [POSIX || XPG3] (BUS_*): Likewise.
15501 [POSIX || XPG3] (CLD_*): Likewise.
15502 [POSIX || XPG3] (FPE_*): Likewise.
15503 [POSIX || XPG3] (ILL_*): Likewise.
15504 [POSIX || XPG3] (POLL_*): Likewise.
15505 [POSIX || XPG3] (SEGV_*): Likewise.
15506 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15507 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15508 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15509 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15510 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15511 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15512 Specify type and value.
15513 (TVERSLEN): Likewise.
15514 (REGTYPE): Likewise.
15515 (AREGTYPE): Likewise.
15516 (LNKTYPE): Likewise.
15517 (SYMTYPE): Likewise.
15518 (CHRTYPE): Likewise.
15519 (BLKTYPE): Likewise.
15520 (DIRTYPE): Likewise.
15521 (FIFOTYPE): Likewise.
15522 (CONTTYPE): Likewise.
15523 (TSUID): Likewise.
15524 (TSGID): Likewise.
15525 (TSVTX): Likewise.
15526 (TUREAD): Likewise.
15527 (TUWRITE): Likewise.
15528 (TUEXEC): Likewise.
15529 (TGREAD): Likewise.
15530 (TGWRITE): Likewise.
15531 (TGEXEC): Likewise.
15532 (TOREAD): Likewise.
15533 (TOWRITE): Likewise.
15534 (TOEXEC): Likewise.
15535 [POSIX] (TSVTX): Expect constant.
15536
aa97dee1
JM
155372014-03-06 Joseph Myers <joseph@codesourcery.com>
15538
f214606a
JM
15539 * Makefile (tests): Change dependencies to ....
15540 (tests-special): ... additions to this variable.
15541 (tests): Depend on $(tests-special).
15542 * Makerules (check-abi-list): New variable.
15543 (check-abi): Depend on $(check-abi-list).
15544 [$(subdir) = elf] (tests-special): Add
15545 $(objpfx)check-abi-libc.out.
15546 [$(build-shared) = yes && subdir] (tests-special): Add
15547 $(check-abi-list).
15548 [$(build-shared) = yes && subdir] (tests): Do not depend on
15549 check-abi.
15550 * Rules (tests): Depend on $(tests-special).
15551 (xtests): Depend on $(xtests-special).
15552 * catgets/Makefile (tests): Change dependencies to ....
15553 (tests-special): ... additions to this variable.
15554 * conform/Makefile (tests): Change dependencies to ....
15555 (tests-special): ... additions to this variable.
15556 * elf/Makefile (tests): Change dependencies to ....
15557 (tests-special): ... additions to this variable.
15558 * grp/Makefile (tests): Change dependencies to ....
15559 (tests-special): ... additions to this variable.
15560 * iconv/Makefile (xtests): Change dependencies to ....
15561 (xtests-special): ... additions to this variable.
15562 * iconvdata/Makefile (tests): Change dependencies to ....
15563 (tests-special): ... additions to this variable.
15564 * intl/Makefile (tests): Change dependencies to ....
15565 (tests-special): ... additions to this variable. Also add
15566 $(objpfx)tst-gettext.out.
15567 * io/Makefile (tests): Change dependencies to ....
15568 (tests-special): ... additions to this variable.
15569 * libio/Makefile (tests): Change dependencies to ....
15570 (tests-special): ... additions to this variable.
15571 * malloc/Makefile (tests): Change dependencies to ....
15572 (tests-special): ... additions to this variable.
15573 * misc/Makefile (tests): Change dependencies to ....
15574 (tests-special): ... additions to this variable.
15575 * nptl/Makefile (tests): Change dependencies to ....
15576 (tests-special): ... additions to this variable.
15577 * nptl_db/Makefile (tests): Change dependencies to ....
15578 (tests-special): ... additions to this variable.
15579 * posix/Makefile (tests): Change dependencies to ....
15580 (tests-special): ... additions to this variable.
15581 (xtests): Change dependencies to ....
15582 (xtests-special): ... additions to this variable.
15583 * resolv/Makefile (tests): Change dependencies to ....
15584 (tests-special): ... additions to this variable.
15585 (xtests): Change dependencies to ....
15586 (xtests-special): ... additions to this variable.
15587 * stdio-common/Makefile (tests): Change dependencies to ....
15588 (tests-special): ... additions to this variable.
15589 (do-tst-unbputc): Remove target.
15590 (do-tst-printf): Likewise.
15591 * stdlib/Makefile (tests): Change dependencies to ....
15592 (tests-special): ... additions to this variable.
15593 * string/Makefile (tests): Change dependencies to ....
15594 (tests-special): ... additions to this variable.
15595 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15596 (tests-special): ... additions to this variable.
15597
81700b53
JM
15598 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15599 whole file.
15600 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15601 whole file.
15602 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15603 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15604
2ea18461
JM
15605 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15606 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15607 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15608 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15609 * conform/data/libgen.h-data [XPG3]: Likewise.
15610 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15611 * conform/data/ndbm.h-data [XPG3]: Likewise.
15612 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15613 * conform/data/netdb.h-data [XPG3]: Likewise.
15614 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15615 * conform/data/poll.h-data [XPG3]: Likewise.
15616 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15617 * conform/data/strings.h-data [XPG3]: Likewise.
15618 * conform/data/stropts.h-data [XPG3]: Likewise.
15619 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15620 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15621 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15622 Likewise.
15623 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15624 * conform/data/sys/time.h-data [XPG3]: Likewise.
15625 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15626 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15627 * conform/data/sys/un.h-data [XPG3]: Likewise.
15628 * conform/data/syslog.h-data [XPG3]: Likewise.
15629 * conform/data/ucontext.h-data [XPG3]: Likewise.
15630 * conform/data/utmpx.h-data [XPG3]: Likewise.
15631 * conform/data/varargs.h-data [UNIX98]: Enable file.
15632
355bc986
JM
15633 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15634
215db402
JM
15635 * math/libm-test.inc (struct test_f_f_data): Move expected results
15636 into structure for each rounding mode.
15637 (struct test_ff_f_data): Likewise.
15638 (struct test_ff_f_data_nexttoward): Likewise.
15639 (struct test_fi_f_data): Likewise.
15640 (struct test_fl_f_data): Likewise.
15641 (struct test_if_f_data): Likewise.
15642 (struct test_fff_f_data): Likewise.
15643 (struct test_c_f_data): Likewise.
15644 (struct test_f_f1_data): Likewise.
15645 (struct test_fF_f1_data): Likewise.
15646 (struct test_ffI_f1_data): Likewise.
15647 (struct test_c_c_data): Likewise.
15648 (struct test_cc_c_data): Likewise.
15649 (struct test_f_i_data): Likewise.
15650 (struct test_ff_i_data): Likewise.
15651 (struct test_f_l_data): Likewise.
15652 (struct test_f_L_data): Likewise.
15653 (struct test_fFF_11_data): Likewise.
15654 (RM_): New macro.
15655 (RM_FE_DOWNWARD): Likewise.
15656 (RM_FE_TONEAREST): Likewise.
15657 (RM_FE_TOWARDZERO): Likewise.
15658 (RM_FE_UPWARD): Likewise.
15659 (RUN_TEST_LOOP_f_f): Update references to expected results.
15660 (RUN_TEST_LOOP_2_f): Likewise.
15661 (RUN_TEST_LOOP_fff_f): Likewise.
15662 (RUN_TEST_LOOP_c_f): Likewise.
15663 (RUN_TEST_LOOP_f_f1): Likewise.
15664 (RUN_TEST_LOOP_fF_f1): Likewise.
15665 (RUN_TEST_LOOP_fI_f1): Likewise.
15666 (RUN_TEST_LOOP_ffI_f1): Likewise.
15667 (RUN_TEST_LOOP_c_c): Likewise.
15668 (RUN_TEST_LOOP_cc_c): Likewise.
15669 (RUN_TEST_LOOP_f_i): Likewise.
15670 (RUN_TEST_LOOP_f_i_tg): Likewise.
15671 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15672 (RUN_TEST_LOOP_f_b): Likewise.
15673 (RUN_TEST_LOOP_f_b_tg): Likewise.
15674 (RUN_TEST_LOOP_f_l): Likewise.
15675 (RUN_TEST_LOOP_f_L): Likewise.
15676 (RUN_TEST_LOOP_fFF_11): Likewise.
15677 * math/gen-libm-test.pl (parse_args): Output four copies of
15678 expected results for each test.
15679
67737b8f
JM
15680 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15681 (__ASSUME_UTIMES): Remove.
15682 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15683 (__ASSUME_UTIMES): Likewise.
15684
aa97dee1
JM
15685 * math/gen-auto-libm-tests.c: Update comment on output format.
15686 (output_for_one_input_case): Generate before-rounding and
15687 after-rounding information as conditions on output flags not
15688 floating-point format.
15689 * math/auto-libm-test-out: Regenerated.
15690 * math/gen-libm-test.pl (cond_value): New function.
15691 (or_cond_value): Use cond_value.
15692 (generate_testfile): Handle conditional exceptions.
15693
e6b6a857
JM
156942014-03-05 Joseph Myers <joseph@codesourcery.com>
15695
2f0a0f44
JM
15696 * math/libm-test.inc (max_valid_error): New variable.
15697 (init_max_error): Take new argument specifying whether function
15698 results are exactly determined. Set max_valid_error and bound
15699 other variables for errors based on this argument.
15700 (set_max_error): Do not record results above max_valid_error.
15701 (check_float_internal): Only accept errors of up to 0.5ulps if
15702 also at most max_valid_error.
15703 (START): Take new argument EXACT and pass it to init_max_error.
15704 (acos_test): Update call to START.
15705 (acos_test_tonearest): Likewise.
15706 (acos_test_towardzero): Likewise.
15707 (acos_test_downward): Likewise.
15708 (acos_test_upward): Likewise.
15709 (acosh_test): Likewise.
15710 (asin_test): Likewise.
15711 (asin_test_tonearest): Likewise.
15712 (asin_test_towardzero): Likewise.
15713 (asin_test_downward): Likewise.
15714 (asin_test_upward): Likewise.
15715 (asinh_test): Likewise.
15716 (atan_test): Likewise.
15717 (atanh_test): Likewise.
15718 (atan2_test): Likewise.
15719 (cabs_test): Likewise.
15720 (cacos_test): Likewise.
15721 (cacosh_test): Likewise.
15722 (carg_test): Likewise.
15723 (casin_test): Likewise.
15724 (casinh_test): Likewise.
15725 (catan_test): Likewise.
15726 (catanh_test): Likewise.
15727 (cbrt_test): Likewise.
15728 (ccos_test): Likewise.
15729 (ccosh_test): Likewise.
15730 (ceil_test): Likewise.
15731 (cexp_test): Likewise.
15732 (cimag_test): Likewise.
15733 (clog_test): Likewise.
15734 (clog10_test): Likewise.
15735 (conj_test): Likewise.
15736 (copysign_test): Likewise.
15737 (cos_test): Likewise.
15738 (cos_test_tonearest): Likewise.
15739 (cos_test_towardzero): Likewise.
15740 (cos_test_downward): Likewise.
15741 (cos_test_upward): Likewise.
15742 (cosh_test): Likewise.
15743 (cosh_test_tonearest): Likewise.
15744 (cosh_test_towardzero): Likewise.
15745 (cosh_test_downward): Likewise.
15746 (cosh_test_upward): Likewise.
15747 (cpow_test): Likewise.
15748 (cproj_test): Likewise.
15749 (creal_test): Likewise.
15750 (csin_test): Likewise.
15751 (csinh_test): Likewise.
15752 (csqrt_test): Likewise.
15753 (ctan_test): Likewise.
15754 (ctan_test_tonearest): Likewise.
15755 (ctan_test_towardzero): Likewise.
15756 (ctan_test_downward): Likewise.
15757 (ctan_test_upward): Likewise.
15758 (ctanh_test): Likewise.
15759 (ctanh_test_tonearest): Likewise.
15760 (ctanh_test_towardzero): Likewise.
15761 (ctanh_test_downward): Likewise.
15762 (ctanh_test_upward): Likewise.
15763 (erf_test): Likewise.
15764 (erfc_test): Likewise.
15765 (exp_test): Likewise.
15766 (exp_test_tonearest): Likewise.
15767 (exp_test_towardzero): Likewise.
15768 (exp_test_downward): Likewise.
15769 (exp_test_upward): Likewise.
15770 (exp10_test): Likewise.
15771 (exp10_test_tonearest): Likewise.
15772 (exp10_test_towardzero): Likewise.
15773 (exp10_test_downward): Likewise.
15774 (exp10_test_upward): Likewise.
15775 (pow10_test): Likewise.
15776 (exp2_test): Likewise.
15777 (expm1_test): Likewise.
15778 (expm1_test_tonearest): Likewise.
15779 (expm1_test_towardzero): Likewise.
15780 (expm1_test_downward): Likewise.
15781 (expm1_test_upward): Likewise.
15782 (fabs_test): Likewise.
15783 (fdim_test): Likewise.
15784 (floor_test): Likewise.
15785 (fma_test): Likewise.
15786 (fma_test_towardzero): Likewise.
15787 (fma_test_downward): Likewise.
15788 (fma_test_upward): Likewise.
15789 (fmax_test): Likewise.
15790 (fmin_test): Likewise.
15791 (fmod_test): Likewise.
15792 (fpclassify_test): Likewise.
15793 (frexp_test): Likewise.
15794 (hypot_test): Likewise.
15795 (ilogb_test): Likewise.
15796 (isfinite_test): Likewise.
15797 (finite_test): Likewise.
15798 (isgreater_test): Likewise.
15799 (isgreaterequal_test): Likewise.
15800 (isinf_test): Likewise.
15801 (isless_test): Likewise.
15802 (islessequal_test): Likewise.
15803 (islessgreater_test): Likewise.
15804 (isnan_test): Likewise.
15805 (isnormal_test): Likewise.
15806 (issignaling_test): Likewise.
15807 (isunordered_test): Likewise.
15808 (j0_test): Likewise.
15809 (j1_test): Likewise.
15810 (jn_test): Likewise.
15811 (ldexp_test): Likewise.
15812 (lgamma_test): Likewise.
15813 (gamma_test): Likewise.
15814 (lrint_test): Likewise.
15815 (lrint_test_tonearest): Likewise.
15816 (lrint_test_towardzero): Likewise.
15817 (lrint_test_downward): Likewise.
15818 (lrint_test_upward): Likewise.
15819 (llrint_test): Likewise.
15820 (llrint_test_tonearest): Likewise.
15821 (llrint_test_towardzero): Likewise.
15822 (llrint_test_downward): Likewise.
15823 (llrint_test_upward): Likewise.
15824 (log_test): Likewise.
15825 (log10_test): Likewise.
15826 (log1p_test): Likewise.
15827 (log2_test): Likewise.
15828 (logb_test): Likewise.
15829 (logb_test_downward): Likewise.
15830 (lround_test): Likewise.
15831 (llround_test): Likewise.
15832 (modf_test): Likewise.
15833 (nearbyint_test): Likewise.
15834 (nextafter_test): Likewise.
15835 (nexttoward_test): Likewise.
15836 (pow_test): Likewise.
15837 (pow_test_tonearest): Likewise.
15838 (pow_test_towardzero): Likewise.
15839 (pow_test_downward): Likewise.
15840 (pow_test_upward): Likewise.
15841 (remainder_test): Likewise.
15842 (drem_test): Likewise.
15843 (remainder_test_tonearest): Likewise.
15844 (drem_test_tonearest): Likewise.
15845 (remainder_test_towardzero): Likewise.
15846 (drem_test_towardzero): Likewise.
15847 (remainder_test_downward): Likewise.
15848 (drem_test_downward): Likewise.
15849 (remainder_test_upward): Likewise.
15850 (drem_test_upward): Likewise.
15851 (remquo_test): Likewise.
15852 (rint_test): Likewise.
15853 (rint_test_tonearest): Likewise.
15854 (rint_test_towardzero): Likewise.
15855 (rint_test_downward): Likewise.
15856 (rint_test_upward): Likewise.
15857 (round_test): Likewise.
15858 (scalb_test): Likewise.
15859 (scalbn_test): Likewise.
15860 (scalbln_test): Likewise.
15861 (signbit_test): Likewise.
15862 (sin_test): Likewise.
15863 (sin_test_tonearest): Likewise.
15864 (sin_test_towardzero): Likewise.
15865 (sin_test_downward): Likewise.
15866 (sin_test_upward): Likewise.
15867 (sincos_test): Likewise.
15868 (sinh_test): Likewise.
15869 (sinh_test_tonearest): Likewise.
15870 (sinh_test_towardzero): Likewise.
15871 (sinh_test_downward): Likewise.
15872 (sinh_test_upward): Likewise.
15873 (sqrt_test): Likewise.
15874 (sqrt_test_tonearest): Likewise.
15875 (sqrt_test_towardzero): Likewise.
15876 (sqrt_test_downward): Likewise.
15877 (sqrt_test_upward): Likewise.
15878 (tan_test): Likewise.
15879 (tan_test_tonearest): Likewise.
15880 (tan_test_towardzero): Likewise.
15881 (tan_test_downward): Likewise.
15882 (tan_test_upward): Likewise.
15883 (tanh_test): Likewise.
15884 (tgamma_test): Likewise.
15885 (trunc_test): Likewise.
15886 (y0_test): Likewise.
15887 (y1_test): Likewise.
15888 (yn_test): Likewise.
15889 (significand_test): Likewise.
15890
e6b6a857
JM
15891 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15892 individual tests in comment.
15893 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15894 (prev_max_error): New variable.
15895 (prev_real_max_error): Likewise.
15896 (prev_imag_max_error): Likewise.
15897 (compare_ulp_data): Don't refer to test names in comment.
15898 (find_test_ulps): Remove function.
15899 (find_function_ulps): Likewise.
15900 (find_complex_function_ulps): Likewise.
15901 (init_max_error): Take function name as argument. Look up ulps
15902 for that function.
15903 (print_ulps): Remove function.
15904 (print_max_error): Use prev_max_error instead of calling
15905 find_function_ulps.
15906 (print_complex_max_error): Use prev_real_max_error and
15907 prev_imag_max_error instead of calling find_complex_function_ulps.
15908 (check_float_internal): Take max_ulp parameter instead of calling
15909 find_test_ulps. Don't call print_ulps.
15910 (check_float): Update call to check_float_internal.
15911 (check_complex): Update calls to check_float_internal.
15912 (START): Pass argument to init_max_error.
15913 * math/gen-libm-test.pl (%results): Don't include "kind"
15914 information.
15915 (parse_ulps): Don't handle ulps of individual tests.
15916 (print_ulps_file): Likewise.
15917 (output_ulps): Likewise.
15918 * math/README.libm-test: Update.
15919 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15920 individual tests.
15921 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15922 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15923 * sysdeps/arm/libm-test-ulps: Likewise.
15924 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15925 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15926 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15927 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15928 * sysdeps/microblaze/libm-test-ulps: Likewise.
15929 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15930 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15931 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15932 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15933 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15934 * sysdeps/sh/libm-test-ulps: Likewise.
15935 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15936 * sysdeps/tile/libm-test-ulps: Likewise.
15937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15938
45adef3c
JM
159392014-03-04 Joseph Myers <joseph@codesourcery.com>
15940
15941 * math/libm-test.inc (print_complex_max_error): Check separately
15942 whether real and imaginary errors are within allowed range and
15943 pass 0 to print_complex_function_ulps instead of value within
15944 allowed range.
15945
000232b9
SP
159462014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15947
d4b17258
SP
15948 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15949 formatting.
15950 (get_handles_fopen): Likewise.
15951 (do_write_test): Likewise.
15952
091eff71
SP
15953 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15954
fa3cd248
SP
15955 * libio/fileops.c (do_ftell): Use cached offset when
15956 available.
15957 * libio/iofwide.c (do_ftell_wide): Likewise.
15958 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15959 _IO_file_attach.
15960 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15961
000232b9
SP
15962 [BZ #16532]
15963 * libio/libioP.h (get_file_offset): New function.
15964 * libio/fileops.c (get_file_offset): Likewise.
15965 (do_ftell): Likewise.
15966 (_IO_new_file_seekoff): Split out ftell logic.
15967 * libio/wfileops.c (do_ftell_wide): Likewise.
15968 (_IO_wfile_seekoff): Split out ftell logic.
15969 * libio/tst-ftell-active-handler.c: New test case.
15970 * libio/Makefile (tests): Add it.
15971
116f4d1a
RM
159722014-03-03 Roland McGrath <roland@hack.frob.com>
15973
15974 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15975 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15976
532a6035
SP
159772014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15978
15979 [BZ #16639]
15980 * nscd/connections.c (nscd_init): Call do_exit.
15981 (start_threads): Call do_exit and notify_parent.
15982 (begin_drop_privileges): Call do_exit.
15983 (finish_drop_privileges): Likewise.
15984 * nscd/selinux.c (preserve_capabilities): Likewise.
15985 (install_real_capabilities): Likewise.
15986 (nscd_selinux_enabled): Likewise.
15987 (avc_create_thread): Likewise.
15988 (avc_alloc_lock): Likewise.
15989 (nscd_avc_init): Likewise.
15990 * nscd/nscd.c (parent_fd): New static variable.
15991 (main): Create a pipe between parent and child processes.
15992 Skip closing parent_fd.
15993 (monitor_child): New function.
15994 (do_exit): Likewise.
15995 (notify_parent): Likewise.
15996 * nscd/nscd.h (notify_parent): Likewise.
15997 (do_exit): Likewise.
15998
d6285c9f
CD
159992014-03-03 Carlos O'Donell <carlos@redhat.com>
16000
16001 * malloc/malloc.c (__libc_calloc): Revert last change.
16002
2b85d2a0
AZ
160032014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16004
16005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16006
c7debbdf
RS
160072014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16008
16009 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16011 implementation.
16012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16013 (__libc_ifunc_impl_list): Likewise.
16014 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16015 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16016 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16017 * string/strrchr.c: Define STRRCHR.
16018
235eed86
OB
160192014-02-28 Ondřej Bílka <neleai@seznam.cz>
16020
16021 * benchtest/bench-strtok.c (simple_strtok): Delete.
16022 (strtok_string): Use as benchmark.
16023 * string/strtok (STRTOK): New macro.
16024
8e25d1e7
CD
160252014-02-28 Carlos O'Donell <carlos@redhat.com>
16026
ef563f92
CD
16027 * manual/threads.texi: Add header and standard comments to all
16028 functions.
16029
8e25d1e7
CD
16030 * elf/dl-lookup.c (check_match): New function.
16031 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16032 (do_lookup_x): Remove nested function check_match. Use non-nested
16033 function check_match.
16034
ff71cc37
RM
160352014-02-28 Roland McGrath <roland@hack.frob.com>
16036
f08e9a26
RM
16037 * csu/Makefile (generated, before-compile): Use += rather than =.
16038 * catgets/Makefile (generated, generated-dirs): Likewise.
16039 * debug/Makefile (generated): Likewise.
16040 * dlfcn/Makefile (generated): Likewise.
16041 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16042 * iconvdata/Makefile (before-compile, generated): Likewise.
16043 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16044 * libio/Makefile (generated): Likewise.
16045 * malloc/Makefile (generated): Likewise.
16046 * manual/Makefile (generated, generated-dirs): Likewise.
16047 * misc/Makefile (generated): Likewise.
16048 * posix/Makefile (generated): Likewise.
16049 * resolv/Makefile (generated): Likewise.
16050 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16051 * timezone/Makefile (generated, generated-dirs): Likewise.
16052
ff71cc37
RM
16053 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16054
fe13a20c
AZ
160552014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16056
57f41c40
AS
16057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16058 power8 implementation.
16059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16060 file: POWER8 llround ifunc implementation.
16061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16062 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16063 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16064 POWER8 llround implementation.
16065
57f41c40
AS
16066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16067 power8 implementation.
16068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16069 file: POWER8 llrint ifunc implementation.
16070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16071 Add POWER8 implementation.
1ad8950a
AZ
16072 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16073 POWER8 llrint implementation.
16074
57f41c40
AS
16075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16076 power8 implementation.
16077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16078 file: POWER8 finite ifunc implementation.
16079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16080 Add POWER8 implementation.
cac626d6
AZ
16081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16082 Likewise.
16083 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16084 POWER8 finite implementation.
16085 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16086
57f41c40
AS
16087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16088 power8 implementation.
16089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16090 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16092 POWER8 implementation.
16093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16094 Likewise.
57f41c40
AS
16095 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16096 isinf implementation.
4393fc11
AZ
16097 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16098
57f41c40
AS
16099 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16100 (INIT_ARCH): Add hwcap2 initialization.
16101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16102 power8 implementation.
16103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16104 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16106 POWER8 implementation.
16107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16108 Likewise.
57f41c40
AS
16109 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16110 isnan implementation.
487972ae
AZ
16111 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16112
7d92b787
JY
161132014-02-27 Joey Ye <joey.ye@arm.com>
16114
16115 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16116 (_FP_NANFRAC_Q): Set to zero.
16117
1cadc858
SP
161182014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16119
16120 [BZ #16623]
16121 * math/auto-libm-test-in: New test inputs.
16122 * math/auto-libm-test-out: Regenerate.
16123 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16124 and DA.
16125 (__cos): Likewise.
16126 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16127
f8c17e79
JM
161282014-02-27 Joseph Myers <joseph@codesourcery.com>
16129
16130 * scripts/evaluate-test.sh: Take new argument indicating whether
16131 failure is expected.
16132 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16133 indicating whether failure is expected.
16134 * conform/Makefile (test-xfail-run-conformtest): New variable.
16135 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16136 level.
16137 * posix/Makefile (test-xfail-annexc): New variable.
16138 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16139
a5f891ac
JM
161402014-02-26 Joseph Myers <joseph@codesourcery.com>
16141
16142 * argp/Makefile: Include Makeconfig immediately after defining
16143 subdir.
16144 * assert/Makefile: Likewise.
16145 * benchtests/Makefile: Likewise.
16146 * catgets/Makefile: Likewise.
16147 * conform/Makefile: Likewise.
16148 * crypt/Makefile: Likewise.
16149 * csu/Makefile: Likewise.
16150 (all): Remove target.
16151 * ctype/Makefile: Include Makeconfig immediately after defining
16152 subdir.
16153 * debug/Makefile: Likewise.
16154 * dirent/Makefile: Likewise.
16155 * dlfcn/Makefile: Likewise.
16156 * gmon/Makefile: Likewise.
16157 * gnulib/Makefile: Likewise.
16158 * grp/Makefile: Likewise.
16159 * gshadow/Makefile: Likewise.
16160 * hesiod/Makefile: Likewise.
16161 * hurd/Makefile: Likewise.
16162 (all): Remove target.
16163 * iconvdata/Makefile: Include Makeconfig immediately after
16164 defining subdir.
16165 * inet/Makefile: Likewise.
16166 * intl/Makefile: Likewise.
16167 * io/Makefile: Likewise.
16168 * libio/Makefile: Likewise.
16169 (all): Remove target.
16170 * locale/Makefile: Include Makeconfig immediately after defining
16171 subdir.
16172 * login/Makefile: Likewise.
16173 * mach/Makefile: Likewise.
16174 (all): Remove target.
16175 * malloc/Makefile: Include Makeconfig immediately after defining
16176 subdir.
16177 (all): Remove target.
16178 * manual/Makefile: Include Makeconfig immediately after defining
16179 subdir.
16180 * math/Makefile: Likewise.
16181 * misc/Makefile: Likewise.
16182 * nis/Makefile: Likewise.
16183 * nss/Makefile: Likewise.
16184 * po/Makefile: Likewise.
16185 (all): Remove target.
16186 * posix/Makefile: Include Makeconfig immediately after defining
16187 subdir.
16188 * pwd/Makefile: Likewise.
16189 * resolv/Makefile: Likewise.
16190 * resource/Makefile: Likewise.
16191 * rt/Makefile: Likewise.
16192 * setjmp/Makefile: Likewise.
16193 * shadow/Makefile: Likewise.
16194 * signal/Makefile: Likewise.
16195 * socket/Makefile: Likewise.
16196 * soft-fp/Makefile: Likewise.
16197 * stdio-common/Makefile: Likewise.
16198 * stdlib/Makefile: Likewise.
16199 * streams/Makefile: Likewise.
16200 * string/Makefile: Likewise.
16201 * sunrpc/Makefile: Likewise.
16202 (all): Remove target.
16203 * sysvipc/Makefile: Include Makeconfig immediately after defining
16204 subdir.
16205 * termios/Makefile: Likewise.
16206 * time/Makefile: Likewise.
16207 * timezone/Makefile: Likewise.
16208 (all): Remove target.
16209 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16210 subdir.
16211 * wctype/Makefile: Likewise.
16212
5b456e9d
SE
162132014-02-26 Steve Ellcey <sellcey@mips.com>
16214
16215 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16216 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16217 (libc_feholdexcept_setround_mips): Ditto.
16218 (libc_feholdsetround): New.
16219 (libc_feholdsetroundf): New.
16220 (libc_feholdsetroundl): New.
16221 (libc_feupdateenv_test_mips): New.
16222 (libc_feupdateenv_test): New.
16223 (libc_feupdateenv_testf): New.
16224 (libc_feupdateenv_testl): New.
16225 (libc_feresetround): New.
16226 (libc_feresetroundf): New.
16227 (libc_feresetroundl): New.
16228 (libc_fetestexcept_mips): New.
16229 (libc_fetestexcept): New.
16230 (libc_fetestexceptf): New.
16231 (libc_fetestexceptl): New.
16232 (HAVE_RM_CTX): New.
16233 (libc_feholdexcept_setround_mips_ctx): New.
16234 (libc_feholdexcept_setround_ctx): New.
16235 (libc_feholdexcept_setroundf_ctx): New.
16236 (libc_feholdexcept_setroundl_ctx): New.
16237 (libc_fesetenv_mips_ctx): New.
16238 (libc_fesetenv_ctx): New.
16239 (libc_fesetenv_ctxf): New.
16240 (libc_fesetenv_ctxl): New.
16241 (libc_feupdateenv_mips_ctx): New.
16242 (libc_feupdateenv_ctx): New.
16243 (libc_feupdateenvf_ctx): New.
16244 (libc_feupdateenvl_ctx): New.
16245 (libc_feholdsetround_mips_ctx): New.
16246 (libc_feholdsetround_ctx): New.
16247 (libc_feholdsetroundf_ctx): New.
16248 (libc_feholdsetroundl_ctx): New.
16249 (libc_feresetround_mips_ctx): New.
16250 (libc_feresetround_ctx): New.
16251 (libc_feresetroundf_ctx): New.
16252 (libc_feresetroundl_ctx): New.
16253
085d0e35
CD
162542014-02-26 Carlos O'Donell <carlos@redhat.com>
16255
f067bf1f
CD
16256 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16257
085d0e35
CD
16258 * manual/ipc.texi: New file.
16259 * manual/Makefile (chapters): Add ipc.
16260 * manual/job.texi: Add "Inter-Process Communication" to next.
16261 * manual/process.texi: Add "Inter-Process Communication" to prev.
16262
86e58c08
AZ
162632014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16264
16265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16266
4248f0da
OB
162672014-02-26 Ondřej Bílka <neleai@seznam.cz>
16268
16269 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16270
cf822e3c
OB
16271 * manual/arith.texi: Fix spaces after sentences.
16272 * manual/charset.texi: Likewise.
16273 * manual/errno.texi: Likewise.
16274 * manual/install.texi: Likewise.
16275 * manual/llio.texi: Likewise.
16276 * manual/locale.texi: Likewise.
16277 * manual/maint.texi: Likewise.
16278 * manual/math.texi: Likewise.
16279 * manual/memory.texi: Likewise.
16280 * manual/message.texi: Likewise.
16281 * manual/probes.texi: Likewise.
16282 * manual/resource.texi: Likewise.
16283 * manual/signal.texi: Likewise.
16284 * manual/socket.texi: Likewise.
16285 * manual/stdio.texi: Likewise.
16286 * manual/string.texi: Likewise.
16287 * manual/time.texi: Likewise.
16288 * manual/users.texi: Likewise.
16289
ade40b10
CD
162902014-02-25 Carlos O'Donell <carlos@redhat.com>
16291
16292 [BZ #16632]
16293 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16294 _DEFAULT_SOURCE is defined.
16295
d0503676
CD
162962014-02-25 Ulrich Drepper <drepper@gmail.com>
16297 Carlos O'Donell <carlos@redhat.com>
16298
16299 [BZ #16613]
16300 * elf/dl-tls.c (_dl_count_modids): New function.
16301 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16302 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16303 audit library and increment generation counter.
16304 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16305 * elf/tst-audit9.c: New file.
16306 * elf/tst-auditmod9a.c: New file.
16307 * elf/tst-auditmod9b.c: New file.
16308 * elf/Makefile: Add rules to build and run tst-audit9.
16309
4cbf380c
FW
163102014-02-25 Florian Weimer <fweimer@redhat.com>
16311
16312 [BZ #15347]
16313 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16314
80a56cc3
WN
163152014-02-25 Will Newton <will.newton@linaro.org>
16316
16317 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16318 (__longjmp): Restore sp and lr before restoring callee
16319 saved registers. Add longjmp and longjmp_target
16320 SystemTap probe point.
16321 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16322 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16323 Define to zero to match jmpbuf layout.
16324 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16325 (__sigsetjmp): Save sp and lr before saving callee
16326 saved registers. Add setjmp SystemTap probe point.
16327
3ea0f74e
SL
163282014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16329
16330 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16331
b04acb26
AS
163322014-02-24 Andreas Schwab <schwab@suse.de>
16333
16334 [BZ #15804]
16335 * elf/pldd.c (wait_for_ptrace_stop): New function.
16336 (main): Call it after attaching.
16337
098ad55c
RM
163382014-02-22 Roland McGrath <roland@hack.frob.com>
16339
d4ec6ae1
RM
16340 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16341 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16342 Versions files is now verboten.
16343 * hurd/Versions (libc: GLIBC_2.0):
16344 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16345 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16346 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16347 * mach/Versions: Likewise.
16348
098ad55c
RM
16349 * csu/Versions: Remove unused %include.
16350 * resolv/Versions: Likewise.
16351
acd7f096
JM
163522014-02-21 Joseph Myers <joseph@codesourcery.com>
16353
f0881698
JM
16354 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16355 ($(objpfx)check-local-headers.out): Likewise.
16356 ($(objpfx)begin-end-check.out): Likewise.
16357 * Makerules (check-abi-%.out): Likewise.
16358 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16359 ($(objpfx)test2.cat): Likewise.
16360 ($(objpfx)de/libc.cat): Likewise.
16361 ($(objpfx)test-gencat.out): Likewise.
16362 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16363 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16364 ($(objpfx)noload-mem): Likewise.
16365 ($(objpfx)tst-pathopt.out): Likewise.
16366 ($(objpfx)tst-rtld-load-self.out): Likewise.
16367 ($(objpfx)tst-array1-cmp.out): Likewise.
16368 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16369 ($(objpfx)tst-array2-cmp.out): Likewise.
16370 ($(objpfx)tst-array3-cmp.out): Likewise.
16371 ($(objpfx)tst-array4-cmp.out): Likewise.
16372 ($(objpfx)tst-array5-cmp.out): Likewise.
16373 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16374 ($(objpfx)check-textrel.out): Likewise.
16375 ($(objpfx)check-execstack.out): Likewise.
16376 ($(objpfx)check-localplt.out): Likewise.
16377 ($(objpfx)order2-cmp.out): Likewise.
16378 ($(objpfx)tst-leaks1-mem): Likewise.
16379 ($(objpfx)tst-leaks1-static-mem): Likewise.
16380 ($(objpfx)tst-initorder-cmp.out): Likewise.
16381 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16382 ($(objpfx)tst-unused-dep.out): Likewise.
16383 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16384 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16385 * iconv/Makefile (test-iconvconfig): Likewise.
16386 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16387 ($(objpfx)iconv-test.out): Likewise.
16388 ($(objpfx)tst-tables.out): Likewise.
16389 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16390 ($(objpfx)tst-gettext.out): Likewise.
16391 ($(objpfx)tst-translit.out): Likewise.
16392 ($(objpfx)tst-gettext2.out): Likewise.
16393 ($(objpfx)tst-gettext4.out): Likewise.
16394 ($(objpfx)tst-gettext6.out): Likewise.
16395 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16396 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16397 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16398 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16399 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16400 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16401 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16402 ($(objpfx)wordexp-tst.out): Likewise.
16403 ($(objpfx)annexc.out): Likewise.
16404 ($(objpfx)tst-fnmatch-mem): Likewise.
16405 ($(objpfx)bug-regex2-mem): Likewise.
16406 ($(objpfx)bug-regex14-mem): Likewise.
16407 ($(objpfx)bug-regex21-mem): Likewise.
16408 ($(objpfx)bug-regex31-mem): Likewise.
16409 ($(objpfx)tst-vfork3-mem): Likewise.
16410 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16411 ($(objpfx)tst-pcre-mem): Likewise.
16412 ($(objpfx)tst-boost-mem): Likewise.
16413 ($(objpfx)tst-getconf.out): Likewise.
16414 ($(objpfx)bug-ga2-mem): Likewise.
16415 ($(objpfx)bug-glob2-mem): Likewise.
16416 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16417 ($(objpfx)mtrace-tst-leaks2): Likewise.
16418 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16419 ($(objpfx)tst-printf.out): Likewise.
16420 ($(objpfx)tst-setvbuf1.out): Likewise.
16421 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16422 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16423 ($(objpfx)tst-fmtmsg.out): Likewise.
16424 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16425 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16426
acd7f096
JM
16427 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16428 * bits/sigaction.h [__USE_MISC]: Likewise.
16429 * bits/waitstatus.h: Update #endif comments.
16430 * ctype/ctype.h: Likewise.
16431 * dirent/dirent.h: Likewise.
16432 [__USE_MISC]: Remove redundant conditionals.
16433 * grp/grp.h: Update #endif comments.
16434 [__USE_GNU]: Remove redundant conditionals.
16435 [__USE_MISC]: Likewise.
16436 * inet/netinet/in.h [__USE_GNU]: Likewise.
16437 * io/sys/stat.h [__USE_MISC]: Likewise.
16438 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16439 * libio/bits/stdio.h: Update #endif comments.
16440 [__USE_MISC]: Remove redundant conditionals.
16441 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16442 * libio/stdio.h: Update #endif comments.
16443 [__USE_MISC]: Remove redundant conditionals.
16444 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16445 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16446 * math/math.h: Update #else and #endif comments.
16447 [__USE_MISC]: Remove redundant conditionals.
16448 * misc/sys/uio.h: Update #endif comments.
16449 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16450 * posix/glob.h [__USE_MISC]: Likewise.
16451 * posix/sys/types.h: Update #endif comments.
16452 [__USE_MISC]: Remove redundant conditionals.
16453 * posix/sys/wait.h: Update #endif comments.
16454 [__USE_MISC]: Remove redundant conditionals.
16455 * posix/unistd.h: Update #endif comments.
16456 [__USE_MISC]: Remove redundant conditionals.
16457 * pwd/pwd.h [__USE_GNU]: Likewise.
16458 [__USE_MISC]: Likewise.
16459 * resolv/netdb.h [__USE_GNU]: Likewise.
16460 * signal/signal.h: Update #endif comments.
16461 [__USE_MISC]: Remove redundant conditionals.
16462 * stdlib/stdlib.h: Update #else and #endif comments.
16463 [__USE_MISC]: Remove redundant conditionals.
16464 [__USE_GNU]: Likewise.
16465 * string/bits/string2.h [__USE_MISC]: Likewise.
16466 * string/string.h: Update #endif comments.
16467 [__USE_MISC]: Remove redundant conditionals.
16468 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16469 Likewise.
16470 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16471 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16472 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16473 Likewise.
16474 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16475 Likewise.
16476 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16477 comments.
16478 [__USE_MISC]: Remove redundant conditionals.
16479 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16480 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16481 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16482 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16483 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16484 Likewise.
16485 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16486 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16487 Likewise.
16488 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16489 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16490 Likewise.
16491 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16492 Likewise.
16493 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16494 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16495 Likewise.
16496 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16497 Likewise.
16498 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16499 * sysdeps/x86/bits/string.h: Update #endif comments.
16500 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16501 conditionals.
16502 * time/sys/time.h: Update #endif comments.
16503 * time/time.h: Likewise.
16504 [__USE_MISC]: Remove redundant conditionals.
16505
a5d82e4e
YG
165062014-02-21 Yury Gribov <y.gribov@samsung.com>
16507
16508 [BZ #16600]
16509 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16510
9a80491d
AS
165112014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16512
16513 * Versions.def (librt): Add GLIBC_2.17.
16514
105fa381
AC
165152014-02-21 Adam Conrad <adconrad@0c3.net>
16516
16517 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16518 synonym for _SYS_AUXV_H to allow direct inclusion.
16519 * sysdeps/sparc/bits/hwcap.h: Likewise.
16520 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16521 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16522 * sysdeps/sparc/sysdep.h: Likewise.
16523
b8cd1c4e
SP
165242014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16525
16526 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16527
bd939d23
RS
165282014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16529
16530 * benchtests/bench-strrchr.c: Print length instead of position.
16531
5d7b57ca
JM
165322014-02-20 Joseph Myers <joseph@codesourcery.com>
16533
bc688c10
JM
16534 [BZ #16611]
16535 * sysdeps/unix/sysv/linux/kernel-features.h
16536 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16537 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16538 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16539 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16540 Likewise.
16541 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16542 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16543 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16544 (__ASSUME_SENDMMSG): Define instead of using previous
16545 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16546 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16547 (__ASSUME_SENDMMSG_SYSCALL): Define.
16548 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16549 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16550 Likewise.
16551 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16552 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16553 Likewise.
16554 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16555 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16556 Likewise.
16557 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16558 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16559 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16560 [__ASSUME_SENDMMSG]: Change conditionals to
16561 [__ASSUME_SENDMMSG_SOCKETCALL].
16562 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16563 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16564 Define.
16565 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16566 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16567 Likewise.
16568 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16569 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16570 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16571 [!__ASSUME_SENDMMSG]: Change conditional to
16572 [!__ASSUME_SENDMMSG_SOCKETCALL].
16573 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16574 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16575 Define.
16576
0e31b18c
JM
16577 [BZ #16610]
16578 * sysdeps/unix/sysv/linux/kernel-features.h
16579 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16580 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16581 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16582 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16583 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16584 [__i386__ || __sparc__]
16585 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16586 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16587 (__ASSUME_RECVMMSG): Define instead of using previous
16588 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16589 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16590 (__ASSUME_RECVMMSG_SYSCALL): Define.
16591 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16592 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16593 Likewise.
16594 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16595 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16596 Likewise.
16597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16598 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16599 Likewise.
16600 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16601 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16602 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16603 [__ASSUME_RECVMMSG]: Change condition to
16604 [__ASSUME_RECVMMSG_SOCKETCALL].
16605 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16606 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16607 Define.
16608 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16609 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16610 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16611 Likewise.
16612 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16613 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16614 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16615 [!__ASSUME_RECVMMSG]: Change condition to
16616 [!__ASSUME_RECVMMSG_SOCKETCALL].
16617 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16618 (__ASSUME_RECVMMSG_SYSCALL): Define.
16619
dd481ccf
JM
16620 [BZ #16609]
16621 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16622 __powerpc__ || __s390__ || __sh__ || __sparc__]
16623 (__ASSUME_SOCKETCALL): Define.
16624 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16625 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16626 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16627 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16628 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16629 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16630 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16631 (__ASSUME_ACCEPT4): Define instead of using previous
16632 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16633 __powerpc__ || __sparc__ || __s390__)] condition.
16634 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16635 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16636 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16637 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16638 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16639 [!__ASSUME_ACCEPT4]: Change condition to
16640 [!__ASSUME_ACCEPT4_SOCKETCALL].
16641 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16642 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16643 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16644 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16645 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16646 __ASSUME_ACCEPT4_SYSCALL.
16647 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16648 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16649 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16650 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16651 __ASSUME_ACCEPT4_SYSCALL.
16652 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16653 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16654 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16655 [__ASSUME_ACCEPT4]: Change condition to
16656 [__ASSUME_ACCEPT4_SOCKETCALL].
16657 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16658 (__ASSUME_SOCKETCALL): Define.
16659 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16660 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16661 (__ASSUME_SOCKETCALL): Define.
16662 (__ASSUME_ACCEPT4): Remove.
16663 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16664 Define.
16665 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16666 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16667 Likewise.
16668 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16669 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16670
5d7b57ca
JM
16671 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16672 macro.
16673 (HWCAP_ARM_LPAE): Likewise.
16674 (HWCAP_ARM_EVTSTRM): Likewise.
16675 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16676 Add vpfd32, lpae and evtstrm.
16677 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16678 Increase to 22.
16679
63689d61
JM
166802014-02-19 Joseph Myers <joseph@codesourcery.com>
16681
16682 * math/auto-libm-test-in: Add tests of clog10.
16683 * math/auto-libm-test-out: Regenerated.
16684 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16685 * sysdeps/i386/fpu/libm-test-ulps: Update.
16686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16687
ab09bf61
AS
166882014-02-18 Andreas Schwab <schwab@suse.de>
16689
16690 [BZ #16574]
16691 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16692 Store non-zero if the second buffer was newly allocated.
16693 (send_dg): Likewise.
16694 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16695 to send_vc and send_dg.
16696 (res_nsend): Pass NULL for ansp2_malloced.
16697 * resolv/res_query.c (__libc_res_nquery): Add parameter
16698 answerp2_malloced and pass it down to __libc_res_nsend.
16699 (res_nquery): Pass additional NULL to __libc_res_nquery.
16700 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16701 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16702 second answer buffer if answerp2_malloced was set.
16703 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16704 (__libc_res_nquerydomain): Add parameter
16705 answerp2_malloced and pass it down to __libc_res_nquery.
16706 (res_nquerydomain): Pass additional NULL to
16707 __libc_res_nquerydomain.
16708 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16709 additional NULL to __libc_res_nsend and __libc_res_nquery.
16710 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16711 additional NULL to __libc_res_nsearch.
16712 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16713 parameter of __libc_res_nsearch to check for separately allocated
16714 second buffer.
16715 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16716 __libc_res_nquery.
16717 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16718 additional NULL to __libc_res_nquery.
16719 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16720 __libc_res_nsearch.
16721 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16722 * include/resolv.h: Update prototypes of __libc_res_nquery,
16723 __libc_res_nsearch, __libc_res_nsend.
16724
a4fb7861
JM
167252014-02-18 Joseph Myers <joseph@codesourcery.com>
16726
c6af2d89
JM
16727 * math/auto-libm-test-in: Add tests of fma.
16728 * math/auto-libm-test-out: Regenerated.
16729 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16730 (fma_towardzero_test_data): Likewise.
16731 (fma_downward_test_data): Likewise.
16732 (fma_upward_test_data): Likewise.
16733 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16734 mpc_mode.
16735 (rounding_modes): Add values for new field.
16736 (func_calc_method): Add value mpfr_fff_f.
16737 (func_calc_desc): Add mpfr_fff_f union field.
16738 (test_function): Add field exact_args.
16739 (FUNC): Add macro argument EXACT_ARGS.
16740 (FUNC_mpfr_f_f): Update call to FUNC.
16741 (FUNC_mpfr_f_f): Likewise.
16742 (FUNC_mpfr_ff_f): Likewise.
16743 (FUNC_mpfr_if_f): Likewise.
16744 (FUNC_mpc_c_f): Likewise.
16745 (FUNC_mpc_c_c): Likewise.
16746 (test_functions): Add fma. Update calls to FUNC.
16747 (handle_input_arg): Add argument exact_args.
16748 (add_test): Update call to handle_input_arg.
16749 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16750 (output_for_one_input_case): Update call to calc_generic_results.
16751 Recalculate exact zero results in each rounding mode.
16752
a4fb7861
JM
16753 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16754 non-negative before setting low bit.
16755 * math/auto-libm-test-in: Mark one asin test possibly having
16756 spurious underflow.
16757 * math/auto-libm-test-out: Regenerated.
16758 * sysdeps/i386/fpu/libm-test-ulps: Update.
16759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16760
ef114eaf
DH
167612014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16762
2b7f4f2c
SP
16763 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16764 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16765 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16766 * README: Add missing listing for microblaze*-*-linux-gnu.
16767
8125aedc
AM
167682014-02-16 Ondřej Bílka <neleai@seznam.cz>
16769
16770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16771 duplicate code
16772
c70a4b1d
MF
167732014-02-16 Mike Frysinger <vapier@gentoo.org>
16774
16775 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16776 * sysdeps/unix/sysv/linux/ia64: Move directory from
16777 ports/sysdeps/unix/sysv/linux/ia64.
16778 * README: Update listing for ia64-*-linux-gnu.
16779
591aeaf7
TD
167802014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16781 Joseph Myers <joseph@codesourcery.com>
16782
16783 * Makeconfig (test-name): New variable.
16784 (evaluate-test): Likewise.
16785 * Makerules (do-test-clean): Remove .test-result files.
16786 (common-mostlyclean): Likewise.
16787 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16788 * scripts/evaluate-test.sh: New file.
16789
6e89caf1
JM
167902014-02-14 Joseph Myers <joseph@codesourcery.com>
16791
7f98f180
JM
16792 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16793 separate $(objpfx)tst-fopenloc-cmp.out and
16794 $(objpfx)tst-fopenloc-mem.out targets.
16795 (tests): Update dependencies.
16796 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16797 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16798 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16799 (tst-rxspencer-no-utf8-ARGS): New variable.
16800 (tst-rxspencer-no-utf8-ENV): Likewise.
16801 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16802 instead of $(objpfx)tst-rxspencer-mem.
16803 ($(objpfx)tst-rxspencer-mem): Change target to
16804 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16805 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16806 * posix/tst-rxspencer-no-utf8.c: New file.
16807
6e89caf1
JM
16808 * elf/Makefile ($(objpfx)order.out): Remove rule.
16809 [$(run-built-tests) = yes] (tests): Depend on
16810 $(objpfx)order-cmp.out.
16811 ($(objpfx)order-cmp.out): New rule.
16812 [$(run-built-tests) = yes] (tests): Depend on
16813 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16814 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16815 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16816 $(objpfx)tst-array5-static-cmp.out.
16817 ($(objpfx)tst-array1.out): Remove rule.
16818 ($(objpfx)tst-array1-cmp.out): New rule.
16819 ($(objpfx)tst-array1-static.out): Remove rule.
16820 ($(objpfx)tst-array1-static-cmp.out): New rule.
16821 ($(objpfx)tst-array2.out): Remove rule.
16822 ($(objpfx)tst-array2-cmp.out): New rule.
16823 ($(objpfx)tst-array3.out): Remove rule.
16824 ($(objpfx)tst-array3-cmp.out): New rule.
16825 ($(objpfx)tst-array4.out): Remove rule.
16826 ($(objpfx)tst-array4-cmp.out): New rule.
16827 ($(objpfx)tst-array5.out): Remove rule.
16828 ($(objpfx)tst-array5-cmp.out): New rule.
16829 ($(objpfx)tst-array5-static.out): Remove rule.
16830 ($(objpfx)tst-array5-static-cmp.out): New rule.
16831 [$(run-built-tests) = yes] (tests): Depend on
16832 $(objpfx)order2-cmp.out.
16833 ($(objpfx)order2.out): Remove rule.
16834 ($(objpfx)order2-cmp.out): New rule.
16835 ($(objpfx)tst-initorder.out): Remove rule.
16836 [$(run-built-tests) = yes] (tests): Depend on
16837 $(objpfx)tst-initorder-cmp.out.
16838 ($(objpfx)tst-initorder-cmp.out): New rule.
16839 ($(objpfx)tst-initorder2.out): Remove rule.
16840 [$(run-built-tests) = yes] (tests): Depend on
16841 $(objpfx)tst-initorder2-cmp.out.
16842 ($(objpfx)tst-initorder2-cmp.out): New rule.
16843 [$(run-built-tests) = yes] (tests): Depend on
16844 $(objpfx)tst-unused-dep-cmp.out.
16845 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16846 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16847 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16848 on $(objpfx)tst-setvbuf1-cmp.out.
16849 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16850 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16851 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16852 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16853 ($(objpfx)tst-svc.out): Remove rule.
16854 ($(objpfx)tst-svc-cmp.out): New rule.
16855
ed9a38e2
JM
168562014-02-13 Joseph Myers <joseph@codesourcery.com>
16857
16858 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16859 * ctype/ctype.h [__USE_MISC]: Likewise.
16860 * dirent/dirent.h [__USE_MISC]: Likewise.
16861 * grp/grp.h [__USE_MISC]: Likewise.
16862 * io/fcntl.h [__USE_MISC]: Likewise.
16863 * io/sys/stat.h [__USE_MISC]: Likewise.
16864 * libio/stdio.h [__USE_MISC]: Likewise.
16865 * posix/unistd.h [__USE_MISC]: Likewise.
16866 * pwd/pwd.h [__USE_MISC]: Likewise.
16867 * stdlib.h [__USE_MISC]: Likewise.
16868 * string/bits/string2.h [__USE_MISC]: Likewise.
16869 * string/string.h [__USE_MISC]: Likewise.
16870 * time/time.h [__USE_MISC]: Likewise.
16871
d6680619
AS
168722014-02-13 Andreas Schwab <schwab@suse.de>
16873
16874 [BZ #16574]
16875 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16876 second answer buffer if it was separately allocated.
16877
ace614b8
JM
168782014-02-12 Joseph Myers <joseph@codesourcery.com>
16879
743151ae
JM
16880 * sysdeps/mips/math-tests.h: Include <features.h>.
16881 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16882 (ROUNDING_TESTS_long_double): Do not define.
16883 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16884 (EXCEPTION_TESTS_long_double): Likewise.
16885 * sysdeps/mips/mips64/libm-test-ulps: Update.
16886
498afc54
JM
16887 * include/features.h (__USE_BSD): Remove macro definitions.
16888 (__USE_SVID): Likewise.
16889 (_BSD_SOURCE): Likewise.
16890 (_SVID_SOURCE): Likewise.
16891 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16892 from definition of _DEFAULT_SOURCE.
16893 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16894 [_DEFAULT_SOURCE].
16895 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16896 * bits/mman.h [__USE_BSD]: Likewise.
16897 * bits/termios.h [__USE_BSD]: Likewise.
16898 * bits/waitstatus.h [__USE_BSD]: Likewise.
16899 * ctype/ctype.h [__USE_SVID]: Likewise.
16900 * dirent/dirent.h [__USE_BSD]: Likewise.
16901 * grp/grp.h [__USE_SVID]: Likewise.
16902 [__USE_BSD]: Likewise.
16903 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16904 * io/fcntl.h [__USE_BSD]: Likewise.
16905 * io/ftw.h [__USE_BSD]: Likewise.
16906 * io/sys/stat.h [__USE_BSD]: Likewise.
16907 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16908 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16909 * libio/stdio.h [__USE_SVID]: Likewise.
16910 [__USE_BSD]: Likewise.
16911 * math/math.h [__USE_SVID]: Likewise.
16912 [__USE_BSD]: Likewise.
16913 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16914 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16915 * misc/search.h [__USE_SVID]: Likewise.
16916 * misc/sys/mman.h [__USE_BSD]: Likewise.
16917 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16918 * misc/sys/uio.h [__USE_BSD]: Likewise.
16919 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16920 * posix/glob.h [__USE_BSD]: Likewise.
16921 * posix/regex.h [__USE_BSD]: Likewise.
16922 * posix/sys/types.h [__USE_BSD]: Likewise.
16923 [__USE_SVID]: Likewise.
16924 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16925 * posix/sys/wait.h [__USE_BSD]: Likewise.
16926 [__USE_SVID]: Likewise.
16927 * posix/unistd.h [__USE_BSD]: Likewise.
16928 [__USE_SVID]: Likewise.
16929 * pwd/pwd.h [__USE_SVID]: Likewise.
16930 * resolv/netdb.h [__USE_BSD]: Likewise.
16931 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16932 * signal/signal.h [__USE_BSD]: Likewise.
16933 [__USE_SVID]: Likewise.
16934 * socket/sys/socket.h [__USE_BSD]: Likewise.
16935 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16936 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16937 [__USE_SVID]: Likewise.
16938 * string/bits/string2.h [__USE_BSD]: Likewise.
16939 [__USE_SVID]: Likewise.
16940 * string/bits/string3.h [__USE_BSD]: Likewise.
16941 * string/endian.h [__USE_BSD]: Likewise.
16942 * string/string.h [__USE_SVID]: Likewise.
16943 [__USE_BSD]: Likewise.
16944 * string/strings.h [__USE_BSD]: Likewise.
16945 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16946 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16947 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16948 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16949 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16950 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16951 Likewise.
16952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16953 Likewise.
16954 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16955 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16956 Likewise.
16957 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16958 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16959 Likewise.
16960 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16961 Likewise.
16962 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16963 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16964 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16965 Likewise.
16966 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16967 Likewise.
16968 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16969 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16970 * termios/termios.h [__USE_BSD]: Likewise.
16971 * time/sys/time.h [__USE_BSD]: Likewise.
16972 * time/time.h [__USE_BSD]: Likewise.
16973 [__USE_SVID]: Likewise.
16974
dd7b064c
JM
16975 * Makefile (subdir_targets): Remove subdir_lint.out.
16976
a2c4c199
JM
16977 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16978 (do-tst-printf): Likewise.
16979 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16980 $(objpfx)tst-printf.out.
16981
8756f740
JM
16982 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16983
1b6dd3f1
JM
16984 * Makerules (check-abi-%): Change target to
16985 $(objpfx)check-abi-%.out.
16986 (check-abi target): Update dependencies.
16987 (check-abi-pattern variable): Redirect output of diff to $@.
16988 (check-abi variable): Likewise.
16989 * elf/Makefile (check-abi): Update dependencies.
16990
ace614b8
JM
16991 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16992 unused.
16993 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16994 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16995 subnormal range.
16996 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16997 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16998 value has largest subnormal exponent.
16999 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17000 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17001 * sysdeps/aarch64/soft-fp/sfp-machine.h
17002 (_FP_TININESS_AFTER_ROUNDING): New macro.
17003 * sysdeps/alpha/soft-fp/sfp-machine.h
17004 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17005 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17006 Likewise.
17007 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17008 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17009 * sysdeps/mips/soft-fp/sfp-machine.h
17010 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17011 * sysdeps/powerpc/soft-fp/sfp-machine.h
17012 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17013 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17014 Likewise.
17015 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17016 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17017 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17018 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17019 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17020 Likewise.
17021
fbfdf9cb
DAS
170222014-02-12 Dylan Alex Simon <dylan@dylex.net>
17023
17024 [BZ #16545]
17025 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17026 model 1.
17027
68b7efaa
RH
170282014-02-12 Richard Henderson <rth@redhat.com>
17029
c70a4b1d 17030 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17031 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17032 * sysdeps/unix/sysv/linux/alpha: Move directory from
17033 ports/sysdeps/unix/sysv/linux/alpha.
17034 * README: Update listing for alpha-*-linux-gnu.
17035
cb4a2928
JM
170362014-02-11 Joseph Myers <joseph@codesourcery.com>
17037
c941736c
JM
17038 * include/features.h: Update comment documenting feature test
17039 macros.
17040 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17041 _DEFAULT_SOURCE.
17042 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17043 (_SVID_SOURCE): Likewise.
17044 (_DEFAULT_SOURCE): Update description of default features.
17045 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17046 with _GNU_SOURCE.
17047 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17048 (S_ISVTX): Likewise.
17049 * manual/math.texi (Mathematical Constants): Likewise.
17050 * manual/signal.texi (Interrupted Primitives): Likewise.
17051 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17052 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17053 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17054 Don't refer to _SVID_SOURCE in warning text.
17055
e8d8d7ec
JM
17056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17057
cb4a2928
JM
17058 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17059 already defined.
17060 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17061 * sysdeps/mips/dl-lookup.c: Remove.
17062 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17063
7e6424e3
AK
170642014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17065
17066 [BZ #16447]
17067 * math/auto-libm-test-in: Add testcase for expl.
17068 * math/auto-libm-test-out: Regenerate.
17069 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17070 calculation of unsafe.
17071 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17072
75eff3fe
MS
170732014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17074
17075 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17076 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17077 ports/sysdeps/unix/sysv/linux/aarch64.
17078 * README: Update listing for aarch64*-*-linux-gnu.
17079
d35f1e80
WN
170802014-02-11 Will Newton <will.newton@linaro.org>
17081
17082 * manual/probes.texi (Mathematical Function Probes): Use
17083 "triggered" instead of "hit".
17084
7b3436d4
WN
17085 * manual/probes.texi (Internal Probes): Add documentation
17086 of setjmp, longjmp and longjmp_target probes.
17087
b4f12ca3
WN
17088 * include/stap-probe.h: Add comment about probe argument
17089 format.
17090
c13a72b7
WN
17091 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17092 definition. (tr_where, tr_freehook, tr_mallochook,
17093 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17094
195b8165
DM
170952014-02-11 David S. Miller <davem@davemloft.net>
17096
17097 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17098 processing int_tests.
17099
2ad7600b
JM
171002014-02-10 Joseph Myers <joseph@codesourcery.com>
17101
17102 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17103 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17104 * sysdeps/unix/sysv/linux/mips: Move directory from
17105 ports/sysdeps/unix/sysv/linux/mips.
17106 * README: Update listing for mips-*-linux-gnu and
17107 mips64-*-linux-gnu.
17108
73588a72
AS
171092014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17110
17111 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17112 * sysdeps/unix/sysv/linux/m68k: Move directory from
17113 ports/sysdeps/unix/sysv/linux/m68k.
17114 * README: Update listing for m68k-*-linux-gnu.
17115
4372980f
CM
171162014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17117
17118 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17119 * sysdeps/unix/sysv/linux/generic: Move directory from
17120 ports/sysdeps/unix/sysv/linux/generic.
17121 * sysdeps/unix/sysv/linux/tile: Move directory from
17122 ports/sysdeps/unix/sysv/linux/tile.
17123 * README: Update listing for tile*-*-linux-gnu.
17124
a1ffb40e
OB
171252014-02-10 Ondřej Bílka <neleai@seznam.cz>
17126
57f41c40
AS
17127 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17128 __builtin_expect.
a1ffb40e
OB
17129 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17130 * catgets/open_catalog.c (__open_catalog): Likewise.
17131 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17132 * debug/confstr_chk.c: Likewise.
17133 * debug/fread_chk.c (__fread_chk): Likewise.
17134 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17135 * debug/getgroups_chk.c: Likewise.
17136 * debug/mbsnrtowcs_chk.c: Likewise.
17137 * debug/mbsrtowcs_chk.c: Likewise.
17138 * debug/mbstowcs_chk.c: Likewise.
17139 * debug/memcpy_chk.c: Likewise.
17140 * debug/memmove_chk.c: Likewise.
17141 * debug/mempcpy_chk.c: Likewise.
17142 * debug/memset_chk.c: Likewise.
17143 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17144 * debug/strcat_chk.c (__strcat_chk): Likewise.
17145 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17146 * debug/strncat_chk.c (__strncat_chk): Likewise.
17147 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17148 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17149 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17150 * debug/wcpncpy_chk.c: Likewise.
17151 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17152 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17153 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17154 * debug/wcsncpy_chk.c: Likewise.
17155 * debug/wcsnrtombs_chk.c: Likewise.
17156 * debug/wcsrtombs_chk.c: Likewise.
17157 * debug/wcstombs_chk.c: Likewise.
17158 * debug/wmemcpy_chk.c: Likewise.
17159 * debug/wmemmove_chk.c: Likewise.
17160 * debug/wmempcpy_chk.c: Likewise.
17161 * debug/wmemset_chk.c: Likewise.
17162 * dirent/scandirat.c (SCANDIRAT): Likewise.
17163 * dlfcn/dladdr1.c (dladdr1): Likewise.
17164 * dlfcn/dladdr.c (dladdr): Likewise.
17165 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17166 * dlfcn/dlerror.c (__dlerror): Likewise.
17167 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17168 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17169 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17170 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17171 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17172 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17173 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17174 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17175 Likewise.
17176 * elf/dl-conflict.c: Likewise.
17177 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17178 * elf/dl-dst.h: Likewise.
17179 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17180 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17181 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17182 * elf/dl-init.c (call_init, _dl_init): Likewise.
17183 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17184 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17185 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17186 Likewise.
a1ffb40e
OB
17187 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17188 Likewise.
17189 * elf/dl-minimal.c (__libc_memalign): Likewise.
17190 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17191 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17192 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17193 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17194 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17195 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17196 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17197 * elf/dl-writev.h (_dl_writev): Likewise.
17198 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17199 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17200 (dl_main): Likewise.
a1ffb40e
OB
17201 * elf/setup-vdso.h (setup_vdso): Likewise.
17202 * grp/compat-initgroups.c (compat_call): Likewise.
17203 * grp/fgetgrent.c (fgetgrent): Likewise.
17204 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17205 * grp/putgrent.c (putgrent): Likewise.
17206 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17207 Likewise.
17208 * hurd/hurdinit.c: Likewise.
17209 * iconvdata/8bit-gap.c (struct): Likewise.
17210 * iconvdata/ansi_x3.110.c : Likewise.
17211 * iconvdata/big5.c : Likewise.
17212 * iconvdata/big5hkscs.c : Likewise.
17213 * iconvdata/cp1255.c: Likewise.
17214 * iconvdata/cp1258.c : Likewise.
17215 * iconvdata/cp932.c : Likewise.
17216 * iconvdata/euc-cn.c: Likewise.
17217 * iconvdata/euc-jisx0213.c : Likewise.
17218 * iconvdata/euc-jp.c: Likewise.
17219 * iconvdata/euc-jp-ms.c : Likewise.
17220 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17221 * iconvdata/gb18030.c : Likewise.
17222 * iconvdata/gbbig5.c (const): Likewise.
17223 * iconvdata/gbgbk.c: Likewise.
17224 * iconvdata/gbk.c : Likewise.
17225 * iconvdata/ibm1364.c : Likewise.
17226 * iconvdata/ibm930.c : Likewise.
17227 * iconvdata/ibm932.c: Likewise.
17228 * iconvdata/ibm933.c : Likewise.
17229 * iconvdata/ibm935.c : Likewise.
17230 * iconvdata/ibm937.c : Likewise.
17231 * iconvdata/ibm939.c : Likewise.
17232 * iconvdata/ibm943.c: Likewise.
17233 * iconvdata/iso_11548-1.c: Likewise.
17234 * iconvdata/iso-2022-cn.c : Likewise.
17235 * iconvdata/iso-2022-cn-ext.c : Likewise.
17236 * iconvdata/iso-2022-jp-3.c: Likewise.
17237 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17238 * iconvdata/iso-2022-kr.c : Likewise.
17239 * iconvdata/iso646.c (gconv_end): Likewise.
17240 * iconvdata/iso_6937-2.c : Likewise.
17241 * iconvdata/iso_6937.c : Likewise.
17242 * iconvdata/iso8859-1.c: Likewise.
17243 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17244 * iconvdata/shift_jisx0213.c : Likewise.
17245 * iconvdata/sjis.c : Likewise.
17246 * iconvdata/t.61.c : Likewise.
17247 * iconvdata/tcvn5712-1.c : Likewise.
17248 * iconvdata/tscii.c: Likewise.
17249 * iconvdata/uhc.c : Likewise.
17250 * iconvdata/unicode.c (gconv_end): Likewise.
17251 * iconvdata/utf-16.c (gconv_end): Likewise.
17252 * iconvdata/utf-32.c (gconv_end): Likewise.
17253 * iconvdata/utf-7.c (base64): Likewise.
17254 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17255 * iconv/gconv_close.c (__gconv_close): Likewise.
17256 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17257 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17258 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17259 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17260 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17261 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17262 * iconv/iconv.c (iconv): Likewise.
17263 * iconv/iconv_close.c: Likewise.
17264 * iconv/loop.c (SINGLE): Likewise.
17265 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17266 * include/atomic.h: Likewise.
17267 * inet/inet6_option.c (option_alloc): Likewise.
17268 * intl/bindtextdom.c (set_binding_values): Likewise.
17269 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17270 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17271 * intl/localealias.c (read_alias_file): Likewise.
17272 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17273 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17274 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17275 * libio/fmemopen.c (fmemopen): Likewise.
17276 * libio/iofgets.c (_IO_fgets): Likewise.
17277 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17278 * libio/iofgetws.c (fgetws): Likewise.
17279 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17280 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17281 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17282 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17283 * locale/findlocale.c (_nl_find_locale): Likewise.
17284 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17285 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17286 Likewise.
17287 * locale/setlocale.c (setlocale): Likewise.
17288 * login/programs/pt_chown.c (main): Likewise.
17289 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17290 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17291 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17292 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17293 * math/e_exp2l.c: Likewise.
17294 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17295 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17296 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17297 * math/s_catan.c (__catan): Likewise.
17298 * math/s_catanf.c (__catanf): Likewise.
17299 * math/s_catanh.c (__catanh): Likewise.
17300 * math/s_catanhf.c (__catanhf): Likewise.
17301 * math/s_catanhl.c (__catanhl): Likewise.
17302 * math/s_catanl.c (__catanl): Likewise.
17303 * math/s_ccosh.c (__ccosh): Likewise.
17304 * math/s_ccoshf.c (__ccoshf): Likewise.
17305 * math/s_ccoshl.c (__ccoshl): Likewise.
17306 * math/s_cexp.c (__cexp): Likewise.
17307 * math/s_cexpf.c (__cexpf): Likewise.
17308 * math/s_cexpl.c (__cexpl): Likewise.
17309 * math/s_clog10.c (__clog10): Likewise.
17310 * math/s_clog10f.c (__clog10f): Likewise.
17311 * math/s_clog10l.c (__clog10l): Likewise.
17312 * math/s_clog.c (__clog): Likewise.
17313 * math/s_clogf.c (__clogf): Likewise.
17314 * math/s_clogl.c (__clogl): Likewise.
17315 * math/s_csin.c (__csin): Likewise.
17316 * math/s_csinf.c (__csinf): Likewise.
17317 * math/s_csinh.c (__csinh): Likewise.
17318 * math/s_csinhf.c (__csinhf): Likewise.
17319 * math/s_csinhl.c (__csinhl): Likewise.
17320 * math/s_csinl.c (__csinl): Likewise.
17321 * math/s_csqrt.c (__csqrt): Likewise.
17322 * math/s_csqrtf.c (__csqrtf): Likewise.
17323 * math/s_csqrtl.c (__csqrtl): Likewise.
17324 * math/s_ctan.c (__ctan): Likewise.
17325 * math/s_ctanf.c (__ctanf): Likewise.
17326 * math/s_ctanh.c (__ctanh): Likewise.
17327 * math/s_ctanhf.c (__ctanhf): Likewise.
17328 * math/s_ctanhl.c (__ctanhl): Likewise.
17329 * math/s_ctanl.c (__ctanl): Likewise.
17330 * math/w_pow.c: Likewise.
17331 * math/w_powf.c: Likewise.
17332 * math/w_powl.c: Likewise.
17333 * math/w_scalb.c (sysv_scalb): Likewise.
17334 * math/w_scalbf.c (sysv_scalbf): Likewise.
17335 * math/w_scalbl.c (sysv_scalbl): Likewise.
17336 * misc/error.c (error_tail): Likewise.
17337 * misc/pselect.c (__pselect): Likewise.
17338 * nis/nis_callback.c (__nis_create_callback): Likewise.
17339 * nis/nis_call.c (__nisfind_server): Likewise.
17340 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17341 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17342 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17343 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17344 * nis/nis_lookup.c (nis_lookup): Likewise.
17345 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17346 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17347 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17348 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17349 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17350 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17351 * nis/nss_compat/compat-initgroups.c (add_group)
17352 (internal_getgrent_r): Likewise.
17353 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17354 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17355 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17356 (internal_getspnam_r): Likewise.
17357 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17358 (_nss_nis_getaliasbyname_r): Likewise.
17359 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17360 (_nss_nis_getntohost_r): Likewise.
17361 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17362 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17363 (_nss_nis_getgrgid_r): Likewise.
17364 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17365 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17366 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17367 (_nss_nis_gethostbyname4_r): Likewise.
17368 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17369 (initgroups_netid): Likewise.
a1ffb40e 17370 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17371 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17372 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17373 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17374 (_nss_nis_getprotobynumber_r): Likewise.
17375 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17376 (_nss_nis_getsecretkey): Likewise.
17377 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17378 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17379 (_nss_nis_getpwuid_r): Likewise.
17380 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17381 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17382 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17383 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17384 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17385 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17386 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17387 Likewise.
57f41c40
AS
17388 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17389 (_nss_nisplus_getntohost_r): Likewise.
17390 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17391 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17392 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17393 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17394 Likewise.
57f41c40
AS
17395 * nis/nss_nisplus/nisplus-initgroups.c
17396 (_nss_nisplus_initgroups_dyn): Likewise.
17397 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17398 (_nss_nisplus_getnetbyaddr_r): Likewise.
17399 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17400 (_nss_nisplus_getprotobynumber_r): Likewise.
17401 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17402 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17403 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17404 Likewise.
57f41c40
AS
17405 * nis/nss_nisplus/nisplus-service.c
17406 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17407 (_nss_nisplus_getservbyport_r): Likewise.
17408 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17409 (_nss_nisplus_getspnam_r): Likewise.
17410 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17411 Likewise.
a1ffb40e
OB
17412 * nscd/aicache.c (addhstaiX): Likewise.
17413 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17414 * nscd/connections.c (register_traced_file, send_ro_fd)
17415 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17416 (main_loop_epoll): Likewise.
a1ffb40e
OB
17417 * nscd/grpcache.c (addgrbyX): Likewise.
17418 * nscd/hstcache.c (addhstbyX): Likewise.
17419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17420 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17421 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17422 (addinnetgrX): Likewise.
17423 * nscd/nscd-client.h (__nscd_acquire_maplock)
17424 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17425 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17426 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17427 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17428 Likewise.
17429 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17430 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17431 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17432 (__nscd_get_map_ref): Likewise.
a1ffb40e 17433 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17434 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17435 Likewise.
a1ffb40e
OB
17436 * nscd/pwdcache.c (addpwbyX): Likewise.
17437 * nscd/selinux.c (preserve_capabilities): Likewise.
17438 * nscd/servicescache.c (addservbyX): Likewise.
17439 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17440 * posix/fnmatch.c (fnmatch): Likewise.
17441 * posix/getopt.c (_getopt_internal_r): Likewise.
17442 * posix/glob.c (glob, glob_in_dir): Likewise.
17443 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17444 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17445 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17446 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17447 * resolv/res_init.c: Likewise.
17448 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17449 * resolv/res_query.c (__libc_res_nquery): Likewise.
17450 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17451 Likewise.
17452 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17453 * stdio-common/perror.c (perror): Likewise.
17454 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17455 * stdio-common/tmpnam.c (tmpnam): Likewise.
17456 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17457 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17458 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17459 Likewise.
a1ffb40e
OB
17460 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17461 * stdlib/putenv.c (putenv): Likewise.
17462 * stdlib/setenv.c (__add_to_environ): Likewise.
17463 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17464 * stdlib/strtol_l.c (INTERNAL): Likewise.
17465 * string/memmem.c (memmem): Likewise.
17466 * string/strerror.c (strerror): Likewise.
17467 * string/strnlen.c (__strnlen): Likewise.
17468 * string/test-memmem.c (simple_memmem): Likewise.
17469 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17470 * sunrpc/pm_getport.c (__get_socket): Likewise.
17471 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17472 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17473 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17474 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17475 Likewise.
17476 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17477 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17478 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17479 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17480 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17481 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17482 Likewise.
17483 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17484 Likewise.
a1ffb40e
OB
17485 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17486 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17487 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17488 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17489 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17491 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17492 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17493 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17494 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17495 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17496 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17497 Likewise.
17498 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17499 Likewise.
17500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17501 Likewise.
17502 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17503 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17504 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17505 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17506 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17507 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17508 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17511 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17512 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17513 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17514 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17515 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17517 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17518 Likewise.
a1ffb40e
OB
17519 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17520 Likewise.
17521 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17522 Likewise.
17523 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17524 Likewise.
17525 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17526 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17527 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17528 Likewise.
17529 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17530 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17531 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17532 * sysdeps/posix/sleep.c: Likewise.
17533 * sysdeps/posix/tempname.c: Likewise.
17534 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17535 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17536 Likewise.
57f41c40
AS
17537 * sysdeps/powerpc/powerpc32/dl-machine.h
17538 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17539 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17541 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17542 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17543 Likewise.
17544 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17545 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17546 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17547 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17548 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17549 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17550 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17551 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17552 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17553 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17555 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17556 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17558 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17559 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17560 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17561 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17562 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17563 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17564 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17565 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17567 Likewise.
17568 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17569 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17570 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17571 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17572 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17573 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17574 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17575 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17576 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17577 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17578 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17579 Likewise.
17580 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17581 (__posix_fallocate64_l64): Likewise.
17582 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17583 (posix_fallocate): Likewise.
57f41c40
AS
17584 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17585 Likewise.
a1ffb40e 17586 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17587 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17588 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17589 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17590 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17591 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17592 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17593 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17594 (__posix_fallocate64_l64): Likewise.
17595 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17596 Likewise.
17597 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17598 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17599 (__get_clockfreq): Likewise.
a1ffb40e
OB
17600 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17601 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17602 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17603 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17604 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17605 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17606 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17607 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17608 Likewise.
17609 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17610 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17611 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17612 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17613 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17614 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17615 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17616 Likewise.
17617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17618 (posix_fallocate): Likewise.
17619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17620 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17621 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17622 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17623 (elf_machine_rela, elf_machine_rela_relative)
17624 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17625 * time/asctime.c (asctime_internal): Likewise.
17626 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17627 * time/tzset.c (__tzset_parse_tz): Likewise.
17628 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17629 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17630 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17631 * wcsmbs/wcsmbsload.h: Likewise.
17632
f3d338c9
OB
17633 [BZ #15894]
17634 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17635
57f41c40
AS
17636 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17637 (arena_get2): Remove THREAD_STATS conditionals.
17638 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17639 (__malloc_stats, int): Likewise.
bdfe308a 17640
d674667c
MF
176412014-02-08 Mike Frysinger <vapier@gentoo.org>
17642
17643 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17644 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17645
6349768c
MF
17646 * manual/setjmp.texi: Fix typos/grammar errors.
17647
0b7c7473
MF
17648 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17649 Only return early when n is <= 0. Delete unused return statement.
17650
ac8cc9e3
MF
17651 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17652 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17653 * debug/tst-longjmp_chk3.c: New file.
17654
c5bb8e23
MF
17655 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17656 (test_main): Replace code with set_fortify_handler call.
17657 * debug/test-strcpy_chk.c: Likewise.
17658 * debug/tst-chk1.c: Likewise.
17659 * debug/tst-longjmp_chk.c: Likewise.
17660 * test-skeleton.c: Include fcntl.h & paths.h
17661 (set_fortify_handler): Define.
17662
10444e42
MF
17663 * debug/tst-longjmp_chk.c: Add header comment and include
17664 ../test-skeleton.c.
17665 (do_test): Mark static.
17666 (TEST_FUNCTION): Define.
17667
1e805e8d
MF
17668 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17669 (IP_PMTUDISC_INTERFACE): Likewise.
17670 (IP_MULTICAST_IF): Likewise.
17671 (IP_MULTICAST_TTL): Likewise.
17672 (IP_MULTICAST_LOOP): Likewise.
17673 (IP_ADD_MEMBERSHIP): Likewise.
17674 (IP_DROP_MEMBERSHIP): Likewise.
17675 (IP_UNBLOCK_SOURCE): Likewise.
17676 (IP_BLOCK_SOURCE): Likewise.
17677 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17678 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17679 (IP_MSFILTER): Likewise.
17680 (MCAST_JOIN_GROUP): Likewise.
17681 (MCAST_BLOCK_SOURCE): Likewise.
17682 (MCAST_UNBLOCK_SOURCE): Likewise.
17683 (MCAST_LEAVE_GROUP): Likewise.
17684 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17685 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17686 (MCAST_MSFILTER): Likewise.
17687 (IP_MULTICAST_ALL): Likewise.
17688 (IP_UNICAST_IF): Likewise.
17689
73f79bb7
MF
17690 * timezone/Makefile: Delete $(have-ksh) check.
17691 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17692 * timezone/tzselect.ksh: Add +x mode bits.
17693
8da79b60
MF
17694 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17695 (ANON_INODE_FS_MAGIC): Likewise.
17696 (BDEVFS_MAGIC): Likewise.
17697 (BINFMTFS_MAGIC): Likewise.
17698 (BTRFS_TEST_MAGIC): Likewise.
17699 (CRAMFS_MAGIC_WEND): Likewise.
17700 (DEBUGFS_MAGIC): Likewise.
17701 (ECRYPTFS_SUPER_MAGIC): Likewise.
17702 (EXT3_SUPER_MAGIC): Likewise.
17703 (EXT4_SUPER_MAGIC): Likewise.
17704 (FUTEXFS_SUPER_MAGIC): Likewise.
17705 (HOSTFS_SUPER_MAGIC): Likewise.
17706 (HUGETLBFS_MAGIC): Likewise.
17707 (MINIX3_SUPER_MAGIC): Likewise.
17708 (MTD_INODE_FS_MAGIC): Likewise.
17709 (NILFS_SUPER_MAGIC): Likewise.
17710 (OPENPROM_SUPER_MAGIC): Likewise.
17711 (PIPEFS_MAGIC): Likewise.
17712 (PSTOREFS_MAGIC): Likewise.
17713 (QNX6_SUPER_MAGIC): Likewise.
17714 (RAMFS_MAGIC): Likewise.
17715 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17716 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17717 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17718 (SECURITYFS_MAGIC): Likewise.
17719 (SELINUX_MAGIC): Likewise.
17720 (SMACK_MAGIC): Likewise.
17721 (SOCKFS_MAGIC): Likewise.
17722 (SQUASHFS_MAGIC): Likewise.
17723 (STACK_END_MAGIC): Likewise.
17724 (TMPFS_MAGIC): Likewise.
17725 (USBDEVICE_SUPER_MAGIC): Likewise.
17726 (V9FS_MAGIC): Likewise.
17727 (XENFS_SUPER_MAGIC): Likewise.
17728 (CRAMFS_MAGIC): Fix typo in comment.
17729 (EXT2_SUPER_MAGIC): Update comment.
17730 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17731
464263cc
JM
177322014-02-08 Joseph Myers <joseph@codesourcery.com>
17733
c6bfe5c4
JM
17734 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17735 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17736 * sysdeps/unix/sysv/linux/arm: Move directory from
17737 ports/sysdeps/unix/sysv/linux/arm.
17738 * README: Update listing for arm-*-linux-gnueabi.
17739
464263cc
JM
17740 * README: Remove mention of am33.
17741
32749f6c
RM
177422014-02-07 Roland McGrath <roland@hack.frob.com>
17743
17744 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17745 than the comma operator, to avoid "rhs of comma has no effect"
17746 compiler warnings.
17747 (__sigfillset, __sigandset, __sigorset): Likewise.
17748 * include/signal.h (__sigemptyset): Likewise.
17749 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17750
d5b396c1
AM
177512014-02-07 Allan McRae <allan@archlinux.org>
17752
17753 * version.h (RELEASE): Set to "development".
17754 (VERSION): Set to "2.19.90"
17755 * NEWS: Add 2.20 section.
17756
3bfff2ed
CD
177572014-02-06 Carlos O'Donell <carlos@redhat.com>
17758
17759 [BZ #16529]
17760 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17761
ee7cc385
SP
177622014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17763
17764 * manual/contrib.texi: Update entry for Carlos O'Donell,
17765 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17766
f877c4f2
CD
177672014-02-05 Carlos O'Donell <carlos@rehdat.com>
17768
27e839f6
CD
17769 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17770
f877c4f2
CD
17771 * sysdeps/unix/sysv/linux/kernel-features.h
17772 [__LINUX_KERNEL_VERSION >= 0x020621]
17773 (__ASSUME_PROC_PID_TASK_COMM): Define.
17774
68159946
SP
177752014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17776
ba17cdbd
SP
17777 [BZ #16398]
17778 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17779 conversion when destination buffer does not have enough space.
17780 * libio/tst-ftell-partial-wide.c: New test case.
17781 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17782
68159946
SP
17783 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17784 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17785 Leonard and Allan McRae.
17786
2b528732
DM
177872014-02-04 David S. Miller <davem@davemloft.net>
17788
17789 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17790 32-bit.
17791
0ff82463
AZ
177922014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17793
57f41c40
AS
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17795 New file
c01603f7
AZ
17796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17797 New file
57f41c40
AS
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17799 New file.
17800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17801 New file.
c01603f7
AZ
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17803 New file.
57f41c40
AS
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17805 New file.
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17807 New file.
c01603f7
AZ
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17809 New file.
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17811 New file.
17812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17813 New file.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17815 New file.
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17817 New file.
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17819 New file.
17820
178212014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17822
0ff82463
AZ
17823 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17824 * shlib-versions: Likewise.
17825
1695c773
AZ
178262014-02-04 Roland McGrath <roland@hack.frob.com>
17827 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17828
17829 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17830 (abilist-pattern): New variable, set to %-le.abilist.
17831
17832 * Makerules (abilist-pattern): New variable.
17833 (vpath): Use $(abilist-pattern) in place of %.abilist.
17834 (check-abi-% pattern rule): Likewise.
17835 (check-abi, update-abi): Likewise.
17836
6c0ce4b4
EW
178372014-02-04 Eric Wong <normalperson@yhbt.net>
17838
17839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17840
481e3524
CD
178412014-02-03 Carlos O'Donell <carlos@redhat.com>
17842
17843 * manual/startup.texi: Add next, previous, and top entries for
17844 the `Program Arguments' and `Environment Variables' nodes.
17845
375592d3
AO
178462014-02-03 Alexandre Oliva <aoliva@redhat.com>
17847
17848 * manual/macros.texi: Add comments before MTASC-safety macros.
17849
f54838ba
AO
17850 * manual/users.texi: Document MTASC-safety properties.
17851
57f41c40
AS
17852 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17853 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17854 @deftypefun, and add @safety note.
17855 * manual/signal.texi: Move comments that analyze the above
17856 functions to their home place.
17857
fd3daba4
AM
178582014-02-03 Allan McRae <allan@archlinux.org>
17859
17860 * po/sl.po: Update Slovenian translation from translation project.
17861
597636d7
AO
178622014-02-02 Alexandre Oliva <aoliva@redhat.com>
17863
17864 * manual/time.texi (timegm): Add missing blank after @c.
17865 Reported by Joseph Myers <joseph@codesourcery.com>.
17866
ee196e3c
AO
178672014-02-01 Alexandre Oliva <aoliva@redhat.com>
17868
17869 * manual/check-safety.sh: New.
17870 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17871
f8d529d5
AO
17872 * manual/terminal.texi: Document MTASC-safety properties.
17873
de55fdf4
AO
17874 * manual/filesys.texi: Document MTASC-safety properties.
17875
c3299c08
AO
17876 * manual/errno.texi: Document MTASC-safety properties.
17877
06e90b14
AO
17878 * manual/intro.texi: Document safety identifiers and
17879 conditionals.
17880
1acd4371
AO
17881 * manual/string.texi (wcstok): Fix prototype.
17882 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17883
23e5b8cb
AO
17884 * manual/time.texi: Document MTASC-safety properties.
17885
11087373
AO
17886 * manual/string.texi: Document MTASC-safety properties.
17887
5da2c93d
AO
17888 * manual/threads.texi: Document MTASC-safety properties.
17889
171e9210
AO
17890 * manual/stdio.texi: Document MTASC-safety properties.
17891
d9e02532
AO
17892 * manual/syslog.texi: Document MTASC-safety properties.
17893
6af8bab7
AO
17894 * manual/sysinfo.texi: Document MTASC-safety properties.
17895
663b02d7
AO
17896 * manual/startup.texi: Document MTASC-safety properties.
17897
973f180b
AO
17898 * manual/socket.texi: Document MTASC-safety properties.
17899
8f3c25c8
AO
17900 * manual/signal.texi: Document MTASC-safety properties.
17901
542210fb
AO
179022014-01-31 Alexandre Oliva <aoliva@redhat.com>
17903
17904 * manual/setjmp.texi: Document MTASC-safety properties.
17905
433c45a2
AO
17906 * manual/search.texi: Document MTASC-safety properties.
17907
c8ce789c
AO
17908 * manual/resource.texi: Document MTASC-safety properties.
17909
19f5d29c
AO
17910 * manual/process.texi: Document MTASC-safety properties.
17911
e2dfb7f4
AO
17912 * manual/platform.texi: Document MTASC-safety properties.
17913
8c1413f5
AO
17914 * manual/pipe.texi: Document MTASC-safety properties.
17915
03483ada
AO
17916 * manual/pattern.texi: Document MTASC-safety properties.
17917
29e7e2df
AO
17918 * manual/message.texi: Document MTASC-safety properties.
17919
9f529d7c
AO
17920 [BZ #12751]
17921 * manual/memory.texi: Document MTASC-safety properties.
17922
27aaa791
AO
17923 * manual/math.texi: Document MTASC-safety properties.
17924
f2d58726
AO
17925 * manual/locale.texi: Document MTASC-safety properties.
17926
2cc3615c
AO
17927 * manual/llio.texi: Document MTASC-safety properties.
17928
d9f0ec97
AO
17929 * manual/libdl.texi: New.
17930
e7c4409a
AO
17931 * manual/lang.texi: Document MTASC-safety properties.
17932
27bdc63c
AO
17933 * manual/job.texi: Document MTASC-safety properties.
17934
a7b90ea9
AO
17935 * manual/getopt.texi: Document MTASC-safety properties.
17936
c49130e3
AO
17937 * manual/ctype.texi: Document MTASC-safety properties.
17938
0d23a5c1
MR
179392014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17940
17941 [BZ #16046]
17942 * csu/libc-tls.c (static_map): Remove variable.
17943 (__libc_setup_tls): Use main executable's link map for TLS data.
17944 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17945 casing for LM_ID_BASE and GL(dl_nns).
17946 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17947 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17948 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17949 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17950 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17951 member.
17952 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17953 l_phnum members.
17954
0037bb60
AO
179552014-01-30 Alexandre Oliva <aoliva@redhat.com>
17956
17957 * manual/debug.texi: Document MTASC-safety properties.
17958
409e00bd
L
179592014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17960
17961 [BZ #16510]
17962 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17963 of __x86_64__ when disabling x87 inline functions.
17964
86e60666
AO
179652014-01-29 Alexandre Oliva <aoliva@redhat.com>
17966
17967 * manual/charset.texi: Document MTASC-safety properties.
17968
76167637
AO
17969 * manual/crypt.texi: Document MTASC-safety properties.
17970
e567f2a0
AO
17971 * manual/conf.texi: Document MTASC-safety properties.
17972
b719dafd
AO
17973 * manual/arith.texi: Document MTASC-safety properties.
17974
4a16c662
AO
17975 * manual/argp.texi: Document MTASC-safety properties.
17976
0a57b83e
AO
17977 * manual/macros.texi: Introduce macros to document multi
17978 thread, asynchronous signal and asynchronous cancellation
17979 safety properties.
17980 * manual/intro.texi: Introduce the properties themselves.
17981
feab2397
KK
179822014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17983
17984 * sysdeps/sh/sh4/Makefile: New file.
17985
1c0d11bc
AS
179862014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17987
17988 * math/gen-libm-test.pl ($srcdir): New variable.
17989 ($auto_input): Use it.
17990
af37a8a3
SP
179912014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17992
d7b00f98
SP
17993 [BZ #16506]
17994 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17995 access beyond array bounds when parsing netgroups file.
17996
af37a8a3
SP
17997 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17998 the old buffer before realloc.
17999
0c00f062
AM
180002014-01-27 Allan McRae <allan@archlinux.org>
18001
18002 * po/fr.po: Update French translation from translation project.
18003
7d69a1b0
KK
180042014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18005
18006 * sysdeps/sh/libm-test-ulps: Regenerate.
18007
6e697ff7
DM
180082014-01-24 David S. Miller <davem@davemloft.net>
18009
18010 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18011
9cadb35c
KK
180122014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18013
18014 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18015 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18016
5d41dadf
SP
180172013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18018
18019 [BZ #16474]
18020 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18021 string pointers after reallocation.
18022
0bad441c
KK
180232014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18024
18025 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18026 __SH4A__ instead of __SH_FPU_ANY__.
18027
7007c661
KK
180282014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18029
18030 * sysdeps/sh/fpu_control.h: New file.
18031 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18032 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18033 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18034 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18035 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18036 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18037 * sysdeps/sh/sys/ucontext.h: Remove.
18038 * sysdeps/sh/sys: Remove directory.
18039
0f0c35e4
AK
180402014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18041
18042 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18043 s390/sys/ucontext.h.
18044 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18045 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18046
4959e284
L
180472014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18048
18049 [BZ #15605]
18050 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18051
d98720e0
AZ
180522014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18053
18054 [BZ#16431]
18055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18056 Adjust the vDSO correctly for internal calls.
18057 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18058
91cbd0bc
AM
180592014-01-20 Allan McRae <allan@archlinux.org>
18060
18061 * po/ca.po: Update Catalan translation from translation project.
18062
7a02cfad
MF
180632014-01-16 Mike Frysinger <vapier@gentoo.org>
18064
18065 * sysdeps/s390/sotruss-lib.c: New file.
18066
736c304a
AZ
180672014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18068
18069 [BZ#16430]
6e077ee5 18070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18071 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18072 local calls issues by not having a PLT stub required for IFUNC calls.
18073 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18074
94d0cea0
JM
180752014-01-16 Joseph Myers <joseph@codesourcery.com>
18076
18077 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18078 * math/test-fpucw-static.c: Likewise.
18079
980cb518
SP
180802013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18081
18082 [BZ #16453]
18083 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18084
2393fc01
AZ
180852014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18086
18087 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18088 implementation for powerpc.
18089
d359bcc2
OB
180902014-01-15 Ondřej Bílka <neleai@seznam.cz>
18091
18092 [BZ #14782]
18093 * sysdeps/posix/system.c (__libc_system): Do not enable
18094 asynchronous cancellation.
18095
7beb48cb
AK
180962014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18097
18098 [BZ #16427]
18099 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18100 handling only for numbers special also in the IEEE case.
18101
c20d5bf5
AK
181022014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18103
18104 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18105
e83bd4ee
AM
181062014-01-11 Allan McRae <allan@archlinux.org>
18107
76d0ea69
AM
18108 * po/bg.po: Update Bulgarian translation from translation project.
18109
e83bd4ee
AM
18110 * po/de.po: Update German translation from translation project.
18111
bc2ba20a
RM
181122014-01-10 Roland McGrath <roland@hack.frob.com>
18113
18114 * sysdeps/generic/gcc-compat.h: New file.
18115
649ecea2
SP
181162014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18117
18118 * benchtests/asin-inputs: Correct slow inputs.
18119 * benchtests/acos-inputs: Likewise.
18120
1b19c006
AM
181212014-01-10 Allan McRae <allan@archlinux.org>
18122
a46dab08
AM
18123 * po:sv.po: Update Swedish translation from translation project.
18124
421df74a
AM
18125 * po/vi.po: Update Vietnamese translation from translation project.
18126
d61c51a7
AM
18127 * po/eo.po: Update Esperanto translation from translation project.
18128
0339a319
AM
18129 * po/cs.po: Update Czech translation from translation project.
18130
94ad3e99
AM
18131 * po/nl.po: Update Dutch translation from translation project.
18132
e349ca71
AM
18133 * po/pl.po: Update Polish translation from translation project.
18134
ddf930c1
AM
18135 * po/ru.po: Update Russian translation from translation project.
18136
1b19c006
AM
18137 * po/uk.po: Update Ukrainian translation from translation project.
18138
9f236c49
BM
181392014-01-08 Brooks Moses <bmoses@google.com>
18140
18141 * elf/dl-load.c: Fix comment typo.
18142
cd6701cf
CD
181432014-01-08 Carlos O'Donell <carlos@redhat.com>
18144
18145 * po/header.pot: Rename to...
18146 * po/pot.header: ... this.
18147 * po/Makefile: Use pot.header.
18148
66671c84
YK
181492014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18150 Maxim Kuvyrkov <maxim@kugelworks.com>
18151
18152 [BZ #16394]
cd6701cf
CD
18153 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18154 SRC and DEST against LEN.
66671c84 18155
38f34581
AZ
181562014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18157
18158 [BZ #16414]
18159 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18160 implementation.
18161 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18162
181632014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18164
18165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18166
4c327f2a
JM
181672014-01-08 Joseph Myers <joseph@codesourcery.com>
18168
18169 [BZ #16408]
18170 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18171 for large positive arguments.
18172
b821f414
JM
181732014-01-07 Joseph Myers <joseph@codesourcery.com>
18174
1f0f2067
JM
18175 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18176
a5a326f6
JM
18177 * math/auto-libm-test-in: Mark various tests with
18178 xfail-rounding:ldbl-128ibm.
18179 * math/auto-libm-test-out: Regenerated.
18180
b821f414
JM
18181 [BZ #16407]
18182 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18183 Increase overflow threshold.
18184
94c8a4bc
OB
181852014-01-07 Ondřej Bílka <neleai@seznam.cz>
18186
18187 [BZ #14286]
18188 * stdio-common/vfprintf.c: Check for integer overflow.
18189
87ded0c3
AK
181902014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18191
18192 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18193 the first argument and return value of __tls_get_addr_internal.
18194
c5eebdd0
AK
181952014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18196
18197 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18198 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18199
05d138ef
AK
182002014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18201
18202 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18203 * sysdeps/s390/rtld-global-offsets.sym: New file.
18204 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18205 GLIBC_2.19 symbol.
18206 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18207 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18208 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18209 ... this.
18210 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18211 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18212 ... this.
18213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18214 Regenerate.
18215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18216 Regenerate.
18217 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18218 halfs of GPRs for high_gprs contexts.
18219 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18220 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18221 field.
18222 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18223 uc_flags field.
18224 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18225 64 bit versions:
18226 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18227 for high GPRs (uc_high_gprs) and for future extensions
18228 (__reserved).
18229 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18230 for future extensions (__reserved).
18231 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18232 64 bit versions:
18233 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18234 SC_HIGHGPRS offset definition.
18235 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18236 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18237
93a45ff1
AK
18238 * Versions.def: Add GLIBC_2.19 for libpthread.
18239 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18240 siglongjmp for libpthread with GLIBC_2.19 symver.
18241 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18242 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18243 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18244 * sysdeps/s390/__longjmp.c: New file.
18245 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18246 * sysdeps/s390/longjmp.c: New file.
18247 * sysdeps/s390/setjmp.S: New file.
18248 * sysdeps/s390/sigjmp.S: New file.
18249 * sysdeps/s390/v1-longjmp.c: New file.
18250 * sysdeps/s390/v1-setjmp.h: New file.
18251 * sysdeps/s390/v1-sigjmp.c: New file.
18252 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18253 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18254 GLIBC_2.19 version.
18255 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18256 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18257 versioned symbols for ____longjmp_chk.
18258 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18259 Likewise.
18260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18261 Regenerate.
18262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18263 Regenerate.
18264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18265 Regenerate.
18266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18267 Regenerate.
18268 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18269 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18270 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18271 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18272 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18273 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18274 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18275 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18276 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18277 * sysdeps/s390/rtld-__longjmp.c: New file.
18278 * sysdeps/s390/rtld-setjmp.S: New file.
18279
eb3fc44b
JM
182802014-01-06 Joseph Myers <joseph@codesourcery.com>
18281
18282 [BZ #16400]
18283 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18284 Return -__logl (x) for small positive arguments without evaluating
18285 a polynomial.
18286
9341dde4
MF
182872014-01-06 Mike Frysinger <vapier@gentoo.org>
18288
18289 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18290 Rename to ...
18291 (__ptrace_peeksiginfo_args): ... this.
18292 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18293 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18294 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18295
4cff0293
AM
182962014-01-06 Allan McRae <allan@archlinux.org>
18297
18298 * inet/netinet/in.h: Fix typo in comment.
18299
75595dcf
AJ
183002014-01-05 Andreas Jaeger <aj@suse.de>
18301
18302 * sysdeps/i386/fpu/libm-test-ulps: Update.
18303
79c1e109
AM
183042014-01-05 Allan McRae <allan@archlinux.org>
18305
dd804818
AM
18306 * po/libc.pot: Regenerated.
18307
79c1e109
AM
18308 * malloc/memusagestat.c: Fix gettext call formatting.
18309
0c813d1f
SK
183102014-01-04 Sami Kerola <kerolasa@iki.fi>
18311
18312 * nscd/nscd.c: Improve usage() output.
18313
20f4a8d9
MF
183142014-01-04 Mike Frysinger <vapier@gentoo.org>
18315
18316 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18317 * sysdeps/unix/sysv/linux/configure: Regenerated.
18318 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18319 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18320
22562bb2
JM
183212014-01-03 Joseph Myers <joseph@codesourcery.com>
18322
18323 [BZ #16390]
18324 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18325 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18326
d7ad2d9b
AZ
183272014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18328
18329 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18330 extra tokens at end of #undef directive.
18331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18332 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18333 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18334
7dd009d8
JM
183352014-01-03 Joseph Myers <joseph@codesourcery.com>
18336
24db925a
JM
18337 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18338
7dd009d8
JM
18339 * math/auto-libm-test-in: Mark various tests with
18340 xfail-rounding:ldbl-128ibm.
18341 * math/auto-libm-test-out: Regenerated.
18342
396e3ecf
JM
183432014-01-02 Joseph Myers <joseph@codesourcery.com>
18344
819e5d50
JM
18345 [BZ #16386]
18346 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18347 numbers with subnormal high part when calculating exponent.
18348
90b6a1e5
JM
18349 [BZ #16385]
18350 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18351 fabs.
18352
396e3ecf
JM
18353 [BZ #16384]
18354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18355 M_LN2l.
18356 (__ieee754_acoshl): Use __log1pl not __log1p.
18357
6c8dbf00
OB
183582013-01-02 Ondřej Bílka <neleai@seznam.cz>
18359
57f41c40
AS
18360 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18361 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18362 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18363 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18364 (reused_arena, arena_get2): Convert to GNU style.
18365 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18366 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18367 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18368 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18369 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18370 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18371 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18372 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18373 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18374 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18375 * malloc/malloc.h: Likewise.
57f41c40
AS
18376 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18377 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18378 * malloc/mcheck.h: Likewise.
57f41c40
AS
18379 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18380 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18381 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18382 * malloc/morecore.c (__default_morecore): Likewise.
18383 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18384 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18385 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18386 (print_and_abort): Likewise.
6c8dbf00
OB
18387 * malloc/obstack.h: Likewise.
18388 * malloc/set-freeres.c (__libc_freeres): Likewise.
18389 * malloc/tst-mallocstate.c (main): Likewise.
18390 * malloc/tst-mtrace.c (main): Likewise.
18391 * malloc/tst-realloc.c (do_test): Likewise.
18392
d4124212
SP
183932013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18394
9a3c6a6f
SP
18395 [BZ #16366]
18396 * nscd/netgroupcache.c (do_notfound): New function.
18397 (addgetnetgrentX): Use it.
18398
d4124212
SP
18399 [BZ # 16365]
18400 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18401 NSS_STATUS_NOTFOUND.
18402
97b9a009
JM
184032014-01-01 Joseph Myers <joseph@codesourcery.com>
18404
18405 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18407
d4697bc9
AM
184082014-01-01 Allan McRae <allan@archlinux.org>
18409
ddb3687f
AM
18410 * scripts/update-copyrights: Update configure input file suffix.
18411
88726d48
AM
18412 * NEWS: Update copyright year.
18413 * catgets/gencat.c: Likewise.
18414 * csu/version.c: Likewise.
18415 * debug/catchsegv.sh: Likewise.
18416 * debug/pcprofiledump.c: Likewise.
18417 * debug/xtrace.sh: Likewise.
18418 * elf/ldconfig.c: Likewise.
18419 * elf/ldd.bash.in: Likewise.
18420 * elf/pldd.c: Likewise.
18421 * elf/sotruss.ksh: Likewise.
18422 * elf/sprof.c: Likewise.
18423 * iconv/iconv_prog.c: Likewise.
18424 * iconv/iconvconfig.c: Likewise.
18425 * locale/programs/locale.c: Likewise.
18426 * locale/programs/localedef.c: Likewise.
18427 * login/programs/pt_chown.c: Likewise.
18428 * malloc/memusage.sh: Likewise.
18429 * malloc/memusagestat.c: Likewise.
18430 * malloc/mtrace.pl: Likewise.
18431 * manual/libc.texinfo: Likewise.
18432 * nscd/nscd.c: Likewise.
18433 * nss/getent.c: Likewise.
18434 * nss/makedb.c: Likewise.
18435 * posix/getconf.c: Likewise.
18436 * scripts/test-installation.pl: Likewise.
18437
d4697bc9
AM
18438 * All files with FSF copyright notices: Update copyright dates
18439 using scripts/update-copyrights.
18440 * intl/plural.c: Regenerated.
18441 * locale/programs/charmap-kw.h: Likewise.
18442 * locale/programs/locfile-kw.h: Likewise.
18443
c8590f9d
MF
184442013-12-31 Mike Frysinger <vapier@gentoo.org>
18445
18446 * sysdeps/unix/sysv/linux/configure: Regenerated.
18447 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18448 the linux/fanotify.h header.
18449 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18450 HAVE_LINUX_FANOTIFY_H is defined.
18451
b19221b9
SP
184522013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18453
dd1d85e5
SP
18454 * benchtests/cos-inputs: New inputs.
18455 * benchtests/sin-inputs: Likewise.
18456
1acbb90f
SP
18457 * benchtests/atan-inputs: New inputs. Fix name of multiple
18458 precision fallback inputs.
18459
4c012ed3
SP
18460 * benchtests/atanh-inputs: New inputs.
18461 * benchtests/tanh-inputs: Likewise.
18462
eff98324
SP
18463 * benchtests/acosh-inputs: New inputs.
18464 * benchtests/asinh-inputs: Likewise.
18465
ce641152
SP
18466 * benchtests/cosh-inputs: New inputs.
18467 * benchtests/sinh-inputs: Likewise.
18468
b19221b9
SP
18469 * benchtests/acos-inputs: Add more inputs.
18470 * benchtests/asin-inputs: Likewise.
18471
030a4976 184722013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18473
030a4976 18474 [BZ #16375]
9dcc8f11
VS
18475 * manual/arith.texi: Fix spelling.
18476 * manual/charset.texi: Likewise.
18477 * manual/errno.texi: Likewise.
18478 * manual/filesys.texi: Likewise.
18479 * manual/lang.texi: Likewise.
18480 * manual/llio.texi: Likewise.
18481 * manual/locale.texi: Likewise.
18482 * manual/message.texi: Likewise.
18483 * manual/resource.texi: Likewise.
18484 * manual/search.texi: Likewise.
18485 * manual/setjmp.texi: Likewise.
18486 * manual/stdio.texi: Likewise.
18487 * manual/string.texi: Likewise.
18488 * manual/sysinfo.texi: Likewise.
18489 * manual/time.texi: Likewise.
18490
11520a57
CD
184912013-12-27 Carlos O'Donell <carlos@redhat.com>
18492
18493 * po/sl.po: New file.
18494
471103ae
MF
184952013-12-27 Mike Frysinger <vapier@gentoo.org>
18496
18497 * .gitignore: Add core/.gdbinit/.gdb_history.
18498
6c9642ed
AM
184992013-12-27 Allan McRae <allan@archlinux.org>
18500
18501 [BZ #16369]
18502 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18503 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18504
3f637079
BM
185052013-12-24 Brooks Moses <bmoses@google.com>
18506
18507 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18508 all compilers that claim C++98 compliance, not just GCC.
18509 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18510 Likewise.
18511
abc26e99
MK
185122013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18513
18514 * NEWS: Restore accidentally deleted bug-fix entries.
18515
362b47fe
MK
185162013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18517 Ondřej Bílka <neleai@seznam.cz>
18518
18519 [BZ #15073]
18520 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18521 have_lock.
362b47fe 18522
b9bcbbcb
OB
185232013-12-23 Ondřej Bílka <neleai@seznam.cz>
18524
18525 [BZ #12986]
18526 * manual/stdio.texi (String Input Conversions): Clarify that character
18527 classes are not supported.
18528
fb55fcd2
AZ
185292013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18530
18531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18532
ef7344f0
JM
185332013-12-22 Joseph Myers <joseph@codesourcery.com>
18534
4f40e4b3
JM
18535 [BZ #16337]
18536 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18537 Calculate results for small negative arguments directly rather
18538 than using reflection formula with special underflow handling.
18539
ef7344f0
JM
18540 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18541 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18542 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18543 (fchflags): Likewise.
18544 (revoke): Likewise.
18545 (setlogin): Likewise.
18546 (sigaltstack): Likewise.
18547 (wait4): Likewise.
18548 (sigblock): Remove.
18549 (sigsetmask): Likewise.
18550 (wait3): Likewise.
18551 (waitpid): Likewise.
18552 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18553 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18554 file.
18555 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18556 * sysdeps/unix/bsd/Makefile: ... here.
18557 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18558 * sysdeps/unix/bsd/Versions: ... here.
18559 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18560 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18561 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18562 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18563 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18564 * sysdeps/unix/bsd/sigblock.c: ... here.
18565 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18566 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18567 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18568 * sysdeps/unix/bsd/sigvec.c: ... here.
18569 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18570 * sysdeps/unix/bsd/tcdrain.c: ... here.
18571 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18572 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18573 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18574 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18575 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18576 * sysdeps/unix/bsd/wait.c: ... here.
18577 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18578 * sysdeps/unix/bsd/wait3.c: ... here.
18579 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18580 * sysdeps/unix/bsd/waitpid.c: ... here.
18581
5b0626b9
JM
185822013-12-21 Joseph Myers <joseph@codesourcery.com>
18583
18584 [BZ #16356]
18585 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18586 round-to-nearest for [!USE_AS_EXPM1L].
18587 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18588 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18589 more tests of exp and exp10. Expect some exp10 tests to miss
18590 exceptions or fail in directed rounding modes.
18591 * math/auto-libm-test-out: Regenerated.
18592 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18593 (exp10_test_tonearest): New function.
18594 (exp10_towardzero_test_data): New array.
18595 (exp10_test_towardzero): New function.
18596 (exp10_downward_test_data): New array.
18597 (exp10_test_downward): New function.
18598 (exp10_upward_test_data): New array.
18599 (exp10_test_upward): New function.
18600 (main): Call the new functions.
18601 * sysdeps/i386/fpu/libm-test-ulps: Update.
18602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18603
7fda5682
JM
186042013-12-20 Joseph Myers <joseph@codesourcery.com>
18605
31e3a405
JM
18606 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18607 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18608 * math/auto-libm-test-out: Regenerated.
18609 * math/libm-test.inc (acosh_test_data): Add more tests.
18610 (atanh_test_data): Likewise.
18611 (ceil_test_data): Likewise.
18612 (copysign_test_data): Likewise.
18613 * sysdeps/i386/fpu/libm-test-ulps: Update.
18614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18615
85bff96a
JM
18616 * timezone/checktab.awk: Update from tzcode 2013i.
18617 * timezone/private.h: Likewise.
18618 * timezone/scheck.c: Likewise.
18619 * timezone/tzfile.h: Likewise.
18620 * timezone/tzselect.ksh: Likewise.
18621 * timezone/zdump.c: Likewise.
18622 * timezone/zic.c: Likewise.
18623
b7867a3b
JM
18624 * math/auto-libm-test-in: Add tests of cpow.
18625 * math/auto-libm-test-out: Regenerated.
18626 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18627 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18628 mpc_cc_c.
18629 (func_calc_desc): Add mpc_cc_c union field.
18630 (test_functions): Add cpow.
18631 (special_fill_2pi): New function.
18632 (special_real_inputs): Add 2pi.
18633 (calc_generic_results): Handle mpc_cc_c.
18634 * sysdeps/i386/fpu/libm-test-ulps: Update.
18635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18636
7fda5682
JM
18637 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18638 csqrt, ctan and ctanh.
18639 * math/auto-libm-test-out: Regenerated.
18640 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18641 (TEST_COND_x86): Likewise.
18642 (ccos_test_data): Use AUTO_TESTS_c_c.
18643 (ccosh_test_data): Likewise.
18644 (cexp_test_data): Likewise.
18645 (clog_test_data): Likewise.
18646 (csqrt_test_data): Likewise.
18647 (ctan_test_data): Likewise.
18648 (ctan_tonearest_test_data): Likewise.
18649 (ctan_towardzero_test_data): Likewise.
18650 (ctan_downward_test_data): Likewise.
18651 (ctan_upward_test_data): Likewise.
18652 (ctanh_test_data): Likewise.
18653 (ctanh_tonearest_test_data): Likewise.
18654 (ctanh_towardzero_test_data): Likewise.
18655 (ctanh_downward_test_data): Likewise.
18656 (ctanh_upward_test_data): Likewise.
18657 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18658 mpc_c_c.
18659 (func_calc_desc): Add mpc_c_c union field.
18660 (FUNC_mpc_c_c): New macro.
18661 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18662 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18663 ctanh.
18664 (special_fill_min_subnorm_p120): New function.
18665 (special_real_inputs): Add min_subnorm_p120.
18666 (calc_generic_results): Handle mpc_c_c.
18667 * sysdeps/i386/fpu/libm-test-ulps: Update.
18668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18669
5ff8d60e
SP
186702013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18671
57f41c40
AS
18672 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18673 (do_sin_slow): New functions.
18674 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18675 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18676
84ba214c
SP
18677 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18678 Use M to change sign of result instead of X. Assume X is
18679 positive.
18680 (csloww1): Likewise.
18681 (__sin): Adjust.
18682 (__cos): Adjust.
18683
975195e4
SP
18684 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18685 arguments A and DA.
18686 (__sin): Adjust.
18687 (__cos): Likewise.
18688
5ff8d60e
SP
18689 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18690 (__cos): Likewise.
18691 (sloww1): Don't adjust sign of DX.
18692 (csloww1): Likewise.
18693 (sloww2): Use X directly and don't adjust sign of DX.
18694 (csloww2): Likewise.
18695
eb983568
JM
186962013-12-19 Joseph Myers <joseph@codesourcery.com>
18697
64a17f1a
JM
18698 * math/auto-libm-test-in: Add tests of cabs and carg.
18699 * math/auto-libm-test-out: Regenerated.
18700 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18701 (carg_test_data): Likewise.
18702 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18703 mpc_c_f.
18704 (func_calc_desc): Add mpc_c_f union field.
18705 (test_functions): Add cabs and carg.
18706 (calc_generic_results): Handle mpc_c_f.
18707
eb983568
JM
18708 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18709 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18710 as a macro and a compat symbol.
18711 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18712 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18713 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18714 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18715 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18716 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18717 not use .hidden.
18718 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18719 Likewise.
18720 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18721 Likewise.
18722 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18723 Likewise.
18724 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18725 Likewise.
18726 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18727 Likewise.
18728 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18729 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18730 from GLIBC_2.3.2.
18731
6eeb678a
AZ
187322013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18733
18734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18735
6f6fc482
JM
187362013-12-19 Joseph Myers <joseph@codesourcery.com>
18737
21fea2e2
JM
18738 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18739 trailing whitespace removed.
18740 * scripts/config.guess: Update to version 2013-11-29.
18741 * scripts/config.sub: Update to version 2013-10-01.
18742
6f6fc482
JM
18743 * math/auto-libm-test-in: Add tests of sincos.
18744 * math/auto-libm-test-out: Regenerated.
18745 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18746 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18747 mpfr_f_11.
18748 (func_calc_desc): Add mpfr_f_11 union field.
18749 (test_functions): Add sincos.
18750 (calc_generic_results): Handle mpfr_f_11.
18751 * sysdeps/i386/fpu/libm-test-ulps: Update.
18752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18753
83f5c32d
AS
187542013-12-19 Andreas Schwab <schwab@suse.de>
18755
18756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18757 CALL_MCOUNT.
18758 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18759 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18760 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18761
c688b419
JM
187622013-12-19 Joseph Myers <joseph@codesourcery.com>
18763
335ee092
JM
18764 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18765 * sysdeps/i386/fpu/libm-test-ulps: Update.
18766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18767
f88acd39
JM
18768 [BZ #16293]
18769 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18770 round-to-nearest mode when using frndint.
18771 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18772 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18773 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18774 Likewise.
18775 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18776 sinh test to fail.
18777 * math/auto-libm-test-out: Regenerated.
18778 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18779 (TEST_COND_x86): Likewise.
18780 (expm1_tonearest_test_data): New array.
18781 (expm1_test_tonearest): New function.
18782 (expm1_towardzero_test_data): New array.
18783 (expm1_test_towardzero): New function.
18784 (expm1_downward_test_data): New array.
18785 (expm1_test_downward): New function.
18786 (expm1_upward_test_data): New array.
18787 (expm1_test_upward): New function.
18788 (main): Run the new test functions.
18789 * sysdeps/i386/fpu/libm-test-ulps: Update.
18790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18791
c688b419
JM
18792 * include/features.h: Update comment documenting feature test
18793 macros. Mention _DEFAULT_SOURCE in comment.
18794 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18795 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18796 _BSD_SOURCE and _SVID_SOURCE.
18797 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18798 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18799 !_SVID_SOURCE]: Likewise.
18800 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18801 (__USE_POSIX_IMPLICITLY): Define.
18802 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18803 (_POSIX_SOURCE): Undefine and redefine.
18804 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18805 (_POSIX_C_SOURCE): Likewise.
18806 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18807 (Feature Test Macros): Update documentation of default features.
18808
9f6e964c
RS
188092013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18810
18811 * benchtests/Makefile: Add bench-strtok.
18812 * benchtests/bench-strtok.c: New file: strtok benchtest.
18813
ee0a148a
AM
188142013-12-19 Allan McRae <allan@archlinux.org>
18815
18816 * manual/install.texi: Suppress menu for plain text output.
18817 * INSTALL: Regenerated.
18818
b9ab448f
BM
188192013-12-18 Brooks Moses <bmoses@google.com>
18820
18821 [BZ #15846]
18822 * misc/getauxval.c: Include errno.h.
18823 (__getauxval): Set errno to ENOENT if the requested type is not
18824 found.
18825 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18826 don't declare with __attribute_const__.
18827 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18828 * manual/startup.texi: Document that getauxval sets errno.
18829
23776487
JM
188302013-12-18 Joseph Myers <joseph@codesourcery.com>
18831
f889953b
JM
18832 * math/auto-libm-test-in: Add tests of jn and yn.
18833 * math/auto-libm-test-out: Regenerated.
18834 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18835 (yn_test_data): Likewise.
18836 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18837 mpfr_if_f.
18838 (func_calc_desc): Add mpfr_if_f union field.
18839 (FUNC_mpfr_if_f): New macro.
18840 (test_functions): Add jn and yn.
18841 (calc_generic_results): Assert type of second input for
18842 mpfr_ff_f. Handle mpfr_if_f.
18843 (output_for_one_input_case): Disable all checking for arguments
18844 fitting floating-point types in case of an integer argument.
18845 * sysdeps/i386/fpu/libm-test-ulps: Update.
18846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18847
23776487
JM
18848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18849 Don't expect fegetround reference in libm.so.
18850
cb756c6d
MS
188512013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18852
18853 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18854 $(config-cflags-nofma).
18855
2dec468f
JM
188562013-12-18 Joseph Myers <joseph@codesourcery.com>
18857
5953eb3a
JM
18858 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18859 * math/auto-libm-test-out: Regenerated.
18860
2dec468f
JM
18861 [BZ #16338]
18862 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18863 to determine exponent and adjust argument to have exponent of -1.
18864 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18865 log2.
18866 * math/auto-libm-test-out: Regenerated.
18867 * sysdeps/i386/fpu/libm-test-ulps: Update.
18868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18869
4d84e6ad
OB
188702013-12-18 Ondřej Bílka <neleai@seznam.cz>
18871
18872 * manual/probes.texi: Remove cases when per-thread arenas are
18873 disabled.
18874
1818483b
AS
188752013-12-18 Andreas Schwab <schwab@suse.de>
18876
18877 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18878 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18879 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18880 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18881 * sysdeps/i386/i686/multiarch/Makefile: Update.
18882 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18883
25de95bf
JM
188842013-12-17 Joseph Myers <joseph@codesourcery.com>
18885
18886 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18887 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18888
674762d9
PE
188892013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18890
ed27ed83 18891 [BZ #15968]
0748546f
PE
18892 Support TZ transition times < 00:00:00.
18893 This is needed for version-3 tz-format files; it supports time
18894 stamps past 2037 for America/Godthab (the only entry in the tz
18895 database for which this change is relevant).
18896 * manual/time.texi (TZ Variable): Document transition times
18897 from -167:59:59 through -00:00:01.
18898 * time/tzset.c (tz_rule): Time of day is now signed.
18899 (__tzset_parse_tz): Parse negative time of day.
18900
4480e934
PE
18901 Document TZ transition times >= 25:00:00.
18902 * manual/time.texi (TZ Variable): Document transition times from
18903 25:00:00 through 167:59:59. These are already supported, and this
18904 support will help with version-3 tz-format files.
18905
69947401
PE
18906 * manual/time.texi (TZ Variable): Modernize North America example
18907 to reflect current (i.e., 2007-and-later) daylight saving rules.
18908
674762d9
PE
18909 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18910
7011c262
JM
189112013-12-17 Joseph Myers <joseph@codesourcery.com>
18912
2fc6557e
JM
18913 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18914 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18916 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18917 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18918 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18919 * sysdeps/unix/bsd/clock.c: Likewise.
18920 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18921 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18922 * sysdeps/unix/bsd/init-posix.c: Likewise.
18923 * sysdeps/unix/bsd/poll.c: Likewise.
18924 * sysdeps/unix/bsd/ptsname.c: Likewise.
18925 * sysdeps/unix/bsd/seekdir.c: Likewise.
18926 * sysdeps/unix/bsd/setegid.c: Likewise.
18927 * sysdeps/unix/bsd/seteuid.c: Likewise.
18928 * sysdeps/unix/bsd/setgid.c: Likewise.
18929 * sysdeps/unix/bsd/setrgid.c: Likewise.
18930 * sysdeps/unix/bsd/setruid.c: Likewise.
18931 * sysdeps/unix/bsd/setsid.c: Likewise.
18932 * sysdeps/unix/bsd/setuid.c: Likewise.
18933 * sysdeps/unix/bsd/sigaction.c: Likewise.
18934 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18935 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18936 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18937 * sysdeps/unix/bsd/telldir.c: Likewise.
18938 * sysdeps/unix/bsd/times.c: Likewise.
18939 * sysdeps/unix/bsd/usleep.c: Likewise.
18940
029c7b25
JM
18941 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18942 ($(objpfx)libbsd-compat.a): Remove rule.
18943
7011c262
JM
18944 * include/features.h (__FAVOR_BSD): Do not define.
18945 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18946 features conflicting with POSIX.
18947 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18948 (_BSD_SOURCE): Remove description of not being a subset of other
18949 feature test macros.
18950 * manual/job.texi (getpgrp): Do not document BSD version.
18951 (getpgid): Do not document by reference to BSD getpgrp.
18952 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18953 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18954 * signal/signal.h [__FAVOR_BSD]: Likewise.
18955 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18956 instead of making contents conditional on [__FAVOR_BSD].
18957 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18958
affb6f78
AZ
189592013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18960
18961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18962
c88769dd
JM
189632013-12-17 Joseph Myers <joseph@codesourcery.com>
18964
6432a540
JM
18965 [BZ #16314]
18966 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18967 values below 2**-450, not 2**-500.
18968 * math/auto-libm-test-in: Don't allow spurious underflow from
18969 hypot.
18970 * math/auto-libm-test-out: Regenerated.
18971
c88769dd
JM
18972 [BZ #16316]
18973 [BZ #16330]
18974 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18975 values of ha and hb and sort them after adjusting subnormal
18976 arguments.
18977 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18978 Likewise.
18979 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18980 values of ea and eb and sort them after adjusting subnormal
18981 arguments.
18982 * math/auto-libm-test-in: Do not expect some hypot tests of
18983 subnormals to fail. Add more hypot tests.
18984 * math/auto-libm-test-out: Regenerated.
18985
29618f6b
KK
189862013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18987
18988 [BZ #13304]
18989 * sysdeps/sh/s_fma.c: New file.
18990 * sysdeps/sh/s_fmaf.c: New file.
18991 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18992 version.
18993 * sysdeps/sh/Implies: Add sh/soft-fp.
18994
eacfdfbf
RM
189952013-12-16 Roland McGrath <roland@hack.frob.com>
18996
18997 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18998 level of indirection to members `objname', `errstring', `malloced'.
18999 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19000 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19001 it as the __longjmp argument (just pass 1 instead).
19002 (_dl_catch_error): Initialize C with argument pointers and address of
19003 volatile local ERRCODE rather than copying values out of C at return.
19004
ff362e5b
JM
190052013-12-16 Joseph Myers <joseph@codesourcery.com>
19006
19007 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19008 * math/auto-libm-test-out: Regenerated.
19009 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19010 (hypot_test_data): Likewise.
19011 (pow_test_data): Likewise.
19012 (pow_tonearest_test_data): Likewise.
19013 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19014 mpfr_ff_f.
19015 (func_calc_desc): Add mpfr_ff_f union field.
19016 (FUNC_mpfr_ff_f): New macro.
19017 (test_functions): Add atan2, hypot and pow.
19018 (special_fill_min): New function.
19019 (special_fill_minus_min): Likewise.
19020 (special_fill_min_subnorm): Likewise.
19021 (special_fill_minus_min_subnorm): Likewise.
19022 (special_real_inputs): Add min, -min, min_subnorm and
19023 -min_subnorm.
19024 (calc_generic_results): Handle mpfr_ff_f.
19025 * sysdeps/i386/fpu/libm-test-ulps: Update.
19026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19027
5764c27f
WN
190282013-12-16 Will Newton <will.newton@linaro.org>
19029
19030 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19031 (Aligned Memory Blocks): Add documentation for aligned_alloc
19032 and suggest it as an alternative to posix_memalign.
19033 (Hooks for Malloc): Document __memalign_hook is also called
19034 for aligned_alloc. (Summary of Malloc): Add summary for
19035 aligned alloc. Document __memalign_hook is also called
19036 for aligned_alloc.
19037
0a096e44
WN
190382013-12-16 Will Newton <will.newton@linaro.org>
19039
19040 * manual/memory.texi (Malloc Examples): Clarify default
19041 alignment documentation. Suggest posix_memalign rather
19042 than memalign or valloc.
19043 (Aligned Memory Blocks): Remove suggestion to use memalign
19044 or valloc. Remove obsolete comment about BSD.
19045 Document memalign errno values and mark the function obsolete.
19046 Document posix_memalign returned error codes. Mark valloc
19047 as obsolete. (Hooks for Malloc): __memalign_hook is also
19048 called for posix_memalign and valloc.
19049 (Summary of Malloc): Add posix_memalign to function summary.
19050 __memalign_hook is also called for posix_memalign and valloc.
19051
8d561986
SP
190522013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19053
19054 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19055 TAYLOR_SIN.
19056 (__sin): Adjust.
19057 (__cos): Likewise.
19058 (sloww): Use mynumber union. Expand ternary operator into
19059 if-else statements.
19060 (cslow): use mynumber union.
19061
73616a74
AM
190622013-12-16 Allan McRae <allan@archlinux.org>
19063
9e8ac24b
AM
19064 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19065 * configure: Regenerated.
19066
6f8e37eb
AM
19067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19068
8894bad3
AM
19069 [BZ #14120]
19070 * configure.ac: Added --enable-maintainer-mode. Check for
19071 autoconf when enabled.
19072 * configure: Regenerated.
19073
73616a74
AM
19074 * nscd/nscd.service: New file.
19075 * nscd/nscd.tmpfiles: New file.
19076
584b18eb
OB
190772013-12-14 Ondřej Bílka <neleai@seznam.cz>
19078
19079 [BZ #12100]
19080 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19081 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19082 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19083 (strstr): Add __strstr_sse2_unaligned ifunc.
19084 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19085 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19086 (strcasestr): Remove __strcasestr_sse42 ifunc.
19087 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19090
8a5c7897
KK
190912013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19092
19093 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19094 * sysdeps/sh/bits/fenv.h: ... here.
19095 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19096
fd712ef3
AZ
190972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19098
19099 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19100
42fcb46c
AZ
19101 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19102 hypotf multiarch implementations.
19103 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19106 multiarch hypot for PPC64.
19107 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19108 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19110 multiarch hypotf for PPC64.
19111
83efded4
AZ
19112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19113 modff multiarch implementations.
19114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19117 multiarch modf for PPC64.
19118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19121 multiarch modff for PPC64.
19122
43e246d2
AZ
19123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19124 and logl multiarch implementations.
19125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19128 multiarch logb for PPC64.
19129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19132 multiarch logb for PPC64.
19133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19136 multiarch logb for PPC64.
19137
8fdad123
AZ
19138 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19139 isinff multiarch implementation.
19140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19141 file.
19142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19144 multiarch isinf for PPC64.
19145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19146 file.
19147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19148 multiarch isinff for PPC64.
19149
1481d706
AZ
19150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19151 finitef multiarch implementation.
19152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19153 file.
19154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19156 multiarch finite for PPC64.
19157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19158 file.
19159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19160 multiarch finitef for PPC64.
19161
5ccd5fc8
AZ
19162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19163 lrint multiarch implementation.
19164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19165 file.
19166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19168 multiarch llrint for PPC64.
19169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19170 multiarch lrint for PPC64.
19171
2568f3fa
AZ
19172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19173 copysignf multiarch implementation.
19174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19175 file.
19176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19177 file.
19178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19179 multiarch copysign for PPC64.
19180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19181 multiarch copysignf for PPC64.
19182
1cb341fd
AZ
19183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19184 multiarch implementation.
19185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19186 file.
19187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19188 file.
19189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19190 file.
19191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19192 file.
19193 multiarch llround for PPC64.
19194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19195 multiarch trunc for PPC64.
19196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19197 multiarch truncf for PPC64.
19198
59a3e194
AZ
19199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19200 multiarch implementation.
19201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19202 file.
19203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19204 file.
19205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19206 file.
19207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19208 file.
19209 multiarch llround for PPC64.
19210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19211 multiarch round for PPC64.
19212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19213 multiarch roundf for PPC64.
19214
357fd3b4
AZ
19215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19216 multiarch implementation.
19217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19218 file.
19219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19220 file.
19221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19222 file.
19223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19224 file.
19225 multiarch llround for PPC64.
19226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19227 multiarch floor for PPC64.
19228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19229 multiarch floorf for PPC64.
19230
96770f12
AZ
19231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19232 multiarch implementation.
19233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19234 file.
19235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19236 file.
19237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19238 file.
19239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19240 file.
19241 multiarch llround for PPC64.
19242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19243 multiarch ceil for PPC64.
19244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19245 multiarch ceilf for PPC64.
19246
c3627f6e
AZ
19247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19248 multiarch implementation.
19249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19250 file.
19251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19252 file.
19253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19254 file.
19255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19256 multiarch llround for PPC64.
19257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19258 multiarch lround for PPC64.
19259
b2284ad7
AZ
19260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19261 multiarch implementation.
19262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19265 file.
19266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19269 multiarch isnan for PPC64.
19270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19271 multiarch isnanf for PPC64.
19272
69bbc63d
AZ
19273 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19274 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19275 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19276 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19277 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19279
c24517c9
AZ
19280 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19281 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19282 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19283 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19284
a52374e8
AZ
19285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19286 multiarch implementations.
19287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19288 (__libc_ifunc_impl_list): Likewise.
19289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19290 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19291 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19292 multiarch stpcpy for PPC64.
19293
7f5ec113
AZ
19294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19295 multiarch implementations.
19296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19297 (__libc_ifunc_impl_list): Likewise.
19298 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19299 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19300 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19301 multiarch strcpy for PPC64.
19302
e28bcd42
AZ
19303 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19304 redefine function name.
19305 (_wordcopy_fwd_dest_aligned): Likewise.
19306 (_wordcopy_bwd_aligned): Likewise.
19307 (_wordcopy_bwd_dest_aligned): Likewise.
19308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19309 multiarch implementations.
19310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19311 (__libc_ifunc_impl_list): Likewise.
19312 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19313 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19314 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19315 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19316 multiarch wcscpy for PPC64.
19317
92cacfce
AZ
19318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19319 multiarch implementations.
19320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19321 (__libc_ifunc_impl_list): Likewise.
19322 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19323 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19326 multiarch wcscpy for PPC64.
19327
7b714620
AZ
19328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19329 multiarch implementations.
19330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19331 (__libc_ifunc_impl_list): Likewise.
19332 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19333 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19334 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19335 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19336 multiarch wcsrchr for PPC64.
19337
16fd2ae3
AZ
19338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19339 multiarch implementations.
19340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19341 (__libc_ifunc_impl_list): Likewise.
19342 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19343 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19344 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19345 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19346 multiarch wcschr for PPC64.
19347
9ee2969b
AZ
19348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19349 multiarch implementations.
19350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19351 (__libc_ifunc_impl_list): Likewise.
19352 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19353 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19354 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19355 multiarch strchrnul for PPC64.
19356
372dc060
AZ
19357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19358 implementations.
19359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19360 (__libc_ifunc_impl_list): Likewise.
19361 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19362 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19363 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19364 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19365 strchr for PPC64.
19366
24c2c3b9
AZ
19367 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19368 implementations.
19369 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19370 (__libc_ifunc_impl_list): Likewise.
19371 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19372 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19374 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19375 strncmp for PPC64.
19376
1c92d9a0
AZ
19377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19378 multiarch implementations.
19379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19380 (__libc_ifunc_impl_list): Likewise.
19381 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19382 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19383 strncasecmp for PPC64.
19384 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19385 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19386 multiarch strncasecmp_l for PPC64.
19387
17de3ee3
AZ
19388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19389 multiarch implementations.
19390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19391 (__libc_ifunc_impl_list): Likewise.
19392 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19393 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19394 multiarch strcasecmp for PPC64.
19395 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19396 file.
19397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19398 multiarch strcasecmp_l for PPC64.
19399
62982bf9
AZ
19400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19401 implementations.
19402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19403 (__libc_ifunc_impl_list): Likewise.
19404 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19405 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19406 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19407 strnlen for PPC64.
19408
a65f4904
AZ
19409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19410 implementations.
19411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19412 (__libc_ifunc_impl_list): Likewise.
19413 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19414 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19415 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19416 strlen for PPC64.
19417
1fd005ad
AZ
19418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19419 implementations.
19420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19421 (__libc_ifunc_impl_list): Likewise.
19422 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19423 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19424 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19425 rawmemrchr for PPC64.
19426
cd05ba91
AZ
19427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19428 implementation.
19429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19430 (__libc_ifunc_impl_list): Likewise.
19431 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19432 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19433 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19434 memrchr for PPC64.
19435
870f8676
AZ
19436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19437 implementation.
19438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19439 (__libc_ifunc_impl_list): Likewise.
19440 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19441 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19442 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19443 memchr for PPC64.
19444
f00be62b
AZ
19445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19446 implementation.
19447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19448 (__libc_ifunc_impl_list): Likewise.
19449 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19450 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19451 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19452 mempcpy for PPC64.
19453
8a29a3d0
AZ
19454 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19455 avoid cretion of __bzero symbol.
19456 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19457 Likewise.
19458 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19459 Likewise.
19460 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19461 Likewise.
19462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19463 multiarch implementations.
19464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19465 (__libc_ifunc_impl_list): Likewise.
19466 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19467 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19468 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19469 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19470 bzero for PPC32.
19471 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19472 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19473 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19474 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19475 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19476 memset for PPC64.
19477 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19478
07253fcf
AZ
19479 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19481 implementations.
19482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19483 (__libc_ifunc_impl_list): Likewise.
19484 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19485 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19486 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19487 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19488 memcmp for PPC64.
19489
b5beafbc
AZ
19490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19491 multiarch for POWER/PPC64.
19492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19493 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19495 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19500 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19501 memcpy for PPC64.
19502
5e6a4d4b
AZ
19503 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19504 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19505 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19506 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19507 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19508 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19509 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19510 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19511 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19512 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19513 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19514 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19515 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19516 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19517 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19525
ddfab6dc
KK
195262013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19527
19528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19529
19b5525e
SP
195302013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19531
19532 * benchtests/Makefile (bench): Add exp2 and log2.
19533 (LDLIBS-bench-exp2): Add -lm.
19534 (LDLIBS-bench-log2): Likewise.
19535 * benchtests/exp2-inputs: New inputs file.
19536 * benchtests/log2-inputs: New inputs file.
19537 * benchtests/log-inputs: Add new inputs.
19538 * benchtests/tan-inputs: Likewise.
19539
196f7f5d
SP
195402013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19541
7a74607f
SP
19542 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19543 definition...
57f41c40
AS
19544 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19545 (csloww2): ... from here.
7a74607f 19546
196f7f5d
SP
19547 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19548 instead of structures.
19549 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19550 (POLYNOMIAL): Likewise.
19551 (TAYLOR_SLOW): Likewise.
19552 (__sin): Likewise.
19553 (__cos): Likewise.
19554 (slow1): Likewise.
19555 (slow2): Likewise.
19556 (sloww): Likewise.
19557 (sloww1); Likewise.
19558 (sloww2): Likewise.
19559 (bsloww1): Likewise.
19560 (bsloww2): Likewise.
19561 (cslow2): Likewise.
19562 (csloww): Likewise.
19563 (csloww1): Likewise.
19564 (csloww2): Likewise.
19565
0dfa665c
OB
195662013-12-10 Ondřej Bílka <neleai@seznam.cz>
19567
19568 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19569 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19570 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19571 * malloc/hooks.c (realloc_check): Likewise.
19572
5782a80f
OB
19573 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19574 * malloc/arena.c: Remove PER_THREAD conditional.
19575 [!PER_THREAD]: Remove code.
19576 (ptmalloc_unlock_all2): Likewise.
19577 (ptmalloc_init): Likewise.
19578 (_int_new_arena): Likewise.
19579 (arena_get2): Likewise.
19580 * malloc/hooks.c (__malloc_get_state): Likewise.
19581 (__malloc_set_state): Likewise.
19582 * malloc/malloc.c: Likewise.
19583 (struct malloc_state): Likewise.
19584 (struct malloc_par): Likewise.
19585 (__libc_realloc): Likewise.
19586 (__libc_mallopt): Likewise.
19587
aeb95445
AZ
195882013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19589
19590 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19591
e8349efd
OB
195922013-12-09 Ondřej Bílka <neleai@seznam.cz>
19593
19594 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19595 macro to a function. Check for zero perturb_byte.
19596 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19597
f3eeb3fc 19598 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19599 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19600 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19601 force_reg by atomic_forced_read.
19602 * malloc/arena.c (ptmalloc_init): Likewise.
19603 * malloc/hooks.c (top_check): Likewise.
19604
be2f9009
AZ
196052013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19606
19607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19608
e7b914bd
MT
196092013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19610
19611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19612
9f0be4f8
JM
196132013-12-08 Joseph Myers <joseph@codesourcery.com>
19614
19615 * math/auto-libm-test-in: Add tests of lgamma.
19616 * math/auto-libm-test-out: Regenerated.
19617 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19618 (M_LOG_2_SQRT_PIl): Likewise.
19619 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19620 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19621 mpfr_f_f1.
19622 (func_calc_desc): Add mpfr_f_f1 union field.
19623 (ARGS1): New macro.
19624 (ARGS2): Likewise.
19625 (ARGS3): Likewise.
19626 (ARGS4): Likewise.
19627 (RET1): Likewise.
19628 (RET2): Likewise.
19629 (CALC): Likewise.
19630 (FUNC): Likewise.
19631 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19632 (test_functions): Add lgamma.
19633 (calc_generic_results): Handle mpfr_f_f1.
19634 * sysdeps/i386/fpu/libm-test-ulps: Update.
19635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19636
24eeafdb
AZ
196372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19638
19639 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19640 __mpn_add_n for PowerPC64/POWER7.
19641 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19642 __mpn_sub_n for PowerPC64/POWER7.
19643
4a2c0fd4
AZ
19644 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19645 __mpn_addmul_1 for PowerPC64.
19646 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19647 __mpn_submul_1 for PowerPC64.
19648 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19649 for PowerPC64.
19650 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19651 for PowerPC64.
19652
4b5b548c
FS
196532013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19654
19655 [BZ #15089]
19656 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19657
0a3ac0aa
AZ
196582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19659
19660 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19661
ccdc8438
AZ
19662 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19663 add multiarch folders.
19664 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19665 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19666 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19667 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19668 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19669 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19670 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19671 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19672 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19673 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19674 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19681
2e973d99
AZ
19682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19683 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19685 New file.
19686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19687 New file.
19688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19689 multiarch __ieee754_hypot for PowerPC32.
19690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19691 New file.
19692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19693 New file.
19694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19695 multiarch __ieee754_hypotf for PowerPC32.
19696
2d9470b2
AZ
19697 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19698 long_double_symbol only if __logbl is defined.
19699 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19700 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19702 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19704 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19705 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19706 path for implementation.
19707 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19708 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19710 logb, and logbl multiarch implementations for PowerPC32.
19711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19712 file.
19713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19714 file.
19715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19716 multiarch logb for PowerPC32.
19717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19718 file.
19719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19720 file.
19721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19722 multiarch logbf for PowerPC32.
19723 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19725 file.
19726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19727 multiarch logbl implementation for PowerPC32.
19728
5212ffce
AZ
19729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19730 and modff multiarch implementations.
19731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19732 New file.
19733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19734 New file.
19735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19736 multiarch modf for PowerPC32.
19737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19738 New file.
19739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19740 New file.
19741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19742 multiarch modff for PowerPC32.
19743
79dccf31
AZ
19744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19745 and lrintf multiarch implementations.
19746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19747 New file.
19748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19749 New file.
19750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19751 multiarch lrint for PowerPC32.
19752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19753 file: multiarch lrintf for PowerPC32.
19754
deb66480
AZ
19755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19756 and lroundf multiarch implementations.
19757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19758 New file.
19759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19760 New file.
19761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19762 New file.
19763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19764 multiarch lround for PowerPC32.
19765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19766 file: multiarch lroundf for PowerPC32.
19767
264b036b
AZ
19768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19769 copysign and copysignf multiarch implementations.
19770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19771 New file.
19772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19773 New file.
19774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19775 file: multiarch copysign for PowerPC32.
19776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19777 file: multiarch copysignf for PowerPC32.
19778
d47db6c9
AZ
19779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19780 and truncf multiarch implementations.
19781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19782 New file.
19783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19784 file.
19785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19786 multiarch trunc for PowerPC32.
19787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19788 New file.
19789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19790 New file.
19791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19792 multiarch truncf for PowerPC32.
19793
ddb60b5a
AZ
19794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19795 and roundf multiarch implementations.
19796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19797 New file.
19798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19799 file.
19800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19801 multiarch round for PowerPC32.
19802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19803 New file.
19804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19805 New file.
19806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19807 multiarch roundf for PowerPC32.
19808
bedcf49b
AZ
19809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19810 and floorf multiarch implementations.
19811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19812 New file.
19813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19814 file.
19815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19816 multiarch floor for PowerPC32.
19817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19818 New file.
19819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19820 New file.
19821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19822 multiarch floorf for PowerPC32.
19823
35ae5b40
AZ
19824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19825 and ceilf multiarch implementations.
19826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19827 New file.
19828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19829 file.
19830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19831 multiarch ceil for PowerPC32.
19832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19833 New file.
19834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19835 file.
19836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19837 multiarch ceilf for PowerPC32.
19838
ae1a4cd9
AZ
19839 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19840 is defined.
19841 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19842 FINITEF is defined.
19843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19844 and finitef multiarch implementations.
19845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19846 New file.
19847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19848 file.
19849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19850 multiarch finite for PowerPC32.
19851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19852 New file.
19853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19854 file: multiarch finitef for PowerPC32.
19855
64fffd65
AZ
19856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19857 and isinff multiarch implementations.
19858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19859 file.
19860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19861 file.
19862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19863 multiarch isinf for PowerPC32.
19864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19865 New file.
19866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19867 multiarch isinff for PowerPC32.
19868
8e4e7ba2
AZ
19869 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19870 alias when __isnan is defined.
19871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19872 and isnanf multiarch implementations.
19873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19874 file.
19875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19876 file.
19877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19878 file.
19879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19880 file.
19881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19882 multiarch isnan for PowerPC32.
19883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19884 New file.
19885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19886 New file.
19887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19888 multiarch isnanf for PowerPC32.
19889
ddba588e
AZ
19890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19891 and sqrtf multiarch implementations.
19892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19893 file.
19894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19895 file.
19896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19897 multiarch sqrt for PowerPC32.
19898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19899 file.
19900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19901 file.
19902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19903 multiarch sqrtf for PowerPC32.
19904
0f96a2f0
AZ
19905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19906 and llroundf multiarch implementations.
19907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19908 New file.
19909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19910 New file.
19911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19912 New file.
19913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19914 file: multiarch llround for PowerPC32.
19915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19916 file: multiarch llroundf for PowerPC32.
19917
c9b5d79e
AZ
19918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19919 multiarch PowerPC32 fpu implementations.
19920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19921 New file.
19922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19923 New file.
19924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19925 multiarch llrint for PowerPC32.
19926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19927 New file.
19928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19929 New file.
19930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19931 file.
19932
9cbb3aab
AZ
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19934
ea5a72f8
AZ
19935 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19936 file.
19937 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19938 file.
19939 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19940 file.
19941 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19942 multiarch wordcopy for PPC32.
19943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19944 wordcopy objects.
19945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19946 (__libc_ifunc_impl_list): Likewise.
19947 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19948 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19949 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19950 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19951 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19952 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19953
93be09e7
AZ
19954 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19956 file.
19957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19958 file.
19959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19960 file.
19961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19962 multiarch wcscpy for PPC32.
19963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19964 multiarch objects.
19965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19966 (__libc_ifunc_impl_list): Likewise.
19967 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19968 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19969 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19970 sysdeps/powerpc/power6/wcscpy.c.
19971
bb04e529
AZ
19972 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19974 file.
19975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19976 file.
19977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19978 file.
19979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19980 multiarch wcsrchr for PPC32.
19981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19982 multiarch objects.
19983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19984 (__libc_ifunc_impl_list): Likewise.
19985 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19986 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19987 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19988 sysdeps/powerpc/power6/wcsrchr.c.
19989
05b5cd1c
AZ
19990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19991 file.
19992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19993 file.
19994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19996 multiarch wcschr for PPc32.
19997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19998 multiarch objects.
19999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20000 (__libc_ifunc_impl_list): Likewise.
20001 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20002 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20003 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20004 sysdeps/powerpc/power6/wcschr.c.
20005
ba964147
AZ
20006 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20007 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20008 file.
20009 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20010 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20011 file: multiarch strchr for PPC32.
20012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20013 multiarch objects.
20014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20015 (__libc_ifunc_impl_list): Likewise.
20016
31c81aaa
AZ
20017 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20018 name.
20019 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20020 file.
20021 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20022 file.
20023 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20024 multiarch strchrnul for PPC32.
20025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20026 multiarch objects.
20027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20028 (__libc_ifunc_impl_list): Likewise.
20029
0d0607d9
AZ
20030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20031 file.
20032 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20033 multiarch strncasecmp for PPC32.
20034 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20035 file.
20036 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20037 multiarch strncasecmp_l for PPC32.
20038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20039 strncasecmp multiarch objects.
20040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20041 (__libc_ifunc_impl_list): Likewise.
20042
4dfd5c86
AZ
20043 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20044 file.
20045 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20046 multiarch strncasecmp for PPC32.
20047 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20048 New file.
20049 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20050 multiarch strcasecmp_l for PPC32.
20051 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20052 multiarch objects.
20053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20054 (__libc_ifunc_impl_list): Likewise.
20055
a19e01a3
AZ
20056 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20057 file.
20058 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20059 file.
20060 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20061 multiarch strncmp for PPC32.
20062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20063 multiarch objects.
20064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20065 (__libc_ifunc_impl_list): Likewise.
20066
ae9cf7a2
AZ
20067 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20068 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20069 file.
20070 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20071 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20073 multiarch objects.
20074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20075 (__libc_ifunc_impl_list): Likewise.
20076
3148bb7d
AZ
20077 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20078 file.
20079 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20080 file.
20081 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20083 multiarch objects.
20084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20085 (__libc_ifunc_impl_list): Likewise.
20086
7af8b946
AZ
20087 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20088 file.
20089 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20090 file.
20091 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20092 multiarch rawmemchr for PPC32.
20093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20094 multiarch objects.
20095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20096 (__libc_ifunc_impl_list): Likewise.
20097
03a6aa6a
AZ
20098 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20099 file.
20100 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20101 file.
20102 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20103 file: memrchr multiarch for PPC32.
20104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20105 multiarch objects.
20106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20107 (__libc_ifunc_impl_list): Likewise.
20108
1c62e6d9
AZ
20109 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20110 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20111 file.
20112 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20113 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20114 multiarch memchr for PPC32.
20115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20116 multiarch objects.
20117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20118 (__libc_ifunc_impl_list): Likewise.
20119
87da8bdb
AZ
20120 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20121 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20122 file.
20123 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20124 file.
20125 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20126 file: multiarch mempcpy for PPC32.
20127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20128 multiarch objects.
20129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20130 (__libc_ifunc_impl_list): Likewise.
20131
20ed4714
AZ
20132 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20133 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20135 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20136 multiarch bzero for PPC32.
20137 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20138 file.
20139 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20140 file.
20141 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20142 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20143 file: multiarch memset for PPC32.
20144 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20146 memset multiarch objects.
20147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20148 (__libc_ifunc_impl_list): Likewise.
20149
ab3e3a46
AZ
20150 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20151 file.
20152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20154 memcmp for PPC32.
20155 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20157 multiarch objects.
20158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20159 (__libc_ifunc_impl_list): Likewise.
20160
930de6f0
AZ
20161 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20162 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20163 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20164 file.
20165 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20166 file.
20167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20168 file.
20169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20170 multiarch memcpy for PPC32.
20171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20172 multiarch objects.
20173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20174 (__libc_ifunc_impl_list): Likewise.
20175
4c628e00
AZ
20176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20177 support multiarch for POWER/PPC32.
20178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20179 Likewise.
20180 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20182 Implies file to make multiarch folder appers before the fpu and
20183 default folder for power4 configuration.
20184
f4479220
SP
201852013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20186
20187 * scripts/bench.pl: Append volatile keyword to type.
20188
8517800f
KK
201892013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20190
20191 * sysdeps/sh/sotruss-lib.c: New file.
20192 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20193
180138f1
AZ
201942013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20195
20196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20197
bbf37bdc
JM
201982013-12-05 Joseph Myers <joseph@codesourcery.com>
20199
e47cc4e0
JM
20200 [BZ #6810]
20201 * math/w_tgamma.c: Include <errno.h>.
20202 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20203 * math/w_tgammaf.c: Include <errno.h>.
20204 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20205 * math/w_tgammal.c: Include <errno.h>.
20206 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20207 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20208 underflow. Add more tgamma tests.
20209 * math/auto-libm-test-out: Regenerated.
20210 * sysdeps/i386/fpu/libm-test-ulps: Update.
20211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20212
bbf37bdc
JM
20213 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20214 sin, sinh, tan, tanh, tgamma, y0 and y1.
20215 * math/auto-libm-test-out: Regenerated.
20216 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20217 (TEST_COND_x86): Likewise.
20218 (M_E2l): Remove macro.
20219 (M_E3l): Likewise.
20220 (M_2_SQRT_PIl): Likewise.
20221 (M_SQRT_PIl): Likewise.
20222 (M_1_DIV_El): Likewise.
20223 (log_test_data): Use AUTO_TESTS_f_f.
20224 (log10_test_data): Likewise.
20225 (log1p_test_data): Likewise.
20226 (log2_test_data): Likewise.
20227 (sin_test_data): Likewise.
20228 (sin_tonearest_test_data): Likewise.
20229 (sin_towardzero_test_data): Likewise.
20230 (sin_downward_test_data): Likewise.
20231 (sin_upward_test_data): Likewise.
20232 (sinh_test_data): Likewise.
20233 (sinh_tonearest_test_data): Likewise.
20234 (sinh_towardzero_test_data): Likewise.
20235 (sinh_downward_test_data): Likewise.
20236 (sinh_upward_test_data): Likewise.
20237 (tan_test_data): Likewise.
20238 (tan_tonearest_test_data): Likewise.
20239 (tan_towardzero_test_data): Likewise.
20240 (tan_downward_test_data): Likewise.
20241 (tan_upward_test_data): Likewise.
20242 (tanh_test_data): Likewise.
20243 (tgamma_test_data): Likewise.
20244 (y0_test_data): Likewise.
20245 (y1_test_data): Likewise.
20246 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20247 (special_real_inputs): Add pi/4.
20248 * sysdeps/i386/fpu/libm-test-ulps: Update.
20249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20250
eb5ad6b9
AZ
202512013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20252
20253 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20254 "longjmp_target" static probes.
20255 (__longjmp): Rename to __longjmp_symbol.
20256 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20257 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20258 on which longjmp to generate.
20259 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20260 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20261 probe.
20262 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20263 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20264 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20265 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20266 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20267 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20269 __longjmp_symbol based on which __longjmp to generate.
20270 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20271 probe.
20272 (setjmp): Rename to setjmp_symbol.
20273 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20274 (_setjmp): Rename to _setjmp_symbol.
20275 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20276 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20277 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20278 which setjmp to generate.
20279 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20280 "longjmp_target" static probes.
20281
d136c6dc
SP
202822013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20283
9298ecba
SP
20284 * benchtests/README: Add note about output arguments.
20285 * benchtests/bench-sincos.c: Remove file.
20286 * benchtests/sincos-inputs: New file.
20287 * scripts/bench.pl: Identify output arguments and define
20288 static variables for them.
20289
232983e9
SP
20290 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20291
d136c6dc
SP
20292 [BZ #15941]
20293 * Makefile (INSTALL): Add install-plain.texi as the primary
20294 dependency.
20295 * manual/install-plain.texi: New file.
20296 * manual/install.texi: Include node directive only for
20297 non-plaintext output.
20298
699ff837
JM
202992013-12-04 Joseph Myers <joseph@codesourcery.com>
20300
ab07cea8
JM
20301 * stdlib/longlong.h: Update from GCC.
20302
699ff837
JM
20303 [BZ #6807]
20304 [BZ #15901]
20305 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20306 * math/w_j0f.c (y0f): Likewise.
20307 * math/w_j0l.c (__y0l): Likewise.
20308 * math/w_j1.c (y1): Likewise.
20309 * math/w_j1f.c (y1f): Likewise.
20310 * math/w_j1l.c (__y1l): Likewise
20311 * math/w_jn.c (yn): Likewise.
20312 * math/w_jnf.c (ynf): Likewise.
20313 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20314 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20315 value for Bessel function domain errors outside _SVID_ mode.
20316 Adjust sign of return value for yn (negative integer, 0).
20317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20318 by zero in return for negative x and set sign appropriately for
20319 negative n.
20320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20321 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20322 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20323 expectations in error cases.
20324 (y1_test_data): Likewise.
20325 (yn_test_data): Likewise.
20326 * sysdeps/i386/fpu/libm-test-ulps: Update.
20327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20328
5b118558
UW
203292013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20330
20331 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20332 "64" to "64-v1". Add "64-v2".
20333 (abi-64-options): Rename to ...
20334 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20335 (abi-64-condition): Rename to ...
20336 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20337 (abi-64-ld-soname): Rename to ...
20338 (abi-64-v1-ld-soname): ... this.
20339 (abi-64-v2-options): Define.
20340 (abi-64-v2-condition): Likewise.
20341 (abi-64-v2-ld-soname): Likewise.
20342 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20343 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20347
61cd8fe4
UW
203482013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20349 Alan Modra <amodra@gmail.com>
20350
20351 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20352 New versions for use with the ELFv2 ABI.
20353 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20354 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20355 declaration.
20356 (struct La_ppc64v2_retval): Likewise.
20357 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20358 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20359 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20360 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20361 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20362 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20363 Do not save or restore CR.
20364 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20365 (_dl_profile_resolve): Do no save or restore CR. Support extended
20366 return values for ELFv2 ABI. Fix location of FPR return registers.
20367 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20368 updated values for _CALL_ELF == 2.
20369 (La_regs, La_retval, int_retval): Likewise.
20370
8b8a692c
UW
203712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20372
20373 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20374 (FRAME_MIN_SIZE_PARM): Likewise.
20375 (FRAME_BACKCHAIN): Likewise.
20376 (FRAME_CR_SAVE): Likewise.
20377 (FRAME_LR_SAVE): Likewise.
20378 (FRAME_TOC_SAVE): Likewise.
20379 (FRAME_PARM_SAVE): Likewise.
20380 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20381 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20382 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20383 (call_mcount_parm_offset): New macro.
20384 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20385 (PROF): Use symbolic stack frame offsets.
20386 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20387 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20388 Redefine in terms of FRAME_MIN_SIZE.
20389 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20390 (_dl_profile_resolve): Likewise. Update comment.
20391 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20392 symbols stack frame offsets.
20393 (__sigsetjmp): Likewise.
20394 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20395 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20396 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20397 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20398
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20400 (FRAME_BACKCHAIN): Remove.
20401 (FRAME_CR_SAVE): Likewise.
20402 (FRAME_LR_SAVE): Likewise.
20403 (FRAME_COMPILER_DW): Likewise.
20404 (FRAME_LINKER_DW): Likewise.
20405 (FRAME_TOC_SAVE): Likewise.
20406 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20407 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20408 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20409 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20411 (CHECK_SP): Use symbolic stack frame offsets.
20412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20413 zone" instead of caller's parameter save area for temp storage.
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20415 Likewise. Also, use symbolic stack frame offsets.
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20417 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20418 our own stack frame instead of the caller's.
20419 (__socket): Use symbolic stack frame offsets.
20420
122b66de
UW
204212013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20422 Alan Modra <amodra@gmail.com>
20423
20424 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20425 Define.
57f41c40
AS
20426 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20427 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20428 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20429 New function.
20430 (elf_machine_fixup_plt): Call it.
20431 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20432 reloc arguments.
20433 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20434 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20435 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20436 r2 before calling target.
20437
696caf1d
UW
204382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20439 Alan Modra <amodra@gmail.com>
20440
20441 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20442 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20443 versions of macros to support ELFv2 ABI.
20444 (LOCALENTRY): New macro.
20445 (ENTRY, EALIGN): Use it.
20446 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20447 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20448 fall through into ENTRY entry point.
20449 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20450 Only define if _CALL_ELF != 2.
20451
20452 (elf_machine_matches_host): Verify ABI version matches.
20453 (RTLD_START): Use LOCALENTRY.
20454 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20455 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20456 (PLT_ENTRY_WORDS): New macro.
20457 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20458 (elf_machine_runtime_setup): Support ELFv2 ABI.
20459 (elf_machine_fixup_plt): Likewise.
20460 (elf_machine_plt_conflict): Likewise.
20461 (resolve_ifunc): Likewise.
20462 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20463 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20464 Likewise.
20465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20466 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20468 (makecontext): Support ELFv2 ABI.
20469 * elf/elf.h (EF_PPC64_ABI): Define.
20470
d31beafa
UW
204712013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20472
57f41c40
AS
20473 * sysdeps/powerpc/powerpc64/sysdep.h
20474 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20475 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20476 (ENTRY) [ASSEMBLER]: ... but instead here ...
20477 (EALIGN) [ASSEMBLER]: ... and here.
20478 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20479 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20480 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20481 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20482 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20483 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20484 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20485 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20487 Use PPC64_LOAD_FUNCPTR.
20488
b525166b
UW
20489 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20490
7ec07d9a
AM
204912013-12-04 Alan Modra <amodra@gmail.com>
20492
20493 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20494 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20495 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20496 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20497
20498 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20499 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20500 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20501 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20502 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20503 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20504
5162e7dd
UW
205052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20506
20507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20508 (__makecontext): Fix incorrect CFI when backtracing out of
20509 context created via makecontext.
20510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20511 (__setcontext): Fix incorrect CFI during switch to new context.
20512 (__novec_setcontext): Likewise.
20513
19e3372b
OB
205142013-12-04 Ondřej Bílka <neleai@seznam.cz>
20515
20516 [BZ #4772]
20517 * time/strptime_l.c (__strptime_internal): Allow modifiers
20518 in strptime.
20519 * time/tst-strptime.c (day_tests): Add testcase.
20520
ecaf142d
SP
205212013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20522
20523 * scripts/bench.pl: Skip over blank lines.
20524
fbf964ae
PE
205252013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20526
20527 [BZ #926]
20528 * manual/time.texi (Calendar Time): Clarify what timezone functions
20529 use.
20530
fa60a674
AZ
205312013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20532
20533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20534
d674f0ef
OB
205352013-12-04 Ondřej Bílka <neleai@seznam.cz>
20536
20537 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20538 implementation.
20539 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20540 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20541 * debug/memset_chk.c (__memset_chk): Likewise.
20542 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20543 * debug/strncpy_chk.c: Likewise.
20544
17dea188
JM
205452013-12-03 Joseph Myers <joseph@codesourcery.com>
20546
749008ff
JM
20547 [BZ #15268]
20548 [BZ #15425]
20549 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20550 (__ieee754_exp): For possibly underflowing results, check size of
20551 result and force underflow exception if required.
20552 * math/auto-libm-test-in: Add more tests of exp.
20553 * math/auto-libm-test-out: Regenerated.
20554 * sysdeps/i386/fpu/libm-test-ulps: Update.
20555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20556
17dea188
JM
20557 [BZ #16283]
20558 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20559 * math/w_exp2f.c (__exp2f): Likewise.
20560 * math/w_exp2l.c (__exp2l): Likewise.
20561 * math/auto-libm-test-in: Do not allow missing errno on exp2
20562 underflow.
20563 * math/auto-libm-test-out: Regenerated.
20564
b20de2c3
OB
205652013-12-03 Ondřej Bílka <neleai@seznam.cz>
20566
20567 [BZ #16274]
20568 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20569 handle filename validation.
20570 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20571 (do_open): Delete.
20572
d8e2dbe3
JM
205732013-12-03 Joseph Myers <joseph@codesourcery.com>
20574
34e16df5
JM
20575 [BZ #6786]
20576 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20577 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20578 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20579 <float.h>.
20580 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20582 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20584 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20586 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20587 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20588 Add more erfc tests.
20589 * math/auto-libm-test-out: Regenerated.
20590 * sysdeps/i386/fpu/libm-test-ulps: Update.
20591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20592
d8e2dbe3
JM
20593 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20594 exp2, expm1, j0 and j1.
20595 * math/auto-libm-test-out: Regenerated.
20596 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20597 (erfc_test_data): Likewise.
20598 (exp_test_data): Likewise.
20599 (exp_tonearest_test_data): Likewise.
20600 (exp_towardzero_test_data): Likewise.
20601 (exp_downward_test_data): Likewise.
20602 (exp_upward_test_data): Likewise.
20603 (exp10_test_data): Likewise.
20604 (exp2_test_data): Likewise.
20605 (expm1_test_data): Likewise.
20606 (j0_test_data): Likewise.
20607 (j1_test_data): Likewise.
20608 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20609 (input_flag_type): Add flag_xfail_rounding.
20610 (input_flags): Add xfail-rounding.
20611 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20612 (output_for_one_input_case): Handle flag_xfail_rounding.
20613 * sysdeps/i386/fpu/libm-test-ulps: Update.
20614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20615
18d14251
AJ
206162013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20617
3d2e6075 20618 [BZ #16289]
18d14251
AJ
20619 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20620 division by 0.
20621
520d437b
SP
206222013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20623
20624 [BZ #16195]
20625 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20626 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20627 (STAP_PROBE0): New macro.
20628 (STAP_PROBE1): Likewise.
20629 (STAP_PROBE2): Likewise.
20630 (STAP_PROBE3): Likewise.
20631 (STAP_PROBE4): Likewise.
20632
416e0145
OB
206332013-12-02 Ondřej Bílka <neleai@seznam.cz>
20634
20635 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20636
9d17796a
SE
206372013-12-02 Steve Ellcey <sellcey@mips.com>
20638
20639 * benchtests/Makefile (bench): Add sqrt.
20640 (LDLIBS-bench-sqrt): New.
20641 * benchtests/sqrt-input: New.
20642
f524d6a8
PS
206432013-12-02 Pavel Simerda <psimerda@redhat.com>
20644
639a0ef8
PS
20645 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20646 (GAIH_EAI): Likewise.
20647 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20648 (gaih_inet): Likewise.
20649 (getaddrinfo): Don't use GAIH_EAI.
20650
f524d6a8
PS
20651 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20652 (struct gaih): Remove definition.
20653
df3aedaf
SP
206542013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20655
20656 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20657 Use HERRNOP directly.
20658
1ab19dec
AZ
206592013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20660
b42ad38d 20661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20662
176b0c79
JM
206632013-11-30 Joseph Myers <joseph@codesourcery.com>
20664
20665 * math/gen-auto-libm-tests.c (test_functions): Add more
20666 single-argument functions.
20667 (special_fill_pi_2): New function.
20668 (special_fill_minus_pi_2): Likewise.
20669 (special_fill_pi_6): Likewise.
20670 (special_fill_minus_pi_6): Likewise.
20671 (special_fill_pi_3): Likewise.
20672 (special_fill_2pi_3): Likewise.
20673 (special_fill_e): Likewise.
20674 (special_fill_1_e): Likewise.
20675 (special_fill_e_minus_1): Likewise.
20676 (special_real_inputs): Add more special inputs.
20677 (output_for_one_input_case): Do not require ERANGE on underflow to
20678 zero if round-to-nearest result does not underflow to zero, unless
20679 exact results required.
20680 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20681 atan, atanh, cbrt, cos and cosh.
20682 * math/auto-libm-test-out: Regenerated.
20683 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20684 (acos_tonearest_test_data): Likewise.
20685 (acos_towardzero_test_data): Likewise.
20686 (acos_downward_test_data): Likewise.
20687 (acos_upward_test_data): Likewise.
20688 (acosh_test_data): Likewise.
20689 (asin_test_data): Likewise.
20690 (asin_tonearest_test_data): Likewise.
20691 (asin_towardzero_test_data): Likewise.
20692 (asin_upward_test_data): Likewise.
20693 (asinh_test_data): Likewise.
20694 (atan_test_data): Likewise.
20695 (atanh_test_data): Likewise.
20696 (cbrt_test_data): Likewise.
20697 (cos_test_data): Likewise.
20698 (cos_tonearest_test_data): Likewise.
20699 (cos_towardzero_test_data): Likewise.
20700 (cos_downward_test_data): Likewise.
20701 (cos_upward_test_data): Likewise.
20702 (cosh_test_data): Likewise.
20703 (cosh_tonearest_test_data): Likewise.
20704 (cosh_towardzero_test_data): Likewise.
20705 (cosh_downward_test_data): Likewise.
20706 (cosh_upward_test_data): Likewise.
20707 * sysdeps/i386/fpu/libm-test-ulps: Update.
20708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20709
ffb536d0
JM
207102013-11-29 Joseph Myers <joseph@codesourcery.com>
20711
2a77a467
JM
20712 [BZ #6787]
20713 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20714 * math/w_exp10f.c (__exp10f): Likewise.
20715 * math/w_exp10l.c (__exp10l): Likewise.
20716 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20717 errno settings in existing tests.
20718
ea3bc4e8
JM
20719 [BZ #14032]
20720 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20721 precision control set to double precision.
20722 * sysdeps/i386/fpu/w_sqrt.c: New file.
20723 * math/auto-libm-test-in: Add more tests.
20724 * math/auto-libm-test-out: Update.
20725
0712c9d8
JM
20726 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20727 (sqrt_test_tonearest): New function.
20728 (sqrt_towardzero_test_data): New variable.
20729 (sqrt_test_towardzero): New function.
20730 (sqrt_downward_test_data): New variable.
20731 (sqrt_test_downward): New function.
20732 (sqrt_upward_test_data): New variable.
20733 (sqrt_test_upward): New function.
20734 (main): Call the new functions.
20735
ffb536d0
JM
20736 * math/gen-auto-libm-tests.c: New file.
20737 * math/auto-libm-test-in: Likewise.
20738 * math/auto-libm-test-out: New generated file.
20739 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20740 variables.
20741 (%beautify): Add generated representations of zero.
20742 (top level): Set $auto_input and call parse_auto_input.
20743 (beautify): Remove trailing "f" from hex float constants.
20744 (parse_args): Handle XFAIL_TEST.
20745 (convert_condition): New function.
20746 (or_value): Likewise.
20747 (or_cond_value): Likewise.
20748 (generate_testfile): Handle AUTO_TESTS_* lines.
20749 (parse_auto_input): New function.
20750 * math/libm-test.inc (XFAIL_TEST): New macro.
20751 (ERRNO_UNCHANGED): Update value.
20752 (ERRNO_EDOM): Likewise.
20753 (ERRNO_ERANGE): Likewise.
20754 (IGNORE_RESULT): Likewise.
20755 (TEST_COND_flt_32): New macro.
20756 (TEST_COND_dbl_64): Likewise.
20757 (TEST_COND_ldbl_96_intel): Likewise.
20758 (TEST_COND_ldbl_96_m68k): Likewise.
20759 (TEST_COND_ldbl_128): Likewise.
20760 (TEST_COND_ldbl_128ibm): Likewise.
20761 (TEST_COND_long32): Likewise.
20762 (TEST_COND_long64): Likewise.
20763 (TEST_COND_before_rounding): Likewise.
20764 (TEST_COND_after_rounding): Likewise.
20765 (enable_test): Handle XFAIL_TEST flag.
20766 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20767 with finite results.
20768 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20769 auto-libm-test-out.
20770
acd98a8e
AK
207712013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20772 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20773
20774 [BZ #16214]
20775 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20776 __tls_get_addr_internal instead of __tls_get_offset in order to
20777 avoid GOT pointer dependency. Make rtld export
20778 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20779 __tls_get_addr since we are a __tls_get_offset platform.
20780 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20781 GOT pointer being set up before.
20782 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20783
3c1c46a6
JM
207842013-11-28 Joseph Myers <joseph@codesourcery.com>
20785
7475aef5
JM
20786 * manual/math.texi (Errors in Math Functions): Document accuracy
20787 goals.
20788
8bca7cd8
JM
20789 [BZ #15004]
20790 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20791 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20792 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20793 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20794 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20795 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20796 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20797 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20798 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20799 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20800 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20801 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20802 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20803 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20804 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20805 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20806
91a1f3fe
JM
20807 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20808 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20809 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20810 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20811 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20812 Likewise.
20813 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20814 Likewise.
20815 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20816 Likewise.
20817 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20818 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20819 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20820 atomic-feupdateenv and flt-rounds.
20821 * sysdeps/powerpc/nofpu/Versions (libc): Add
20822 __atomic_feholdexcept, __atomic_feclearexcept,
20823 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20824 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20825 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20826 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20827 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20828 here.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20830 Update.
20831
c5df7609
JM
20832 * manual/arith.texi (FP Exceptions): Document that exceptions may
20833 not be raised when matherr is used.
20834 (Math Error Reporting): Document overflow in directed rounding
20835 modes. Document that errno may not be set when finite values are
20836 returned on overflow. Document intent to set errno on underflow
20837 only for underflow to zero.
20838
3c1c46a6
JM
20839 [BZ #16271]
20840 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20841 round-to-nearest then adjust result for other rounding modes.
20842 * include/fenv.h (fegetround): Use libm_hidden_proto.
20843 * math/fegetround.c (fegetround): Use libm_hidden_def.
20844 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20845 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20846 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20847 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20848 Likewise.
20849 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20850 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20851 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20852 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20853
5a4c6d53
SP
208542013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20855
20856 [BZ #16077]
20857 * nss/Versions (libnss_files): Add
20858 _nss_files_gethostbyname3_r.
20859 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20860 New function.
20861 (HOST_DB_LOOKUP): Remove macro.
20862 (_nss_files_gethostbyname_r): Implement function without the
20863 HOST_DB_LOOKUP macro.
20864 (_nss_files_gethostbyname2_r): Likewise.
20865
897b98ba
OB
208662013-11-28 Ondřej Bílka <neleai@seznam.cz>
20867
20868 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20869
6f476861
UB
208702013-11-26 Uros Bizjak <ubizjak@gmail.com>
20871
20872 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20873 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20874 warning.
20875
bd12ab55
AZ
208762013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20877
20878 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20879 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20880 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20881 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20882 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20883 __fe_nomask_env_priv and attribute_hidden.
20884 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20885 (libc_feupdateenv_test_ppc): Likewise.
20886 (libc_feresetround_ppc): Likewise.
20887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20888 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20889 compat_symbol macro.
20890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20891 (__fe_nomask_env): Likewise.
20892 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20893
52bb6543
OB
208942013-11-26 Ondřej Bílka <neleai@seznam.cz>
20895
20896 * string/Makefile: Remove ifunc tests.
20897 * string/test-string.h: Define TEST_IFUNC.
20898 * string/test-bcopy-ifunc.c: Remove.
20899 * string/test-bzero-ifunc.c: Likewise.
20900 * string/test-memccpy-ifunc.c: Likewise.
20901 * string/test-memchr-ifunc.c: Likewise.
20902 * string/test-memcmp-ifunc.c: Likewise.
20903 * string/test-memcpy-ifunc.c: Likewise.
20904 * string/test-memmem-ifunc.c: Likewise.
20905 * string/test-memmove-ifunc.c: Likewise.
20906 * string/test-mempcpy-ifunc.c: Likewise.
20907 * string/test-memrchr-ifunc.c: Likewise.
20908 * string/test-memset-ifunc.c: Likewise.
20909 * string/test-rawmemchr-ifunc.c: Likewise.
20910 * string/test-stpcpy-ifunc.c: Likewise.
20911 * string/test-stpncpy-ifunc.c: Likewise.
20912 * string/test-strcasecmp-ifunc.c: Likewise.
20913 * string/test-strcasestr-ifunc.c: Likewise.
20914 * string/test-strcat-ifunc.c: Likewise.
20915 * string/test-strchr-ifunc.c: Likewise.
20916 * string/test-strchrnul-ifunc.c: Likewise.
20917 * string/test-strcmp-ifunc.c: Likewise.
20918 * string/test-strcpy-ifunc.c: Likewise.
20919 * string/test-strcspn-ifunc.c: Likewise.
20920 * string/test-strlen-ifunc.c: Likewise.
20921 * string/test-strncasecmp-ifunc.c: Likewise.
20922 * string/test-strncat-ifunc.c: Likewise.
20923 * string/test-strncmp-ifunc.c: Likewise.
20924 * string/test-strncpy-ifunc.c: Likewise.
20925 * string/test-strnlen-ifunc.c: Likewise.
20926 * string/test-strpbrk-ifunc.c: Likewise.
20927 * string/test-strrchr-ifunc.c: Likewise.
20928 * string/test-strspn-ifunc.c: Likewise.
20929 * string/test-strstr-ifunc.c: Likewise.
20930
ab260039 209312013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20932
20933 * benchtests/Makefile: Remove ifunc tests.
20934 * benchtests/bench-string.h: Define TEST_IFUNC.
20935 * benchtests/bench-bcopy-ifunc.c: Remove.
20936 * benchtests/bench-bzero-ifunc.c: Likewise.
20937 * benchtests/bench-memccpy-ifunc.c: Likewise.
20938 * benchtests/bench-memchr-ifunc.c: Likewise.
20939 * benchtests/bench-memcmp-ifunc.c: Likewise.
20940 * benchtests/bench-memcpy-ifunc.c: Likewise.
20941 * benchtests/bench-memmem-ifunc.c: Likewise.
20942 * benchtests/bench-memmove-ifunc.c: Likewise.
20943 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20944 * benchtests/bench-memrchr-ifunc.c: Likewise.
20945 * benchtests/bench-memset-ifunc.c: Likewise.
20946 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20947 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20948 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20949 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20950 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20951 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20952 * benchtests/bench-strcat-ifunc.c: Likewise.
20953 * benchtests/bench-strchr-ifunc.c: Likewise.
20954 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20955 * benchtests/bench-strcmp-ifunc.c: Likewise.
20956 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20957 * benchtests/bench-strcpy-ifunc.c: Likewise.
20958 * benchtests/bench-strcspn-ifunc.c: Likewise.
20959 * benchtests/bench-strlen-ifunc.c: Likewise.
20960 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20961 * benchtests/bench-strncat-ifunc.c: Likewise.
20962 * benchtests/bench-strncmp-ifunc.c: Likewise.
20963 * benchtests/bench-strncpy-ifunc.c: Likewise.
20964 * benchtests/bench-strnlen-ifunc.c: Likewise.
20965 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20966 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20967 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20968 * benchtests/bench-strspn-ifunc.c: Likewise.
20969 * benchtests/bench-strstr-ifunc.c: Likewise.
20970
209712013-11-26 Ondřej Bílka <neleai@seznam.cz>
20972
ab260039
OB
20973 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20974
d1d9eaf4 209752013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20976
d1d9eaf4
OB
20977 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20978 * rt/aio.h: Likewise.
20979 * sysdeps/gnu/bits/utmp.h: Likewise.
20980 * sysdeps/gnu/bits/utmpx.h: Likewise.
20981 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20982 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20983 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20984 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20985 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20986 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20987 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20988 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20989 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20990 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20991 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20992 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20993 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20995 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20996 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20997 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20998 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20999 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21000 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21001 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21002 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21003 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21004 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21005 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21007 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21008 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21009 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21010 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21011 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21012 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21013 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21014 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21015 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21016 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21017 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21018 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21019 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21020 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21021 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21022 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21023
a7624ed9
CD
210242013-11-25 Carlos O'Donell <carlos@redhat.com>
21025
21026 [BZ #16245]
21027 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21028 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21029
63cfe52b
JM
210302013-11-25 Joseph Myers <joseph@codesourcery.com>
21031
21032 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21033 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21034 Likewise.
21035
41e8926a
AZ
210362013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21037
21038 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21039 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21040 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21041 (__fesetround): Remove define.
21042 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21043 rounding and exceptions handling.
21044 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21045 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21046 (__fe_nomask_env): Likewise.
21047 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21048 __fegetround instead of fegetround.
21049 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21050 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21051
6851bd4d
RM
210522013-11-21 Roland McGrath <roland@hack.frob.com>
21053
070906ff
RM
21054 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21055 it's there.
21056
6851bd4d
RM
21057 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21058
84ae135d
MI
210592013-11-21 Meador Inge <meadori@codesourcery.com>
21060
21061 [BZ #11157]
21062 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21063 (encrypt_r): Likewise.
21064 * malloc/obstack.h (obstack_free): Likewise.
21065 * posix/unistd.h (encrypt): Likewise.
21066
daf75146
GM
210672013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21068
21069 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21070 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21071 DL_CALL_DT_FINI() that call the functions directly.
21072 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21073 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21074 * elf/dl-fini.c: Likewise.
21075
10ad46bc
OB
210762013-11-20 Ondřej Bílka <neleai@seznam.cz>
21077
21078 * malloc/hooks.c (memalign_check): Add alignment rounding.
21079 * malloc/malloc.c (_mid_memalign): New function.
21080 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21081 Implement by calling _mid_memalign.
21082 * manual/probes.texi (Memory Allocation Probes): Remove
21083 memory_valloc_retry and memory_pvalloc_retry.
21084
f3fd2628
SP
210852013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21086
4712799f
SP
21087 * locale/programs/locarchive.c (open_archive): Add const
21088 qualifier to ARCHIVEFNAME and copy default fname to
21089 DEFAULT_FNAME.
21090
0417b20f
SP
21091 [BZ #15601]
21092 * libio/tst-widetext.input: Rename Oriya to Odia.
21093 * locale/iso-639.def: Likewise.
21094
f3fd2628
SP
21095 * manual/probes.texi (Mathematical Function Probes): Add
21096 documentation for sin, cos, asin and acos probes.
21097 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21098 (__sin32): Add slowasin probe.
21099 (__cos32): Add slowacos probe.
21100 (__mpsin): Add slowsin probe.
21101 (__mpcos): Add slowcos probe.
21102
73c1ce4f
JM
211032013-11-19 Joseph Myers <joseph@codesourcery.com>
21104
21105 [BZ #15483]
21106 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21107 thread-local __sim_exceptions_thread and global
21108 __sim_exceptions_global.
21109 (__sim_disabled_exceptions): Change to thread-local
21110 __sim_disabled_exceptions_thread and global
21111 __sim_disabled_exceptions_global.
21112 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21113 and global __sim_round_mode_global.
21114 (__simulate_exceptions): Use thread-local floating-point state and
21115 set global state from it as needed.
21116 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21117 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21118 __sim_round_mode_thread.
21119 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21120 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21121 and global __sim_exceptions_global.
21122 (__sim_disabled_exceptions): Change to thread-local
21123 __sim_disabled_exceptions_thread and global
21124 __sim_disabled_exceptions_global.
21125 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21126 and global __sim_round_mode_global.
21127 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21128 (SIM_SET_GLOBAL): Likewise.
21129 * sysdeps/powerpc/soft-fp/sfp-machine.h
21130 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21131 __sim_round_mode_thread.
21132 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21133 __sim_disabled_exceptions_thread.
21134 (__sim_exceptions): Change to __sim_exceptions_thread.
21135 (__sim_disabled_exceptions): Change to
21136 __sim_disabled_exceptions_thread.
21137 (__sim_round_mode): Change to __sim_round_mode_thread.
21138 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21139 thread-local floating-point state and set global state from it as
21140 needed.
21141 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21142 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21143 (__sim_disabled_exceptions): Remove extern declaration.
21144 (feenableexcept): Use thread-local floating-point state and set
21145 global state from it as needed.
21146 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21147 extern declaration.
21148 (__sim_disabled_exceptions): Likewise.
21149 (__sim_round_mode): Likewise.
21150 (__fegetenv): Use thread-local floating-point state.
21151 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21152 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21153 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21154 floating-point state and set global state from it as needed.
21155 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21156 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21157 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21158 Likewise.
21159 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21160 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21161 Likewise.
21162 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21163 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21164 Use __sim_round_mode_thread.
21165 * math/test-fenv-tls.c: New file.
21166 * math/Makefile (tests): Add test-fenv-tls.
21167 ($(objpfx)test-fenv-tls): Depend on
21168 $(common-objpfx)nptl/libpthread.so.
21169
b5449b12
AS
211702013-11-19 Andreas Schwab <schwab@suse.de>
21171
21172 * locale/programs/locale.c (show_info): Decode wordarray elements.
21173 * locale/categories.def (LC_MONETARY): Add element for
21174 _NL_MONETARY_CRNCYSTR.
21175 * locale/C-monetary.c (conversion_rate): New variable.
21176 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21177 element.
21178
e186536b
CM
211792013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21180
21181 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21182 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21183
5c349950
PP
211842013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21185
21186 * elf/Makefile (tst-auxv): New test.
21187 * elf/tst-auxv.c: New
21188 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21189
699df45b
JM
211902013-11-18 Joseph Myers <joseph@codesourcery.com>
21191
21192 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21193 (hidden_proto): Caller changed.
21194 (hidden_tls_proto): New macro.
21195 (libc_hidden_tls_proto): Likewise.
21196 (rtld_hidden_tls_proto): Likewise.
21197 (libm_hidden_tls_proto): Likewise.
21198 (libresolv_hidden_tls_proto): Likewise.
21199 (librt_hidden_tls_proto): Likewise.
21200 (libdl_hidden_tls_proto): Likewise.
21201 (libnss_files_hidden_tls_proto): Likewise.
21202 (libnsl_hidden_tls_proto): Likewise.
21203 (libnss_nisplus_hidden_tls_proto): Likewise.
21204 (libutil_hidden_tls_proto): Likewise.
21205
b7589107
OB
212062013-11-18 Ondřej Bílka <neleai@seznam.cz>
21207
21208 [BZ #10253]
21209 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21210 (decompose_rpath): Defer expansion to fillin_rpath.
21211 (_dl_init_paths): Pass linkmap to fillin_rpath.
21212
250c23bd
RS
212132013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21214
21215 * benchtests/Makefile: Add strsep.
21216 * benchtests/bench-strsep.c: New file: strsep benchtest.
21217 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21218
a7931fcf
AS
212192013-11-18 Andreas Schwab <schwab@suse.de>
21220
21221 * locale/programs/locale.c (show_info) [case byte]: Check for
21222 '\377' instead of '\177'.
21223 * locale/C-monetary.c (not_available): Always use "\377".
21224 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21225 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21226 detect unavailable sign_posn locale elements.
21227 * locale/localeconv.c (__localeconv): For grouping and
21228 mon_grouping handle "\177" and "\377" like no grouping.
21229 (INT_ELEM): New macro. Use it to set all numeric members.
21230 * locale/programs/ld-monetary.c (monetary_read)
21231 <tok_mon_grouping>: Normalize single -1 to the empty string.
21232 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21233 Likewise.
21234
728dab0e
OB
212352013-11-07 Ondřej Bílka <neleai@seznam.cz>
21236
21237 [BZ #16055]
21238 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21239 when we match (nil).
21240 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21241
66294491
JM
212422013-11-16 Joseph Myers <joseph@codesourcery.com>
21243
ce665817
JM
21244 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21245 (NO_TEST_INLINE): Update value.
21246 (ERRNO_UNCHANGED): Likewise.
21247 (ERRNO_EDOM): Likewise.
21248 (ERRNO_ERANGE): Likewise.
21249 (IGNORE_RESULT): Likewise.
21250 (check_float_internal): Check signs of NaN results if
21251 TEST_NAN_SIGN used.
21252 (check_complex): Pass TEST_NAN_SIGN flag through to second
21253 check_float_internal call.
21254 (copysign_test_data): Add tests with quiet NaNs as second
21255 argument. Use TEST_NAN_SIGN.
21256 (fabs_test_data): Add test of negative quiet NaN argument. Use
21257 TEST_NAN_SIGN.
21258 (signbit_test_data): Add tests of quiet NaN argument.
21259 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21260
ee1466a9
JM
21261 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21262 $ignore_result.
21263 (parse_args): Handle function results specified as IGNORE.
21264 * math/libm-test.inc (IGNORE_RESULT): New macro.
21265 (check_float_internal): Do not check numerical result if flag
21266 IGNORE_RESULT set.
21267 (check_complex): Pass through IGNORE_RESULT to second
21268 check_float_internal call.
21269 (check_int): Do not check numerical result if flag IGNORE_RESULT
21270 set.
21271 (check_long): Likewise.
21272 (check_bool): Likewise.
21273 (check_longlong): Likewise.
21274 (lrint_test_data): Add tests of infinite and NaN arguments.
21275 (lrint_tonearest_test_data): Likewise.
21276 (lrint_towardzero_test_data): Likewise.
21277 (lrint_downward_test_data): Likewise.
21278 (lrint_upward_test_data): Likewise.
21279 (llrint_test_data): Likewise.
21280 (llrint_tonearest_test_data): Likewise.
21281 (llrint_towardzero_test_data): Likewise.
21282 (llrint_downward_test_data): Likewise.
21283 (llrint_upward_test_data): Likewise.
21284 (lround_test_data): Likewise.
21285 (llround_test_data): Likewise.
21286
14407b7e
JM
21287 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21288 (ERRNO_UNCHANGED): Update value.
21289 (ERRNO_EDOM): Likewise.
21290 (ERRNO_ERANGE): Likewise.
21291 (NO_TEST_INLINE_FLOAT): New macro.
21292 (NO_TEST_INLINE_DOUBLE): Likewise.
21293 (enable_test): New function.
21294 (RUN_TEST_f_f): Check enable_test before running test.
21295 (RUN_TEST_2_f): Likewise.
21296 (RUN_TEST_fff_f): Likewise.
21297 (RUN_TEST_c_f): Likewise.
21298 (RUN_TEST_f_f1): Likewise.
21299 (RUN_TEST_fF_f1): Likewise.
21300 (RUN_TEST_fI_f1): Likewise.
21301 (RUN_TEST_ffI_f1): Likewise.
21302 (RUN_TEST_c_c): Likewise.
21303 (RUN_TEST_cc_c): Likewise.
21304 (RUN_TEST_f_i): Likewise.
21305 (RUN_TEST_f_i_tg): Likewise.
21306 (RUN_TEST_ff_i_tg): Likewise.
21307 (RUN_TEST_f_b): Likewise.
21308 (RUN_TEST_f_b_tg): Likewise.
21309 (RUN_TEST_f_l): Likewise.
21310 (RUN_TEST_f_L): Likewise.
21311 (RUN_TEST_fFF_11): Likewise.
21312 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21313 conditionals.
21314 (cosh_test_data): Likewise.
21315 (exp_test_data): Likewise.
21316 (expm1_test_data): Likewise.
21317 (hypot_test_data): Likewise.
21318 (pow_test_data): Likewise.
21319 (sinh_test_data): Likewise.
21320 (tanh_test_data): Likewise.
21321 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21322 flags argument.
21323
ca07f197
JM
21324 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21325 tests with quiet NaN input and output.
21326 (acosh_test_data): Likewise.
21327 (asin_test_data): Likewise.
21328 (asinh_test_data): Likewise.
21329 (atan_test_data): Likewise.
21330 (atanh_test_data): Likewise.
21331 (atan2_test_data): Likewise.
21332 (cbrt_test_data): Likewise.
21333 (cos_test_data): Likewise.
21334 (cosh_test_data): Likewise.
21335 (erf_test_data): Likewise.
21336 (erfc_test_data): Likewise.
21337 (exp_test_data): Likewise.
21338 (exp10_test_data): Likewise.
21339 (exp2_test_data): Likewise.
21340 (expm1_test_data): Likewise.
21341 (hypot_test_data): Likewise.
21342 (j0_test_data): Likewise.
21343 (j1_test_data): Likewise.
21344 (jn_test_data): Likewise.
21345 (lgamma_test_data): Likewise.
21346 (log_test_data): Likewise.
21347 (log10_test_data): Likewise.
21348 (log1p_test_data): Likewise.
21349 (log2_test_data): Likewise.
21350 (pow_test_data): Likewise.
21351 (scalb_test_data): Likewise.
21352 (sin_test_data): Likewise.
21353 (sincos_test_data): Likewise.
21354 (sinh_test_data): Likewise.
21355 (tan_test_data): Likewise.
21356 (tanh_test_data): Likewise.
21357 (tgamma_test_data): Likewise.
21358 (y0_test_data): Likewise.
21359 (y1_test_data): Likewise.
21360 (yn_test_data): Likewise.
21361
66294491
JM
21362 [BZ #16167]
21363 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21364 argument being NaN and avoid computations with second argument in
21365 that case.
21366 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21367 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21368 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21369
1820b143
CL
213702013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21371
21372 * locale/iso-639.def: Add Chitwani Tharu (the).
21373
714bd261
AS
213742013-11-14 Andreas Schwab <schwab@suse.de>
21375
21376 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21377 word instead of empty string.
21378
7ab44563
AZ
213792013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21380
21381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21382 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21384 (__fe_nomask_env): Likewise.
21385
e8470ea2
SE
213862013-11-13 Steve Ellcey <sellcey@mips.com>
21387
21388 * benchtests/bench-timing.h: Include time.h.
21389
17c1d9f0
L
213902013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21391
21392 [BZ #15997]
21393 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21394 to 3.4.0 for x32.
21395 * sysdeps/unix/sysv/linux/configure: Regenerated.
21396
9310c284
JM
213972013-11-13 Joseph Myers <joseph@codesourcery.com>
21398
21399 [BZ #16151]
21400 * stdlib/strtod_l.c (round_and_return): Do not consider
21401 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21402 exponent one less than half the least subnormal exponent.
21403 * stdlib/test-strtod-round-data: Add more tests.
21404 * stdlib/tst-strtod-round.c (tests): Regenerated.
21405
7a2ad8cf
AZ
214062013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21407
21408 [BZ #14143]
21409 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21410 (__fe_mask_env): Likewise.
21411 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21412 libm_hidden_proto and add function prototype.
21413 (__fe_mask_env): Add function prototype.
21414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21415 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21417 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21419 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21420
50727aa7
MS
214212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21422
b2f386c1 21423 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21424 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21425
a615be46
MS
214262013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21427
21428 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21429 of htab_find_slot().
21430
7ddace62
DM
214312013-11-11 David S. Miller <davem@davemloft.net>
21432
21433 [BZ #16150]
21434 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21435 symbol in the non-vis3 case in static builds.
21436 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21437 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21438 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21439 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21440
9182aa67
JK
214412013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21442
21443 [BZ #387]
21444 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21445 it is empty.
21446
450a2e2d
AZ
214472013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21448
b2f386c1
SP
21449 * benchtests/Makefile: Add bench-strtod.
21450 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21451
8ec3f656
AS
214522013-11-11 Andreas Schwab <schwab@suse.de>
21453
21454 [BZ #16153]
21455 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21456 terminating NUL in key length.
21457
76a9b998
AZ
214582013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21459
21460 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21461 Add artificial ODP entry for vDSO symbol for PPC64.
21462 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21463 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21464
e4368156
OB
214652013-11-07 Ondřej Bílka <neleai@seznam.cz>
21466
21467 [BZ #15374]
21468 * nss/getent.c (services_keys): Recognize services starting with digit.
21469
8d6bb57c
DM
214702013-11-06 David S. Miller <davem@davemloft.net>
21471
21472 [BZ #15985]
21473 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21474 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21475
e256c421
WN
214762013-11-06 Will Newton <will.newton@linaro.org>
21477
21478 * manual/memory.texi (Malloc Examples): Remove register
21479 keyword from examples.
21480
f6e12daa 214812013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21482
f6e12daa 21483 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21484
9d880655
AS
214852013-11-04 Joseph Myers <joseph@codesourcery.com>
21486
fd2f9486 21487 [BZ #6981]
9d880655
AS
21488 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21489 depending on [__GCC_IEC_559 > 0].
21490 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21491 depending on [__GCC_IEC_559_COMPLEX > 0].
21492
ae129d3c
CL
214932013-11-03 Chris Leonard <cjl@sugarlabs.org>
21494
21495 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21496 to iso-639.def.
21497
4a15c2a4 214982013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21499
21500 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21501
8b35e35d
OB
215022013-11-01 Ondřej Bílka <neleai@seznam.cz>
21503
21504 [BZ #16112]
21505 * malloc/malloc (malloc_info): Do not handle first bin as
21506 special case.
21507
1d70fd6c
CL
215082013-11-01 Chris Leonard <cjl@sugarlabs.org>
21509
21510 * locale/iso-639.def: Add Central Nahuatl (nhn).
21511
8c5c2600
BH
215122013-11-01 Bruno Haible <bruno@clisp.org>
21513
21514 [BZ #7003]
21515 * manual/math.texi (BSD Random): Specify range upper bound as
21516 in POSIX.
21517
da5579c2
CL
215182013-10-31 Chris Leonard <cjl@sugarlabs.org>
21519
21520 * locale/iso-639.def: Add Meadow Mari (mhr).
21521
5d30d853
OB
215222013-10-31 Ondřej Bílka <neleai@seznam.cz>
21523
21524 [BZ #14752], [BZ #15763]
21525 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21526 Validate name.
21527 * rt/tst_shm.c: Add test for escaping directory.
21528
a4966c61
AS
215292013-10-31 Andreas Schwab <schwab@suse.de>
21530
8a43e768 21531 [BZ #15917]
a4966c61
AS
21532 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21533 followed by 'x' as part of digit sequence.
21534 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21535
28d708c4
MAP
215362013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21537
21538 [BZ #16037]
21539 * configure.ac: allow GNU Make 4.0 and greater.
21540 * configure: Regenerated.
21541
a56ee40b
WN
215422013-10-30 Will Newton <will.newton@linaro.org>
21543
21544 [BZ #16038]
21545 * malloc/hooks.c (memalign_check): Limit alignment to the
21546 maximum representable power of two.
21547 * malloc/malloc.c (__libc_memalign): Likewise.
21548 * malloc/tst-memalign.c (do_test): Add test for very
21549 large alignment values.
21550 * malloc/tst-posix_memalign.c (do_test): Likewise.
21551
c6e4925d
OB
215522013-10-30 Ondřej Bílka <neleai@seznam.cz>
21553
21554 [BZ #11087]
21555 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21556 (munmap_chunk): Likewise.
21557 (mremap_chunk): Likewise.
21558
215592013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21560
8a43e768 21561 [BZ #15799]
bbea82f7
OB
21562 * stdlib/div.c (div): Remove obsolete code.
21563 * stdlib/ldiv.c (ldiv): Likewise.
21564 * stdlib/lldiv.c (lldiv): Likewise.
21565
977f4b31
SP
215662013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21567
21568 [BZ #16071]
21569 * nss/nss_files/files-XXX.c (get_contents_ret): New
21570 enumerator.
21571 (get_contents): New function.
21572 (internal_getent): Use it. Expand size of LINEBUFLEN.
21573
cb8a6dbd
MF
215742013-10-30 Mike Frysinger <vapier@gentoo.org>
21575
21576 * configure.in: Moved to ...
21577 * configure.ac: ... here. Change reference to configure.in
21578 to configure.ac.
21579 * sysdeps/arm/preconfigure.ac: ... here.
21580 configure.in to configure.ac.
21581 * sysdeps/gnu/configure.in: Moved to ...
21582 * sysdeps/gnu/configure.ac: ... here.
21583 * sysdeps/i386/configure.in: Moved to ...
21584 * sysdeps/i386/configure.ac: ... here.
21585 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21586 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21587 * sysdeps/mach/configure.in: Moved to ...
21588 * sysdeps/mach/configure.ac: ... here.
21589 * sysdeps/mach/hurd/configure.in: Moved to ...
21590 * sysdeps/mach/hurd/configure.ac: ... here.
21591 * sysdeps/powerpc/configure.in: Moved to ...
21592 * sysdeps/powerpc/configure.ac: ... here.
21593 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21594 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21595 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21596 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21597 * sysdeps/s390/s390-32/configure.in: Moved to ...
21598 * sysdeps/s390/s390-32/configure.ac: ... here.
21599 * sysdeps/s390/s390-64/configure.in: Moved to ...
21600 * sysdeps/s390/s390-64/configure.ac: ... here.
21601 * sysdeps/sh/configure.in: Moved to ...
21602 * sysdeps/sh/configure.ac: ... here.
21603 * sysdeps/sparc/configure.in: Moved to ...
21604 * sysdeps/sparc/configure.ac: ... here.
21605 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21606 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21607 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21608 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21609 * sysdeps/x86_64/configure.in: Moved to ...
21610 * sysdeps/x86_64/configure.ac: ... here.
21611 * sysdeps/x86_64/preconfigure.in: Moved to ...
21612 * sysdeps/x86_64/preconfigure.ac: ... here.
21613 * aclocal.m4: Change reference to configure.in to configure.ac.
21614 * config.h.in: Likewise.
21615 * manual/install.texi: Likewise.
21616 * manual/maint.texi: Likewise.
21617 * Makefile: Likewise.
21618 * malloc/Makefile: Likewise.
21619 * nscd/Makefile: Likewise.
21620 * Makeconfig: Change reference to configure.in and
21621 preconfigure.in to configure.ac and preconfigure.ac
21622 respectively.
21623 * INSTALL: Regenerated.
21624 * configure: Likewise.
21625 * sysdeps/gnu/configure: Likewise.
21626 * sysdeps/i386/configure: Likewise.
21627 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21628 * sysdeps/mach/configure: Likewise.
21629 * sysdeps/mach/hurd/configure: Likewise.
21630 * sysdeps/powerpc/configure: Likewise.
21631 * sysdeps/powerpc/powerpc32/configure: Likewise.
21632 * sysdeps/powerpc/powerpc64/configure: Likewise.
21633 * sysdeps/s390/s390-32/configure: Likewise.
21634 * sysdeps/s390/s390-64/configure: Likewise.
21635 * sysdeps/sh/configure: Likewise.
21636 * sysdeps/sparc/configure: Likewise.
21637 * sysdeps/unix/sysv/linux/configure: Likewise.
21638 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21639 * sysdeps/x86_64/configure: Likewise.
21640 * sysdeps/x86_64/preconfigure: Likewise.
21641
36a4953a
AS
216422013-10-29 Andreas Schwab <schwab@suse.de>
21643
21644 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21645
c79a1204
SP
216462013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21647
dfa1b402
SP
21648 * benchtests/pow-inputs: Add new inputs.
21649
54f73d9c
SP
21650 * benchtests/exp-inputs: Add new inputs.
21651
c79a1204
SP
21652 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21653 conditional check for return value.
21654 (__cos32): Likewise.
21655
67beb545 216562013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21657
21658 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21659 to provide a boost for large inputs with word alignment.
21660 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21661 implementation based on optimized PPC64 strcpy.
21662 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21663 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21664 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21665 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21666
151659f6
OB
216672013-10-25 Ondřej Bílka <neleai@seznam.cz>
21668
482a077e 21669 [BZ #2801]
151659f6
OB
21670 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21671
10b0f26b
OB
216722013-10-25 Ondřej Bílka <neleai@seznam.cz>
21673
21674 [BZ #14876]
21675 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21676 * time/tst-strptime.c (day_tests): Add testcase.
21677
ca42d35e
OB
216782013-10-25 Ondřej Bílka <neleai@seznam.cz>
21679
482a077e 21680 [BZ #14029]
ca42d35e
OB
21681 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21682
52e6d801
FB
216832013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21684
21685 [BZ #16074]
21686 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21687 MAP_FAILED on error.
21688
7cbcdb36
SP
216892013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21690
21691 [BZ #16072]
21692 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21693 heap for large requests.
21694
894f3f10
AM
216952013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21696
21697 [BZ #9954]
21698 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21699 result if the result has no associated interface.
21700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21701 interface for all 127.X.Y.Z addresses.
21702
b85545a6
CL
217032013-10-24 Chris Leonard <cjl@sugarlabs.org>
21704
21705 * locale/iso-639.def: Add Ligurian (lij)
21706
d1f23d46
OB
217072013-10-21 Ondřej Bílka <neleai@seznam.cz>
21708
21709 [BZ #15825]
21710 * sunrpc/rpc_main.c: Document rpcgen -5.
21711
4db5b08f
MS
217122013-10-19 Michael Stahl <mstahl@redhat.com>
21713
21714 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21715
a471e96a
OB
217162013-10-19 Ondřej Bílka <neleai@seznam.cz>
21717
d1f23d46 21718 [BZ #10278]
a471e96a
OB
21719 * posix/glob.c: Match only directories when trailing slash is present.
21720 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21721 (main): Add testcase.
21722
45c30c61
OB
217232013-10-19 Ondřej Bílka <neleai@seznam.cz>
21724
21725 [BZ #15670]
21726 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21727
484c12fb
CD
217282013-10-18 Carlos O'Donell <carlos@redhat.com>
21729
3d7dc513
CD
21730 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21731 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21732 AUTH_DES and cindex for FIPS 140-2.
21733 (DES Encryption): Add cindex FIPS 46-3.
21734
484c12fb
CD
21735 * locale/locarchive.h (struct locarhandle): Add fname.
21736 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21737 if an optional argument was specified to --list-archive,
21738 otherwise NULL.
21739 * locale/programs/locarchive.c (show_archive_content): Take new
21740 argument fname and pass it via ah.fname to open_archive.
21741 * locale/programs/localedef.h: Update decl.
21742 (open_archive): If AH->fname is non-null, open that file
21743 rather than the default file name, and don't ignore ENOENT.
21744 (create_archive): Set AH.fname to NULL.
21745 (delete_locales_from_archive): Likewise.
21746 (add_locales_to_archive): Likewise.
21747 * locale/programs/locfile.c (write_all_categories): Likewise.
21748
3c8325fb
JM
217492013-10-18 Joseph Myers <joseph@codesourcery.com>
21750 Aldy Hernandez <aldyh@redhat.com>
21751
21752 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21753 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21754 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21755 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21756 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21757 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21758 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21759 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21760 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21761 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21762 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21763 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21764 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21765 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21766 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21767 Likewise.
21768 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21769 Likewise.
21770 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21771 Likewise.
21772 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21773 Likewise.
21774 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21775 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21776 Likewise.
21777 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21778 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21779 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21780 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21781 Likewise.
21782 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21783 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21784 * sysdeps/powerpc/preconfigure: Likewise.
21785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21786 Likewise.
21787 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21788 Replace contents of file by #include of <fenv_libc.h>.
21789 * sysdeps/powerpc/soft-fp/sfp-machine.h
21790 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21791 and <sys/prctl.h>.
21792 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21793 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21794 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21796 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21797 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21799 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21800 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21803 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21805 Allow copysignl PLT reference to be missing.
21806
5abe0682
RS
218072013-10-18 Richard Sandiford <richard@codesourcery.com>
21808 Joseph Myers <joseph@codesourcery.com
21809
21810 [BZ #15948]
21811 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21812 single character.
21813 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21814
c7738d08
SP
218152013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21816
21817 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21818 * elf/tst-tls1.c: Likewise.
21819 * elf/tst-tls10.h: Likewise.
21820 * elf/tst-tls14.c: Likewise.
21821 * elf/tst-tls2.c: Likewise.
21822 * elf/tst-tls3.c: Likewise.
21823 * elf/tst-tls4.c: Likewise.
21824 * elf/tst-tls5.c: Likewise.
21825 * elf/tst-tls6.c: Likewise.
21826 * elf/tst-tls7.c: Likewise.
21827 * elf/tst-tls8.c: Likewise.
21828 * elf/tst-tls9.c: Likewise.
21829 * elf/tst-tlsmod1.c: Likewise.
21830 * elf/tst-tlsmod13.c: Likewise.
21831 * elf/tst-tlsmod13a.c: Likewise.
21832 * elf/tst-tlsmod14a.c: Likewise.
21833 * elf/tst-tlsmod16a.c: Likewise.
21834 * elf/tst-tlsmod16b.c: Likewise.
21835 * elf/tst-tlsmod2.c: Likewise.
21836 * elf/tst-tlsmod3.c: Likewise.
21837 * elf/tst-tlsmod4.c: Likewise.
21838 * elf/tst-tlsmod5.c: Likewise.
21839 * elf/tst-tlsmod6.c: Likewise.
21840
0bfcf2c7
OB
218412013-10-18 Ondřej Bílka <neleai@seznam.cz>
21842
21843 [BZ #12486]
21844 * malloc/malloc.c: remove checks for statistics.
21845
264aad1e
OB
218462013-10-17 Ondřej Bílka <neleai@seznam.cz>
21847
21848 [BZ #15277]
21849 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21850 * inet/tst-network.c: Add testcase.
21851
b957ced8
AS
218522013-10-17 Andreas Schwab <schwab@suse.de>
21853
21854 [BZ #15218]
21855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21856 to determine canonical name.
21857
c5d5d574
OB
218582013-10-17 Ondřej Bílka <neleai@seznam.cz>
21859
21860 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21861 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21863 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21865 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21866 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21874 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21875 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21883 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21884 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21885 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21886 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21887 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21888 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21889 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21892 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21893 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21895 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21897 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21898 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21900 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21901 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21902 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21903 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21904 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21905 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21906 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21907 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21908 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21909 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21910 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21911 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21912 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21913 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21914 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21915 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21918
e5c2c2d0
JM
219192013-10-17 Joseph Myers <joseph@codesourcery.com>
21920
21921 [BZ #16041]
21922 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21923 make result into a quiet NaN.
21924
51ca9e29
JM
219252013-10-16 Joseph Myers <joseph@codesourcery.com>
21926
21927 * soft-fp/adddf3.c: Fix horizontal whitespace.
21928 * soft-fp/addsf3.c: Likewise.
21929 * soft-fp/addtf3.c: Likewise.
21930 * soft-fp/divdf3.c: Likewise.
21931 * soft-fp/divsf3.c: Likewise.
21932 * soft-fp/divtf3.c: Likewise.
21933 * soft-fp/double.h: Likewise.
21934 * soft-fp/eqdf2.c: Likewise.
21935 * soft-fp/eqsf2.c: Likewise.
21936 * soft-fp/eqtf2.c: Likewise.
21937 * soft-fp/extenddftf2.c: Likewise.
21938 * soft-fp/extended.h: Likewise.
21939 * soft-fp/extendsfdf2.c: Likewise.
21940 * soft-fp/extendsftf2.c: Likewise.
21941 * soft-fp/extendxftf2.c: Likewise.
21942 * soft-fp/fixdfdi.c: Likewise.
21943 * soft-fp/fixdfsi.c: Likewise.
21944 * soft-fp/fixdfti.c: Likewise.
21945 * soft-fp/fixsfdi.c: Likewise.
21946 * soft-fp/fixsfsi.c: Likewise.
21947 * soft-fp/fixsfti.c: Likewise.
21948 * soft-fp/fixtfdi.c: Likewise.
21949 * soft-fp/fixtfsi.c: Likewise.
21950 * soft-fp/fixtfti.c: Likewise.
21951 * soft-fp/fixunsdfdi.c: Likewise.
21952 * soft-fp/fixunsdfsi.c: Likewise.
21953 * soft-fp/fixunsdfti.c: Likewise.
21954 * soft-fp/fixunssfdi.c: Likewise.
21955 * soft-fp/fixunssfsi.c: Likewise.
21956 * soft-fp/fixunssfti.c: Likewise.
21957 * soft-fp/fixunstfdi.c: Likewise.
21958 * soft-fp/fixunstfsi.c: Likewise.
21959 * soft-fp/fixunstfti.c: Likewise.
21960 * soft-fp/floatdidf.c: Likewise.
21961 * soft-fp/floatdisf.c: Likewise.
21962 * soft-fp/floatditf.c: Likewise.
21963 * soft-fp/floatsidf.c: Likewise.
21964 * soft-fp/floatsisf.c: Likewise.
21965 * soft-fp/floatsitf.c: Likewise.
21966 * soft-fp/floattidf.c: Likewise.
21967 * soft-fp/floattisf.c: Likewise.
21968 * soft-fp/floattitf.c: Likewise.
21969 * soft-fp/floatundidf.c: Likewise.
21970 * soft-fp/floatundisf.c: Likewise.
21971 * soft-fp/floatunditf.c: Likewise.
21972 * soft-fp/floatunsidf.c: Likewise.
21973 * soft-fp/floatunsisf.c: Likewise.
21974 * soft-fp/floatunsitf.c: Likewise.
21975 * soft-fp/floatuntidf.c: Likewise.
21976 * soft-fp/floatuntisf.c: Likewise.
21977 * soft-fp/floatuntitf.c: Likewise.
21978 * soft-fp/fmadf4.c: Likewise.
21979 * soft-fp/fmasf4.c: Likewise.
21980 * soft-fp/fmatf4.c: Likewise.
21981 * soft-fp/gedf2.c: Likewise.
21982 * soft-fp/gesf2.c: Likewise.
21983 * soft-fp/getf2.c: Likewise.
21984 * soft-fp/ledf2.c: Likewise.
21985 * soft-fp/lesf2.c: Likewise.
21986 * soft-fp/letf2.c: Likewise.
21987 * soft-fp/muldf3.c: Likewise.
21988 * soft-fp/mulsf3.c: Likewise.
21989 * soft-fp/multf3.c: Likewise.
21990 * soft-fp/negdf2.c: Likewise.
21991 * soft-fp/negsf2.c: Likewise.
21992 * soft-fp/negtf2.c: Likewise.
21993 * soft-fp/op-1.h: Likewise.
21994 * soft-fp/op-2.h: Likewise.
21995 * soft-fp/op-4.h: Likewise.
21996 * soft-fp/op-8.h: Likewise.
21997 * soft-fp/op-common.h: Likewise.
21998 * soft-fp/quad.h: Likewise.
21999 * soft-fp/single.h: Likewise.
22000 * soft-fp/soft-fp.h: Likewise.
22001 * soft-fp/sqrtdf2.c: Likewise.
22002 * soft-fp/sqrtsf2.c: Likewise.
22003 * soft-fp/sqrttf2.c: Likewise.
22004 * soft-fp/subdf3.c: Likewise.
22005 * soft-fp/subsf3.c: Likewise.
22006 * soft-fp/subtf3.c: Likewise.
22007 * soft-fp/truncdfsf2.c: Likewise.
22008 * soft-fp/trunctfdf2.c: Likewise.
22009 * soft-fp/trunctfsf2.c: Likewise.
22010 * soft-fp/trunctfxf2.c: Likewise.
22011 * soft-fp/unorddf2.c: Likewise.
22012 * soft-fp/unordsf2.c: Likewise.
22013 * soft-fp/unordtf2.c: Likewise.
22014
9ebb0332
JM
220152013-10-15 Joseph Myers <joseph@codesourcery.com>
22016
22017 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22018 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22019
4b1a6d8b
OB
220202013-10-15 Ondřej Bílka <neleai@seznam.cz>
22021
22022 * elf/dl-libc.c: Clear initfini list after freeing.
22023
1e145589
JM
220242013-10-14 Joseph Myers <joseph@codesourcery.com>
22025
22026 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22027 * soft-fp/addsf3.c: Likewise.
22028 * soft-fp/addtf3.c: Likewise.
22029 * soft-fp/divdf3.c: Likewise.
22030 * soft-fp/divsf3.c: Likewise.
22031 * soft-fp/divtf3.c: Likewise.
22032 * soft-fp/double.h: Likewise.
22033 * soft-fp/eqdf2.c: Likewise.
22034 * soft-fp/eqsf2.c: Likewise.
22035 * soft-fp/eqtf2.c: Likewise.
22036 * soft-fp/extenddftf2.c: Likewise.
22037 * soft-fp/extended.h: Likewise.
22038 * soft-fp/extendsfdf2.c: Likewise.
22039 * soft-fp/extendsftf2.c: Likewise.
22040 * soft-fp/extendxftf2.c: Likewise.
22041 * soft-fp/fixdfdi.c: Likewise.
22042 * soft-fp/fixdfsi.c: Likewise.
22043 * soft-fp/fixdfti.c: Likewise.
22044 * soft-fp/fixsfdi.c: Likewise.
22045 * soft-fp/fixsfsi.c: Likewise.
22046 * soft-fp/fixsfti.c: Likewise.
22047 * soft-fp/fixtfdi.c: Likewise.
22048 * soft-fp/fixtfsi.c: Likewise.
22049 * soft-fp/fixtfti.c: Likewise.
22050 * soft-fp/fixunsdfdi.c: Likewise.
22051 * soft-fp/fixunsdfsi.c: Likewise.
22052 * soft-fp/fixunsdfti.c: Likewise.
22053 * soft-fp/fixunssfdi.c: Likewise.
22054 * soft-fp/fixunssfsi.c: Likewise.
22055 * soft-fp/fixunssfti.c: Likewise.
22056 * soft-fp/fixunstfdi.c: Likewise.
22057 * soft-fp/fixunstfsi.c: Likewise.
22058 * soft-fp/fixunstfti.c: Likewise.
22059 * soft-fp/floatdidf.c: Likewise.
22060 * soft-fp/floatdisf.c: Likewise.
22061 * soft-fp/floatditf.c: Likewise.
22062 * soft-fp/floatsidf.c: Likewise.
22063 * soft-fp/floatsisf.c: Likewise.
22064 * soft-fp/floatsitf.c: Likewise.
22065 * soft-fp/floattidf.c: Likewise.
22066 * soft-fp/floattisf.c: Likewise.
22067 * soft-fp/floattitf.c: Likewise.
22068 * soft-fp/floatundidf.c: Likewise.
22069 * soft-fp/floatundisf.c: Likewise.
22070 * soft-fp/floatunsidf.c: Likewise.
22071 * soft-fp/floatunsisf.c: Likewise.
22072 * soft-fp/floatuntidf.c: Likewise.
22073 * soft-fp/floatuntisf.c: Likewise.
22074 * soft-fp/floatuntitf.c: Likewise.
22075 * soft-fp/fmadf4.c: Likewise.
22076 * soft-fp/fmasf4.c: Likewise.
22077 * soft-fp/fmatf4.c: Likewise.
22078 * soft-fp/gedf2.c: Likewise.
22079 * soft-fp/gesf2.c: Likewise.
22080 * soft-fp/getf2.c: Likewise.
22081 * soft-fp/ledf2.c: Likewise.
22082 * soft-fp/lesf2.c: Likewise.
22083 * soft-fp/letf2.c: Likewise.
22084 * soft-fp/muldf3.c: Likewise.
22085 * soft-fp/mulsf3.c: Likewise.
22086 * soft-fp/multf3.c: Likewise.
22087 * soft-fp/negdf2.c: Likewise.
22088 * soft-fp/negsf2.c: Likewise.
22089 * soft-fp/negtf2.c: Likewise.
22090 * soft-fp/op-1.h: Likewise.
22091 * soft-fp/op-2.h: Likewise.
22092 * soft-fp/op-4.h: Likewise.
22093 * soft-fp/op-8.h: Likewise.
22094 * soft-fp/op-common.h: Likewise.
22095 * soft-fp/quad.h: Likewise.
22096 * soft-fp/single.h: Likewise.
22097 * soft-fp/soft-fp.h: Likewise.
22098 * soft-fp/sqrtdf2.c: Likewise.
22099 * soft-fp/sqrtsf2.c: Likewise.
22100 * soft-fp/sqrttf2.c: Likewise.
22101 * soft-fp/subdf3.c: Likewise.
22102 * soft-fp/subsf3.c: Likewise.
22103 * soft-fp/subtf3.c: Likewise.
22104 * soft-fp/truncdfsf2.c: Likewise.
22105 * soft-fp/trunctfdf2.c: Likewise.
22106 * soft-fp/trunctfsf2.c: Likewise.
22107 * soft-fp/trunctfxf2.c: Likewise.
22108 * soft-fp/unorddf2.c: Likewise.
22109 * soft-fp/unordsf2.c: Likewise.
22110 * soft-fp/unordtf2.c: Likewise.
22111
17c48a60
OB
221122013-10-14 Ondřej Bílka <neleai@seznam.cz>
22113
22114 [BZ #15672]
22115 * misc/error.c (error_tail): Fix possible buffer overflow.
22116
cabba934
OB
221172013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22118
22119 [BZ #13028]
22120 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22121 address.
22122
94bf958a
PM
221232013-10-14 P. J. McDermott <pj@pehjota.net>
22124
22125 [BZ #832]
22126 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22127 testing pipefail option.
22128
71b4dea7
JM
221292013-10-12 Joseph Myers <joseph@codesourcery.com>
22130
22131 * soft-fp/double.h: Indent preprocessor directives inside #if.
22132 * soft-fp/extended.h: Likewise.
22133 * soft-fp/op-2.h: Likewise.
22134 * soft-fp/op-4.h: Likewise.
22135 * soft-fp/op-common.h: Likewise.
22136 * soft-fp/quad.h: Likewise.
22137 * soft-fp/single.h: Likewise.
22138 * soft-fp/soft-fp.h: Likewise.
22139
55602758
YC
221402013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22141
22142 * iconv/iconv_prog.c: Fix typos.
22143 * stdio-common/psiginfo-data.h: Likewise.
22144
9cd83302
RT
221452013-10-12 Reuben Thomas <rrt@sc3d.org>
22146
22147 [BZ #15764]
22148 * locale/setlocale.c: Fix typo.
22149
99fd9f47
JM
221502013-10-12 Joseph Myers <joseph@codesourcery.com>
22151
b7ea74f0
JM
22152 [BZ #16036]
22153 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22154 signaling NaN arguments.
22155 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22156 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22157
8a509447
JM
22158 [BZ #14910]
22159 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22160 unordered operands.
22161 * soft-fp/gesf2.c (__gesf2): Likewise.
22162 * soft-fp/getf2.c (__getf2): Likewise.
22163 * soft-fp/ledf2.c (__ledf2): Likewise.
22164 * soft-fp/lesf2.c (__lesf2): Likewise.
22165 * soft-fp/letf2.c (__letf2): Likewise.
22166
98998e9f
JM
22167 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22168 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22169 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22170 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22171 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22172 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22173 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22174 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22175 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22176 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22177 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22178 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22179 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22180 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22181 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22182 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22183 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22184 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22185 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22186 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22187 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22188 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22189 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22190 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22191 * soft-fp/floattidf.c (__floattidf): Likewise.
22192 * soft-fp/floattisf.c (__floattisf): Likewise.
22193 * soft-fp/floattitf.c (__floattitf): Likewise.
22194 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22195 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22196 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22197 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22198 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22199 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22200 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22201 * soft-fp/gesf2.c (__gesf2): Likewise.
22202 * soft-fp/getf2.c (__getf2): Likewise.
22203 * soft-fp/ledf2.c (__ledf2): Likewise.
22204 * soft-fp/lesf2.c (__lesf2): Likewise.
22205 * soft-fp/letf2.c (__letf2): Likewise.
22206
8edc4a11
JM
22207 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22208 Undefine and redefine.
22209 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22210 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22211 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22212 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22213 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22214 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22215 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22216 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22217 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22218 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22219 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22220 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22221 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22222 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22223 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22224
8399acaf
JM
22225 [BZ #16032]
22226 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22227 without decrementing exponent if mantissa >= that for the
22228 denominator, not >.
22229 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22230 denominator, not >. Decrement exponent in < case instead of
22231 incrementing in >= case.
22232 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22233 without decrementing exponent if mantissa >= that for the
22234 denominator, not >.
22235
99fd9f47
JM
22236 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22237 computing saturated result for unsigned overflow.
22238
10e1cf6b
SP
222392013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22240 Jeff Law <law@redhat.com>
22241
22242 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22243 (atan2Mp): Add systemtap probe marker.
22244 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22245 (__ieee754_log): Add systemtap probe marker.
22246 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22247 (atanMp): Add systemtap probe marker.
22248 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22249 (tanMp): Add systemtap probe marker.
22250 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22251 (__slowexp): Add systemtap probe marker.
22252 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22253 (__slowpow): Add systemtap probe marker.
22254 * manual/probes.texi: Document probes.
22255
3d110c7c
EB
222562013-10-11 Eric Biggers <ebiggers3@gmail.com>
22257
22258 [BZ #15362]
22259 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22260 written.
22261 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22262 written.
22263 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22264 written to buffer but not flushed.
22265 * libio/iofwrite_u.c: Likewise.
22266 * libio/iopadn.c: Return bytes returned even if EOF was
22267 encountered.
22268 * libio/iowpadn.c: Likewise.
22269 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22270 if _IO_padn does not write the whole buffer.
22271 [!COMPILE_WPRINTF] (PAD): Likewise.
22272
75b4202a
DM
222732013-10-10 David S. Miller <davem@davemloft.net>
22274
22275 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22276 directory block.
22277
6c6352e6
JM
222782013-10-10 Joseph Myers <joseph@codesourcery.com>
22279
33b853c3
JM
22280 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22281 instead of FSF address.
22282 * soft-fp/fixdfti.c: Likewise.
22283 * soft-fp/fixsfti.c: Likewise.
22284 * soft-fp/fixtfti.c: Likewise.
22285 * soft-fp/fixunsdfti.c: Likewise.
22286 * soft-fp/fixunssfti.c: Likewise.
22287 * soft-fp/fixunstfti.c: Likewise.
22288 * soft-fp/floattidf.c: Likewise.
22289 * soft-fp/floattisf.c: Likewise.
22290 * soft-fp/floattitf.c: Likewise.
22291 * soft-fp/floatuntidf.c: Likewise.
22292 * soft-fp/floatuntisf.c: Likewise.
22293 * soft-fp/floatuntitf.c: Likewise.
22294 * soft-fp/trunctfxf2.c: Likewise.
22295
6c6352e6
JM
22296 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22297 * soft-fp/fixdfti.c: Likewise.
22298 * soft-fp/fixsfti.c: Likewise.
22299 * soft-fp/fixtfti.c: Likewise.
22300 * soft-fp/fixunsdfti.c: Likewise.
22301 * soft-fp/fixunssfti.c: Likewise.
22302 * soft-fp/fixunstfti.c: Likewise.
22303 * soft-fp/floattidf.c: Likewise.
22304 * soft-fp/floattisf.c: Likewise.
22305 * soft-fp/floattitf.c: Likewise.
22306 * soft-fp/floatuntidf.c: Likewise.
22307 * soft-fp/floatuntisf.c: Likewise.
22308 * soft-fp/floatuntitf.c: Likewise.
22309 * soft-fp/trunctfxf2.c: Likewise.
22310
3bf78b71
DM
223112013-10-10 David S. Miller <davem@davemloft.net>
22312
22313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22314
6f10289e
JM
223152013-10-10 Joseph Myers <joseph@codsourcery.com>
22316
bd878fc0
JM
22317 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22318 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22319 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22320 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22321 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22322 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22323 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22324
6f10289e
JM
22325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22326 for NaNs before doing comparisons on argument.
22327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22328 Likewise.
22329
321e2684
WN
223302013-10-10 Will Newton <will.newton@linaro.org>
22331
22332 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22333 passed to _int_memalign does not overflow.
22334
40fefba1
TR
223352013-10-10 Torvald Riegel <triegel@redhat.com>
22336
22337 * scripts/bench.pl: Add include-sources directive.
22338 * benchtests/README: Update documentation.
22339
2ae21ed2
JM
223402013-10-10 Joseph Myers <joseph@codesourcery.com>
22341
dcc2dd3f
JM
22342 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22343 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22344 instead of FP_INIT_ROUNDMODE.
22345 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22346 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22347
2ae21ed2
JM
22348 [BZ #16034]
22349 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22350 copy class of input value.
22351 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22352 not handle exceptions.
22353 * soft-fp/negsf2.c (__negsf2): Likewise.
22354 * soft-fp/negtf2.c (__negtf2): Likewise.
22355 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22356
cb8f9562
JM
223572013-10-09 Joseph Myers <joseph@codesourcery.com>
22358
22359 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22360 semicolon. From Linux kernel.
22361
5b60c59d
AB
223622013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22363
22364 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22365
b86835ca
YC
223662013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22367
22368 [BZ #156]
22369 * manual/socket.texi: Added statement about buffer
22370 for gethostbyname2_r.
22371
e7044ea7
OB
223722013-10-08 Ondřej Bílka <neleai@seznam.cz>
22373
22374 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22375 Use .p2align directive instead, throughout.
22376 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22377 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22378 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22380 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22381 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22382 * sysdeps/x86_64/strchr.S: Likewise.
22383 * sysdeps/x86_64/strrchr.S: Likewise.
22384
09544cbc
SP
223852013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22386
88576635
SP
22387 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22388
e7b2d1dd
SP
22389 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22390
09544cbc
SP
22391 * sysdeps/generic/math_private.h (__mpsin1): Remove
22392 declaration.
22393 (__mpcos1): Likewise.
22394 (__mpsin): New argument __range_reduce.
22395 (__mpcos): Likewise.
22396 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22397 (slow): Use __mpsin and __mpcos.
22398 (slow1): Likewise.
22399 (slow2): Likewise.
22400 (sloww): Likewise.
22401 (sloww1): Likewise.
22402 (sloww2): Likewise.
22403 (bsloww): Likewise.
22404 (bsloww1): Likewise.
22405 (bsloww2): Likewise.
22406 (cslow2): Likewise.
22407 (csloww): Likewise.
22408 (csloww1): Likewise.
22409 (csloww2): Likewise.
22410 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22411 range_reduce. Merge in __mpsin1.
22412 (__mpcos): Likewise.
22413 (__mpsin1): Remove.
22414 (__mpcos1): Likewise.
22415
7602d070
JM
224162013-10-07 Joseph Myers <joseph@codesourcery.com>
22417
22418 * locale/loadlocale.c (_nl_intern_locale_data): Use
22419 LOCFILE_ALIGNED_P.
22420 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22421 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22422 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22423 obstack data is appropriately aligned.
22424 (obstack_int32_grow_fast): Likewise.
22425 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22426 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22427 (add_locale_uint32_array): Likewise.
22428
a357259b
SP
224292013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22430
22431 * benchtests/Makefile: Remove ARGLIST and RET variables.
22432 ($(objpfx)bench-%.c): Pass only function name to the script.
22433 * benchtests/README: Update documentation.
22434 * benchtests/acos-inputs: Add new directives.
22435 * benchtests/acosh-inputs: Likewise.
22436 * benchtests/asin-inputs: Likewise.
22437 * benchtests/asinh-inputs: Likewise.
22438 * benchtests/atan-inputs: Likewise.
22439 * benchtests/atanh-inputs: Likewise.
22440 * benchtests/cos-inputs: Likewise.
22441 * benchtests/cosh-inputs: Likewise.
22442 * benchtests/exp-inputs: Likewise.
22443 * benchtests/log-inputs: Likewise.
22444 * benchtests/pow-inputs: Likewise.
22445 * benchtests/rint-inputs: Likewise.
22446 * benchtests/sin-inputs: Likewise.
22447 * benchtests/sinh-inputs: Likewise.
22448 * benchtests/tan-inputs: Likewise.
22449 * benchtests/tanh-inputs: Likewise.
22450 * scripts/bench.pl: Add support for new directives.
22451
9ec1b13d
AM
224522013-10-07 Alan Modra <amodra@gmail.com>
22453
22454 * README: Fix careless merge.
22455
8b7d57cd
AM
224562013-10-05 Alan Modra <amodra@gmail.com>
22457
22458 * NEWS: Mention powerpc64le support and bugs fixed.
22459 * README: Both big-endian and little-endian powerpc64 supported.
22460
7b7bab13
ST
224612013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22462
57f41c40
AS
22463 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22464 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22465 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22466 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22467
d39baad1
RA
224682013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22469
22470 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22471 match prototype.
22472
cd78f7e7
JM
224732013-10-04 Joseph Myers <joseph@codesourcery.com>
22474
29d73d86
JM
22475 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22476 Move -mhard-float appending from
22477 ports/sysdeps/powerpc/powerpc32/Makefile.
22478 [$(with-fp) = yes] (ASFLAGS): Likewise.
22479 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22480 * sysdeps/powerpc/nofpu: Move directory from
22481 ports/sysdeps/powerpc/nofpu.
22482 * sysdeps/powerpc/soft-fp: Move directory from
22483 ports/sysdeps/powerpc/soft-fp.
22484 * sysdeps/powerpc/powerpc32/405: Move directory from
22485 ports/sysdeps/powerpc/powerpc32/405.
22486 * sysdeps/powerpc/powerpc32/440: Move directory from
22487 ports/sysdeps/powerpc/powerpc32/440.
22488 * sysdeps/powerpc/powerpc32/464: Move directory from
22489 ports/sysdeps/powerpc/powerpc32/464.
22490 * sysdeps/powerpc/powerpc32/476: Move directory from
22491 ports/sysdeps/powerpc/powerpc32/476.
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22493 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22495 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22497 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22499 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22501 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22502 * README: Update for powerpc-*-linux-gnu software floating point
22503 support in libc.
22504
e246b347
JM
22505 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22506 case to powerpc/powerpc32*.
22507 * sysdeps/unix/sysv/linux/configure: Regenerated.
22508
89c2003e
JM
22509 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22510 (_FPU_MASK_OM): Define as 0x04.
22511 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22512 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22513 0x00c10080.
22514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22515 0x0000003c.
22516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22517
cd78f7e7
JM
22518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22519 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22520 getcontext_e500.
22521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22522 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22523 setcontext_e500.
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22525 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22526 and setcontext_e500.
22527
c755294d
CL
225282013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22529
22530 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22531
e16d221c
SP
225322013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22533
22534 * manual/threads.texi (Default Thread Attributes): Fix typo.
22535
215c7d43
WN
225362013-10-04 Will Newton <will.newton@linaro.org>
22537
22538 * malloc/Makefile: Add tst-memalign.
22539 * malloc/tst-memalign.c: New file.
22540
27d0461b
WN
22541 * malloc/tst-posix_memalign.c: Add comments.
22542 (do_test): Add comments and call free on all potentially
22543 allocated pointers. Add space after cast.
22544
1bc92709
WN
22545 * malloc/tst-pvalloc.c: Add comments.
22546 (do_test): Add comments and call free on all potentially
22547 allocated pointers. Remove duplicate check for NULL pointer.
22548 Add space after cast.
22549
66a9be9d
WN
22550 * malloc/tst-valloc.c: Add comments.
22551 (do_test): Add comments and call free on all potentially
22552 allocated pointers. Remove duplicate check for NULL pointer.
22553 Add space after cast.
22554
4cb81307
AM
225552013-10-04 Alan Modra <amodra@gmail.com>
22556
22557 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22558 Use stdint types in rather than __attribute__((mode())).
22559 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22560
f8e3e9f3
AM
225612013-10-04 Alan Modra <amodra@gmail.com>
22562
22563 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22564 Correct handling of unaligned relocs for little-endian.
22565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22566
8f9ebb08
AM
225672013-10-04 Alan Modra <amodra@gmail.com>
22568
22569 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22570 * configure: Regenerate.
22571 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22572 * shlib-versions: Likewise.
22573
0edf96c2
AM
225742013-10-04 Alan Modra <amodra@gmail.com>
22575
22576 * string/tester.c (test_memrchr): Increment reported test cycle.
22577
e0f7a380
AM
225782013-10-04 Alan Modra <amodra@gmail.com>
22579
22580 * string/test-memcpy.c (do_one_test): When reporting errors, print
22581 string address and don't overrun end of string.
22582
466b0393
AM
225832013-10-04 Alan Modra <amodra@gmail.com>
22584
22585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22586 insrdi. Make better use of reg selection to speed exit slightly.
22587 Schedule entry path a little better. Remove useless "are we done"
22588 checks on entry to main loop. Handle wrapping around zero address.
22589 Correct main loop count. Handle single left-over word from main
22590 loop inline rather than by using loop_small. Remove extra word
22591 case in loop_small caused by wrong loop count. Add little-endian
22592 support.
22593 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22594 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22595 cache hint.
22596 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22597 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22598 support. Avoid rlwimi.
22599 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22600
3be87c77
AM
226012013-10-04 Alan Modra <amodra@gmail.com>
22602
22603 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22604 insrdi. Formatting.
3be87c77
AM
22605 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22606 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22607 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22608 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22609 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22610 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22611
759cfef3
AM
226122013-10-04 Alan Modra <amodra@gmail.com>
22613
22614 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22615 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22616 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22617 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22618 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22619 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22620 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22621 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22622 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22623 use of regs. Use power7 mtocrf. Tidy function tails.
22624
fe6e95d7
AM
226252013-10-04 Alan Modra <amodra@gmail.com>
22626
22627 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22628 Formatting. Consistently use rXXX register defines or rN defines.
22629 Use early exit labels that avoid restoring unused non-volatile regs.
22630 Make cr field use more consistent with rWORDn compares. Rename
22631 regs used as shift registers for unaligned loop, using rN defines
22632 for short lifetime/multiple use regs.
22633 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22634 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22635 addi 1,1,64 to pop stack frame. Simplify return value code.
22636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22637
664318c3
AM
226382013-10-04 Alan Modra <amodra@gmail.com>
22639
22640 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22641 support. Correct typos, formatting. Optimize tail. Use insrdi
22642 rather than rlwimi.
22643 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22644 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22645 little-endian support. Correct typos.
22646 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22647 rather than rlwimi.
22648 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22649 in loop and entry code to keep "and." results.
22650 (strchr): Add little-endian support. Comment. Move cntlzd
22651 earlier in tail.
22652 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22653
43b84013
AM
226542013-10-04 Alan Modra <amodra@gmail.com>
22655
22656 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22657 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22658 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22659 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22660
8a7413f9
AM
226612013-10-04 Alan Modra <amodra@gmail.com>
22662
22663 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22664 (rTMP): Define as r11.
22665 (strcmp): Add little-endian support. Optimise tail.
22666 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22667 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22668 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22669 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22670 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22671 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22673
33ee81de
AM
226742013-10-04 Alan Modra <amodra@gmail.com>
22675
22676 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22677 little-endian support. Remove unnecessary "are we done" tests.
22678 Handle "s" wrapping around zero and extremely large "size".
22679 Correct main loop count. Handle single left-over word from main
22680 loop inline rather than by using small_loop. Correct comments.
22681 Delete "zero" tail, use "end_max" instead.
22682 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22683
db9b4570
AM
226842013-10-04 Alan Modra <amodra@gmail.com>
22685
22686 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22687 support. Don't branch over align.
22688 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22689 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22690 support. Rearrange tmp reg use to suit. Comment.
22691 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22692
f7c399cf
AM
226932013-10-04 Alan Modra <amodra@gmail.com>
22694
22695 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22696
0b2c2ace
AM
226972013-10-04 Alan Modra <amodra@gmail.com>
22698
22699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22700 conditional form of branch and link when obtaining pc.
22701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22702
02f04a6c
AM
227032013-10-04 Alan Modra <amodra@gmail.com>
22704
22705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22706 HIWORD/LOWORD.
22707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22709
9b874b2f
AM
227102013-10-04 Alan Modra <amodra@gmail.com>
22711
22712 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22713 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22714 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22715 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22716 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22717 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22718 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22719 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22720 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22721 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22722
be1e5d31
AB
227232013-10-04 Anton Blanchard <anton@au1.ibm.com>
22724 Alistair Popple <alistair@ozlabs.au.ibm.com>
22725 Alan Modra <amodra@gmail.com>
22726
22727 [BZ #15723]
22728 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22729 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22730 _dl_hwcap access for little-endian.
22731 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22732 destroy vmx regs when saving unaligned.
22733 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22734 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22735 destroy vmx regs when saving unaligned.
22736
fef13a78
AM
227372013-10-04 Alan Modra <amodra@gmail.com>
22738
22739 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22740 Don't use a union to pack hi/low value.
22741
76a66d51
AB
227422013-10-04 Anton Blanchard <anton@au1.ibm.com>
22743
22744 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22745 for little-endian.
22746 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22747 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22748 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22749 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22750 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22751
6a31fe7f
AM
227522013-10-04 Alan Modra <amodra@gmail.com>
22753
22754 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22755 constants to usual value for .cst8 section, and remove redundant
22756 high address load.
22757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22758 constant for 0x1p52. Load little-endian words of double from
22759 correct stack offsets.
22760
7b88401f
AM
227612013-10-04 Alan Modra <amodra@gmail.com>
22762
22763 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22764 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22765 words of double from correct stack offsets.
22766 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22767 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22768 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22769 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22771 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22772 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22773 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22774 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22775 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22776 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22777 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22778 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22779 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22780 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22781 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22782 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22783
9c008155
AM
227842013-10-04 Alan Modra <amodra@gmail.com>
22785
22786 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22787 64-bit int/double union.
22788 (_FPU_SETCW): Likewise.
22789 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22790 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22791
da13146d
AM
227922013-10-04 Alan Modra <amodra@gmail.com>
22793
22794 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22795 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22796
603e8410
AM
227972013-10-04 Alan Modra <amodra@gmail.com>
22798
22799 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22800 use vector int constants.
22801 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22802
4a28b3ca
AB
228032013-10-04 Anton Blanchard <anton@au1.ibm.com>
22804
22805 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22806 array with long long.
22807 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22808 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22809 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22810 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22811 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22812 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22813 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22814 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22815 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22816 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22817 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22818 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22819 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22820
2ca85d2b
AB
228212013-10-04 Anton Blanchard <anton@au1.ibm.com>
22822
22823 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22824 (__signbit): Likewise. Correct for little-endian.
22825 (__signbitl): Call __signbit.
22826 (lrint): Correct for little-endian.
22827 (lrintf): Call lrint.
22828
62a728ae
AM
228292013-10-04 Alan Modra <amodra@gmail.com>
22830
22831 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22832 union 32-bit int array member with 64-bit int array.
22833 (t515, tm256): Double rather than long double.
22834 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22835
32c301df
AM
228362013-10-04 Alan Modra <amodra@gmail.com>
22837
22838 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22839 Delete.
22840 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22842 version of math_ldbl.h.
22843
650ef4bd
AM
228442013-10-04 Alan Modra <amodra@gmail.com>
22845
22846 [BZ #15734], [BZ #15735]
22847 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22848 all uses of ieee875 long double macros and unions. Simplify test
22849 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22850 ldbl_extract_mantissa value for ix,iy exponents. Properly
22851 normalize after ldbl_extract_mantissa, and don't add hidden bit
22852 already handled. Don't treat low word of ieee854 mantissa like
22853 low word of IBM long double and mask off bit when testing for
22854 zero.
22855 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22856 all uses of ieee875 long double macros and unions. Simplify tests
22857 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22858 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22859 two1022, instead use their values. Recognise that tests for large
22860 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22861 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22862 Rewrite all uses of ieee875 long double macros and unions. Simplify
22863 test for 0.0L and nan. Correct negation.
22864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22865 ieee875 long double macros and unions. Correct output for large
22866 magnitude x. Correct absolute value calculation.
22867 (__erfcl): Likewise.
22868 * math/libm-test.inc: Add tests for errors discovered in IBM long
22869 double versions of fmodl, remainderl, erfl and erfcl.
22870
765714ca
AM
228712013-10-04 Alan Modra <amodra@gmail.com>
22872
22873 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22874 all uses of ieee854 long double macros and unions. Simplify tests
22875 for long doubles that are fully specified by the high double.
22876 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22877 Likewise.
22878 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22879 Remove dead code too.
22880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22881 (__ieee754_ynl): Likewise.
22882 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22883 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22884 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22885 Remove dead code too.
22886 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22887 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22889 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22890 Simplify.
22891 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22892 Simplify.
22893 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22896 Comment on variable precision.
22897 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22899 Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22901 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22902 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22903 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22904 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22905
4ebd120c
AM
229062013-10-04 Alan Modra <amodra@gmail.com>
22907
22908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22909 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22910 all uses of ieee854 long double macros and unions.
22911 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22912 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22913 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22914 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22915 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22916 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22917 Likewise.
22918 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22919 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22920 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22921 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22923 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22924 Simplify sign and nan test too.
22925 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22927 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22928 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22929 Likewise.
22930 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22931 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22932 Likewise.
22933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22935 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22936 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22937 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22938 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22939
1b6adf88
AM
229402013-10-04 Alan Modra <amodra@gmail.com>
22941
22942 * stdio-common/printf_size.c (__printf_size): Don't use
22943 union ieee854_long_double in fpnum union.
22944 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22945 signbit macro to retrieve sign from long double.
22946 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22947 retrieve sign from long double.
22948 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22949 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22950 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22951 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22952 * math/test-misc.c (main): Don't use union ieee854_long_double.
22953
4cf69995
AM
229542013-10-04 Alan Modra <amodra@gmail.com>
22955
22956 [BZ #15680]
22957 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22958 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22959 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22960 calculation. Remove unnecessary test for denormal exponent.
22961 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22962 Correct handling of denormals. Avoid undefined shift behaviour.
22963 Correct normalisation of low mantissa when low double is denormal.
22964 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22965 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22966 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22967 Correct normalisation of low mantissa. Test for overflow of high
22968 mantissa and normalise.
22969 (ldbl_nearbyint): Use more readable constant for two52.
22970 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22971 (__mpn_construct_long_double): Fix test for overflow of high
22972 mantissa and correct normalisation. Avoid undefined shift.
22973
9605ca6c
AM
229742013-10-04 Alan Modra <amodra@gmail.com>
22975
22976 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22977 (union ibm_extended_long_double): Define as an array of ieee754_double.
22978 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22979 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22980 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22981 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22983 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22985 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22986 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22989
975569d0
JM
229902013-10-03 Joseph Myers <joseph@codesourcery.com>
22991
d3d23756
JM
22992 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22993 page size instead of calling getpagesize.
22994
975569d0
JM
22995 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22996 (LOCFILE_ALIGN_MASK): Likewise.
22997 (LOCFILE_ALIGN_UP): Likewise.
22998 (LOCFILE_ALIGNED_P): Likewise.
22999 * locale/programs/ld-collate.c (collate_output): Use the new
23000 macros instead of __alignof__ (int32_t).
23001 * locale/weight.h (findidx): Likewise.
23002
b1fe1f2b
OB
230032013-10-03 Ondřej Bílka <neleai@seznam.cz>
23004
23005 [BZ #431]
23006 * manual/string.texi: Fix strncat and wcsncat.
23007
5f855e35
BM
230082013-10-03 Brooks Moses <bmoses@google.com>
23009
23010 [BZ #15915]
23011 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23012 * Makerules: ...here, and adjust associated comments.
23013
3cef6009
WN
230142013-10-02 Will Newton <will.newton@linaro.org>
23015
23016 * malloc/Makefile: Add tst-pvalloc.
23017 * malloc/tst-pvalloc.c: New file.
23018
7815420b
WN
230192013-10-02 Will Newton <will.newton@linaro.org>
23020
23021 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23022 improve test coverage.
23023
4868b204
WN
230242013-10-02 Will Newton <will.newton@linaro.org>
23025
23026 * malloc/Makefile: Add tst-posix_memalign.
23027 * malloc/tst-posix_memalign.c: New file.
23028
29c793b3
EB
230292013-10-01 Eric Blake <eblake@redhat.com>
23030
23031 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23032 Use __THROWNL rather than __THROW on static functions.
23033
fd967522
PM
230342013-09-30 Petr Machata <pmachata@redhat.com>
23035
23036 * elf/elf.h (R_AARCH64_ABS16): New macro.
23037 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23038 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23039 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23040 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23041 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23042 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23043 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23044 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23045 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23046 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23047 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23048 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23049 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23050 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23051 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23052 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23053 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23054 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23055 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23056 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23057 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23058 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23059 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23060 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23061 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23062 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23063 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23064 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23065 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23066 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23067 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23068 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23069 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23070 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23071 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23072 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23073 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23074 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23075 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23076 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23077 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23078 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23079 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23080 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23081 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23082 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23083 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23084 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23085 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23086 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23087 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23088 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23089 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23090 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23091 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23092 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23093 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23094 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23095 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23096 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23097 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23098 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23099 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23100 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23101 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23102 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23103 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23104 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23105 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23106 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23107 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23108 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23109 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23110 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23111 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23112 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23113 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23114 (R_AARCH64_TLSDESC_LDR): Likewise.
23115 (R_AARCH64_TLSDESC_ADD): Likewise.
23116 (R_AARCH64_TLSDESC_CALL): Likewise.
23117
b2179107
AS
231182013-09-30 Andreas Schwab <schwab@suse.de>
23119
23120 [BZ #15048]
23121 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23122 the nss database lookup.
23123 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23125
47f28d0a
MF
231262013-09-28 Mike Frysinger <vapier@gentoo.org>
23127
23128 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23129
231302013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23131
23132 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23133 ${Bash-specific parameter/pattern/string} parameter expansion.
23134 * sysdeps/unix/make-syscalls.sh: Likewise.
23135
f4518a17
KK
231362013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23137
23138 * sysdeps/sh/stackguard-macros.h: New file.
23139
dc1a95c7
OB
231402013-09-26 Ondřej Bílka <neleai@seznam.cz>
23141
23142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23144 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23145 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23146 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23147 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23148
5ebbff8f
AZ
231492013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23150
23151 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23152 Fix thread ID register.
23153
4fd2cf9f
JM
231542013-09-25 Joseph Myers <joseph@codesourcery.com>
23155
23156 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23157 [POSIX || UNIX98]: Require rather than permitting all symbols from
23158 <time.h>.
23159 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23160 element of struct sched_param.
23161 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23162 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23163 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23164 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23165 constant.
23166
12c22bc4
OL
231672013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23168
23169 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23170 argument calculation.
23171
a03d8ea7
JM
231722013-09-24 Joseph Myers <joseph@codesourcery.com>
23173
23174 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23175 Expect macro.
23176 [POSIX] (pthread_attr_t): Do not require type.
23177 [POSIX] (pthread_cond_t): Likewise.
23178 [POSIX] (pthread_condattr_t): Likewise.
23179 [POSIX] (pthread_key_t): Likewise.
23180 [POSIX] (pthread_mutex_t): Likewise.
23181 [POSIX] (pthread_mutexattr_t): Likewise.
23182 [POSIX] (pthread_once_t): Likewise.
23183 [POSIX] (pthread_t): Likewise.
23184 [POSIX-based standards] (pthread_atfork): Expect function.
23185
6055173a
JM
231862013-09-24 Joseph Myers <joseph@codesourcery.com>
23187 Richard Sandiford <richard@codesourcery.com>
23188
23189 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23190 (swap_endianness_p): New extern variable.
23191 (set_big_endian): New inline function.
23192 (maybe_swap_uint32): Likewise.
23193 (maybe_swap_uint32_array): Likewise.
23194 (maybe_swap_uint32_obstack): Likewise.
23195 * locale/programs/locfile.c: Include <stdbool.h>.
23196 (swap_endianness_p): New variable.
23197 (add_locale_uint32): Call maybe_swap_uint32.
23198 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23199 (write_locale_data): Call maybe_swap_uint32_array.
23200 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23201 maybe_swap_uint32.
23202 (obstack_int32_grow_fast): Likewise.
23203 (output_weightwc): Call maybe_swap_uint32_obstack.
23204 (collate_output): Likewise.
23205 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23206 (OPT_LITTLE_ENDIAN): Likewise.
23207 (options): Add --little-endian and --big-endian options.
23208 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23209 * locale/programs/locarchive.c: Include "locfile.h".
23210 (GET): New macro.
23211 (SET): Likewise.
23212 (INC): Likewise.
23213 (create_archive): Use the new macros to access fields of
23214 structures directly mapped from or written to locale archives.
23215 (oldlocrecentcmp): Likewise.
23216 (enlarge_archive): Likewise.
23217 (insert_name): Likewise.
23218 (add_alias): Likewise.
23219 (add_locale): Likewise.
23220 (delete_locales_from_archive): Likewise.
23221 (show_archive_content): Likewise.
23222 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23223 locale data.
23224
39bf0bb4
RM
232252013-09-24 Roland McGrath <roland@hack.frob.com>
23226
23227 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23228 http://www.gnu.org/doc/freemanuals.texi.
23229 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23230
f02eed10
WN
232312013-09-24 Will Newton <will.newton@linaro.org>
23232
23233 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23234 macro.
23235
a3a6c312
JM
232362013-09-23 Joseph Myers <joseph@codesourcery.com>
23237
23238 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23239 unsigned char.
23240
107375ac
MR
232412013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23242
23243 * manual/threads.texi (POSIX Threads): Fix a typo.
23244
141f3a77
SP
232452013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23246
303e567a
SP
23247 [BZ #14547]
23248 * string/tst-strcoll-overflow.c: New test case.
23249 * string/Makefile (xtests): Add tst-strcoll-overflow.
23250 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23251 cache if string sizes may cause integer overflow.
23252
141f3a77
SP
23253 [BZ #14547]
23254 * string/strcoll_l.c (coll_seq): New members rule, idx,
23255 save_idx and back_us.
23256 (get_next_seq_nocache): New function.
23257 (do_compare_nocache): New function.
23258 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23259 when malloc fails.
23260
c61b4d41
CD
232612013-09-23 Carlos O'Donell <carlos@redhat.com>
23262
0b1f8e35
CD
23263 [BZ #15754]
23264 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23265 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23266 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23267
c61b4d41
CD
23268 [BZ #15754]
23269 * elf/Makefile (tests): Add tst-ptrguard1.
23270 (tests-static): Add tst-ptrguard1-static.
23271 (tst-ptrguard1-ARGS): Define.
23272 (tst-ptrguard1-static-ARGS): Define.
23273 * elf/tst-ptrguard1.c: New file.
23274 * elf/tst-ptrguard1-static.c: New file.
23275 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23276 * sysdeps/i386/stackguard-macros.h: Likewise.
23277 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23278 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23279 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23280 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23281 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23282 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23283
232842013-09-23 Hector Marco <hecmargi@upv.es>
23285 Ismael Ripoll <iripoll@disca.upv.es>
23286 Carlos O'Donell <carlos@redhat.com>
23287
23288 [BZ #15754]
23289 * sysdeps/generic/stackguard-macros.h: Define
23290 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23291 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23292 Define __pointer_chk_guard_local.
23293 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23294 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23295
f5f4e7b4
VV
232962013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23297
23298 [BZ #15859]
23299 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23300
5bb43a43
AS
233012013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23302
23303 * include/string.h (__ffs): Declare as hidden.
23304 * string/ffs.c (__ffs): Define as hidden.
23305 * sysdeps/i386/ffs.c (__ffs): Likewise.
23306 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23307 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23308 * sysdeps/s390/ffs.c (__ffs): Likewise.
23309 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23310
3ea5be54
AO
233112013-09-20 Alexandre Oliva <aoliva@redhat.com>
23312
ffb89e53
AO
23313 * NEWS: Mention malloc probes.
23314
322dea08
AO
23315 * malloc/arena.c (new_heap): New memory_heap_new probe.
23316 (grow_heap): New memory_heap_more probe.
23317 (shrink_heap): New memory_heap_less probe.
23318 (heap_trim): New memory_heap_free probe.
23319 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23320 (systrim): New memory_sbrk_less probe.
23321 * manual/probes.texi: Document them.
23322
655673f3
AO
23323 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23324 * manual/probes.texi: Document it.
23325
35fed6f1
AO
23326 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23327 (__libc_realloc): Add memory_realloc_retry probe.
23328 (__libc_memalign): Add memory_memalign_retry probe.
23329 (__libc_valloc): Add memory_valloc_retry probe.
23330 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23331 (__libc_calloc): Add memory_calloc_retry probe.
23332 * manual/probes.texi: Document them.
23333
6999d38c
AO
23334 * malloc/arena.c (get_free_list): Add probe
23335 memory_arena_reuse_free_list.
23336 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23337 and memory_arena_reuse.
23338 (arena_get2) [!PER_THREAD]: Likewise.
23339 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23340 memory_arena_reuse_realloc.
23341 * manual/probes.texi: Document them.
23342
0653427f
AO
23343 * malloc/malloc.c (__libc_free): Add
23344 memory_mallopt_free_dyn_thresholds probe.
23345 (__libc_mallopt): Add multiple memory_mallopt probes.
23346 * manual/probes.texi: Document them.
23347
3ea5be54
AO
23348 * malloc/malloc.c: Include stap-probe.h.
23349 (__libc_mallopt): Add memory_mallopt probe.
23350 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23351 * manual/probes.texi: New.
23352 * manual/Makefile (chapters): Add probes.
23353 * manual/threads.texi: Set next node.
23354
e35696c3 233552013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23356
e35696c3
CL
23357 [BZ #15963, #13985]
23358 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23359 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23360 Add `Chinese' to `nan' entry name.
23361
4aafb73c
SP
233622013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23363
23364 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23365 (POLYNOMIAL): Likewise.
23366 (TAYLOR_SINCOS): Likewise.
23367 (TAYLOR_SLOW): Likewise.
23368 (__sin): Use TAYLOR_SINCOS.
23369 (__cos): Likewise.
23370 (slow): Use TAYLOR_SLOW.
23371 (sloww): Likewise.
23372 (bsloww): Likewise.
23373 (csloww): Likewise.
23374
d84f25c7
LD
233752013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23376
23377 * stdlib/strtod_l.c: Fix buffer overrun.
23378
5eea0404
SP
233792013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23380
7849ff93
SP
23381 * benchtests/Makefile (bench): Add sincos.
23382 * benchtests/bench-sincos.c: New file.
23383
cfa3c886
SP
23384 * math/libm-test.inc (cos_test_data): New test inputs.
23385 (sin_test_data): Likewise.
23386
b348e1e3
SP
23387 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23388 macro.
23389 (__sin): Use it.
23390 (__cos): Likewise.
23391 (slow1): Likewise.
23392 (slow2): Likewise.
23393 (sloww1): Likewise.
23394 (sloww2): Likewise.
23395 (bsloww1): Likewise.
23396 (bsloww2): Likewise.
23397 (cslow2): Likewise.
23398 (csloww1): Likewise.
23399 (csloww2): Likewise.
23400
6cce25f8
SP
23401 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23402 function.
23403 (__sin): Use it.
23404 (__cos): Likewise.
23405
5eea0404
SP
23406 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23407 gotos.
23408 (__cos): Likewise.
23409
9c21573c
MR
234102013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23411
23412 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23413 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23414 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23415 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23416 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23417 * elf/cache.c (print_entry): Handle the new cache flags.
23418
24d22e65
JM
234192013-09-18 Joseph Myers <joseph@codesourcery.com>
23420 Aldy Hernandez <aldyh@redhat.com>
23421
23422 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23423 Change condition to [_SOFT_FLOAT].
23424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23436 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23439 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23440 declaration.
23441
d13ef066
JM
234422013-09-18 Joseph Myers <joseph@codesourcery.com>
23443
2e071de0
JM
23444 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23445 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23446 (__longjmp): Use LOAD_GP to load saved GPRs.
23447 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23448 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23449 (__sigsetjmp): Use SAVE_GP to save GPRs.
23450
d13ef066
JM
23451 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23452 Do not append -msoft-float.
23453 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23454
97a0650b
SP
234552013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23456
23457 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23458
11ca09e9
JM
234592013-09-17 Joseph Myers <joseph@codesourcery.com>
23460
23461 [BZ #15966]
23462 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23463 (_FPU_GETCW): Use initial "__" on variable and field names but not
23464 on macro parameter name.
23465 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23466 parentheses around reference to macro parameter.
23467
08ffcf34
RS
234682013-09-13 Richard Sandiford <richard@codesourcery.com>
23469
23470 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23471 prototype.
23472 (ctype_startup): Use uint32_t in cast and sizeof for
23473 ctype->charnames.
23474
ae7080d3
JL
234752013-09-11 Jia Liu <proljc@gmail.com>
23476
23477 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23478 __daddr_t_defined.
23479 [__FreeBSD__]: Likewise.
23480
5905e7b3
OB
234812013-09-11 Ondřej Bílka <neleai@seznam.cz>
23482
23483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23484 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23485 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23486 (strchr): Remove __strchr_sse42 ifunc selection.
23487 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23488 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23489
b987c776
WN
234902013-09-11 Will Newton <will.newton@linaro.org>
23491
23492 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23493 parameter to RES. Remove hardcoded 1000 value.
23494 * benchtests/bench-skeleton.c (main): Pass RES parameter
23495 to TIMING_INIT and multiply result by 1000.
23496
ddf985af
AZ
234972013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23498
23499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23500
ffdd3181
AS
235012013-09-11 Andreas Schwab <schwab@suse.de>
23502
23503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23504 if not defined.
23505 (O_TMPFILE) [__USE_GNU]: Define.
23506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23507 Define.
23508
b73ed247
WN
235092013-09-11 Will Newton <will.newton@linaro.org>
23510
23511 [BZ #15857]
23512 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23513 does not overflow.
23514
55e17aad
WN
235152013-09-11 Will Newton <will.newton@linaro.org>
23516
23517 [BZ #15856]
23518 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23519 does not overflow.
23520
1159a193
WN
235212013-09-11 Will Newton <will.newton@linaro.org>
23522
23523 [BZ #15855]
23524 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23525 does not overflow.
23526
5905e7b3 235272013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23528
23529 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23530 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23531 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23532 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23533 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23534
cdfc721b
AM
235352013-09-10 Allan McRae <allan@archlinux.org>
23536
aa04af00
AM
23537 [BZ #15748]
23538 * manual/arith.texi (Parsing of Floats): Clarify
23539 cross-reference.
23540
cdfc721b
AM
23541 [BZ #15849]
23542 * manual/install.texi (Running make install): Mention
23543 --enable-pt-chown.
23544 * INSTALL: Regenerated.
23545
95e7cf29
MR
235462013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23547
23548 * csu/init-first.c (_init): Remove the !SHARED condition around
23549 FPU control word initialization.
23550 * elf/dl-support.c (_dl_fpu_control): New variable.
23551 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23552 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23553 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23554 * math/test-fpucw-static.c: New file.
23555 * math/test-fpucw-ieee.c: New file.
23556 * math/test-fpucw-ieee-static.c: New file.
23557 * math/Makefile (tests): Add `test-fpucw-ieee' and
23558 `$(tests-static)'.
23559 (tests-static): New variable.
23560 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23561 dependency to...
23562 [($(build-shared),yes)]
23563 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23564 ... this.
23565 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23566 New dependency.
23567
83e43bf0
AM
235682013-09-09 Allan McRae <allan@archlinux.org>
23569
a9f5ce09
AM
23570 [BZ #15939]
23571 * manual/string.texi (Collation Functions): Fix typo in
23572 strcoll example.
23573 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23574
34829bc2
AM
23575 [BZ #15893]
23576 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23577
3932737d
AM
23578 [BZ #15892]
23579 * libio/memstream.c (open_memstream): Fix memory leak.
23580 * libio/wmemstream.c (open_wmemstream): Likewise.
23581
83e43bf0
AM
23582 [BZ #15895]
23583 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23584
0c66b8e9
WN
235852013-09-09 Will Newton <will.newton@linaro.org>
23586
23587 * malloc/Makefile: Add tst-realloc to tests.
23588 * malloc/tst-realloc.c: New file.
23589
f6b00fd1
AM
235902013-09-09 Allan McRae <allan@archlinux.org>
23591
23592 [BZ #15844]
23593 * COPYING: Update from GNU website to fix FSF address.
23594 * COPYING.LIB: Likewise.
23595
eec55e16
DM
235962013-09-06 David S. Miller <davem@davemloft.net>
23597
23598 * po/zh_TW.po: Update Chinese (traditional) translation from
23599 translation project.
23600
1ecbb381
RS
236012013-09-06 Richard Sandiford <richard@codesourcery.com>
23602 Joseph Myers <joseph@codesourcery.com>
23603
23604 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23605 "localeinfo.h".
23606 (obstack_chunk_alloc): New macro.
23607 (obstack_chunk_free): Likewise.
23608 (record_offset): New function.
23609 (init_locale_data): Likewise.
23610 (align_locale_data): Likewise.
23611 (add_locale_empty): Likewise.
23612 (add_locale_raw_data): Likewise.
23613 (add_locale_raw_obstack): Likewise.
23614 (add_locale_string): Likewise.
23615 (add_locale_wstring): Likewise.
23616 (add_locale_uint32): Likewise.
23617 (add_locale_uint32_array): Likewise.
23618 (add_locale_char): Likewise.
23619 (start_locale_structure): Likewise.
23620 (end_locale_structure): Likewise.
23621 (start_locale_prelude): Likewise.
23622 (end_locale_prelude): Likewise.
23623 (write_locale_data): Take locale_file structure rather than an
23624 iovec.
23625 * locale/programs/locfile.h: Include "obstack.h".
23626 (struct locale_file): Change to store locale file contents instead
23627 of header.
23628 (init_locale_data): New prototype.
23629 (align_locale_data): Likewise.
23630 (add_locale_empty): Likewise.
23631 (add_locale_raw_data): Likewise.
23632 (add_locale_raw_obstack): Likewise.
23633 (add_locale_string): Likewise.
23634 (add_locale_wstring): Likewise.
23635 (add_locale_uint32): Likewise.
23636 (add_locale_uint32_array): Likewise.
23637 (add_locale_char): Likewise.
23638 (start_locale_structure): Likewise.
23639 (end_locale_structure): Likewise.
23640 (start_locale_prelude): Likewise.
23641 (end_locale_prelude): Likewise.
23642 (write_locale_data): Update prototype.
23643 * locale/programs/3level.h (struct TABLE): Remove result field.
23644 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23645 Use new locale_file interface.
23646 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23647 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23648 * locale/programs/ld-address.c (address_output): Use new
23649 locale_file interface.
23650 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23651 NO_ADD_LOCALE.
23652 (collate_finish): Don't call collseq_table_finalize.
23653 (collate_output): Use new locale_file interface.
23654 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23655 in file.
23656 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23657 (TABLE): Move defines earlier in file.
23658 (ELEMENT): Likewise.
23659 (DEFAULT): Likewise.
23660 (wctrans_table_add): Move macro and inline function earlier in
23661 file.
23662 (struct wctype_table): Move type earlier in file.
23663 (add_locale_wctype_table): New static prototype.
23664 (struct locale_ctype_t): Use logical types instead of struct iovec
23665 pointers for members.
23666 (ctype_output): Use new locale_file interface.
23667 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23668 new locale_file interface.
23669 (allocate_arrays): Update for use of new locale_file interface.
23670 * locale/programs/ld-identification.c (identification_output): Use
23671 new locale_file interface.
23672 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23673 * locale/programs/ld-messages.c (messages_output): Likewise.
23674 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23675 * locale/programs/ld-name.c (name_output): Likewise.
23676 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23677 * locale/programs/ld-paper.c (paper_output): Likewise.
23678 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23679 * locale/programs/ld-time.c (time_output): Likewise.
23680
e029e2e5
AZ
236812013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23682
23683 * benchtests/Makefile: Add memrchr benchmark.
23684 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23685 benchmark as memrchr.
23686 * benchtests/bench-memrchr-ifunc.c: New file.
23687 * benchtests/bench-memrchr.c: New file.
23688
bbf6e8e4
WN
236892013-09-06 Will Newton <will.newton@linaro.org>
23690
23691 * benchtests/Makefile (string-bench): Add memcpy.
23692
6c82a2f8
CD
236932013-09-05 Carlos O'Donell <carlos@redhat.com>
23694 Cong Wang <amwang@redhat.com>
23695
e732c5f0 23696 [BZ #15850]
6c82a2f8
CD
23697 * sysdeps/unix/sysv/linux/bits/in.h
23698 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23699 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23700 before __USE_KERNEL_IPV6_DEFS uses.
23701 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23702 IPPROTO_BEETPH.
23703 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23704 sockaddr_in6, or ipv6_mreq.
23705
5430fc65
AZ
237062013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23707
23708 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23709 memory access for final bytes in some large inputs.
23710 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23711
4660856c
AZ
237122013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23713
23714 * string/test-memrchr.c: New file.
23715 * string/test-memrchr-ifunc.c: New file.
23716 * string/Makefile: Add new memrchr testcase.
23717
bb8ea713
MF
237182013-09-05 Mike Frysinger <vapier@gentoo.org>
23719
23720 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23721 fanotify_init returns EPERM.
23722
b92a20b5
JM
237232013-09-04 Joseph Myers <joseph@codesourcery.com>
23724
23725 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23726 errors.
23727 (top level): Treat second token from macro or constant entries for
23728 allowed headers as allowed.
23729 * include/complex.h: Condition internal declarations on
23730 [!_ISOMAC].
23731 * include/fenv.h: Condition include of <stdbool.h> and internal
23732 declarations on [!_ISOMAC].
7447ccd9
CL
23733
237342013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23735
3e181dda 23736 [BZ #15923]
7447ccd9
CL
23737 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23738
3f2e46a4
JM
237392013-09-04 Joseph Myers <joseph@codesourcery.com>
23740
23741 * configure.in (--enable-versioning): Remove configure option.
23742 (libc_cv_asm_symver_directive): Remove configure test.
23743 (libc_cv_ld_version_script_option): Likewise.
23744 (VERSIONING): Remove variable and AC_SUBST.
23745 (DO_VERSIONING): Remove AC_DEFINE.
23746 * configure: Regenerated.
23747 * config.h.in (DO_VERSIONING): Remove macro.
23748 * Makerules [$(versioning) = yes]: Change conditionals to
23749 [$(build-shared) = yes].
23750 * config.make.in (versioning): Remove variable.
23751 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23752 [$(build-shared) = yes].
23753 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23754 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23755 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23756 [$(build-shared) = yes].
23757 * extra-lib.mk [$(versioning) = yes]: Likewise.
23758 * hurd/Makefile [$(versioning) = yes]: Likewise.
23759 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23760 [SHARED].
23761 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23762 [SHARED].
23763 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23764 [SHARED && !NO_HIDDEN].
23765 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23766 [SHARED].
23767 [SHARED && DO_VERSIONING]: Likewise..
23768 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23769 [$(build-shared) = yes].
23770 * manual/install.texi (--disable-versioning): Remove
23771 documentation.
23772 * INSTALL: Regenerated.
23773 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23774 to [SHARED].
23775 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23776 [$(build-shared) = yes].
23777 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23778 * sysdeps/i386/i686/multiarch/strstr-c.c
23779 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23780 [SHARED && !NO_HIDDEN].
23781 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23782 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23783 * sysdeps/powerpc/powerpc32/dl-machine.c
23784 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23785 * sysdeps/powerpc/powerpc32/sysdep.h
23786 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23787 to [SHARED && PIC && !NO_HIDDEN].
23788 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23789 conditional to [SHARED].
23790
44558701
WN
237912013-09-04 Will Newton <will.newton@linaro.org>
23792
23793 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23794 * benchtests/bench-string.h: Include bench-timing.h instead
23795 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23796 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23797 call to HP_TIMING_DIFF_INIT.
23798 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23799 instead of hp-timing.h macros.
23800 * benchtests/bench-memchr.c: Likewise.
23801 * benchtests/bench-memcmp.c: Likewise.
23802 * benchtests/bench-memcpy.c: Likewise.
23803 * benchtests/bench-memmem.c: Likewise.
23804 * benchtests/bench-memmove.c: Likewise.
23805 * benchtests/bench-memset.c: Likewise.
23806 * benchtests/bench-rawmemchr.c: Likewise.
23807 * benchtests/bench-strcasecmp.c: Likewise.
23808 * benchtests/bench-strcasestr.c: Likewise.
23809 * benchtests/bench-strcat.c: Likewise.
23810 * benchtests/bench-strchr.c: Likewise.
23811 * benchtests/bench-strcmp.c: Likewise.
23812 * benchtests/bench-strcpy.c: Likewise.
23813 * benchtests/bench-strcpy_chk.c: Likewise.
23814 * benchtests/bench-strlen.c: Likewise.
23815 * benchtests/bench-strncasecmp.c: Likewise.
23816 * benchtests/bench-strncat.c: Likewise.
23817 * benchtests/bench-strncmp.c: Likewise.
23818 * benchtests/bench-strncpy.c: Likewise.
23819 * benchtests/bench-strnlen.c: Likewise.
23820 * benchtests/bench-strpbrk.c: Likewise.
23821 * benchtests/bench-strrchr.c: Likewise.
23822 * benchtests/bench-strspn.c: Likewise.
23823 * benchtests/bench-strstr.c: Likewise.
23824
cae16d66
WN
238252013-09-04 Will Newton <will.newton@linaro.org>
23826
23827 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23828
ffa3cd7f
JM
238292013-09-03 Joseph Myers <joseph@codesourcery.com>
23830
23831 [BZ #15427]
23832 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23833 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23834 * math/libm-test.inc (lgamma_test_data): Add more tests.
23835 * sysdeps/i386/fpu/libm-test-ulps: Update.
23836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23837
8f02859f
OB
238382013-09-03 Ondřej Bílka <neleai@seznam.cz>
23839
23840 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23842 Add ifunc.
23843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23844 Add strcmp-sse2-unaligned
23845 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23846
18d43716
MF
238472013-09-02 Mike Frysinger <vapier@gentoo.org>
23848
23849 * Versions.def (libc): Add GLIBC_2.19.
23850
ac444012
MF
238512013-09-02 Mike Frysinger <vapier@gentoo.org>
23852
23853 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23854 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23855
b7835e32
JM
238562013-09-02 Joseph Myers <joseph@codesourcery.com>
23857
23858 [BZ #14155]
23859 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23860 intermediate calculations in recurrence.
23861 (__ieee754_ynf): Likewise.
23862 * math/libm-test.inc (jn_test_data): Do not allow spurious
23863 underflow exception. Add more tests.
23864 (yn_test_data): Add more tests.
23865 * sysdeps/i386/fpu/libm-test-ulps: Update.
23866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23867
8220f4f0
OB
238682013-09-02 Ondřej Bílka <neleai@seznam.cz>
23869
23870 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23871
f24a6d08
OB
238722013-08-30 Ondřej Bílka <neleai@seznam.cz>
23873
23874 * csu/init-first.c: Fix then/than typos.
23875 * locale/programs/ld-collate.c: Likewise.
23876 * locale/programs/linereader.h: Likewise.
23877 * manual/charset.texi: Likewise.
23878 * manual/filesys.texi: Likewise.
23879 * manual/stdio.texi: Likewise.
23880 * manual/string.texi: Likewise.
23881 * stdlib/fmtmsg.c: Likewise.
23882 * sysdeps/i386/stpncpy.S: Likewise.
23883 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23884 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23885 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23886 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23887
382466e0
OB
238882013-08-30 Ondřej Bílka <neleai@seznam.cz>
23889
23890 * elf/dl-open.c: Fix typos.
23891 * iconvdata/gbbig5.c: Likewise.
23892 * iconvdata/iso-2022-jp.c: Likewise.
23893 * iconv/gconv_int.h: Likewise.
23894 * iconv/loop.c: Likewise.
23895 * nis/rpcsvc/nis.h: Likewise.
23896 * resolv/ns_name.c: Likewise.
23897 * stdio-common/vfscanf.c: Likewise.
23898 * streams/stropts.h: Likewise.
23899 * sunrpc/rpc_thread.c: Likewise.
23900 * sysdeps/i386/strpbrk.S: Likewise.
23901 * sysdeps/ieee754/k_standard.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23904 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23905 * sysdeps/mach/hurd/profil.c: Likewise.
23906 * sysdeps/s390/dl-procinfo.h: Likewise.
23907 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23908 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23909 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23910 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23911 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23912
0186c6e9
OB
239132013-08-30 Ondřej Bílka <neleai@seznam.cz>
23914
23915 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23916 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23917
d4e16af1
OB
239182013-08-29 Ondřej Bílka <neleai@seznam.cz>
23919
23920 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23921 aix specific files.
23922 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23923 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23924 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23925 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23926 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23927 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23928 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23929 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23930
88335980
TS
239312013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23932 Roland McGrath <roland@hack.frob.com>
23933
23934 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23935 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23936
ed479b02
ST
239372013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23938
23939 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23940 __executable_start symbol instead of _start.
23941
f1cc4c86
TS
239422013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23943
d821f07c
TS
23944 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23945 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23946 Move macros to...
23947 * sysdeps/gnu/ldsodefs.h: ... this new file.
23948
c54290cf
TS
23949 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23950 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23951 instead of ELFOSABI_LINUX.
23952
0007fc9b 23953 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23954 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23955 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23956 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23957 Likewise.
23958 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23959 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23960 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23961 Likewise.
23962 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23963 (ibm_extended_long_double): Add ieee_nan member.
23964 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23965 (do_test): New function.
23966
f1cc4c86
TS
23967 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23968 TEST_TRUNC.
23969 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23970 functions, renamed from truncdfsf_test, trunctfsf_test,
23971 trunctfdf_test.
23972 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23973 functions.
23974 (do_test): Run all these.
23975
6f65e668
OB
239762013-08-29 Ondřej Bílka <neleai@seznam.cz>
23977
23978 * argp/argp-help.c: Fix typos.
23979 * argp/argp-parse.c: Likewise.
23980 * debug/backtracesyms.c: Likewise.
23981 * elf/elf.h: Likewise.
23982 * malloc/malloc.c: Likewise.
23983 * nis/nis_print.c: Likewise.
23984 * resolv/res_comp.c: Likewise.
23985 * stdlib/stdlib.h: Likewise.
23986 * sunrpc/clnt_tcp.c: Likewise.
23987 * sunrpc/clnt_udp.c: Likewise.
23988 * sunrpc/clnt_unix.c: Likewise.
23989 * sysdeps/unix/bsd/ptsname.c: Likewise.
23990 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23991 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23993 Likewise.
23994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23995 Likewise.
23996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23997 Likewise.
6f65e668
OB
23998 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23999
3a309239
SP
240002013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24001
24002 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24004
3b813b29
MF
240052013-08-27 Mike Frysinger <vapier@gentoo.org>
24006
24007 [BZ #15897]
24008 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24009 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24010 ($(objpfx)bug-dl-leaf): New rule.
24011 ($(objpfx)bug-dl-leaf.so): Likewise.
24012 ($(objpfx)bug-dl-leaf.out): Likewise.
24013 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24014 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24015 * dlfcn/bug-dl-leaf.c: New test.
24016 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24017 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24018 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24019 (dlclose): Likewise.
24020 (dlmopen): Likewise.
24021
8cc3269f
RM
240222013-08-27 Roland McGrath <roland@hack.frob.com>
24023
7f9d0034
RM
24024 * include/netdb.h [!_ISOMAC]:
24025 Don't include <tls.h>.
24026 (h_errno, __libc_h_errno): Move declaration and macros out of
24027 [_LIBC_REENTRANT].
24028
fb431262
RM
24029 * include/resolv.h [_RESOLV_H_]:
24030 Don't include <tls.h>.
24031 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24032 * resolv/res_libc.c: Don't include <tls.h>.
24033 (_res): Use __attribute__ ((nocommon)) in place of
24034 __attribute__ ((section (".bss"))).
24035
bd81123a
RM
24036 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24037 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24038
c4e42566
RM
24039 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24040
f890a59b
RM
24041 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24042 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24043
24044 * resolv/res_mkquery.c: Include <sys/time.h>.
24045
5d1f0a09
RM
24046 * inet/ifreq.c: Moved to ...
24047 * sysdeps/unix/ifreq.c: ... here.
24048 * inet/ifreq.c: New file, true stub version.
24049
6fcf28b3
RM
24050 * socket/sa_len.c: New file.
24051 * socket/Makefile (aux): Add it.
24052 * sysdeps/unix/sysv/linux/Makefile
24053 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24054 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24055 and #include <socket/sa_len.c>.
24056 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24057 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24058
e041fb8b
RM
24059 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24060 * bits/socket.h: ... here.
24061
8cc3269f
RM
24062 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24063 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24064 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24065
5d228a43
AS
240662013-08-27 Andreas Schwab <schwab@suse.de>
24067
45b8accc
AS
24068 [BZ #15736]
24069 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24070 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24071 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24072 * string/test-strcasecmp.c (test_main): Run tests in several
24073 locales.
24074 * string/test-strncasecmp.c (test_main): Likewise.
24075
5d228a43
AS
24076 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24077 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24078 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24080 (__strncasecmp_ssse3) [PIC]: Likewise.
24081
59d112a4
RM
240822013-08-26 Roland McGrath <roland@hack.frob.com>
24083
53234cc3
RM
24084 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24085
59d112a4
RM
24086 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24087 instead of explicitly declaring xdecrypt.
24088 * nis/nss_nis/nis-publickey.c: Likewise.
24089
595aba70
SP
240902013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24091
24092 [BZ #15890]
24093 * nscd/aicache.c: Include res_hconf.h.
24094 (addhstaiX): Initialize res_hconf.
24095
ffabd393
AS
240962013-08-26 Andreas Schwab <schwab@suse.de>
24097
24098 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24099 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24100
e0a69f5c
SP
241012013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24102
24103 * nscd/aicache.c (addhstaiX): Fix indentation.
24104
8c12f01d
MF
241052013-08-25 Mike Frysinger <vapier@gentoo.org>
24106
24107 * configure.ac: Quote $build_pt_chown test.
24108 * configure: Regenerated.
24109
8fe89494
JM
241102013-08-23 Joseph Myers <joseph@codesourcery.com>
24111
24112 [BZ #15532]
24113 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24114 * math/s_cexpf.c (__cexpf): Likewise.
24115 * math/s_cexpl.c (__cexpl): Likewise.
24116 * math/libm-test.inc (cexp_test_data): Correct expected return
24117 value for NaN + i0. Add another test.
24118
75b181d6
DM
241192013-08-22 David S. Miller <davem@davemloft.net>
24120
24121 * po/ca.po: Update Catalan translation from translation project.
936241e4 24122 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24123
acd06bb1
JM
241242013-08-21 Joseph Myers <joseph@codesourcery.com>
24125
24126 [BZ #15797]
24127 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24128 is infinite, not alongside NaN test.
24129 * math/s_fdimf.c (__fdimf): Likewise.
24130 * math/s_fdiml.c (__fdiml): Likewise.
24131 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24132 errno is unchanged.
24133
c0c3f78a
OB
241342013-08-21 Ondřej Bílka <neleai@seznam.cz>
24135
24136 * argp/argp-help.c: Fix typos.
24137 * crypt/speeds.c: Likewise.
24138 * csu/check_fds.c: Likewise.
24139 * elf/dl-load.c: Likewise.
24140 * elf/dl-open.c: Likewise.
24141 * elf/reldep3.c: Likewise.
24142 * elf/reldep.c: Likewise.
24143 * elf/sprof.c: Likewise.
24144 * iconv/iconv_charmap.c: Likewise.
24145 * iconv/skeleton.c: Likewise.
24146 * iconv/strtab.c: Likewise.
24147 * io/lockf64.c: Likewise.
24148 * libio/libioP.h: Likewise.
24149 * resolv/gai_notify.c: Likewise.
24150 * resolv/ns_name.c: Likewise.
24151 * resolv/ns_samedomain.c: Likewise.
24152 * resolv/res_send.c: Likewise.
24153 * stdlib/random.c: Likewise.
24154 * sunrpc/rpc/xdr.h: Likewise.
24155 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24156 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24157 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24158 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24159 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24160 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24161 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24163 * sysdeps/mach/hurd/check_fds.c: Likewise.
24164 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24165 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24166 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24167 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24168 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24169 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24170 * sysdeps/pthread/aio_notify.c: Likewise.
24171 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24172 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24173 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24174 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24175 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24176
46ed1038
LD
241772013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24178
24179 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24180 version if bit_Slow_SSE4_2 is set.
24181 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24182 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24183
d400dcac
AZ
241842013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24185
24186 [BZ #15867]
24187 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24188 trampoline stack frame information.
24189 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24190 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24191 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24192 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24193 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24194 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24195 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24196 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24197 sa_flags value.
24198 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24199 interrupting a syscall and set with option SA_SIGINFO.
24200
42c8fdd8
JM
242012013-08-20 Joseph Myers <joseph@codesourcery.com>
24202
c980f2f4
JM
24203 [BZ #15531]
24204 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24205 argument is infinite.
24206 * math/s_cprojf.c (__cprojf): Likewise.
24207 * math/s_cprojl.c (__cprojl): Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24209 * math/libm-test.inc (cproj_test_data): Add more tests.
24210
0716c4fc
JM
24211 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24212
42c8fdd8
JM
24213 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24214 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24215 size. Use __ffs to determine corresponding shift.
24216
b31469d0
JM
242172013-08-20 Joseph Myers <joseph@codesourcery.com>
24218 Roland McGrath <roland@hack.frob.com>
24219
24220 * Makefile (INSTALL): Remove trailing blank lines from output of
24221 makeinfo.
24222
4e39af6e
AK
242232013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24224
24225 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24226 Align 32 bit compat elf_greg to 8 bytes.
24227
f315524e
AA
242282013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24229
24230 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24231
1326ba1a
SP
242322013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24233
24234 * string/strcoll_l.c (coll_seq): New structure.
24235 (get_next_seq_cached): New function.
24236 (get_next_seq): New function.
24237 (do_compare): New function.
24238 (STRCOLL): Use GNU style definition. Simplify implementation
24239 by using get_next_seq, get_next_seq_cached and do_compare.
24240
91ce4085
FW
242412013-08-16 Florian Weimer <fweimer@redhat.com>
24242
24243 [BZ #14699]
24244 CVE-2013-4237
24245 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24246 member.
24247 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24248 member.
24249 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24250 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24251 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24252 conditional.
24253 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24254 GETDENTS_64BIT_ALIGNED.
24255 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24256 * manual/filesys.texi (Reading/Closing Directory): Document
24257 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24258 strongly.
24259 * manual/conf.texi (Limits for Files): Add portability note to
24260 NAME_MAX, PATH_MAX.
24261 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24262
ca0a6bc4
AS
242632013-08-13 Andreas Schwab <schwab@suse.de>
24264
24265 [BZ #15749]
24266 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24267 of fabs.
24268 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24269 LDBL_MAX_EXP >= 16384]: Add tests for it.
24270
6c1fd795
DM
242712013-08-12 David S. Miller <davem@davemloft.net>
24272
24273 * version.h (RELEASE): Set to "development".
24274 (VERSION): Set to "2.18.90".
24275 * NEWS: Add 2.19 section.
24276
31ad488d
DM
242772013-08-03 David S. Miller <davem@davemloft.net>
24278
24279 * po/ko.po: Update Korean translation from translation project.
24280
db24e684
DM
242812013-08-01 David S. Miller <davem@davemloft.net>
24282
24283 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24284 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24285 Bilka.
24286
f723285b
DM
242872013-07-30 David S. Miller <davem@davemloft.net>
24288
24289 * po/fr.po: Update French translation from translation project.
24290
3cbc52db
DM
242912013-07-28 David S. Miller <davem@davemloft.net>
24292
30bbc0cc
DM
24293 * po/cs.po: Update Czech translation from translation project.
24294
3cbc52db
DM
24295 * po/sv.po: Update Swedish translation from translation project.
24296
d492e6d0
DM
242972013-07-27 David S. Miller <davem@davemloft.net>
24298
f1a7f492
DM
24299 * po/eo.po: Update Esperanto translation from translation project.
24300
90e62a4a
DM
24301 * po/vi.po: Update Vietnamese translation from translation project.
24302
d492e6d0
DM
24303 * po/de.po: Update German translation from translation project.
24304
d4baa62d
DM
243052013-07-26 David S. Miller <davem@davemloft.net>
24306
641aa7b4
DM
24307 * po/bg.po: Update Bulgarian translation from translation project.
24308
d4baa62d
DM
24309 * po/nl.po: Update Dutch translation from translation project.
24310 * po/pl.po: Update Polish translation from translation project.
24311 * po/ru.po: Update Russian translation from translation project.
24312
61a9dcb9
DM
243132013-07-24 David S. Miller <davem@davemloft.net>
24314
24315 * po/libc.pot: Update.
24316
7b1f8b58
AZ
243172013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24318
24319 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24320 variable page size.
24321 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24322 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24323 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24324
a8fc7a03
AK
243252013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24326
24327 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24328
e4608715
CD
243292013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24330 Andreas Schwab <schwab@suse.de>
24331 Roland McGrath <roland@hack.frob.com>
24332 Joseph Myers <joseph@codesourcery.com>
24333 Carlos O'Donell <carlos@redhat.com>
24334
24335 [BZ #15755]
24336 * config.h.in: Define HAVE_PT_CHOWN.
24337 * config.make.in (build-pt-chown): New variable.
24338 * configure.in (--enable-pt_chown): New configure option.
24339 * configure: Regenerate.
24340 * login/Makefile: Include Makeconfig. Build pt_chown only if
24341 build-pt-chown is enabled.
24342 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24343 pt_chown to fix pty ownership.
24344 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24345 CLOSE_ALL_FDS.
24346 * manual/install.texi (Configuring and compiling): Mention
24347 --enable-pt_chown. Add @findex for grantpt.
24348 * INSTALL: Regenerate.
24349
da2d62df
DM
243502013-07-20 David S. Miller <davem@davemloft.net>
24351
24352 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24353 difference between 32-bit and 64-bit.
24354
d7e06450
CD
243552013-07-15 Carlos O'Donell <carlos@redhat.com>
24356
24357 [BZ #15711]
24358 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24359 Avoid system header dependency with -ffreestanding.
24360 ($(objpfx)bits/syscall%d): Likewise.
24361
f959cfd7
DM
243622013-07-13 David S. Miller <davem@davemloft.net>
24363
24364 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24365 underflows from atanl/atan2l due to bug 15319.
24366 (casinh_test_data): Likewise.
24367
c61f8513
DM
243682013-07-07 David S. Miller <davem@davemloft.net>
24369
24370 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24371
72c90ed0
JA
243722013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24373
24374 * sysdeps/i386/fpu/libm-test-ulps: Update.
24375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24376
52dfbe13
SP
243772013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24378
24379 * configure.in (--enable-lock-elision): Fix message text.
24380 * INSTALL: Regenerate.
24381 * configure: Regenerate.
24382
3f169543
AZ
243832013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24384
24385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24386
521c6785
AJ
243872013-07-03 Andreas Jaeger <aj@suse.de>
24388
24389 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24390 define.
24391 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24392 (ptrace_peeksiginfo_args): Add.
24393 (__ptrace_peeksiginfo_flags): Add.
24394 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24395 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24396 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24397
d2cc15cb
AM
243982013-07-03 Allan McRae <allan@archlinux.org>
24399
24400 * sysdeps/i386/fpu/libm-test-ulps: Update.
24401
3aaeeca7
DM
244022013-07-02 David S. Miller <davem@davemloft.net>
24403
24404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24405
5314ed1a
MT
244062013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24407
24408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24409
67338156
JM
244102013-07-02 Joseph Myers <joseph@codesourcery.com>
24411
24412 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24414
1717da59
AK
244152013-07-02 Andi Kleen <ak@linux.intel.com>
24416
24417 * config.h.in (ENABLE_LOCK_ELISION): Add.
24418 * configure.in (--enable-lock-elision): Add option.
24419 * manual/install.texi: Document --enable lock elision.
24420 * configure: Regenerate
24421 * INSTALL: Regenerate.
24422
1c81621c
L
244232013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24424
24425 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24426 SSE4.2 strcasecmp for libc.a.
24427 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24428
77f01ab5
JM
244292013-07-02 Joseph Myers <joseph@codesourcery.com>
24430
24431 [BZ #13304]
24432 * soft-fp/op-common.h (_FP_FMA): New macro.
24433 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24434 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24435 (_FP_MUL_MEAT_1_imm): ... here.
24436 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24437 (_FP_MUL_MEAT_1_wide): ... here.
24438 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24439 (_FP_MUL_MEAT_1_hard): ... here.
24440 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24441 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24442 (_FP_MUL_MEAT_2_wide): ... here.
24443 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24444 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24445 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24446 (_FP_MUL_MEAT_2_gmp): ... here.
24447 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24448 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24449 (_FP_MUL_MEAT_4_wide): ... here.
24450 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24451 (_FP_MUL_MEAT_4_gmp): ... here.
24452 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24453 (_FP_WFRACBITS_DW_S): Likewise.
24454 (_FP_WFRACXBITS_DW_S): Likewise.
24455 (_FP_HIGHBIT_DW_S): Likewise.
24456 (FP_FMA_S): Likewise.
24457 (_FP_FRAC_HIGH_DW_S): Likewise.
24458 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24459 (_FP_WFRACBITS_DW_D): Likewise.
24460 (_FP_WFRACXBITS_DW_D): Likewise.
24461 (_FP_HIGHBIT_DW_D): Likewise.
24462 (FP_FMA_D): Likewise.
24463 (_FP_FRAC_HIGH_DW_D): Likewise.
24464 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24465 (_FP_WFRACBITS_DW_E): Likewise.
24466 (_FP_WFRACXBITS_DW_E): Likewise.
24467 (_FP_HIGHBIT_DW_E): Likewise.
24468 (FP_FMA_E): Likewise.
24469 (_FP_FRAC_HIGH_DW_E): Likewise.
24470 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24471 (_FP_WFRACBITS_DW_Q): Likewise.
24472 (_FP_WFRACXBITS_DW_Q): Likewise.
24473 (_FP_HIGHBIT_DW_Q): Likewise.
24474 (FP_FMA_Q): Likewise.
24475 (_FP_FRAC_HIGH_DW_Q): Likewise.
24476 * soft-fp/fmasf4.c: New file.
24477 * soft-fp/fmadf4.c: Likewise.
24478 * soft-fp/fmatf4.c: Likewise.
24479
6308fd9a
LD
244802013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24481
24482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24483 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24484 Silvermont.
24485 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24486 macro.
24487 (index_Slow_SSE4_2): Likewise.
24488 (index_Prefer_PMINUB_for_stringop): Likewise.
24489 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24490 bit_Slow_SSE4_2 is set.
24491 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24492 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24493
89cd9569
RA
244942013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24495
24496 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24497 rtld_global._dl_hwcap2.
24498 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24499 POWER8.
24500 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24501 POWER8 feature descriptions defined in _dl_hwcap2.
24502 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24503 string handling for POWER8 feature bits.
24504 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24505 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24506 _dl_powerpc_cap_flags.
24507 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24508 * sysdeps/powerpc/rtld-global-offsets.sym
24509 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24510 _dl_hwcap2 in the rtld_global_ro structure.
24511
1ae8bfe0
RA
245122013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24513
24514 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24515 hardware capabilities in support of AT_HWCAP2.
24516 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24517 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24518 GLRO(dl_hwcap2).
24519 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24520 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24521 explicitly the unknown a_type display mechanism is used.
24522 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24523 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24524 struct member.
24525 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24526 to macro prototype for AT_HWCAP2 support.
24527 * sysdeps/i386/dl-procinfo.h: Likewise.
24528 * sysdeps/s390/dl-procinfo.h: Likewise.
24529 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24530 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24531 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24532 return -1 for unknown a_type display fallback.
24533 * sysdeps/sparc/dl-procinfo.h: Likewise.
24534 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24535 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24536
8fbec010
JM
245372013-06-28 Joseph Myers <joseph@codesourcery.com>
24538
24539 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24540 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24541
0432680e
PY
245422013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24543
24544 [BZ #12492]
24545 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24546 mprotect making __stack_prot writable.
24547
ce61a2ad
NF
245482013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24549 Joseph Myers <joseph@codesourcery.com>
24550
24551 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24552 as being properly aligned.
24553
f91f1c0f
MR
245542013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24555
3d0f5d0c
MR
24556 * dlfcn/modstatic5.c: New file.
24557 * dlfcn/tststatic5.c: New file.
24558 * dlfcn/Makefile (tests): Add tststatic5.
24559 (tests-static): Likewise.
24560 (modules-names): Add modstatic5.
24561 (tststatic5-ENV): New variable.
24562 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24563
f91f1c0f
MR
24564 [BZ #15022]
24565 * elf/dl-support.c (_dl_main_map): New variable.
24566 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24567 (_dl_nns, _dl_load_adds): Set to 1.
24568 (_dl_initial_searchlist): Refer to _dl_main_map.
24569 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24570 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24571 call to _dl_get_origin.
24572 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24573 around call_map.
24574 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24575 * dlfcn/modstatic3.c: New file.
24576 * dlfcn/tststatic3.c: New file.
24577 * dlfcn/tststatic4.c: New file.
24578 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24579 (tests-static): Likewise.
24580 (modules-names): Add modstatic3.
24581 (tststatic3-ENV, tststatic4-ENV): New variables.
24582 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24583 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24584
cbe7d24b
JM
245852013-06-26 Joseph Myers <joseph@codesourcery.com>
24586
24587 * configure.in (CC): Require GCC version 4.4 or later.
24588 * configure: Regenerated.
24589 * manual/install.texi (Tools for Compilation): Update GCC version
24590 requirement.
24591 * INSTALL: Regenerated.
24592
11b8a0e1
LD
245932013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24594
24595 [BZ #15674]
bb5bb87c
L
24596 * string/test-memcmp.c (check2): New.
24597 (main): Call check2.
24598
11b8a0e1
LD
24599 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24600
b0037103
MR
246012013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24602
24603 [BZ #15022]
24604 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24605 over to...
24606 (dl_open_worker) [!SHARED]: ... here.
24607
c18c701d
RA
246082013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24609
24610 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24611
1d17fa5f
RH
246122013-06-25 Richard Henderson <rth@redhat.com>
24613
24614 * locale/programs/locarchive.c: Include <libc-internal.h>
24615
8fcb833a
JM
246162013-06-25 Joseph Myers <joseph@codesourcery.com>
24617
24618 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24619 trailing whitespace removed.
24620
17db6e8d
MF
246212013-06-24 Mike Frysinger <vapier@gentoo.org>
24622
24623 [BZ #10283]
17db6e8d
MF
24624 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24625 * locale/programs/locarchive.c: Include libc-mmap.h.
24626 (prepare_address_space): Take two new outputs (the mmap base and len).
24627 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24628 values.
24629 (create_archive): Declare new mmap base and len values for
24630 prepare_address_space, and store the result in ah.
24631 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24632 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24633 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24634 Declare new mmap base and len values for
24635 prepare_address_space, and store the result in new_ah.
24636 (open_archive): Declare new mmap base and len values for
24637 prepare_address_space, and store the result in ah.
24638 (close_archive): If ah->mmap_base is not NULL, use that and
24639 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24640 * sysdeps/generic/libc-mmap.h: New file.
24641
d605071e
MF
246422013-06-24 Mike Frysinger <vapier@gentoo.org>
24643
24644 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24645 (ALIGN_UP): Likewise.
24646 (PTR_ALIGN_DOWN): Likewise.
24647 (PTR_ALIGN_UP): Likewise.
24648
2f063a6e
RA
246492013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24650
24651 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24652 entry mapped to PPC_PLATFORM_POWER8.
24653 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24654 POWER8.
24655 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24656 (_dl_string_platform): Add case for exporting platform position for
24657 POWER8.
24658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24659 search path to sysdeps/powerpc/powerpc32/power8 directory.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24661 search path to sysdeps/powerpc/powerpc64/power8 directory.
24662 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24663 power7 directories.
24664 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24665 power7 directories.
24666
a31ee4b3
SP
246672013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24668
a74ca98f
SP
24669 * INSTALL: Regenerate.
24670
a31ee4b3
SP
24671 * nscd/connections.c (nscd_init): Fix comment.
24672
695c378f
JM
246732013-06-22 Joseph Myers <joseph@codesourcery.com>
24674
d8412221
JM
24675 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24676
695c378f
JM
24677 [BZ #15667]
24678 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24679 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24680
d1d54715
MR
246812013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24682
24683 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24684 DL_DST_REQ_STATIC.
24685 (DL_DST_REQ_STATIC): Remove macro.
24686
8fdda7af
JM
246872013-06-21 Joseph Myers <joseph@codesourcery.com>
24688
24689 [BZ #7006]
24690 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24691 with a shift of 0 bits.
24692
f3bc5e5a
MR
246932013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24694
24695 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24696 $(tststatic-ENV).
24697
be09e8c9
KK
246982013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24699
24700 [BZ #15655]
24701 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24702
85c2e611
AZ
247032013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24704
24705 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24706 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24707 accepts -fno-tree-loop-distribute-patterns.
24708 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24709 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24710 recursive call.
24711 * string/memset.c (memset): Likewise.
24712 * string/test-memmove.c (simple_memmove): Disable loop transformation
24713 to library calls.
24714 * string/test-memset.c (simple_memset): Likewise.
24715 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24716 * benchtests/bench-memset.c (simple_memset): Likewise.
24717 * configure: Regenerated.
24718
c91e0825
JM
247192013-06-20 Joseph Myers <joseph@codesourcery.com>
24720
b8c792af
JM
24721 * math/test-misc.c (main): Ignore fesetround failure when failures
24722 of subsequent rounding tests would be ignored.
24723
c91e0825
JM
24724 [BZ #15654]
24725 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24726 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24727 * math/fegetenv.c (__fegetenv): Return 0.
24728 * math/fegetexcept.c (fegetexcept): Return 0.
24729 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24730 FE_TONEAREST.
24731 * math/feholdexcpt.c (feholdexcept): Return 0.
24732 * math/fesetenv.c (__fesetenv): Return 0.
24733 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24734 argument FE_TONEAREST.
24735 * math/feupdateenv.c (__feupdateenv): Return 0.
24736 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24737
bfcacbde
RM
247382013-06-18 Roland McGrath <roland@hack.frob.com>
24739
24740 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24741 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24742 ($(objpfx)rtld-%.os rules): Use them.
24743
e55a9b25
AZ
247442013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24745
24746 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24747 fields.
24748
346d65b3
RM
247492013-06-17 Roland McGrath <roland@hack.frob.com>
24750
12086fb4
RM
24751 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24752 length of target pattern, then descending length of dependency pattern.
24753 * configure.in (AWK): Require gawk 3.1.2 or newer.
24754 * manual/install.texi (Tools for Compilation): Say that we do.
24755 * configure: Regenerated.
24756
346d65b3
RM
24757 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24758 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24759 * scripts/sysd-rules.awk: ... this new script.
24760 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24761 than a glob-style pattern.
24762
1a846317
JM
247632013-06-17 Joseph Myers <joseph@codesourcery.com>
24764
24765 * math/test-misc.c (main): Do not treat incorrectly rounded
24766 conversions as failure unless ROUNDING_TESTS passes.
24767
8fc75e6f
JM
247682013-06-15 Joseph Myers <joseph@codesourcery.com>
24769
3711a167
JM
24770 [BZ #15631]
24771 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24772 restore exception state around main square root computation, then
24773 check for inexactness explicitly.
24774
8fc75e6f
JM
24775 * math/libm-test.inc (fma_test_data): Add another test.
24776
61dd6208
SP
247772013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24778
adf23d2c
SP
24779 * manual/threads.texi (Non-POSIX Extensions): New document
24780 node. Document pthread_getattr_default_np and
24781 pthread_setattr_default_np.
24782
61dd6208
SP
24783 * Versions.def (libpthread): Add GLIBC_2.18.
24784 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24786 Likewise.
24787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24788 Likewise.
24789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24790 Likewise.
24791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24792 Likewise.
24793 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24794 Likewise.
24795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24796 Likewise.
24797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24798 Likewise.
24799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24800 Likewise.
24801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24802 Likewise.
24803
d086fc7b
LD
248042013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24805
24806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24807 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24808
747ef469
SP
248092013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24810 H.J. Lu <hjl.tools@gmail.com>
24811
24812 [BZ #15627]
24813 * sysdeps/x86_64/rtld-memset.c: Remove file.
24814 * sysdeps/x86_64/rtld-memset.S: New file.
24815
1b2feed2
JM
248162013-06-14 Joseph Myers <joseph@codesourcery.com>
24817
24818 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24819 (test_in_one_mode): Take arguments for whether the rounding mode
24820 is supported for each floating-point type.
24821 (do_test): Pass new arguments to test_in_one_mode using
24822 ROUNDING_TESTS.
24823
a58ad3f8
RM
248242013-06-13 Roland McGrath <roland@hack.frob.com>
24825
24826 * posix/tst-waitid.c (do_test): Distinguish different instances of
24827 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24828 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24829 before entering the kernel for waitpid.
24830
c204ab28
SP
248312013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24832
24833 * NEWS: Fix note on clock function precision. Text by Roland
24834 McGrath.
24835
f4a29fba
RM
248362013-06-13 Roland McGrath <roland@hack.frob.com>
24837
24838 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24839 it into place only when and if the sanity check passes.
24840
1f24b9ad
JM
248412013-06-13 Joseph Myers <joseph@codesourcery.com>
24842
24843 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24844 output for whether conversion result is exact. Take argument
24845 indicating whether type is IBM long double.
24846 (round_for_all): Change need_exact field to ibm_ld.
24847 * stdlib/tst-strtod-round.c (struct exactness): New type.
24848 (struct test): Change bool ld_ok field to struct exactness exact.
24849 (TEST): Update all definitions for change to field.
24850 (tests): Regenerate array contents.
24851 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24852 field value. Check for IBM long double here.
24853 (do_test): Update calls to test_in_one_mode.
24854
58206c68
SP
248552013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24856
24857 [BZ #12515]
24858 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24859 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24860
2d6f4c5b 248612013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24862
24863 [BZ #15605]
24864 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24865 generated by the compiler on loop optimizations.
24866 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24867 general definitions.
24868
94f2c076
JM
248692013-06-12 Joseph Myers <joseph@codesourcery.com>
24870
24871 * math/bug-nextafter.c: Include <math-tests.h>.
24872 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24873 the relevant type.
24874 * math/bug-nexttoward.c: Include <math-tests.h>.
24875 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24876 the relevant type.
24877 * math/test-misc.c: Include <math-tests.h>.
24878 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24879 the relevant type.
24880
e0e50a0a
AJ
248812013-06-12 Andreas Jaeger <aj@suse.de>
24882
24883 * po/ia.po: Update Interlingua translation from translation
24884 project.
24885
25061094
SP
248862013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24887
24888 * include/fenv.h: Include stdbool.h.
24889 (struct rm_ctx): New structure.
24890 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24891 Define macro.
24892 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24893 (SET_RESTORE_ROUNDF): Likewise.
24894 (SET_RESTORE_ROUNDL): Likewise.
24895 (SET_RESTORE_ROUND_NOEX): Likewise.
24896 (SET_RESTORE_ROUND_NOEXF): Likewise.
24897 (SET_RESTORE_ROUND_NOEXL): Likewise.
24898 (SET_RESTORE_ROUND_53BIT): Likewise.
24899 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24900 (libc_feresetround_noexf_ctx): Likewise.
24901 (libc_feresetround_noexl_ctx): Likewise.
24902 (libc_feholdsetround_53bit_ctx): Likewise.
24903 (libc_feresetround_53bit_ctx): Likewise.
24904 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24905 (libc_feholdexcept_setround_sse_ctx): New function.
24906 (libc_fesetenv_sse_ctx): Likewise.
24907 (libc_feupdateenv_sse_ctx): Likewise.
24908 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24909 (libc_feholdexcept_setround_387_ctx): Likewise.
24910 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24911 (libc_feholdsetround_387_prec_ctx): Likewise.
24912 (libc_feholdsetround_387_ctx): Likewise.
24913 (libc_feholdsetround_387_53bit_ctx): Likewise.
24914 (libc_feholdsetround_sse_ctx): Likewise.
24915 (libc_feresetround_sse_ctx): Likewise.
24916 (libc_feresetround_387_ctx): Likewise.
24917 (libc_feupdateenv_387_ctx): Likewise.
24918 (libc_feholdexcept_setroundf_ctx): Define macro.
24919 (libc_fesetenvf_ctx): Likewise.
24920 (libc_feupdateenvf_ctx): Likewise.
24921 (libc_feholdsetroundf_ctx): Likewise.
24922 (libc_feresetroundf_ctx): Likewise.
24923 (libc_feholdexcept_setround_ctx): Likewise.
24924 (libc_fesetenv_ctx): Likewise.
24925 (libc_feupdateenv_ctx): Likewise.
24926 (libc_feholdsetround_ctx): Likewise.
24927 (libc_feresetround_ctx): Likewise.
24928 (libc_feholdexcept_setroundl_ctx): Likewise.
24929 (libc_feupdateenvl_ctx): Likewise.
24930 (libc_feholdsetroundl_ctx): Likewise.
24931 (libc_feresetroundl_ctx): Likewise.
24932 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24933 (libc_feresetround_53bit_ctx): Likewise.
24934
59b30555
SP
249352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24936
24937 * locale/iso-639.def: Convert to UTF-8.
24938
f1d73d30
JM
249392013-06-11 Joseph Myers <joseph@codesourcery.com>
24940
24941 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24942 (EXCEPTION_TESTS_double): Likewise.
24943 (EXCEPTION_TESTS_long_double): Likewise.
24944 (EXCEPTION_TESTS): Likewise.
24945 * math/libm-test.inc (test_exceptions): Only test exceptions if
24946 EXCEPTION_TESTS (FLOAT).
24947
94aca5e7
SP
249482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24949
24950 * benchtests/Makefile (string-bench): Add strcpy_chk and
24951 stpcpy_chk.
24952 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24953 * benchtests/bench-stpcpy_chk.c: New file.
24954 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24955 * benchtests/bench-strcpy_chk.c: New file.
24956 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24957 code.
24958 (do_test): Likewise.
24959
fac0c5f2
RA
249602013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24961
24962 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24963 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24964 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24965 with tabs where appropriate.
24966 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24967 dl-procinfo.h.
24968 [PPC_PLATFORM_PPC440]: Likewise.
24969 [PPC_PLATFORM_PPC464]: Likewise.
24970 [PPC_PLATFORM_PPC476]: Likewise.
24971 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24972 ppc464, and ppc476 platform strings merging from ports/
24973 dl-procinfo.h.
24974
f22bc486
AS
249752013-06-11 Andreas Schwab <schwab@suse.de>
24976
24977 [BZ #14991]
24978 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24979 (from_ucs4_idx): Regenerate.
24980 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24981 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24982 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24983 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24984 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24985 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24986 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24987 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24988 from FROM_LOOP and TO_LOOP specific macros.
24989 (BODY): Handle combining characters.
24990 * iconvdata/BIG5HKSCS.irreversible: Update.
24991 * iconvdata/BIG5HKSCS.precomposed: New file.
24992 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24993 characters.
24994 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24995
c1f75dc3
SP
249962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24997
4eacded2
SP
24998 * include/sys/time.h: Fix indentation and add copyright header.
24999
fec799f8
SP
25000 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25001 (do_test): Likewise.
25002 * string/test-memchr.c (do_one_test): Likewise.
25003 (do_test): Likewise.
25004 * string/test-memcmp.c (do_one_test): Likewise.
25005 (do_test): Likewise.
25006 * string/test-memcpy.c (do_one_test): Likewise.
25007 (do_test): Likewise.
25008 * string/test-memmem.c (do_one_test): Likewise.
25009 (do_test): Likewise.
25010 (do_random_tests): Likewise.
25011 * string/test-memmove.c (do_one_test): Likewise.
25012 (do_test): Likewise.
25013 * string/test-memset.c (do_one_test): Likewise.
25014 (do_test): Likewise.
25015 * string/test-rawmemchr.c (do_one_test): Likewise.
25016 (do_test): Likewise.
25017 * string/test-strcasecmp.c (do_one_test): Likewise.
25018 (do_test): Likewise.
25019 * string/test-strcasestr.c (do_one_test): Likewise.
25020 (do_test): Likewise.
25021 * string/test-strcat.c (do_one_test): Likewise.
25022 (do_test): Likewise.
25023 * string/test-strchr.c (do_one_test): Likewise.
25024 (do_test): Likewise.
25025 * string/test-strcmp.c (do_one_test): Likewise.
25026 (do_test): Likewise.
25027 * string/test-strcpy.c (do_one_test): Likewise.
25028 (do_test): Likewise.
25029 * string/test-string.h: Likewise.
25030 (test_init): Likewise.
25031 * string/test-strlen.c (do_one_test): Likewise.
25032 (do_test): Likewise.
25033 * string/test-strncasecmp.c (do_one_test): Likewise.
25034 (do_test): Likewise.
25035 * string/test-strncat.c (do_one_test): Likewise.
25036 (do_test): Likewise.
25037 * string/test-strncmp.c (do_one_test): Likewise.
25038 (do_test_limit): Likewise.
25039 (do_test): Likewise.
25040 * string/test-strncpy.c (do_one_test): Likewise.
25041 (do_test): Likewise.
25042 * string/test-strnlen.c (do_one_test): Likewise.
25043 (do_test): Likewise.
25044 * string/test-strpbrk.c (do_one_test): Likewise.
25045 (do_test): Likewise.
25046 * string/test-strrchr.c (do_one_test): Likewise.
25047 (do_test): Likewise.
25048 * string/test-strspn.c (do_one_test): Likewise.
25049 (do_test): Likewise.
25050 * string/test-strstr.c (do_one_test): Likewise.
25051 (do_test): Likewise.
25052
97020474
SP
25053 * benchtests/Makefile (string-bench): Add string benchmarks.
25054 * benchtests/bench-bcopy-ifunc.c: New file.
25055 * benchtests/bench-bcopy.c: New file.
25056 * benchtests/bench-bzero-ifunc.c: New file.
25057 * benchtests/bench-bzero.c: New file.
25058 * benchtests/bench-memccpy-ifunc.c: New file.
25059 * benchtests/bench-memccpy.c: New file.
25060 * benchtests/bench-memchr-ifunc.c: New file.
25061 * benchtests/bench-memchr.c: New file.
25062 * benchtests/bench-memcmp-ifunc.c: New file.
25063 * benchtests/bench-memcmp.c: New file.
25064 * benchtests/bench-memmem-ifunc.c: New file.
25065 * benchtests/bench-memmem.c: New file.
25066 * benchtests/bench-memmove-ifunc.c: New file.
25067 * benchtests/bench-memmove.c: New file.
25068 * benchtests/bench-mempcpy-ifunc.c: New file.
25069 * benchtests/bench-mempcpy.c: New file.
25070 * benchtests/bench-memset-ifunc.c: New file.
25071 * benchtests/bench-memset.c: New file.
25072 * benchtests/bench-rawmemchr-ifunc.c: New file.
25073 * benchtests/bench-rawmemchr.c: New file.
25074 * benchtests/bench-stpcpy-ifunc.c: New file.
25075 * benchtests/bench-stpcpy.c: New file.
25076 * benchtests/bench-stpncpy-ifunc.c: New file.
25077 * benchtests/bench-stpncpy.c: New file.
25078 * benchtests/bench-strcasecmp-ifunc.c: New file.
25079 * benchtests/bench-strcasecmp.c: New file.
25080 * benchtests/bench-strcasestr-ifunc.c: New file.
25081 * benchtests/bench-strcasestr.c: New file.
25082 * benchtests/bench-strcat-ifunc.c: New file.
25083 * benchtests/bench-strcat.c: New file.
25084 * benchtests/bench-strchr-ifunc.c: New file.
25085 * benchtests/bench-strchr.c: New file.
25086 * benchtests/bench-strchrnul-ifunc.c: New file.
25087 * benchtests/bench-strchrnul.c: New file.
25088 * benchtests/bench-strcmp-ifunc.c: New file.
25089 * benchtests/bench-strcmp.c: New file.
25090 * benchtests/bench-strcpy-ifunc.c: New file.
25091 * benchtests/bench-strcpy.c: New file.
25092 * benchtests/bench-strcspn-ifunc.c: New file.
25093 * benchtests/bench-strcspn.c: New file.
25094 * benchtests/bench-strlen-ifunc.c: New file.
25095 * benchtests/bench-strlen.c: New file.
25096 * benchtests/bench-strncasecmp-ifunc.c: New file.
25097 * benchtests/bench-strncasecmp.c: New file.
25098 * benchtests/bench-strncat-ifunc.c: New file.
25099 * benchtests/bench-strncat.c: New file.
25100 * benchtests/bench-strncmp-ifunc.c: New file.
25101 * benchtests/bench-strncmp.c: New file.
25102 * benchtests/bench-strncpy-ifunc.c: New file.
25103 * benchtests/bench-strncpy.c: New file.
25104 * benchtests/bench-strnlen-ifunc.c: New file.
25105 * benchtests/bench-strnlen.c: New file.
25106 * benchtests/bench-strpbrk-ifunc.c: New file.
25107 * benchtests/bench-strpbrk.c: New file.
25108 * benchtests/bench-strrchr-ifunc.c: New file.
25109 * benchtests/bench-strrchr.c: New file.
25110 * benchtests/bench-strspn-ifunc.c: New file.
25111 * benchtests/bench-strspn.c: New file.
25112 * benchtests/bench-strstr-ifunc.c: New file.
25113 * benchtests/bench-strstr.c: New file.
25114
c1f75dc3
SP
25115 * benchtests/Makefile: Disable parallel execution of targets.
25116 (string-bench): Add memcpy.
25117 (benchset): New variable to store a list of benchmark sets.
25118 (bench-func): Renamed from bench.
25119 (bench-set): New target.
25120 (bench): Depend on bench-func and bench-set.
25121 * benchtests/README: Add section on benchmark sets.
25122 * benchtests/bench-memcpy-ifunc.c: New file.
25123 * benchtests/bench-memcpy.c: New file.
25124 * benchtests/bench-string.h: New file.
25125
50fd745b
AS
251262013-06-11 Andreas Schwab <schwab@suse.de>
25127
25128 [BZ #15577]
25129 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25130 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25131 values in the triple.
25132 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25133 terminator in the group key.
25134
3ee7e9fe
AJ
251352013-06-11 Andreas Jaeger <aj@suse.de>
25136
25137 * po/zh_TW.po: Update Chinese (traditional) translation from
25138 translation project.
25139
89fb6835
SP
251402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25141
25142 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25143 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25144 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25146 (clock_getcpuclockid): Likewise.
25147 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25148 Add weak_alias and libc_hidden_def.
25149 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25150 * rt/clock_gettime.c (clock_gettime): Rename to
25151 __clock_gettime. Add weak_alias and libc_hidden_def.
25152 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25153 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25154 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25155 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25156 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25157 Likewise.
25158 * rt/clock_settime.c (clock_settime): Rename to
25159 __clock_settime. Add weak_alias and libc_hidden_def.
25160 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25161
0efa6f8b
JM
251622013-06-10 Joseph Myers <joseph@codesourcery.com>
25163
b8c61b4b
JM
25164 * mach/err_boot.sub: Remove trailing whitespace.
25165 * mach/err_ipc.sub: Likewise.
25166 * mach/err_mach.sub: Likewise.
25167
0efa6f8b
JM
25168 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25169 (ROUNDING_TESTS_double): Likewise.
25170 (ROUNDING_TESTS_long_double): Likewise.
25171 (ROUNDING_TESTS): Likewise.
25172 * math/libm-test.inc: Include <math-tests.h>.
25173 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25174 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25175 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25176 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25177
50b818bf
SP
251782013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25179
25180 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25181 of assigning.
25182
60d2f8f3
JM
251832013-06-08 Joseph Myers <joseph@codesourcery.com>
25184
4902d2c3
JM
25185 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25186 otherwise empty TRANS lines.
25187 * sysdeps/gnu/errlist.c: Regenerated.
25188
60d2f8f3
JM
25189 * catgets/gencat.c (error_print): Use (void) in function
25190 definition.
25191 * crypt/crypt_util.c (__init_des): Likewise.
25192 * crypt/speeds.c (Stop): Likewise.
25193 (main): Likewise.
25194 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25195 * inet/ruserpass.c (token): Likewise.
25196 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25197 * intl/localealias.c (extend_alias_table): Likewise.
25198 * intl/plural-exp.c (init_germanic_plural): Likewise.
25199 * libio/fcloseall.c (__fcloseall): Likewise.
25200 * libio/genops.c (_IO_flush_all): Likewise.
25201 (_IO_flush_all_linebuffered): Likewise.
25202 (_IO_cleanup): Likewise.
25203 (_IO_iter_begin): Likewise.
25204 (_IO_iter_end): Likewise.
25205 (_IO_list_lock): Likewise.
25206 (_IO_list_unlock): Likewise.
25207 (_IO_list_resetlock): Likewise.
25208 * libio/getchar.c (getchar): Likewise.
25209 * libio/getchar_u.c (getchar_unlocked): Likewise.
25210 * libio/getwchar.c (getwchar): Likewise.
25211 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25212 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25213 * login/getpt.c (__getpt): Likewise.
25214 * login/tst-utmp.c (main): Likewise.
25215 * malloc/hooks.c (__malloc_check_init): Likewise.
25216 * malloc/malloc.c (__malloc_stats): Likewise.
25217 * malloc/mtrace.c (tr_break): Likewise.
25218 (mtrace): Likewise.
25219 (muntrace): Likewise.
25220 * misc/fstab.c (endfsent): Likewise.
25221 * misc/getclktck.c (__getclktck): Likewise.
25222 * misc/getdtsz.c (__getdtablesize): Likewise.
25223 * misc/gethostid.c (gethostid): Likewise.
25224 * misc/getpagesize.c (__getpagesize): Likewise.
25225 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25226 (__get_nprocs): Likewise.
25227 (__get_phys_pages): Likewise.
25228 (__get_avphys_pages): Likewise.
25229 * misc/getttyent.c (getttyent): Likewise.
25230 (setttyent): Likewise.
25231 (endttyent): Likewise.
25232 * misc/getusershell.c (getusershell): Likewise.
25233 (endusershell): Likewise.
25234 (setusershell): Likewise.
25235 (initshells): Likewise.
25236 * misc/hsearch.c (__hdestroy): Likewise.
25237 * misc/sync.c (sync): Likewise.
25238 * misc/syslog.c (closelog_internal): Likewise.
25239 (closelog): Likewise.
25240 * misc/ttyslot.c (ttyslot): Likewise.
25241 * misc/vhangup.c (vhangup): Likewise.
25242 * posix/fork.c (__fork): Likewise.
25243 * posix/getegid.c (__getegid): Likewise.
25244 * posix/geteuid.c (__geteuid): Likewise.
25245 * posix/getgid.c (__getgid): Likewise.
25246 * posix/getpid.c (__getpid): Likewise.
25247 * posix/getppid.c (__getppid): Likewise.
25248 * posix/getuid.c (__getuid): Likewise.
25249 * posix/pause.c (pause): Likewise.
25250 * posix/setpgrp.c (setpgrp): Likewise.
25251 * posix/setsid.c (__setsid): Likewise.
25252 * posix/test-vfork.c (noop): Likewise.
25253 * resolv/gethnamaddr.c (_endhtent): Likewise.
25254 (_gethtent): Likewise.
25255 (ht_endhostent): Likewise.
25256 (gethostent): Likewise.
25257 (dns_service): Likewise.
25258 * stdlib/drand48.c (drand48): Likewise.
25259 * stdlib/lrand48.c (lrand48): Likewise.
25260 * stdlib/mrand48.c (mrand48): Likewise.
25261 * stdlib/rand.c (rand): Likewise.
25262 * stdlib/random.c (__random): Likewise.
25263 * stdlib/setenv.c (clearenv): Likewise.
25264 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25265 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25266 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25267 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25268 (__get_nprocs): Likewise.
25269 (__get_phys_pages): Likewise.
25270 (__get_avphys_pages): Likewise.
25271 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25272 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25273 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25274 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25275 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25276 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25277 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25278 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25279 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25280 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25281 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25282 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25283 * sysdeps/posix/clock.c (clock): Likewise.
25284 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25285 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25286 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25287 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25288 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25289 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25290 (__get_nprocs_conf): Likewise.
25291 (__get_phys_pages): Likewise.
25292 (__get_avphys_pages): Likewise.
25293 * time/clock.c (clock): Likewise.
25294 * time/tzset.c (__tzname_max): Likewise.
25295
2e09a79a
JM
252962013-06-07 Joseph Myers <joseph@codesourcery.com>
25297
25298 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25299 (__bswap_32): Do not use "register".
25300 * crypt/crypt.c (_ufc_doit_r): Likewise.
25301 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25302 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25303 * gmon/gmon.c (__monstartup): Likewise.
25304 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25305 * hurd/hurdmalloc.c (more_memory): Likewise.
25306 (malloc): Likewise.
25307 (free): Likewise.
25308 (realloc): Likewise.
25309 (malloc_fork_prepare): Likewise.
25310 (malloc_fork_parent): Likewise.
25311 (malloc_fork_child): Likewise.
25312 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25313 (_svcauth_des): Likewise.
25314 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25315 * inet/inet_net.c (inet_network): Likewise.
25316 * inet/inet_netof.c (inet_netof): Likewise.
25317 * inet/rcmd.c (__validuser2_sa): Likewise.
25318 * io/fts.c (fts_open): Likewise.
25319 (fts_load): Likewise.
25320 (fts_close): Likewise.
25321 (fts_read): Likewise.
25322 (fts_children): Likewise.
25323 (fts_build): Likewise.
25324 (fts_stat): Likewise.
25325 (fts_sort): Likewise.
25326 (fts_alloc): Likewise.
25327 (fts_lfree): Likewise.
25328 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25329 (_IO_file_xsgetn): Likewise.
25330 (_IO_file_xsgetn_mmap): Likewise.
25331 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25332 (_IO_cookie_write): Likewise.
25333 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25334 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25335 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25336 * malloc/obstack.c (_obstack_begin): Likewise.
25337 (_obstack_begin_1): Likewise.
25338 (_obstack_newchunk): Likewise.
25339 (_obstack_allocated_p): Likewise.
25340 (obstack_free): Likewise.
25341 (_obstack_memory_used): Likewise.
25342 * misc/getttyent.c (getttynam): Likewise.
25343 (getttyent): Likewise.
25344 (skip): Likewise.
25345 (value): Likewise.
25346 * misc/getusershell.c (initshells): Likewise.
25347 * misc/syslog.c (__vsyslog_chk): Likewise.
25348 * misc/ttyslot.c (ttyslot): Likewise.
25349 * nis/nis_hash.c (__nis_hash): Likewise.
25350 * posix/fnmatch_loop.c (FCT): Likewise.
25351 * posix/getconf.c (print_all): Likewise.
25352 (main): Likewise.
25353 * posix/getopt.c (exchange): Likewise.
25354 * posix/glob.c (globfree): Likewise.
25355 (prefix_array): Likewise.
25356 (__glob_pattern_type): Likewise.
25357 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25358 (NS_GET32): Likewise.
25359 (NS_PUT16): Likewise.
25360 (NS_PUT32): Likewise.
25361 * resolv/gethnamaddr.c (getanswer): Likewise.
25362 (gethostbyname2): Likewise.
25363 (gethostbyaddr): Likewise.
25364 (_gethtent): Likewise.
25365 (_gethtbyname2): Likewise.
25366 (_gethtbyaddr): Likewise.
25367 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25368 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25369 * resolv/res_init.c (__res_vinit): Likewise.
25370 (net_mask): Likewise.
25371 * resolv/res_mkquery.c (outchar): Likewise.
25372 (PRINT): Likewise.
25373 * stdio-common/printf_fp.c (outchar): Likewise.
25374 (PRINT): Likewise.
25375 * stdio-common/printf_fphex.c (outchar): Likewise.
25376 (PRINT): Likewise.
25377 * stdio-common/printf_size.c (outchar): Likewise.
25378 (PRINT): Likewise.
25379 * stdio-common/test_rdwr.c (main): Likewise.
25380 * stdio-common/tfformat.c (matches): Likewise.
25381 * stdio-common/vfprintf.c (outchar): Likewise.
25382 (printf_unknown): Likewise.
25383 (buffered_vfprintf): Likewise.
25384 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25385 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25386 (ReadFile): Likewise.
25387 * stdlib/qsort.c (SWAP): Likewise.
25388 (_quicksort): Likewise.
25389 * stdlib/setenv.c (__add_to_environ): Likewise.
25390 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25391 * stdlib/strtol_l.c (__strtol_l): Likewise.
25392 * stdlib/tst-strtod.c (main): Likewise.
25393 * stdlib/tst-strtol.c (main): Likewise.
25394 * stdlib/tst-strtoll.c (main): Likewise.
25395 * string/bits/string2.h (__strcmp_cc): Likewise.
25396 (__strcmp_cg): Likewise.
25397 (__strcspn_c1): Likewise.
25398 (__strcspn_c2): Likewise.
25399 (__strcspn_c3): Likewise.
25400 (__strspn_c1): Likewise.
25401 (__strspn_c2): Likewise.
25402 (__strspn_c3): Likewise.
25403 (__strsep_1c): Likewise.
25404 (__strsep_2c): Likewise.
25405 (__strsep_3c): Likewise.
25406 * string/memccpy.c (__memccpy): Likewise.
25407 * string/stpcpy.c (__stpcpy): Likewise.
25408 * string/strcmp.c (strcmp): Likewise.
25409 * string/strrchr.c (strrchr): Likewise.
25410 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25411 Likewise.
25412 * sysdeps/mach/hurd/getcwd.c
25413 (_hurd_canonicalize_directory_name_internal): Likewise.
25414 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25415 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25416 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25417 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25418 Likewise, in both definitions.
25419 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25420 definitions.
25421 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25422 64] (__bswap_64): Likewise.
25423 * time/test_time.c (main): Likewise.
25424 * time/tzfile.c (__tzfile_read): Likewise.
25425 (__tzfile_compute): Likewise.
25426 * time/tzset.c (__tzset_parse_tz): Likewise.
25427 (tzset_internal): Likewise.
25428 (compute_change): Likewise.
25429 * wcsmbs/wcscat.c (__wcscat): Likewise.
25430 * wcsmbs/wcschr.c (wcschr): Likewise.
25431 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25432 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25433 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25434 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25435 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25436 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25437 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25438 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25439 * wcsmbs/wmemset.c (wmemset): Likewise.
25440
9e54314b
JM
254412013-06-06 Joseph Myers <joseph@codesourcery.com>
25442
25443 * scripts/config.guess: Update to version 2013-05-16.
25444 * scripts/config.sub: Update to version 2013-04-24.
25445 * scripts/install-sh: Update to version 2011-11-20.07.
25446 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25447 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25448
350635a5
OB
254492013-06-06 Ondřej Bílka <neleai@seznam.cz>
25450
25451 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25452 * elf/sln.c: Likewise.
25453 * hurd/hurd/ioctl.h: Likewise.
25454 * hurd/hurdmalloc.c: Likewise.
25455 * hurd/xattr.c: Likewise.
25456 * include/shlib-compat.h: Likewise.
25457 * inet/ruserpass.c: Likewise.
25458 * libio/iofgets_u.c: Likewise.
25459 * libio/iofgetws_u.c: Likewise.
25460 * locale/programs/ld-identification.c: Likewise.
25461 * locale/programs/ld-time.c: Likewise.
25462 * mach/msg-destroy.c: Likewise.
25463 * nss/nss_files/files-netgrp.c: Likewise.
25464 * resolv/res_data.c: Likewise.
25465 * soft-fp/op-1.h: Likewise.
25466 * soft-fp/op-2.h: Likewise.
25467 * soft-fp/op-4.h: Likewise.
25468 * soft-fp/op-common.h: Likewise.
25469 * stdio-common/printf_fphex.c: Likewise.
25470 * stdlib/strtod_l.c: Likewise.
25471 * sunrpc/rpc/clnt.h: Likewise.
25472 * sysdeps/generic/framestate.c: Likewise.
25473 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25474 * sysdeps/i386/bsd-setjmp.S: Likewise.
25475 * sysdeps/i386/__longjmp.S: Likewise.
25476 * sysdeps/i386/setjmp.S: Likewise.
25477 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25478 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25479 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25480 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25483 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25484 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25495 * sysdeps/ieee754/support.c: Likewise.
25496 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25497 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25498 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25499 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25500 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25501 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25502 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25503 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25504 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25505 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25506 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25507 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25508 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25509 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25510 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25511 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25512 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25514
44a988af
OB
255152013-06-05 Ondřej Bílka <neleai@seznam.cz>
25516
25506f09 25517 * posix/transbug.c: Remove executable mode.
44a988af 25518
9c84384c
JM
255192013-06-05 Joseph Myers <joseph@codesourcery.com>
25520
25521 * crypt/speeds.c: Remove trailing whitespace.
25522 * dlfcn/default.c: Likewise.
25523 * elf/ifuncdep2.c: Likewise.
25524 * elf/ifuncmain1.c: Likewise.
25525 * elf/ifuncmain1vis.c: Likewise.
25526 * elf/testobj.h: Likewise.
25527 * elf/tst-stackguard1.c: Likewise.
25528 * gmon/sys/gmon.h: Likewise.
25529 * hurd/hurdmsg.c: Likewise.
25530 * hurd/new-fd.c: Likewise.
25531 * hurd/ports-get.c: Likewise.
25532 * iconvdata/ibm1008_420.c: Likewise.
25533 * inet/tst-getni1.c: Likewise.
25534 * inet/tst-getni2.c: Likewise.
25535 * libio/ioungetc.c: Likewise.
25536 * libio/wfiledoalloc.c: Likewise.
25537 * manual/libm-err-tab.pl: Likewise.
25538 * math/w_dremf.c: Likewise.
25539 * misc/ftruncate.c: Likewise.
25540 * posix/bug-glob2.c: Likewise.
25541 * posix/tst-pcre.c: Likewise.
25542 * posix/wait4.c: Likewise.
25543 * resolv/README: Likewise.
25544 * resolv/res_debug.h: Likewise.
25545 * resolv/tst-inet_ntop.c: Likewise.
25546 * setjmp/bug269-setjmp.c: Likewise.
25547 * soft-fp/extended.h: Likewise.
25548 * soft-fp/op-1.h: Likewise.
25549 * soft-fp/op-2.h: Likewise.
25550 * soft-fp/op-4.h: Likewise.
25551 * soft-fp/op-8.h: Likewise.
25552 * soft-fp/testit.c: Likewise.
25553 * stdio-common/bug16.c: Likewise.
25554 * stdlib/random.c: Likewise.
25555 * sunrpc/rpcsvc/rquota.x: Likewise.
25556 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25557 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25558 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25559 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25560 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25561 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25562 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25563 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25564 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25566 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25583 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25585 * sysdeps/ieee754/s_lib_version.c: Likewise.
25586 * sysdeps/mach/hurd/check_fds.c: Likewise.
25587 * sysdeps/mach/hurd/getsockname.c: Likewise.
25588 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25589 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25590 * sysdeps/powerpc/bits/link.h: Likewise.
25591 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25592 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25593 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25594 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25595 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25596 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25597 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25598 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25599 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25600 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25601 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25602 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25603 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25604 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25605 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25606 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25607 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25608 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25609 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25610 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25611 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25612 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25613 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25614 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25615 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25616 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25618 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25619 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25620 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25621 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25623 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25624 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25625 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25626 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25627 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25628 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25629 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25630 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25631 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25632 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25633 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25634 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25635 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25636 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25637 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25638 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25639 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25640 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25643 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25644 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25645 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25646 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25647 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25648 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25649 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25650 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25651 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25652 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25653 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25654 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25655 * sysdeps/powerpc/sysdep.h: Likewise.
25656 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25657 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25658 * sysdeps/sh/dl-trampoline.S: Likewise.
25659 * sysdeps/sh/memset.S: Likewise.
25660 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25661 * sysdeps/sh/strlen.S: Likewise.
25662 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25663 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25664 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25665 * sysdeps/sparc/sparc32/rem.S: Likewise.
25666 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25667 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25668 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25669 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25670 * sysdeps/sparc/sparc32/urem.S: Likewise.
25671 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25672 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25673 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25674 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25675 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25676 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25677 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25678 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25679 * sysdeps/unix/bsd/times.c: Likewise.
25680 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25681 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25685 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25686 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25687 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25688 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25689 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25690 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25691 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25692 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25693 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25694 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25695 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25696 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25697 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25698 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25699 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25700 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25701 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25702 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25703 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25704 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25705 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25706 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25707 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25708 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25709 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25710 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25711 * sysdeps/x86_64/strcspn.S: Likewise.
25712
869378a5
RA
257132013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25714
25715 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25716 generated file. Regenerate properly from gen-translit.pl.
25717 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25718 locale/C-translit.h.
25719
840e2943
AS
257202013-06-05 Andreas Schwab <schwab@suse.de>
25721
25722 [BZ #15100]
25723 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25724 week as 6 instead of -1.
25725 * time/tst-strptime.c (day_tests): Add test case.
25726
4c60cb0c
SP
257272013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25728
25729 * sysdeps/generic/math_private.h
25730 (libc_feholdexcept_setround_53bit): Replace with
25731 libc_feholdsetround_53bit.
25732 (libc_feupdateenv_53bit): Replace with
25733 libc_feresetround_53bit.
25734 (SET_RESTORE_ROUND_53BIT): Adjust.
25735
d180203e
SP
257362013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25737
96df079a
SP
25738 * string/test-strchrnul.c: Add copyright header.
25739
d180203e
SP
25740 * posix/tst-getaddrinfo4.c: Increase test timeout.
25741
8b0ccb2d
CD
257422013-06-03 Carlos O'Donell <carlos@redhat.com>
25743
25744 [BZ #15536]
25745 * math/libm-test.inc (MAX_EXP): Remove
25746 (MIN_EXP): Define.
25747 (ulp): Use MIN_EXP - MANT_DIG.
25748 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25749
3b3c4d40
CD
257502013-05-31 Carlos O'Donell <carlos@redhat.com>
25751
25752 * po/be.po: Revert last change.
25753 * po/zh_CN.po: Likewise.
25754 * po/header.pot: Likewise.
25755
fab7ce3f
JM
257562013-05-31 Joseph Myers <joseph@codesourcery.com>
25757
25758 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25759 link-libc-deps to empty as target-specific variable.
25760 * Makerules (link-libc-args): New variable.
25761 (libc-for-link): Likewise.
25762 (link-libc-deps): Likewise.
25763 (lib%.so): Depend on $(link-libc-deps). Link with
25764 $(link-libc-args).
25765 (build-module): Link with $(link-libc-args).
25766 (build-module-asneeded): Likewise.
25767 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25768 list of objects.
25769 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25770 target-specific variable.
25771 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25772 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25773 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25774 libc.
25775 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25776 libc and ld.so.
25777 ($(objpfx)libpcprofile.so): Likewise.
25778 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25779 libc_nonshared.a.
25780 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25781 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25782 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25783 $(link-libc-deps).
25784 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25785 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25786 * login/Makefile ($(objpfx)libutil.so): Likewise.
25787 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25788 * math/Makefile ($(objpfx)libm.so): Likewise.
25789 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25790 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25791 variable instead of depending directly on libc.
25792 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25793 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25794 $(link-libc-deps).
25795 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25796 libc.
25797 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25798 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25799 ($(objpfx)libanl.so): Likewise.
25800 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25801 ld.so.
25802 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25803 $(link-libc-deps).
25804 * sysdeps/i386/fpu/Makefile: Remove file.
25805 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25806 ($(objpfx)libm.so): Remove dependency on ld.so.
25807
eca5920c
PF
258082013-05-30 Patsy Franklin <pfrankli@redhat.com>
25809
25810 [BZ # 15553]
25811 * nis/yp_xdr.c (XDRMAXNAME): Define.
25812 (XDRMAXRECORD): Define.
25813 (xdr_domainname): Use XDRMAXNAME.
25814 (xdr_mapname): Likewise.
25815 (xdr_peername): Likewise.
25816 (xdr_keydat): Use XDRMAXRECORD.
25817 (xdr_valdat): Likewise.
25818
258192013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25820
25821 [BZ #14256]
25822 * manual/errno.texi (ESTALE): Update to account for more than
25823 just NFS file systems.
25824 * sysdeps/gnu/errlist.c: Regenerated.
25825
b9375348
SP
258262013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25827
25828 [BZ #15465]
25829 * elf/Makefile (tests): Add tst-null-argv.
25830 (modules-names): Add tst-null-argv-lib.
25831 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25832 (tst-null-argv-ENV): Set environment for tst-null-argv.
25833 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25834 (RTLD_PROGNAME): New macro.
25835 * elf/tst-null-argv.c: New test case.
25836 * elf/tst-null-argv-lib.c: Library for test case.
25837 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25838 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25839 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25840 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25841 * elf/dl-init.c (call_init): Likewise.
25842 (_dl_init): Likewise.
25843 * elf/dl-load.c (print_search_path): Likewise.
25844 (_dl_map_object): Likewise.
25845 * elf/dl-lookup.c (do_lookup_x): Likewise.
25846 (add_dependency): Likewise.
25847 (_dl_lookup_symbol_x): Likewise.
25848 (_dl_debug_bindings): Likewise.
25849 * elf/dl-open.c (_dl_show_scope): Likewise.
25850 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25851 * elf/dl-version.c (match_symbol): Likewise.
25852 (_dl_check_map_versions): Likewise.
25853 * elf/rtld.c (dl_main): Likewise.
25854 (print_unresolved): Use RTLD_PROGNAME.
25855 (print_missing_version): Likewise.
25856 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25857 (elf_machine_rela): Likewise.
25858 * sysdeps/powerpc/powerpc32/dl-machine.c
25859 (__process_machine_rela): Likewise.
25860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25861 Likewise.
25862 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25863 Likewise.
25864 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25865 Likewise.
25866 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25867 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25868 Likewise.
25869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25870 Likewise.
25871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25872
8a9f20c8
CD
258732013-05-28 Carlos O'Donell <carlos@redhat.com>
25874
25875 * po/be.po: Add descriptive title.
25876 * po/zh_CN.po: Likewise.
25877 * po/header.pot: Likewise.
25878
0e60d68e
MF
258792013-05-28 Mike Frysinger <vapier@gentoo.org>
25880
25881 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25882 error message.
25883 (enlarge_archive): Likewise.
25884
56b672e9
BN
258852013-05-28 Ben North <ben@redfrontdoor.org>
25886
25887 * manual/arith.texi (frexp): It is the magnitude of the return
25888 value which lies in [0.5, 1), not the return value itself.
25889
5e056687
AZ
258902013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25891
25892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25893
2b66ef5d
TS
258942013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25895
528c2405
TS
25896 * stdio-common/bug26.c (main): Correct fscanf template.
25897
07b4c13d
TS
25898 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25899 declare _dl_skip_args.
25900
ec9dd97c
TS
25901 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25902 Don't declare.
25903
2b66ef5d
TS
25904 * manual/platform.texi: Add missing @end deftypefun.
25905
4f8dfe27
JM
259062013-05-24 Joseph Myers <joseph@codesourcery.com>
25907
0323d086
JM
25908 [BZ #15529]
25909 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25910 bit of mantissa of 2^16382.
25911 * math/libm-test.inc (hypot_test_data): Add more tests.
25912
dd4259b9
JM
25913 * math/libm-test.inc: Add drem and pow10 to list of tested
25914 functions.
25915 (pow10_test): New function.
25916 (drem_test): Likewise.
25917 (drem_test_tonearest): Likewise.
25918 (drem_test_towardzero): Likewise.
25919 (drem_test_downward): Likewise.
25920 (drem_test_upward): Likewise.
25921 (main): Call the new functions.
25922
4f8dfe27
JM
25923 * math/libm-test.inc (finite_test_data): Remove.
25924 (finite_test): Run tests from isfinite_test_data.
25925 (gamma_test_data): Remove.
25926 (gamma_test): Run tests from lgamma_test_data.
25927 * sysdeps/i386/fpu/libm-test-ulps: Update.
25928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25929
d116b7c4
AZ
259302013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25931
25932 * manual/platform.texi: Add PowerPC PPR function set documentation.
25933 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25934 implementation.
25935
e96e3767
CD
259362013-05-24 Carlos O'Donell <carlos@redhat.com>
25937
25938 * math/libm-test.inc (MAX_EXP): Define.
25939 (ULPDIFF): Define.
25940 (ulp): New function.
25941 (check_float_internal): Use ULPDIFF.
25942 (cpow_test): Disable failing test.
25943 (check_ulp): Test ulp() implemetnation.
25944 (main): Call check_ulp before starting tests.
25945
b679a606
JM
259462013-05-24 Joseph Myers <joseph@codesourcery.com>
25947
e8bdba36
JM
25948 * math/gen-libm-test.pl (generate_testfile): Do not handle
25949 START_DATA and END_DATA.
25950 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25951 END_DATA.
25952 (acos_tonearest_test_data): Likewise.
25953 (acos_towardzero_test_data): Likewise.
25954 (acos_downward_test_data): Likewise.
25955 (acos_upward_test_data): Likewise.
25956 (acosh_test_data): Likewise.
25957 (asin_test_data): Likewise.
25958 (asin_tonearest_test_data): Likewise.
25959 (asin_towardzero_test_data): Likewise.
25960 (asin_downward_test_data): Likewise.
25961 (asin_upward_test_data): Likewise.
25962 (asinh_test_data): Likewise.
25963 (atan_test_data): Likewise.
25964 (atanh_test_data): Likewise.
25965 (atan2_test_data): Likewise.
25966 (cabs_test_data): Likewise.
25967 (cacos_test_data): Likewise.
25968 (cacosh_test_data): Likewise.
25969 (carg_test_data): Likewise.
25970 (casin_test_data): Likewise.
25971 (casinh_test_data): Likewise.
25972 (catan_test_data): Likewise.
25973 (catanh_test_data): Likewise.
25974 (cbrt_test_data): Likewise.
25975 (ccos_test_data): Likewise.
25976 (ccosh_test_data): Likewise.
25977 (ceil_test_data): Likewise.
25978 (cexp_test_data): Likewise.
25979 (cimag_test_data): Likewise.
25980 (clog_test_data): Likewise.
25981 (clog10_test_data): Likewise.
25982 (conj_test_data): Likewise.
25983 (copysign_test_data): Likewise.
25984 (cos_test_data): Likewise.
25985 (cos_tonearest_test_data): Likewise.
25986 (cos_towardzero_test_data): Likewise.
25987 (cos_downward_test_data): Likewise.
25988 (cos_upward_test_data): Likewise.
25989 (cosh_test_data): Likewise.
25990 (cosh_tonearest_test_data): Likewise.
25991 (cosh_towardzero_test_data): Likewise.
25992 (cosh_downward_test_data): Likewise.
25993 (cosh_upward_test_data): Likewise.
25994 (cpow_test_data): Likewise.
25995 (cproj_test_data): Likewise.
25996 (creal_test_data): Likewise.
25997 (csin_test_data): Likewise.
25998 (csinh_test_data): Likewise.
25999 (csqrt_test_data): Likewise.
26000 (ctan_test_data): Likewise.
26001 (ctan_tonearest_test_data): Likewise.
26002 (ctan_towardzero_test_data): Likewise.
26003 (ctan_downward_test_data): Likewise.
26004 (ctan_upward_test_data): Likewise.
26005 (ctanh_test_data): Likewise.
26006 (ctanh_tonearest_test_data): Likewise.
26007 (ctanh_towardzero_test_data): Likewise.
26008 (ctanh_downward_test_data): Likewise.
26009 (ctanh_upward_test_data): Likewise.
26010 (erf_test_data): Likewise.
26011 (erfc_test_data): Likewise.
26012 (exp_test_data): Likewise.
26013 (exp_tonearest_test_data): Likewise.
26014 (exp_towardzero_test_data): Likewise.
26015 (exp_downward_test_data): Likewise.
26016 (exp_upward_test_data): Likewise.
26017 (exp10_test_data): Likewise.
26018 (exp2_test_data): Likewise.
26019 (expm1_test_data): Likewise.
26020 (fabs_test_data): Likewise.
26021 (fdim_test_data): Likewise.
26022 (finite_test_data): Likewise.
26023 (floor_test_data): Likewise.
26024 (fma_test_data): Likewise.
26025 (fma_towardzero_test_data): Likewise.
26026 (fma_downward_test_data): Likewise.
26027 (fma_upward_test_data): Likewise.
26028 (fmax_test_data): Likewise.
26029 (fmin_test_data): Likewise.
26030 (fmod_test_data): Likewise.
26031 (fpclassify_test_data): Likewise.
26032 (frexp_test_data): Likewise.
26033 (gamma_test_data): Likewise.
26034 (hypot_test_data): Likewise.
26035 (ilogb_test_data): Likewise.
26036 (isfinite_test_data): Likewise.
26037 (isgreater_test_data): Likewise.
26038 (isgreaterequal_test_data): Likewise.
26039 (isinf_test_data): Likewise.
26040 (isless_test_data): Likewise.
26041 (islessequal_test_data): Likewise.
26042 (islessgreater_test_data): Likewise.
26043 (isnan_test_data): Likewise.
26044 (isnormal_test_data): Likewise.
26045 (issignaling_test_data): Likewise.
26046 (isunordered_test_data): Likewise.
26047 (j0_test_data): Likewise.
26048 (j1_test_data): Likewise.
26049 (jn_test_data): Likewise.
26050 (ldexp_test_data): Likewise.
26051 (lgamma_test_data): Likewise.
26052 (lrint_test_data): Likewise.
26053 (lrint_tonearest_test_data): Likewise.
26054 (lrint_towardzero_test_data): Likewise.
26055 (lrint_downward_test_data): Likewise.
26056 (lrint_upward_test_data): Likewise.
26057 (llrint_test_data): Likewise.
26058 (llrint_tonearest_test_data): Likewise.
26059 (llrint_towardzero_test_data): Likewise.
26060 (llrint_downward_test_data): Likewise.
26061 (llrint_upward_test_data): Likewise.
26062 (log_test_data): Likewise.
26063 (log10_test_data): Likewise.
26064 (log1p_test_data): Likewise.
26065 (log2_test_data): Likewise.
26066 (logb_test_data): Likewise.
26067 (logb_downward_test_data): Likewise.
26068 (lround_test_data): Likewise.
26069 (llround_test_data): Likewise.
26070 (modf_test_data): Likewise.
26071 (nearbyint_test_data): Likewise.
26072 (nextafter_test_data): Likewise.
26073 (nexttoward_test_data): Likewise.
26074 (pow_test_data): Likewise.
26075 (pow_tonearest_test_data): Likewise.
26076 (pow_towardzero_test_data): Likewise.
26077 (pow_downward_test_data): Likewise.
26078 (pow_upward_test_data): Likewise.
26079 (remainder_test_data): Likewise.
26080 (remainder_tonearest_test_data): Likewise.
26081 (remainder_towardzero_test_data): Likewise.
26082 (remainder_downward_test_data): Likewise.
26083 (remainder_upward_test_data): Likewise.
26084 (remquo_test_data): Likewise.
26085 (rint_test_data): Likewise.
26086 (rint_tonearest_test_data): Likewise.
26087 (rint_towardzero_test_data): Likewise.
26088 (rint_downward_test_data): Likewise.
26089 (rint_upward_test_data): Likewise.
26090 (round_test_data): Likewise.
26091 (scalb_test_data): Likewise.
26092 (scalbn_test_data): Likewise.
26093 (scalbln_test_data): Likewise.
26094 (signbit_test_data): Likewise.
26095 (sin_test_data): Likewise.
26096 (sin_tonearest_test_data): Likewise.
26097 (sin_towardzero_test_data): Likewise.
26098 (sin_downward_test_data): Likewise.
26099 (sin_upward_test_data): Likewise.
26100 (sincos_test_data): Likewise.
26101 (sinh_test_data): Likewise.
26102 (sinh_tonearest_test_data): Likewise.
26103 (sinh_towardzero_test_data): Likewise.
26104 (sinh_downward_test_data): Likewise.
26105 (sinh_upward_test_data): Likewise.
26106 (sqrt_test_data): Likewise.
26107 (tan_test_data): Likewise.
26108 (tan_tonearest_test_data): Likewise.
26109 (tan_towardzero_test_data): Likewise.
26110 (tan_downward_test_data): Likewise.
26111 (tan_upward_test_data): Likewise.
26112 (tanh_test_data): Likewise.
26113 (tgamma_test_data): Likewise.
26114 (trunc_test_data): Likewise.
26115 (y0_test_data): Likewise.
26116 (y1_test_data): Likewise.
26117 (yn_test_data): Likewise.
26118 (significand_test_data): Likewise.
26119
b679a606
JM
26120 * math/gen-libm-test.pl (@functions): Remove variable.
26121 (generate_testfile): Don't handle START and END lines.
26122 * math/libm-test.inc (START): New macro.
26123 (END): Likewise.
26124 (END_COMPLEX): Likewise.
26125 (acos_test): Use END macro without arguments.
26126 (acos_test_tonearest): Likewise.
26127 (acos_test_towardzero): Likewise.
26128 (acos_test_downward): Likewise.
26129 (acos_test_upward): Likewise.
26130 (acosh_test): Likewise.
26131 (asin_test): Likewise.
26132 (asin_test_tonearest): Likewise.
26133 (asin_test_towardzero): Likewise.
26134 (asin_test_downward): Likewise.
26135 (asin_test_upward): Likewise.
26136 (asinh_test): Likewise.
26137 (atan_test): Likewise.
26138 (atanh_test): Likewise.
26139 (atan2_test): Likewise.
26140 (cabs_test): Likewise.
26141 (cacos_test): Use END_COMPLEX macro without arguments.
26142 (cacosh_test): Likewise.
26143 (carg_test): Use END macro without arguments.
26144 (casin_test): Use END_COMPLEX macro without arguments.
26145 (casinh_test): Likewise.
26146 (catan_test): Likewise.
26147 (catanh_test): Likewise.
26148 (cbrt_test): Use END macro without arguments.
26149 (ccos_test): Use END_COMPLEX macro without arguments.
26150 (ccosh_test): Likewise.
26151 (ceil_test): Use END macro without arguments.
26152 (cexp_test): Use END_COMPLEX macro without arguments.
26153 (cimag_test): Use END macro without arguments.
26154 (clog_test): Use END_COMPLEX macro without arguments.
26155 (clog10_test): Likewise.
26156 (conj_test): Likewise.
26157 (copysign_test): Use END macro without arguments.
26158 (cos_test): Likewise.
26159 (cos_test_tonearest): Likewise.
26160 (cos_test_towardzero): Likewise.
26161 (cos_test_downward): Likewise.
26162 (cos_test_upward): Likewise.
26163 (cosh_test): Likewise.
26164 (cosh_test_tonearest): Likewise.
26165 (cosh_test_towardzero): Likewise.
26166 (cosh_test_downward): Likewise.
26167 (cosh_test_upward): Likewise.
26168 (cpow_test): Use END_COMPLEX macro without arguments.
26169 (cproj_test): Likewise.
26170 (creal_test): Use END macro without arguments.
26171 (csin_test): Use END_COMPLEX macro without arguments.
26172 (csinh_test): Likewise.
26173 (csqrt_test): Likewise.
26174 (ctan_test): Likewise.
26175 (ctan_test_tonearest): Likewise.
26176 (ctan_test_towardzero): Likewise.
26177 (ctan_test_downward): Likewise.
26178 (ctan_test_upward): Likewise.
26179 (ctanh_test): Likewise.
26180 (ctanh_test_tonearest): Likewise.
26181 (ctanh_test_towardzero): Likewise.
26182 (ctanh_test_downward): Likewise.
26183 (ctanh_test_upward): Likewise.
26184 (erf_test): Use END macro without arguments.
26185 (erfc_test): Likewise.
26186 (exp_test): Likewise.
26187 (exp_test_tonearest): Likewise.
26188 (exp_test_towardzero): Likewise.
26189 (exp_test_downward): Likewise.
26190 (exp_test_upward): Likewise.
26191 (exp10_test): Likewise.
26192 (exp2_test): Likewise.
26193 (expm1_test): Likewise.
26194 (fabs_test): Likewise.
26195 (fdim_test): Likewise.
26196 (finite_test): Likewise.
26197 (floor_test): Likewise.
26198 (fma_test): Likewise.
26199 (fma_test_towardzero): Likewise.
26200 (fma_test_downward): Likewise.
26201 (fma_test_upward): Likewise.
26202 (fmax_test): Likewise.
26203 (fmin_test): Likewise.
26204 (fmod_test): Likewise.
26205 (fpclassify_test): Likewise.
26206 (frexp_test): Likewise.
26207 (gamma_test): Likewise.
26208 (hypot_test): Likewise.
26209 (ilogb_test): Likewise.
26210 (isfinite_test): Likewise.
26211 (isgreater_test): Likewise.
26212 (isgreaterequal_test): Likewise.
26213 (isinf_test): Likewise.
26214 (isless_test): Likewise.
26215 (islessequal_test): Likewise.
26216 (islessgreater_test): Likewise.
26217 (isnan_test): Likewise.
26218 (isnormal_test): Likewise.
26219 (issignaling_test): Likewise.
26220 (isunordered_test): Likewise.
26221 (j0_test): Likewise.
26222 (j1_test): Likewise.
26223 (jn_test): Likewise.
26224 (ldexp_test): Likewise.
26225 (lgamma_test): Likewise.
26226 (lrint_test): Likewise.
26227 (lrint_test_tonearest): Likewise.
26228 (lrint_test_towardzero): Likewise.
26229 (lrint_test_downward): Likewise.
26230 (lrint_test_upward): Likewise.
26231 (llrint_test): Likewise.
26232 (llrint_test_tonearest): Likewise.
26233 (llrint_test_towardzero): Likewise.
26234 (llrint_test_downward): Likewise.
26235 (llrint_test_upward): Likewise.
26236 (log_test): Likewise.
26237 (log10_test): Likewise.
26238 (log1p_test): Likewise.
26239 (log2_test): Likewise.
26240 (logb_test): Likewise.
26241 (logb_test_downward): Likewise.
26242 (lround_test): Likewise.
26243 (llround_test): Likewise.
26244 (modf_test): Likewise.
26245 (nearbyint_test): Likewise.
26246 (nextafter_test): Likewise.
26247 (nexttoward_test): Likewise.
26248 (pow_test): Likewise.
26249 (pow_test_tonearest): Likewise.
26250 (pow_test_towardzero): Likewise.
26251 (pow_test_downward): Likewise.
26252 (pow_test_upward): Likewise.
26253 (remainder_test): Likewise.
26254 (remainder_test_tonearest): Likewise.
26255 (remainder_test_towardzero): Likewise.
26256 (remainder_test_downward): Likewise.
26257 (remainder_test_upward): Likewise.
26258 (remquo_test): Likewise.
26259 (rint_test): Likewise.
26260 (rint_test_tonearest): Likewise.
26261 (rint_test_towardzero): Likewise.
26262 (rint_test_downward): Likewise.
26263 (rint_test_upward): Likewise.
26264 (round_test): Likewise.
26265 (scalb_test): Likewise.
26266 (scalbn_test): Likewise.
26267 (scalbln_test): Likewise.
26268 (signbit_test): Likewise.
26269 (sin_test): Likewise.
26270 (sin_test_tonearest): Likewise.
26271 (sin_test_towardzero): Likewise.
26272 (sin_test_downward): Likewise.
26273 (sin_test_upward): Likewise.
26274 (sincos_test): Likewise.
26275 (sinh_test): Likewise.
26276 (sinh_test_tonearest): Likewise.
26277 (sinh_test_towardzero): Likewise.
26278 (sinh_test_downward): Likewise.
26279 (sinh_test_upward): Likewise.
26280 (sqrt_test): Likewise.
26281 (tan_test): Likewise.
26282 (tan_test_tonearest): Likewise.
26283 (tan_test_towardzero): Likewise.
26284 (tan_test_downward): Likewise.
26285 (tan_test_upward): Likewise.
26286 (tanh_test): Likewise.
26287 (tgamma_test): Likewise.
26288 (trunc_test): Likewise.
26289 (y0_test): Likewise.
26290 (y1_test): Likewise.
26291 (yn_test): Likewise.
26292 (significand_test): Likewise.
26293
bae143d2
OB
262942013-05-24 Ondřej Bílka <neleai@seznam.cz>
26295
26296 [BZ #15381]
26297 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26298
9323d39b
EM
262992013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26300
d4ea44a0 26301 [BZ #14894]
9323d39b
EM
26302 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26303 __ppc_mdoio and __ppc_mdoom.
26304 * manual/platform.texi: Document new functions __ppc_yield,
26305 __ppc_mdoio and __ppc_mdoom.
26306
13e23af7
CD
263072013-05-22 Carlos O'Donell <carlos@redhat.com>
26308
26309 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26310 (main): Mention "tls" pseudo-hwcap is legacy.
26311 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26312
351fe550
JM
263132013-05-22 Joseph Myers <joseph@codesourcery.com>
26314
26315 * math/gen-libm-test.pl (parse_args): Output only string of
26316 arguments as text for test name, not full call or descriptions of
26317 tests for extra outputs.
26318 (generate_testfile): Do not pass function name to parse_args.
26319 Generate this_func variable from START.
26320 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26321 field to arg_str.
26322 (struct test_ff_f_data): Likewise.
26323 (test_ff_f_data_nexttoward): Likewise.
26324 (struct test_fi_f_data): Likewise.
26325 (struct test_fl_f_data): Likewise.
26326 (struct test_if_f_data): Likewise.
26327 (struct test_fff_f_data): Likewise.
26328 (struct test_c_f_data): Likewise.
26329 (struct test_f_f1_data): Likewise. Remove field extra_name.
26330 (struct test_fF_f1_data): Likewise.
26331 (struct test_ffI_f1_data): Likewise.
26332 (struct test_c_c_data): Rename test_name field to arg_str.
26333 (struct test_cc_c_data): Likewise.
26334 (struct test_f_i_data): Likewise.
26335 (struct test_ff_i_data): Likewise.
26336 (struct test_f_l_data): Likewise.
26337 (struct test_f_L_data): Likewise.
26338 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26339 and extra2_name.
26340 (COMMON_TEST_SETUP): New macro.
26341 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26342 (COMMON_TEST_CLEANUP): Likewise.
26343 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26344 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26345 macros.
26346 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26347 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26348 macros.
26349 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26350 (RUN_TEST_fff_f): Take argument string. Call new setup and
26351 cleanup macros.
26352 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26353 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26354 macros.
26355 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26356 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26357 macros.
26358 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26359 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26360 cleanup macros.
26361 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26362 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26363 cleanup macros.
26364 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26365 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26366 cleanup macros.
26367 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26368 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26369 macros.
26370 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26371 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26372 macros.
26373 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26374 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26375 macros.
26376 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26377 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26378 cleanup macros.
26379 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26380 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26381 cleanup macros.
26382 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26383 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26384 macros.
26385 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26386 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26387 cleanup macros.
26388 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26389 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26390 macros.
26391 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26392 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26393 macros.
26394 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26395 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26396 cleanup macros.
26397 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26398
85118d4d
EBM
263992013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26400
26401 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26402 to _sifields.sigfault.
26403 (si_addr_lsb): Define new macro.
26404 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26405 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26406 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26407
7a44c18f
CD
264082013-05-03 Carlos O'Donell <carlos at redhat.com>
26409
26410 [BZ #15441]
26411 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26412 returns -1.
26413 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26414 null return -1.
26415 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26416 loading the domain.
26417
b50a7181
JM
264182013-05-22 Joseph Myers <joseph@codesourcery.com>
26419
26420 * math/gen-libm-test.pl (parse_args): Do not include expected
26421 result in test name.
26422 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26424 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26425 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26426 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26428
051063c8
SP
264292013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26430
3ce9e010
SP
26431 * benchtests/Makefile: Sort function entries.
26432
051063c8
SP
26433 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26434 tanh, asinh, acosh, atanh.
26435 * benchtests/acos-inputs: New file.
26436 * benchtests/acosh-inputs: New file.
26437 * benchtests/asin-inputs: New file.
26438 * benchtests/asinh-inputs: New file.
26439 * benchtests/atanh-inputs: New file.
26440 * benchtests/cosh-inputs: New file.
26441 * benchtests/log-inputs: New file.
26442 * benchtests/sinh-inputs: New file.
26443 * benchtests/tanh-inputs: New file.
26444
47c22455
DL
264452013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26446
26447 [BZ #15339]
26448 * posix/tst-getaddrinfo4.c: New test.
26449 * posix/Makefile (tests): Add it.
26450
3d04f5db
SP
264512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26452
26453 [BZ #15339]
26454 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26455 when no services were used.
26456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26457 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26458
d5dd6189
AS
264592013-05-21 Andreas Schwab <schwab@suse.de>
26460
26461 [BZ #15014]
26462 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26463 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26464 successful.
26465 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26466 redundant variable declarations and reallocation of buffer when
26467 parsing as IPv6 address. Always set NSS status when called from
26468 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26469 buffer too small. Correct computation of needed size.
26470 * nss/Makefile (tests): Add test-digits-dots.
26471 * nss/test-digits-dots.c: New test.
26472
fef94eab
SP
264732013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26474
26475 * benchtests/Makefile: Remove instructions for adding
26476 benchmark tests.
26477 * benchtests/README: New file to explain how to execute and
26478 enhance the benchmark tests.
26479
e39adf43
AS
264802013-05-21 Andreas Schwab <schwab@suse.de>
26481
26482 [BZ #15493]
26483 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26484 * setjmp/tst-sigsetjmp.c: New test.
26485
b2b671b6
OB
264862013-05-20 Ondřej Bílka <neleai@seznam.cz>
26487
26488 * sysdeps/x86_64/memset.S (memset): New implementation.
26489 (__bzero): Likewise.
26490 (__memset_tail): New function.
26491
2d48b41c
OB
264922013-05-20 Ondřej Bílka <neleai@seznam.cz>
26493
26494 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26495 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26496 __memcpy_sse2_unaligned ifunc selection.
26497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26498 Add memcpy-sse2-unaligned.S.
26499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26500 Add: __memcpy_sse2_unaligned.
26501
f16cc3eb
JM
265022013-05-19 Joseph Myers <joseph@codesourcery.com>
26503
3e694268
JM
26504 [BZ #15490]
26505 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26506 math_force_eval before restoring floating-point envrionment.
26507 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26508 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26509 Likewise.
26510 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26511 <math_private.h>.
26512 (__nearbyintl): Use math_force_eval before restoring
26513 floating-point environment.
26514 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26515
db62a907
JM
26516 * math/gen-libm-test.pl (special_functions): Remove.
26517 (parse_args): Don't handle TEST_extra. Handle functions with no
26518 return value.
26519 * math/libm-test.inc (struct test_sincos_data): Replace with
26520 struct test_fFF_11_data.
26521 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26522 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26523 (sincos_test_data): Change element type to struct
26524 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26525 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26526 RUN_TEST_LOOP_sincos.
26527 * math/README.libm-test: Don't mention special handling of
26528 individual functions.
26529 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26530 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26531 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26532 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26533 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26535
f16cc3eb
JM
26536 * math/gen-libm-test.pl (get_variable): Remove function.
26537 (parse_args): Don't show pointer parameters to call in test
26538 names. Use "extra output N" in test names for extra outputs
26539 rather than naming variables.
26540
3779b5b6
JM
265412013-05-18 Joseph Myers <joseph@codesourcery.com>
26542
2ee094ff
JM
26543 [BZ #15488]
26544 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26545 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26546 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26547 double tests.
26548 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26549 disable.
26550 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26551 check_long_double.
26552
3779b5b6
JM
26553 * math/gen-libm-test.pl (@tests): Remove variable.
26554 ($count): Likewise.
26555 (new_test): Remove function.
26556 (show_exceptions): New function.
26557 (special_functions): Use show_exceptions instead of new_test.
26558 (parse_args): Likewise.
26559 (generate_testfile): Pass only function name in generated call to
26560 print_max_error or print_complex_max_error.
26561 (get_ulps): Do not handle complex tests specially.
26562 (output_test): Rename to ...
26563 (get_all_ulps_for_test): ... this. Return a string rather than
26564 printing to a file. Require ulps to be present.
26565 (output_ulps): Generate arrays rather than #defines.
26566 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26567 (struct ulp_data): New type.
26568 (BUILD_COMPLEX_ULP): Remove macro.
26569 (compare_ulp_data): New function.
26570 (find_ulps): Likewise.
26571 (find_test_ulps): Likewise.
26572 (find_function_ulps): Likewise.
26573 (find_complex_function_ulps): Likewise.
26574 (print_max_error): Determine allowed ulps using
26575 find_function_ulps.
26576 (print_complex_max_error): Determine allowed ulps using
26577 find_complex_function_ulps.
26578 (check_float_internal): Determine max ulps using find_test_ulps.
26579 (check_float): Do not take max_ulp parameter. Update call to
26580 check_float_internal.
26581 (check_complex): Likewise.
26582 (check_int): Do not take max_ulp parameter.
26583 (check_long): Likewise.
26584 (check_bool): Likewise.
26585 (check_longlong): Likewise.
26586 (struct test_f_f_data): Remove max_ulp field.
26587 (struct test_ff_f_data): Likewise.
26588 (struct test_ff_f_data_nexttoward): Likewise.
26589 (struct test_fi_f_data): Likewise.
26590 (struct test_fl_f_data): Likewise.
26591 (struct test_if_f_data): Likewise.
26592 (struct test_fff_f_data): Likewise.
26593 (struct test_c_f_data): Likewise.
26594 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26595 (struct test_fF_f1_data): Likewise.
26596 (struct test_ffI_f1_data): Likewise.
26597 (struct test_c_c_data): Remove max_ulp field.
26598 (struct test_cc_c_data): Likewise.
26599 (struct test_f_i_data): Likewise.
26600 (struct test_ff_i_data): Likewise.
26601 (struct test_f_l_data): Likewise.
26602 (struct test_f_L_data): Likewise.
26603 (struct test_sincos_data): Likewise.
26604 (RUN_TEST_f_f): Do not handle ulps.
26605 (RUN_TEST_LOOP_f_f): Likewise.
26606 (RUN_TEST_2_f): Likewise.
26607 (RUN_TEST_LOOP_2_f): Likewise.
26608 (RUN_TEST_fff_f): Likewise.
26609 (RUN_TEST_LOOP_fff_f): Likewise.
26610 (RUN_TEST_c_f): Likewise.
26611 (RUN_TEST_LOOP_c_f): Likewise.
26612 (RUN_TEST_f_f1): Likewise.
26613 (RUN_TEST_LOOP_f_f1): Likewise.
26614 (RUN_TEST_fF_f1): Likewise.
26615 (RUN_TEST_LOOP_fF_f1): Likewise.
26616 (RUN_TEST_fI_f1): Likewise.
26617 (RUN_TEST_LOOP_fI_f1): Likewise.
26618 (RUN_TEST_ffI_f1): Likewise.
26619 (RUN_TEST_LOOP_ffI_f1): Likewise.
26620 (RUN_TEST_c_c): Likewise.
26621 (RUN_TEST_LOOP_c_c): Likewise.
26622 (RUN_TEST_cc_c): Likewise.
26623 (RUN_TEST_LOOP_cc_c): Likewise.
26624 (RUN_TEST_f_i): Likewise.
26625 (RUN_TEST_LOOP_f_i): Likewise.
26626 (RUN_TEST_f_i_tg): Likewise.
26627 (RUN_TEST_LOOP_f_i_tg): Likewise.
26628 (RUN_TEST_ff_i_tg): Likewise.
26629 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26630 (RUN_TEST_f_b): Likewise.
26631 (RUN_TEST_LOOP_f_b): Likewise.
26632 (RUN_TEST_f_b_tg): Likewise.
26633 (RUN_TEST_LOOP_f_b_tg): Likewise.
26634 (RUN_TEST_f_l): Likewise.
26635 (RUN_TEST_LOOP_f_l): Likewise.
26636 (RUN_TEST_f_L): Likewise.
26637 (RUN_TEST_LOOP_f_L): Likewise.
26638 (RUN_TEST_sincos): Likewise.
26639 (RUN_TEST_LOOP_sincos): Likewise.
26640
8269107f
JM
266412013-05-17 Joseph Myers <joseph@codesourcery.com>
26642
bb38759d
JM
26643 [BZ #15480]
26644 [BZ #15485]
26645 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26646 main case of finite arguments, set rounding mode to FE_TONEAREST
26647 and discard exceptions.
26648 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26649 exceptions.
26650 (remainder_tonearest_test_data): New variable.
26651 (remainder_test_tonearest): New function.
26652 (remainder_towardzero_test_data): New variable.
26653 (remainder_test_towardzero): New function.
26654 (remainder_downward_test_data): New variable.
26655 (remainder_test_downward): New function.
26656 (remainder_upward_test_data): New variable.
26657 (remainder_test_upward): New function.
26658 (main): Call the new test functions.
26659
a00bdcf0
JM
26660 * math/libm-test.inc (struct test_f_f1_data): Remove field
26661 extra_init.
26662 (struct test_fF_f1_data): Likewise.
26663 (struct test_ffI_f1_data): Likewise.
26664 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26665 based on value of EXTRA_EXPECTED.
26666 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26667 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26668 EXTRA_VAR based on value of EXTRA_EXPECTED.
26669 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26670 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26671 EXTRA_VAR based on value of EXTRA_EXPECTED.
26672 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26673 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26674 EXTRA_VAR based on value of EXTRA_EXPECTED.
26675 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26676 * math/gen-libm-test.pl (parse_args): Don't output initializers
26677 for extra output values.
26678
de407f79
JM
26679 * math/libm-test.inc (check_int): Expect result to be exactly
26680 equal to expected value and do not handle ulps.
26681 (check_long): Likewise.
26682 (check_longlong): Likewise.
26683
8269107f
JM
26684 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26685 exceptions.
26686 (cimag_test_data): Likewise.
26687 (conj_test_data): Likewise.
26688 (copysign_test_data): Likewise.
26689 (cproj_test_data): Likewise.
26690 (creal_test_data): Likewise.
26691 (fabs_test_data): Likewise.
26692 (fdim_test_data): Likewise.
26693 (finite_test_data): Likewise.
26694 (floor_test_data): Likewise.
26695 (fmax_test_data): Likewise.
26696 (fmin_test_data): Likewise.
26697 (fmod_test_data): Likewise.
26698 (fpclassify_test_data): Likewise.
26699 (frexp_test_data): Likewise.
26700 (ilogb_test_data): Likewise.
26701 (isfinite_test_data): Likewise.
26702 (isgreater_test_data): Likewise.
26703 (isgreaterequal_test_data): Likewise.
26704 (isinf_test_data): Likewise.
26705 (isless_test_data): Likewise.
26706 (islessequal_test_data): Likewise.
26707 (islessgreater_test_data): Likewise.
26708 (isnan_test_data): Likewise.
26709 (isnormal_test_data): Likewise.
26710 (issignaling_test_data): Likewise.
26711 (isunordered_test_data): Likewise.
26712 (ldexp_test_data): Likewise.
26713 (lrint_test_data): Likewise.
26714 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26715 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26716 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26717 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26718 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26719 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26720 test input.
26721 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26722 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26723 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26724 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26725 that test input.
26726 (lrint_downward_test_data): Test for "inexact" exceptions.
26727 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26728 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26729 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26730 test input.
26731 (lrint_upward_test_data): Test for "inexact" exceptions.
26732 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26733 test input.
26734 (llrint_test_data): Test for "inexact" exceptions.
26735 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26736 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26737 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26738 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26739 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26740 (llrint_downward_test_data): Test for "inexact" exceptions.
26741 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26742 (llrint_upward_test_data): Test for "inexact" exceptions.
26743 (logb_test_data): Likewise.
26744 (logb_downward_test_data): Likewise.
26745 (nextafter_test_data): Likewise.
26746 (nexttoward_test_data): Likewise.
26747 (remainder_test_data): Likewise.
26748 (remquo_test_data): Likewise.
26749 (scalbn_test_data): Likewise.
26750 (scalbln_test_data): Likewise.
26751 (signbit_test_data): Likewise.
26752 (sqrt_test_data): Likewise.
26753 (significand_test_data): Likewise.
26754
48a18de1
SP
267552013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26756
26757 [BZ #15424]
26758 * benchtests/bench-modf.c (struct args): Mark arg0 as
26759 volatile.
26760 * scripts/bench.pl: Mark members of struct args as volatile.
26761
13d3b41a
AZ
267622013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26763
68191c1d 26764 [BZ # 15497]
13d3b41a
AZ
26765 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26766 negative infinity on POWER6 or lower.
26767 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26768
2848b105
MR
267692013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26770
26771 [BZ #15442]
26772 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26773 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26774 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26775 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26776 (_FP_SETQNAN): New macro.
26777 (_FP_SETQNAN_SEMIRAW): Likewise.
26778 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26779 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26780 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26781 (FP_EXTEND): Use _FP_FRAC_SNANP.
26782 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26783 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26784 into account.
26785 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26786 New macro.
26787 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26788 Likewise.
26789
323e5cb7
JM
267902013-05-16 Joseph Myers <joseph@codesourcery.com>
26791
c58b274f
JM
26792 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26793 with DIVIDE_BY_ZERO_EXCEPTION.
26794 (gamma_test_data): Likewise.
26795 (lgamma_test_data): Likewise.
26796 (log_test_data): Likewise.
26797 (log10_test_data): Likewise.
26798 (log2_test_data): Likewise.
26799 (tgamma_test_data): Likewise.
26800
0ab34904
JM
26801 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26802 (acos_test_tonearest): Likewise.
26803 (acos_test_towardzero): Likewise.
26804 (acos_test_downward): Likewise.
26805 (acos_test_upward): Likewise.
26806 (acosh_test): Likewise.
26807 (asin_test): Likewise.
26808 (asin_test_tonearest): Likewise.
26809 (asin_test_towardzero): Likewise.
26810 (asin_test_downward): Likewise.
26811 (asin_test_upward): Likewise.
26812 (asinh_test): Likewise.
26813 (atan_test): Likewise.
26814 (atanh_test): Likewise.
26815 (atan2_test): Likewise.
26816 (cabs_test): Likewise.
26817 (cacos_test): Likewise.
26818 (cacosh_test): Likewise.
26819 (casin_test): Likewise.
26820 (casinh_test): Likewise.
26821 (catan_test): Likewise.
26822 (catanh_test): Likewise.
26823 (cbrt_test): Likewise.
26824 (ccos_test): Likewise.
26825 (ccosh_test): Likewise.
26826 (cexp_test): Likewise.
26827 (clog_test): Likewise.
26828 (clog10_test): Likewise.
26829 (cos_test): Likewise.
26830 (cos_test_tonearest): Likewise.
26831 (cos_test_towardzero): Likewise.
26832 (cos_test_downward): Likewise.
26833 (cos_test_upward): Likewise.
26834 (cosh_test): Likewise.
26835 (cosh_test_tonearest): Likewise.
26836 (cosh_test_towardzero): Likewise.
26837 (cosh_test_downward): Likewise.
26838 (cosh_test_upward): Likewise.
26839 (cpow_test): Likewise.
26840 (csin_test): Likewise.
26841 (csinh_test): Likewise.
26842 (csqrt_test): Likewise.
26843 (ctan_test): Likewise.
26844 (ctan_test_tonearest): Likewise.
26845 (ctan_test_towardzero): Likewise.
26846 (ctan_test_downward): Likewise.
26847 (ctan_test_upward): Likewise.
26848 (ctanh_test): Likewise.
26849 (ctanh_test_tonearest): Likewise.
26850 (ctanh_test_towardzero): Likewise.
26851 (ctanh_test_downward): Likewise.
26852 (ctanh_test_upward): Likewise.
26853 (erf_test): Likewise.
26854 (erfc_test): Likewise.
26855 (exp_test): Likewise.
26856 (exp_test_tonearest): Likewise.
26857 (exp_test_towardzero): Likewise.
26858 (exp_test_downward): Likewise.
26859 (exp_test_upward): Likewise.
26860 (exp10_test): Likewise.
26861 (exp2_test): Likewise.
26862 (expm1_test): Likewise.
26863 (fmod_test): Likewise.
26864 (gamma_test): Likewise.
26865 (hypot_test): Likewise.
26866 (j0_test): Likewise.
26867 (j1_test): Likewise.
26868 (jn_test): Likewise.
26869 (lgamma_test): Likewise.
26870 (log_test): Likewise.
26871 (log10_test): Likewise.
26872 (log1p_test): Likewise.
26873 (log2_test): Likewise.
26874 (logb_test_downward): Likewise.
26875 (pow_test): Likewise.
26876 (pow_test_tonearest): Likewise.
26877 (pow_test_towardzero): Likewise.
26878 (pow_test_downward): Likewise.
26879 (pow_test_upward): Likewise.
26880 (remainder_test): Likewise.
26881 (remquo_test): Likewise.
26882 (sin_test): Likewise.
26883 (sin_test_tonearest): Likewise.
26884 (sin_test_towardzero): Likewise.
26885 (sin_test_downward): Likewise.
26886 (sin_test_upward): Likewise.
26887 (sincos_test): Likewise.
26888 (sinh_test): Likewise.
26889 (sinh_test_tonearest): Likewise.
26890 (sinh_test_towardzero): Likewise.
26891 (sinh_test_downward): Likewise.
26892 (sinh_test_upward): Likewise.
26893 (sqrt_test): Likewise.
26894 (tan_test): Likewise.
26895 (tan_test_tonearest): Likewise.
26896 (tan_test_towardzero): Likewise.
26897 (tan_test_downward): Likewise.
26898 (tan_test_upward): Likewise.
26899 (tanh_test): Likewise.
26900 (tgamma_test): Likewise.
26901 (y0_test): Likewise.
26902 (y1_test): Likewise.
26903 (yn_test): Likewise.
26904
323e5cb7
JM
26905 * math/gen-libm-test.pl (adjust_arg): Remove function.
26906 (special_function): Remove argument $in_func. Only handle
26907 generating output for tables of tests, not inside functions.
26908 (parse_args): Likewise.
26909 (generate_testfile): Remove variable $in_func. Update call to
26910 parse_args.
26911 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26912 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26913 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26914 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26915 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26916 (MAX_VALUE_INIT): Rename macro to max_value.
26917 (MIN_VALUE_INIT): Rename macro to min_value.
26918 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26919 (plus_zero): Remove variable.
26920 (minus_zero): Likewise.
26921 (plus_infty): Likewise.
26922 (minus_infty): Likewise.
26923 (qnan_value): Likewise.
26924 (max_value): Likewise.
26925 (min_value): Likewise.
26926 (min_subnorm_value): Likewise.
26927
e054f494
RA
269282013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26929
26930 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26931 uint64_t or uint32_t usage.
26932 * crypt/sha256-block.c: Likewise.
26933 * crypt/sha256-crypt.c: Likewise.
26934 * crypt/sha256.c: Likewise.
26935 * crypt/sha512-block.c: Likewise.
26936 * crypt/sha512-crypt.c: Likewise.
26937 * crypt/sha512.c: Likewise.
26938 * debug/backtrace-tst.c: Likewise.
26939 * debug/pcprofiledump.c: Likewise.
26940 * elf/cache.c: Likewise.
26941 * elf/dl-cache.c: Likewise.
26942 * elf/dl-misc.c: Likewise.
26943 * elf/dl-profile.c: Likewise.
26944 * elf/dl-support.c: Likewise.
26945 * elf/ldconfig.c: Likewise.
26946 * elf/sprof.c: Likewise.
26947 * iconv/dummy-repertoire.c: Likewise.
26948 * iconv/iconv_charmap.c: Likewise.
26949 * iconv/skeleton.c: Likewise.
26950 * iconvdata/8bit-generic.c: Likewise.
26951 * iconvdata/cp737.h: Likewise.
26952 * iconvdata/cp775.h: Likewise.
26953 * iconvdata/ibm1008.h: Likewise.
26954 * iconvdata/ibm1025.h: Likewise.
26955 * iconvdata/ibm1046.h: Likewise.
26956 * iconvdata/ibm1097.h: Likewise.
26957 * iconvdata/ibm1112.h: Likewise.
26958 * iconvdata/ibm1122.h: Likewise.
26959 * iconvdata/ibm1123.h: Likewise.
26960 * iconvdata/ibm1124.h: Likewise.
26961 * iconvdata/ibm1129.h: Likewise.
26962 * iconvdata/ibm1130.h: Likewise.
26963 * iconvdata/ibm1132.h: Likewise.
26964 * iconvdata/ibm1133.h: Likewise.
26965 * iconvdata/ibm1137.h: Likewise.
26966 * iconvdata/ibm1140.h: Likewise.
26967 * iconvdata/ibm1141.h: Likewise.
26968 * iconvdata/ibm1142.h: Likewise.
26969 * iconvdata/ibm1143.h: Likewise.
26970 * iconvdata/ibm1144.h: Likewise.
26971 * iconvdata/ibm1145.h: Likewise.
26972 * iconvdata/ibm1146.h: Likewise.
26973 * iconvdata/ibm1147.h: Likewise.
26974 * iconvdata/ibm1148.h: Likewise.
26975 * iconvdata/ibm1149.h: Likewise.
26976 * iconvdata/ibm1153.h: Likewise.
26977 * iconvdata/ibm1154.h: Likewise.
26978 * iconvdata/ibm1155.h: Likewise.
26979 * iconvdata/ibm1156.h: Likewise.
26980 * iconvdata/ibm1157.h: Likewise.
26981 * iconvdata/ibm1158.h: Likewise.
26982 * iconvdata/ibm1160.h: Likewise.
26983 * iconvdata/ibm1161.h: Likewise.
26984 * iconvdata/ibm1162.h: Likewise.
26985 * iconvdata/ibm1163.h: Likewise.
26986 * iconvdata/ibm1164.h: Likewise.
26987 * iconvdata/ibm1166.h: Likewise.
26988 * iconvdata/ibm1167.h: Likewise.
26989 * iconvdata/ibm12712.h: Likewise.
26990 * iconvdata/ibm1390.h: Likewise.
26991 * iconvdata/ibm1399.h: Likewise.
26992 * iconvdata/ibm16804.h: Likewise.
26993 * iconvdata/ibm4517.h: Likewise.
26994 * iconvdata/ibm4899.h: Likewise.
26995 * iconvdata/ibm4909.h: Likewise.
26996 * iconvdata/ibm4971.h: Likewise.
26997 * iconvdata/ibm5347.h: Likewise.
26998 * iconvdata/ibm803.h: Likewise.
26999 * iconvdata/ibm856.h: Likewise.
27000 * iconvdata/ibm901.h: Likewise.
27001 * iconvdata/ibm902.h: Likewise.
27002 * iconvdata/ibm9030.h: Likewise.
27003 * iconvdata/ibm9066.h: Likewise.
27004 * iconvdata/ibm921.h: Likewise.
27005 * iconvdata/ibm922.h: Likewise.
27006 * iconvdata/ibm9448.h: Likewise.
27007 * iconvdata/isiri-3342.h: Likewise.
27008 * iconvdata/jis0201.h: Likewise.
27009 * include/link.h: Likewise.
27010 * include/netdb.h: Likewise.
27011 * inet/check_native.c: Likewise.
27012 * inet/check_pf.c: Likewise.
27013 * inet/getipv4sourcefilter.c: Likewise.
27014 * inet/getnameinfo.c: Likewise.
27015 * inet/getsourcefilter.c: Likewise.
27016 * inet/htonl.c: Likewise.
27017 * inet/setipv4sourcefilter.c: Likewise.
27018 * inet/setsourcefilter.c: Likewise.
27019 * inet/test-inet6_opt.c: Likewise.
27020 * inet/tst-network.c: Likewise.
27021 * locale/C-collate.c: Likewise.
27022 * locale/C-ctype.c: Likewise.
27023 * locale/C-time.c: Likewise.
27024 * locale/C-translit.h: Likewise.
27025 * locale/loadarchive.c: Likewise.
27026 * locale/programs/3level.h: Likewise.
27027 * locale/programs/charmap.c: Likewise.
27028 * locale/programs/charmap.h: Likewise.
27029 * locale/programs/ld-address.c: Likewise.
27030 * locale/programs/ld-collate.c: Likewise.
27031 * locale/programs/ld-ctype.c: Likewise.
27032 * locale/programs/ld-identification.c: Likewise.
27033 * locale/programs/ld-measurement.c: Likewise.
27034 * locale/programs/ld-messages.c: Likewise.
27035 * locale/programs/ld-monetary.c: Likewise.
27036 * locale/programs/ld-name.c: Likewise.
27037 * locale/programs/ld-numeric.c: Likewise.
27038 * locale/programs/ld-paper.c: Likewise.
27039 * locale/programs/ld-telephone.c: Likewise.
27040 * locale/programs/ld-time.c: Likewise.
27041 * locale/programs/linereader.c: Likewise.
27042 * locale/programs/locale.c: Likewise.
27043 * locale/programs/locarchive.c: Likewise.
27044 * locale/programs/locfile.h: Likewise.
27045 * locale/programs/repertoire.c: Likewise.
27046 * locale/programs/simple-hash.c: Likewise.
27047 * locale/programs/simple-hash.h: Likewise.
27048 * malloc/memusage.c: Likewise.
27049 * malloc/memusagestat.c: Likewise.
27050 * nis/nis_defaults.c: Likewise.
27051 * nis/nis_hash.c: Likewise.
27052 * nis/nis_print.c: Likewise.
27053 * nis/nis_xdr.c: Likewise.
27054 * nscd/connections.c: Likewise.
27055 * nscd/hstcache.c: Likewise.
27056 * nscd/nscd_gethst_r.c: Likewise.
27057 * nscd/nscd_getserv_r.c: Likewise.
27058 * nscd/nscd_helper.c: Likewise.
27059 * nscd/servicescache.c: Likewise.
27060 * nss/makedb.c: Likewise.
27061 * nss/nss_db/db-XXX.c: Likewise.
27062 * nss/nss_db/db-initgroups.c: Likewise.
27063 * nss/nss_db/db-netgrp.c: Likewise.
27064 * nss/nss_files/files-network.c: Likewise.
27065 * nss/nss_files/files-parse.c: Likewise.
27066 * posix/bug-regex5.c: Likewise.
27067 * posix/fnmatch_loop.c: Likewise.
27068 * posix/regcomp.c: Likewise.
27069 * posix/regexec.c: Likewise.
27070 * posix/tst-rfc3484-2.c: Likewise.
27071 * posix/tst-rfc3484-3.c: Likewise.
27072 * posix/tst-rfc3484.c: Likewise.
27073 * resolv/nss_dns/dns-canon.c: Likewise.
27074 * resolv/nss_dns/dns-network.c: Likewise.
27075 * resolv/res_init.c: Likewise.
27076 * resolv/res_mkquery.c: Likewise.
27077 * resolv/tst-aton.c: Likewise.
27078 * stdlib/cxa_atexit.c: Likewise.
27079 * stdlib/cxa_finalize.c: Likewise.
27080 * stdlib/gen-fpioconst.c: Likewise.
27081 * stdlib/strtol_l.c: Likewise.
27082 * string/tst-endian.c: Likewise.
27083 * sunrpc/auth_des.c: Likewise.
27084 * sunrpc/clnt_udp.c: Likewise.
27085 * sunrpc/rtime.c: Likewise.
27086 * sunrpc/svcauth_des.c: Likewise.
27087 * sunrpc/xdr.c: Likewise.
27088 * sunrpc/xdr_intXX_t.c: Likewise.
27089 * sunrpc/xdr_rec.c: Likewise.
27090 * sysdeps/generic/ldconfig.h: Likewise.
27091 * sysdeps/generic/ldsodefs.h: Likewise.
27092 * sysdeps/generic/memusage.h: Likewise.
27093 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27094 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27095 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27096 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27103 * sysdeps/posix/getaddrinfo.c: Likewise.
27104 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27105 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27106 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27107 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27108 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27109 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27110 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27111 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27112 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27113 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27114 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27115 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27116 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27117 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27118 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27119 * sysdeps/x86_64/dl-tls.h: Likewise.
27120 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27121 * time/alt_digit.c: Likewise.
27122 * time/era.c: Likewise.
27123 * wcsmbs/tst-c16c32-1.c: Likewise.
27124
8c75f674
JM
271252013-05-16 Joseph Myers <joseph@codesourcery.com>
27126
27127 * math/libm-test.inc (struct test_sincos_data): New type.
27128 (RUN_TEST_LOOP_sincos): New macro.
27129 (sincos_test_data): New variable.
27130 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27131
e6e49e59
RH
271322013-05-16 Richard Henderson <rth@redhat.com>
27133
27134 * math/atest-exp2.c (LIMB64): New macro.
27135 (CONSTSZ): New macro.
27136 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27137 (hexdig): Move ...
27138 (print_mpn_fp): ... to function scope.
27139 (read_mpn_hex): Remove.
27140 (get_log2): Remove.
27141 (exp2_mpn): Use mp_log2.
27142 (main): Use mp_exp1.
27143
15c7c18d
JM
271442013-05-16 Joseph Myers <joseph@codesourcery.com>
27145
105a07df
JM
27146 * math/libm-test.inc: Remove comment about not testing "inexact"
27147 exceptions.
27148 (INEXACT_EXCEPTION): New macro.
27149 (NO_INEXACT_EXCEPTION): Likewise.
27150 (INVALID_EXCEPTION_OK): Update value.
27151 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27152 (OVERFLOW_EXCEPTION_OK): Likewise.
27153 (UNDERFLOW_EXCEPTION_OK): Likewise.
27154 (IGNORE_ZERO_INF_SIGN): Likewise.
27155 (ERRNO_UNCHANGED): Likewise.
27156 (ERRNO_EDOM): Likewise.
27157 (ERRNO_ERANGE): Likewise.
27158 (test_exceptions): Handle testing "inexact" exceptions.
27159 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27160 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27161 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27162 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27163 INEXACT_EXCEPTION.
27164 (rint_towardzero_test_data): Likewise.
27165 (rint_downward_test_data): Likewise.
27166 (rint_upward_test_data): Likewise.
27167
e9eee333
JM
27168 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27169 with OVERFLOW_EXCEPTION.
27170 (exp10_test_data): Likewise.
27171 (exp2_test_data): Likewise.
27172 (expm1_test_data): Likewise.
27173 (lgamma_test_data): Likewise.
27174 (pow_test_data): Likewise.
27175 (tgamma_test_data): Likewise.
27176 (yn_test_data): Remove duplicate test of overflow.
27177
1c38ff73
JM
27178 * math/libm-test.inc (struct test_cc_c_data): New type.
27179 (RUN_TEST_LOOP_cc_c): New macro.
27180 (cpow_test_data): New variable.
27181 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27182
15c7c18d
JM
27183 * math/libm-test.inc (struct test_f_L_data): New type.
27184 (RUN_TEST_LOOP_f_L): New macro.
27185 (llrint_test_data): New variable.
27186 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27187 (llrint_tonearest_test_data): New variable.
27188 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27189 (llrint_towardzero_test_data): New variable.
27190 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27191 (llrint_downward_test_data): New variable.
27192 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27193 (llrint_upward_test_data): New variable.
27194 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27195 (llround_test_data): New variable.
27196 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27197
f137ff13
PC
271982013-05-13 Peter Collingbourne <pcc@google.com>
27199
27200 * math/atest-exp2.c (get_log2): Remove const attribute.
27201
3608cb24
JM
272022013-05-15 Joseph Myers <joseph@codesourcery.com>
27203
27204 * math/libm-test.inc (struct test_f_l_data): New type.
27205 (RUN_TEST_LOOP_f_l): New macro.
27206 (lrint_test_data): New variable.
27207 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27208 (lrint_tonearest_test_data): New variable.
27209 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27210 (lrint_towardzero_test_data): New variable.
27211 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27212 (lrint_downward_test_data): New variable.
27213 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27214 (lrint_upward_test_data): New variable.
27215 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27216 (lround_test_data): New variable.
27217 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27218
39b1f617
PC
272192013-05-15 Peter Collingbourne <pcc@google.com>
27220
1deff3dc
PC
27221 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27222 (EXTRACT_WORDS64) Use where appropriate.
27223 (INSERT_WORDS64) Likewise.
27224
791f3ba0
PC
27225 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27226 constraints with x constraints.
27227 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27228
39b1f617
PC
27229 * malloc/obstack.c (_obstack_compat): Add initializer.
27230
12fba011
EM
272312013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27232
27233 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27234 si_trapno and add si_addr_lsb to _sifields.sigfault.
27235 (si_trapno): Remove macro.
27236 (si_addr_lsb): Define new macro.
27237 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27238
d369f531
JM
272392013-05-15 Joseph Myers <joseph@codesourcery.com>
27240
b861c6c4
JM
27241 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27242 instead of TEST_f_l.
27243 (llrint_test_tonearest): Likewise.
27244 (llrint_test_towardzero): Likewise.
27245 (llrint_test_downward): Likewise.
27246 (llrint_test_upward): Likewise.
27247 (llround_test): Likewise.
27248
7abeee12
JM
27249 * math/libm-test.inc (struct test_f_i_data): Add comment.
27250 (RUN_TEST_LOOP_f_b): New macro.
27251 (RUN_TEST_LOOP_f_b_tg): Likewise.
27252 (finite_test_data): New variable.
27253 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27254 (isfinite_test_data): New variable.
27255 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27256 (isinf_test_data): New variable.
27257 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27258 (isnan_test_data): New variable.
27259 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27260 (isnormal_test_data): New variable.
27261 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27262 (issignaling_test_data): New variable.
27263 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27264 (signbit_test_data): New variable.
27265 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27266
cbe8c4d3
JM
27267 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27268 with INVALID_EXCEPTION.
27269 (acosh_test_data): Likewise.
27270 (asin_test_data): Likewise.
27271 (atanh_test_data): Likewise.
27272 (fmod_test_data): Likewise.
27273 (log_test_data): Likewise.
27274 (log10_test_data): Likewise.
27275 (log2_test_data): Likewise.
27276 (pow_test_data): Likewise.
27277 (sqrt_test_data): Likewise.
27278 (y0_test_data): Likewise.
27279 (y1_test_data): Likewise.
27280 (yn_test_data): Likewise.
27281
5575c0e5
JM
27282 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27283 function contents.
27284
d369f531
JM
27285 * math/libm-test.inc (struct test_ff_i_data): New type.
27286 (RUN_TEST_LOOP_ff_i_tg): New macro.
27287 (isgreater_test_data): New variable.
27288 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27289 (isgreaterequal_test_data): New variable.
27290 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27291 (isless_test_data): New variable.
27292 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27293 (islessequal_test_data): New variable.
27294 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27295 (islessgreater_test_data): New variable.
27296 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27297 (isunordered_test_data): New variable.
27298 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27299
781fd748
DM
273002013-05-14 David S. Miller <davem@davemloft.net>
27301
27302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27303
87aa21df
JM
273042013-05-14 Joseph Myers <joseph@codesourcery.com>
27305
5e908270
JM
27306 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27307
f71172e5
JM
27308 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27309 extra_test to int.
27310 (struct test_f_i_data): Change type of max_ulp to int.
27311
8cfa635a
JM
27312 * math/libm-test.inc (test_ffI_f1_data): New type.
27313 (RUN_TEST_LOOP_ffI_f1): New macro.
27314 (remquo_test_data): New variable.
27315 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27316
2bcb36b2
JM
27317 * setjmp/tst-setjmp-fp.c: New file.
27318 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27319 (link-libm): New variable.
27320 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27321
acbd839a
JM
27322 * math/libm-test.inc (struct test_f_i_data): New type.
27323 (RUN_TEST_LOOP_f_i): New macro.
27324 (RUN_TEST_LOOP_f_i_tg): Likewise.
27325 (fpclassify_test_data): New variable.
27326 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27327 (ilogb_test_data): New variable.
27328 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27329
e414d745
JM
27330 * math/libm-test.inc (scalbln_test): Correct function name in END
27331 call.
27332
d9c2a0fd
JM
27333 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27334 (RUN_TEST_LOOP_fI_f1): New macro.
27335 (frexp_test_data): New variable.
27336 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27337
9dc9095d
JM
27338 * math/libm-test.inc (struct test_fF_f1_data): New type.
27339 (RUN_TEST_LOOP_fF_f1): New macro.
27340 (modf_test_data): New variable.
27341 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27342
87aa21df
JM
27343 * math/libm-test.inc (struct test_f_f1_data): New type.
27344 (RUN_TEST_LOOP_f_f1): New macro.
27345 (gamma_test_data): New variable.
27346 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27347 (lgamma_test_data): New variable.
27348 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27349
141af660
CD
273502013-05-13 Carlos O'Donell <carlos@redhat.com>
27351
27352 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27353 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27354 (main): Comment "tls" pseudo-hwcap.
27355
6d33265c
JM
273562013-05-13 Joseph Myers <joseph@codesourcery.com>
27357
68fc074c
JM
27358 * math/libm-test.inc (struct test_fl_f_data): New type.
27359 (RUN_TEST_LOOP_fl_f): New variable.
27360 (scalbln_test_data): New variable.
27361 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27362
243216e1
JM
27363 * math/libm-test.inc (struct test_fi_f_data): New type.
27364 (RUN_TEST_LOOP_fi_f): New macro.
27365 (ldexp_test_data): New variable.
27366 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27367 (scalbn_test_data): New variable.
27368 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27369
6a1992e2
JM
27370 * math/libm-test.inc (struct test_c_f_data): New type.
27371 (RUN_TEST_LOOP_c_f): New macro.
27372 (cabs_test_data): New variable.
27373 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27374 (carg_test_data): New variable.
27375 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27376 (cimag_test_data): New variable.
27377 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27378 (creal_test_data): New variable.
27379 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27380
0e400df5
JM
27381 * math/libm-test.inc (struct test_if_f_data): New type.
27382 (RUN_TEST_LOOP_if_f): New macro.
27383 (jn_test_data): New variable.
27384 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27385 (yn_test_data): New variable.
27386 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27387
6d33265c
JM
27388 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27389
f98ece5f
AZ
273902013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27391
27392 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27393 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27394
0f7d347b
SP
273952013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27396
43fe811b
SP
27397 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27398 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27399 (bench-deps): Add bench-timing.h.
27400 * benchtests-bench-skeleton.c: Include bench-timing.h.
27401 (main): Use TIMING_* macros instead of clock_gettime.
27402 * benchtests/bench-timing.h: New file.
27403
0f7d347b
SP
27404 [BZ #14582]
27405 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27406 Renamed from _LIB_VERSION.
27407 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27408
601a3a5f
JM
274092013-05-12 Joseph Myers <joseph@codesourcery.com>
27410
4f184d30
JM
27411 * math/libm-test.inc (struct test_fff_f_data): New type.
27412 (RUN_TEST_LOOP_fff_f): New macro.
27413 (fma_test_data): New variable.
27414 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27415 (fma_towardzero_test_data): New variable.
27416 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27417 (fma_downward_test_data): New variable.
27418 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27419 (fma_upward_test_data): New variable.
27420 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27421
08198877
JM
27422 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27423 (struct test_c_c_data): New type.
27424 (RUN_TEST_LOOP_c_c): New macro.
27425 (cacos_test_data): New variable.
27426 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27427 (cacosh_test_data): New variable.
27428 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27429 (casin_test_data): New variable.
27430 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27431 (casinh_test_data): New variable.
27432 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27433 (catan_test_data): New variable.
27434 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27435 (catanh_test_data): New variable.
27436 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27437 (ccos_test_data): New variable.
27438 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27439 (ccosh_test_data): New variable.
27440 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27441 (cexp_test_data): New variable.
27442 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27443 (clog_test_data): New variable.
27444 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27445 (clog10_test_data): New variable.
27446 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27447 (conj_test_data): New variable.
27448 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27449 (cproj_test_data): New variable.
27450 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27451 (csin_test_data): New variable.
27452 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27453 (csinh_test_data): New variable.
27454 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27455 (csqrt_test_data): New variable.
27456 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27457 (ctan_test_data): New variable.
27458 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27459 (ctan_tonearest_test_data): New variable.
27460 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27461 (ctan_towardzero_test_data): New variable.
27462 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27463 (ctan_downward_test_data): New variable.
27464 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27465 (ctan_upward_test_data): New variable.
27466 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27467 (ctanh_test_data): New variable.
27468 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27469 (ctanh_tonearest_test_data): New variable.
27470 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27471 (ctanh_towardzero_test_data): New variable.
27472 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27473 (ctanh_downward_test_data): New variable.
27474 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27475 (ctanh_upward_test_data): New variable.
27476 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27477 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27478 of BUILD_COMPLEX.
27479
601a3a5f
JM
27480 * math/libm-test.inc (struct test_ff_f_data): New type.
27481 (struct test_ff_f_data_nexttoward): Likewise.
27482 (RUN_TEST_LOOP_2_f): New macro.
27483 (RUN_TEST_LOOP_ff_f): Likewise.
27484 (atan2_test_data): New variable.
27485 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27486 (copysign_test_data): New variable.
27487 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27488 (fdim_test_data): New variable.
27489 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27490 (fmax_test_data): New variable.
27491 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27492 (fmin_test_data): New variable.
27493 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27494 (fmod_test_data): New variable.
27495 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27496 (hypot_test_data): New variable.
27497 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27498 (nextafter_test_data): New variable.
27499 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27500 (nexttoward_test_data): New variable.
27501 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27502 (pow_test_data): New variable.
27503 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27504 (pow_tonearest_test_data): New variable.
27505 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27506 (pow_towardzero_test_data): New variable.
27507 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27508 (pow_downward_test_data): New variable.
27509 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27510 (pow_upward_test_data): New variable.
27511 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27512 (remainder_test_data): New variable.
27513 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27514 (scalb_test_data): New variable.
27515 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27516 * sysdeps/i386/fpu/libm-test-ulps: Update.
27517
74c57478
JM
275182013-05-11 Joseph Myers <joseph@codesourcery.com>
27519
8329e4da
JM
27520 * math/libm-test.inc (fma_test): Use max_value instead of local
27521 variable fltmax.
27522 (nextafter_test): Likewise.
27523
74c57478
JM
27524 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27525 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27526 (acos_downward_test_data): New variable.
27527 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27528 (acos_upward_test_data): New variable.
27529 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27530 (acosh_test_data): New variable.
27531 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27532 (asin_test_data): New variable.
27533 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27534 (asin_tonearest_test_data): New variable.
27535 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27536 (asin_towardzero_test_data): New variable.
27537 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27538 (asin_downward_test_data): New variable.
27539 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27540 (asin_upward_test_data): New variable.
27541 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27542 (asinh_test_data): New variable.
27543 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27544 (atan_test_data): New variable.
27545 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27546 (atanh_test_data): New variable.
27547 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27548 (cbrt_test_data): New variable.
27549 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27550 (ceil_test_data): New variable.
27551 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27552 (cos_test_data): New variable.
27553 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27554 (cos_tonearest_test_data): New variable.
27555 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27556 (cos_towardzero_test_data): New variable.
27557 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27558 (cos_downward_test_data): New variable.
27559 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27560 (cos_upward_test_data): New variable.
27561 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27562 (cosh_test_data): New variable.
27563 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27564 (cosh_tonearest_test_data): New variable.
27565 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27566 (cosh_towardzero_test_data): New variable.
27567 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27568 (cosh_downward_test_data): New variable.
27569 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27570 (cosh_upward_test_data): New variable.
27571 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27572 (erf_test_data): New variable.
27573 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27574 (erfc_test_data): New variable.
27575 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27576 (exp_test_data): New variable.
27577 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27578 (exp_tonearest_test_data): New variable.
27579 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27580 (exp_towardzero_test_data): New variable.
27581 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27582 (exp_downward_test_data): New variable.
27583 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27584 (exp_upward_test_data): New variable.
27585 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27586 (exp10_test_data): New variable.
27587 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27588 (exp2_test_data): New variable.
27589 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27590 (expm1_test_data): New variable.
27591 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27592 (fabs_test_data): New variable.
27593 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27594 (floor_test_data): New variable.
27595 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27596 (j0_test_data): New variable.
27597 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27598 (j1_test_data): New variable.
27599 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27600 (log_test_data): New variable.
27601 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27602 (log10_test_data): New variable.
27603 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27604 (log1p_test_data): New variable.
27605 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27606 (log2_test_data): New variable.
27607 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27608 (logb_test_data): New variable.
27609 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27610 (logb_downward_test_data): New variable.
27611 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27612 (nearbyint_test_data): New variable.
27613 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27614 (rint_test_data): New variable.
27615 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27616 (rint_tonearest_test_data): New variable.
27617 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27618 (rint_towardzero_test_data): New variable.
27619 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27620 (rint_downward_test_data): New variable.
27621 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27622 (rint_upward_test_data): New variable.
27623 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27624 (round_test_data): New variable.
27625 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27626 (sin_test_data): New variable.
27627 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27628 (sin_tonearest_test_data): New variable.
27629 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27630 (sin_towardzero_test_data): New variable.
27631 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27632 (sin_downward_test_data): New variable.
27633 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27634 (sin_upward_test_data): New variable.
27635 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27636 (sinh_test_data): New variable.
27637 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27638 (sinh_tonearest_test_data): New variable.
27639 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27640 (sinh_towardzero_test_data): New variable.
27641 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27642 (sinh_downward_test_data): New variable.
27643 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27644 (sinh_upward_test_data): New variable.
27645 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27646 (sqrt_test_data): New variable.
27647 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27648 (tan_test_data): New variable.
27649 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27650 (tan_tonearest_test_data): New variable.
27651 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27652 (tan_towardzero_test_data): New variable.
27653 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27654 (tan_downward_test_data): New variable.
27655 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27656 (tan_upward_test_data): New variable.
27657 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27658 (tanh_test_data): New variable.
27659 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27660 (tgamma_test_data): New variable.
27661 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27662 (trunc_test_data): New variable.
27663 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27664 (y0_test_data): New variable.
27665 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27666 (y1_test_data): New variable.
27667 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27668 (significand_test_data): New variable.
27669 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27670
7187d844
CG
276712013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27672
27673 [BZ #12387]
27674 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27675
f63fae73
PT
276762013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27677
27678 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27679
8a67a4b3
AJ
276802013-05-10 Andreas Jaeger <aj@suse.de>
27681
27682 [BZ #15448]
27683 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27684 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27685
51df539d
JM
276862013-05-10 Joseph Myers <joseph@codesourcery.com>
27687
27688 * math/gen-libm-test.pl (adjust_arg): New function.
27689 (special_functions): Handle generating output in both functions
27690 and arrays.
27691 (parse_args): Likewise.
27692 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27693 $in_func argument to parse_args.
27694 * math/libm-test.inc (struct test_f_f_data): New type.
27695 (IF_ROUND_INIT_): New macro.
27696 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27697 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27698 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27699 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27700 (ROUND_RESTORE_): Likewise.
27701 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27702 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27703 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27704 (ROUND_RESTORE_FE_UPWARD): Likewise.
27705 (RUN_TEST_LOOP_f_f): New macro.
27706 (acos_test_data): New variable.
27707 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27708 (acos_tonearest_test_data): New variable.
27709 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27710
5c637fe5
SP
277112013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27712
27713 * benchtests/bench-skeleton.c (startup): Fix coding style.
27714
ab2b9461
JM
277152013-05-10 Joseph Myers <joseph@codesourcery.com>
27716
27717 [BZ #6809]
27718 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27719 negative infinity argument.
27720 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27721 negative infinity argument.
27722 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27723 negative infinity argument.
27724 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27725 domain errors.
27726
4c0fe6fe
FW
277272013-05-10 Florian Weimer <fweimer@redhat.com>
27728
27729 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27730 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27731 * iconv/iconv_prog.c (main): Likewise.
27732 * locale/programs/charmap-dir.c (charmap_readdir)
27733 (fopen_uncompressed): Likewise.
27734 * locale/programs/locfile.c (siblings_uncached)
27735 (write_locale_data): Use lstat64 instead of lstat.
27736 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27737 stat.
27738
a3375d29
AJ
277392013-05-10 Andreas Jaeger <aj@suse.de>
27740
27741 [BZ #15395]
27742 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27743 localization.
27744 Include <locale.h>.
27745
36129722
CD
277462013-05-09 Carlos O'Donell <carlos@redhat.com>
27747
27748 * elf/dl-close.c (_dl_close_worker): Add comments.
27749
faa7f811
JM
277502013-05-09 Joseph Myers <joseph@codesourcery.com>
27751
ed41ffef
JM
27752 [BZ #15359]
27753 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27754 high part of pi/2.
27755 (__ieee754_rem_pio2l): Update comments.
27756
d0213cd0
JM
27757 [BZ #15429]
27758 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27759 high part of pi/2.
27760 (__ieee754_rem_pio2l): Update comments.
27761
0d3e777a
JM
27762 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27763 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27764
24f56066
JM
27765 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27766 M_PI_4l.
27767
faa7f811
JM
27768 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27769 (M_PI_34_LOG10El): Likewise.
27770 (M_PI2_LOG10El): Likewise.
27771 (M_PI4_LOG10El): Likewise.
27772 (M_PI_LOG10El): Likewise.
27773
e9a5e0fd
AZ
277742013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27775
27776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27777
d8cd06db
JM
277782013-05-08 Joseph Myers <joseph@codesourcery.com>
27779
a0d9f9d7
JM
27780 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27781 (MINUS_ZERO_INIT): Likewise.
27782 (PLUS_INFTY_INIT): Likewise.
27783 (MINUS_INFTY_INIT): Likewise.
27784 (QNAN_VALUE_INIT): Likewise.
27785 (MAX_VALUE_INIT): Likewise.
27786 (MIN_VALUE_INIT): Likewise.
27787 (MIN_SUBNORM_VALUE_INIT): Likewise.
27788 (plus_zero): Initialize with PLUS_ZERO_INIT.
27789 (minus_zero): Initialize with MINUS_ZERO_INIT.
27790 (plus_infty): Initialize with PLUS_INFTY_INIT.
27791 (minus_infty): Initialize with MINUS_INFTY_INIT.
27792 (qnan_value): Initialize with QNAN_VALUE_INIT.
27793 (max_value): Initialize with MAX_VALUE_INIT.
27794 (min_value): Initialize with MIN_VALUE_INIT.
27795 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27796
ae08db3b
JM
27797 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27798 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27799 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27800 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27801
f44bf14a
JM
27802 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27803 (RUN_TEST_2_f): Likewise.
27804 (RUN_TEST_ff_f): Likewise.
27805 (RUN_TEST_fi_f): Likewise.
27806 (RUN_TEST_fl_f): Likewise.
27807 (RUN_TEST_fff_f): Likewise.
27808 (RUN_TEST_c_f): Likewise.
27809 (RUN_TEST_f_f1): Likewise.
27810 (RUN_TEST_fF_f1): Likewise.
27811 (RUN_TEST_fI_f1): Likewise.
27812 (RUN_TEST_ffI_f1): Likewise.
27813 (RUN_TEST_c_c): Likewise.
27814 (RUN_TEST_cc_c): Likewise.
27815 (RUN_TEST_f_i): Likewise.
27816 (RUN_TEST_f_i_tg): Likewise.
27817 (RUN_TEST_ff_i_tg): Likewise.
27818 (RUN_TEST_f_b): Likewise.
27819 (RUN_TEST_f_b_tg): Likewise.
27820 (RUN_TEST_f_l): Likewise.
27821 (RUN_TEST_f_L): Likewise.
27822 (RUN_TEST_sincos): Likewise.
27823 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27824 whether to show exceptions. Do not include ");\n" in return
27825 value.
27826 (special_functions): Output call to RUN_TEST_sincos instead of
27827 check_float calls. Update calls to new_test.
27828 (parse_args): Output call to single RUN_TEST_* macro instead of
27829 check_* calls and other assignments. Update calls to new_test.
27830
d8cd06db
JM
27831 [BZ #2546]
27832 [BZ #2560]
27833 [BZ #5159]
27834 [BZ #15426]
27835 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27836 input to result for tgamma overflow.
27837 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27838 (gamma_coeff): New variable.
27839 (NCOEFF): New macro.
27840 (gamma_positive): New function.
27841 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27842 underflow here. Use gamma_positive instead of exp (lgamma) for
27843 other arguments.
27844 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27845 (gamma_coeff): New variable.
27846 (NCOEFF): New macro.
27847 (gammaf_positive): New function.
27848 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27849 underflow here. Use gamma_positive instead of exp (lgamma) for
27850 other arguments.
27851 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27852 (gamma_coeff): New variable.
27853 (NCOEFF): New macro.
27854 (gammal_positive): New function.
27855 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27856 underflow here. Use gamma_positive instead of exp (lgamma) for
27857 other arguments.
27858 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27859 (gamma_coeff): New variable.
27860 (NCOEFF): New macro.
27861 (gammal_positive): New function.
27862 (__ieee754_gammal_r): Handle positive infinity, overflow and
27863 underflow here. Handle NaN the same as positive infinity. Remove
27864 check x < 0xffffffff for negative integers. Use gamma_positive
27865 instead of exp (lgamma) for other arguments.
27866 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27867 (gamma_coeff): New variable.
27868 (NCOEFF): New macro.
27869 (gammal_positive): New function.
27870 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27871 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27872 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27875 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27876 * sysdeps/generic/math_private.h (__gamma_productf): New
27877 prototype.
27878 (__gamma_product): Likewise.
27879 (__gamma_productl): Likewise.
27880 * math/Makefile (libm-calls): Add gamma_product.
27881 * math/libm-test.inc (tgamma_test): Add more tests.
27882 * sysdeps/i386/fpu/libm-test-ulps: Update.
27883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27884
bb7cf681
OB
278852013-05-08 Ondřej Bílka <neleai@seznam.cz>
27886
27887 * benchtests/bench-skeleton.c (main): Preheat CPU.
27888
ba853947
AJ
278892013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27890
27891 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27892
8347c74c
RM
278932013-05-07 Roland McGrath <roland@hack.frob.com>
27894
27895 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27896 and _dl_skip_args_internal.
27897
e8dd4791
CD
278982013-05-07 Carlos O'Donell <carlos@redhat.com>
27899
27900 * manual/message.texi (Message Translation): Talk about users.
27901 Message to key mapping impacts design.
27902
c7405830
RM
279032013-05-06 Roland McGrath <roland@hack.frob.com>
27904
a9173057
RM
27905 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27906
976e2f03
RM
27907 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27908
9723ffc5
RM
27909 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27910 * sysdeps/wordsize-64/glob64.c: ... here.
27911
962e6658
RM
27912 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27913 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27914 New macros.
27915
ee586a6d
RM
27916 * debug/getlogin_r_chk.c: Moved to ...
27917 * login/getlogin_r_chk.c: ... here.
27918 * debug/Makefile (routines): Move getlogin_r_chk to ...
27919 * login/Makefile (routines): ... here.
27920 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27921 * login/Versions (libc: GLIBC_2.4): ... here.
27922
355f9165
RM
27923 * io/poll.c (__poll): Renamed from poll.
27924 Add libc_hidden_def.
27925 (poll): Define as weak alias.
27926
bd9ffde6
RM
27927 * debug/ptsname_r_chk.c: Moved to ...
27928 * login/ptsname_r_chk.c: ... here.
27929 * debug/Makefile (routines): Move ptsname_r_chk to ...
27930 * login/Makefile (routines): ... here.
27931 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27932 * login/Versions (libc: GLIBC_2.4): ... here.
27933
8fb16a04
RM
27934 * posix/getlogin.c: Moved to ...
27935 * login/getlogin.c: ... here.
27936 * posix/getlogin_r.c: Moved to ...
27937 * login/getlogin_r.c: ... here.
27938 * posix/getlogin_r.c: Moved to ...
27939 * login/getlogin_r.c: ... here.
27940 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27941 * login/Makefile (routines): ... here.
27942 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27943 * login/Versions (libc: GLIBC_2.0): ... here.
27944
b99b892f
RM
27945 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27946 (setrlimit): Define as weak alias.
27947
c7405830
RM
27948 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27949 Call __ names for open, ftruncate, and close.
27950 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27951 (truncate): Define as weak alias.
27952
5bf96de5
JM
279532013-05-06 Joseph Myers <joseph@codesourcery.com>
27954
9ea3513c
JM
27955 * math/gen-libm-test.pl (parse_args): Initialize x before each
27956 test of frexp, modf and remquo.
27957
5bf96de5
JM
27958 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27959 test signgam value.
27960
16e616a7
AZ
279612013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27962
27963 [BZ #15418]
27964 [BZ #15419]
27965 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27966 internal tests.
27967 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27968
d5e82754
RM
279692013-05-06 Roland McGrath <roland@hack.frob.com>
27970
27971 * elf/dl-writev.h: New file.
27972 * elf/dl-misc.c: Include it.
27973 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27974 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27975
a7548d41
JM
279762013-05-04 Joseph Myers <joseph@codesourcery.com>
27977
b7dab1e4
JM
27978 * math/libm-test.inc (noXFails): Remove variable.
27979 (noXPasses): Likewise.
27980 (BUILD_COMPLEX_INT): Remove macro.
27981 (print_screen): Remove xfail argument.
27982 (print_screen_max_error): Likewise.
27983 (update_stats): Likewise.
27984 (print_max_error): Likewise. Update calls to other affected
27985 functions.
27986 (print_complex_max_error): Likewise.
27987 (test_single_exception): Update calls to print_screen.
27988 (test_single_errno): Likewise.
27989 (check_float_internal): Remove xfail argument. Update calls to
27990 other affected functions.
27991 (check_float): Likewise.
27992 (check_complex): Likewise.
27993 (check_int): Likewise.
27994 (check_long): Likewise.
27995 (check_bool): Likewise.
27996 (check_longlong): Likewise.
27997 (main): Don't print noXFails and noXPasses.
27998 * math/gen-libm-test.pl (top level): Don't mention expected
27999 failure handling in comment.
28000 (new_test): Don't handle expected failures.
28001 (parse_args): Don't mention expected failure handling in comment.
28002 (generate_testfile): Don't handle expected failures.
28003 (parse_ulps): Likewise.
28004 (print_ulps_file): Likewise.
28005 (get_failure): Remove function.
28006 (output_test): Don't handle expected failures.
28007 * make/README.libm-test: Don't mention expected failure handling.
28008
a7548d41
JM
28009 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28010 (minus_zero): Likewise.
28011 (plus_infty): Likewise.
28012 (minus_infty): Likewise.
28013 (qnan_value): Likewise.
28014 (max_value): Likewise.
28015 (min_value): Likewise.
28016 (min_subnorm_value): Likewise.
28017 (initialize): Do not initialize those variables dynamically.
28018
60bfd54c
RM
280192013-05-03 Roland McGrath <roland@hack.frob.com>
28020
cc0e6ed8
RM
28021 * io/open.c (__open_2): Moved to ...
28022 * io/open_2.c: ... this new file.
28023 * io/open64.c (__open64_2): Moved to ...
28024 * io/open64_2.c: ... this new file.
28025 * io/openat.c (__openat_2): Moved to ...
28026 * io/openat_2.c: ... this new file.
28027 * io/openat64.c (__openat64_2): Moved to ...
28028 * io/openat64_2.c: ... this new file.
28029 * io/Makefile (routines): Add them.
28030 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28031 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28032 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28033 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28034 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28035 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28036 (__openat64): Add hidden_ver.
28037 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28038 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28039
60bfd54c
RM
28040 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28041 Separately conditionalize setting of GLRO(dl_sysinfo) so
28042 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28043 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28044
83e7640f
AZ
280452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28046
28047 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28048 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28049 definition.
28050 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28051 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28052 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28053 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28054 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28055
d5dc2af3
JM
280562013-05-03 Joseph Myers <joseph@codesourcery.com>
28057
c31a5b1e
JM
28058 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28059 test signgam value.
28060
d5dc2af3
JM
28061 * math/libm-test.inc (hypot_test): Do not use
28062 IGNORE_ZERO_INF_SIGN.
28063
164fd39d
AJ
280642013-05-03 Andreas Jaeger <aj@suse.de>
28065
28066 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28067 Linux 3.9.
28068 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28069 (PF_MAX): Adjust for VSOCK change.
28070
8237f48c
AZ
280712013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28072
28073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28074
9df02941
CD
280752013-05-02 Carlos O'Donell <carlos@redhat.com>
28076
28077 [BZ #15264]
28078 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28079 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28080 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28081
d422395e
DM
280822013-05-02 David S. Miller <davem@davemloft.net>
28083
28084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28085
a07c5731
OB
280862013-05-01 Ondřej Bílka <neleai@seznam.cz>
28087
28088 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28089
1324e37f
RM
280902013-05-01 Roland McGrath <roland@hack.frob.com>
28091
28092 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28093
0695940b
RS
280942013-05-01 Richard Smith <richard@metafoo.co.uk>
28095
bb5f27ad 28096 [BZ #14952]
0695940b
RS
28097 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28098 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28099 Use __attribute__ ((__gnu_inline__)).
28100 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28101 Don't use __attribute__ ((__gnu_inline__)).
28102
10de07f5
JM
281032013-05-01 Joseph Myers <joseph@codesourcery.com>
28104
28105 [BZ #15423]
28106 * math/s_catan.c (__catan): Handle small real or imaginary part of
28107 input specially to avoid spurious underflow.
28108 * math/s_catanf.c (__catanf): Likewise.
28109 * math/s_catanh.c (__catanh): Likewise.
28110 * math/s_catanhf.c (__catanhf): Likewise.
28111 * math/s_catanhl.c (__catanhl): Likewise.
28112 * math/s_catanl.c (__catanl): Likewise.
28113 * math/libm-test.inc (catan_test): Add more tests.
28114 (catanh_test): Likewise.
28115 * sysdeps/i386/fpu/libm-test-ulps: Update.
28116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28117
cb4d5414
AZ
281182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28119
28120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28121
caf84319
JM
281222013-04-30 Joseph Myers <joseph@codesourcery.com>
28123
28124 [BZ #15416]
28125 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28126 accurately for denominator in atan2.
28127 * math/s_catanf.c (__catanf): Likewise.
28128 * math/s_catanh.c (__catanh): Likewise.
28129 * math/s_catanhf.c (__catanhf): Likewise.
28130 * math/s_catanhl.c (__catanhl): Likewise.
28131 * math/s_catanl.c (__catanl): Likewise.
28132 * math/libm-test.inc (catan_test): Add more tests.
28133 (catanh_test): Likewise.
28134 * sysdeps/i386/fpu/libm-test-ulps: Update.
28135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28136
d569c6ee
SP
281372013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28138
6dbe713d
SP
28139 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28140
f0ee064b
SP
28141 * benchtests/Makefile (bench): Remove slow benchmarks.
28142 * benchtests/atan-inputs: Add slow benchmark inputs.
28143 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28144 (BENCH_FUNC): Accept variant offset.
28145 (VARIANT): Define.
28146 * benchtests/bench-skeleton.c (main): Run benchmark for each
28147 variant.
28148 * benchtests/cos-inputs: Add slow benchmark inputs.
28149 * benchtests/exp-inputs: Likewise.
28150 * benchtests/pow-inputs: Likewise.
28151 * benchtests/sin-inputs: Likewise.
28152 * benchtests/slowatan-inputs: Remove.
28153 * benchtests/slowatan.c: Remove.
28154 * benchtests/slowcos-inputs: Remove.
28155 * benchtests/slowcos.c: Remove.
28156 * benchtests/slowexp-inputs: Remove.
28157 * benchtests/slowexp.c: Remove.
28158 * benchtests/slowpow-inputs: Remove.
28159 * benchtests/slowpow.c: Remove.
28160 * benchtests/slowsin-inputs: Remove.
28161 * benchtests/slowsin.c: Remove.
28162 * benchtests/slowtan-inputs: Remove.
28163 * benchtests/slowtan.c: Remove.
28164 * benchtests/tan-inputs: Add slow benchmark inputs.
28165 * scripts/bench.pl: Parse comments and directives.
28166
d569c6ee
SP
28167 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28168 in CPPFLAGS.
28169 ($(objpfx)bench-%.c): Remove *-ITER.
28170 * benchtests/bench-modf.c: Remove definition of ITER.
28171 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28172 (main): Loop for DURATION seconds instead of fixed number of
28173 iterations.
28174 * scripts/bench.pl: Don't expect iterations in parameters.
28175
a6a242fe
RM
281762013-04-29 Roland McGrath <roland@hack.frob.com>
28177
28178 * io/fchdir.c (__fchdir): Renamed from fchdir.
28179 (fchdir): Define as weak alias.
28180
f2da7793
JM
281812013-04-29 Joseph Myers <joseph@codesourcery.com>
28182
28183 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28184 (ERRNO_EDOM): Likewise.
28185 (ERRNO_ERANGE): Likewise.
28186 (noErrnoTests): New variable.
28187 (init_max_error): Set errno to 0.
28188 (test_single_errno): New function.
28189 (test_errno): Likewise.
28190 (check_float_internal): Call test_errno. Set errno to 0.
28191 (check_complex): Refer to errno tests in comment.
28192 (check_int): Call test_errno. Set errno to 0.
28193 (check_long): Likewise.
28194 (check_bool): Likewise.
28195 (check_longlong): Likewise.
28196 (cos_test): Use ERRNO_* flags for errno tests instead of
28197 check_int.
28198 (expm1_test): Likewise.
28199 (fmod_test): Likewise.
28200 (ilogb_test): Likewise.
28201 (lgamma_test): Likewise.
28202 (pow_test): Likewise.
28203 (remainder_test): Likewise.
28204 (sin_test): Likewise.
28205 (tan_test): Likewise.
28206 (yn_test): Likewise.
28207 (initialize): Set errno to 0.
28208 (main): Print number of errno tests.
28209 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28210
b1a36ceb
AJ
282112013-04-29 Andreas Jaeger <aj@suse.de>
28212
c3ed8088
AJ
28213 [BZ #15084]
28214 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28215 and RES_USEVC.
28216
f1a24198
AJ
28217 [BZ #15085]
28218 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28219 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28220 unimplemented.
28221
9ce3b2cb
AJ
28222 [BZ #15380]
28223 * stdlib/random.c (__initstate): Return NULL if
28224 __initstate fails.
28225
f1a24198 28226 [BZ #15086]
b1a36ceb
AJ
28227 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28228 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28229 RES_SNGLKUPREOP.
28230
7e7b6f36
AZ
282312013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28232
28233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28234
4d14f449
JM
282352013-04-29 Joseph Myers <joseph@codesourcery.com>
28236
28237 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28238 of individual tests.
28239 (casin_test): Likewise.
28240 (casinh_test): Likewise.
28241
5b4217d7
JM
282422013-04-27 Joseph Myers <joseph@codesourcery.com>
28243
28244 [BZ #15409]
28245 * math/s_catan.c (__catan): Handle arguments with large real or
28246 imaginary part separately without squaring.
28247 * math/s_catanf.c (__catanf): Likewise.
28248 * math/s_catanh.c (__catanh): Likewise.
28249 * math/s_catanhf.c (__catanhf): Likewise.
28250 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28251 and redefine.
28252 (__catanhl): Handle arguments with large real or imaginary part
28253 separately without squaring.
28254 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28255 and redefine.
28256 (__catanl): Handle arguments with large real or imaginary part
28257 separately without squaring.
28258 * math/libm-test.inc (catan_test): Add more tests.
28259 (catanh_test): Likewise.
28260 * sysdeps/i386/fpu/libm-test-ulps: Update.
28261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28262
4220c3ef
AJ
282632013-04-27 Andreas Jaeger <aj@suse.de>
28264
28265 [BZ #15007]
28266 * stdlib/stdlib.h: Update guards for qecvt.
28267 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28268 <stdlib.h>.
28269
4721b2d1
AM
282702013-04-27 Allan McRae <allan@archlinux.org>
28271
28272 * sysdeps/i386/fpu/libm-test-ulps: Update.
28273
f0302940
JM
282742013-04-26 Joseph Myers <joseph@codesourcery.com>
28275
9457fd95
JM
28276 [BZ #15406]
28277 * math/s_catan.c: Include <float.h>.
28278 (__catan): Ensure underflow exception occurs for underflowed
28279 result.
28280 * math/s_catanf.c: Include <float.h>.
28281 (__catanf): Ensure underflow exception occurs for underflowed
28282 result.
28283 * math/s_catanh.c: Include <float.h>.
28284 (__catanh): Ensure underflow exception occurs for underflowed
28285 result.
28286 * math/s_catanhf.c: Include <float.h>.
28287 (__catanhf): Ensure underflow exception occurs for underflowed
28288 result.
28289 * math/s_catanhl.c: Include <float.h>.
28290 (__catanhl): Ensure underflow exception occurs for underflowed
28291 result.
28292 * math/s_catanl.c: Include <float.h>.
28293 (__catanl): Ensure underflow exception occurs for underflowed
28294 result.
28295 * math/libm-test.inc (catan_test): Add more tests.
28296 (catanh_test): Likewise.
28297
f0302940
JM
28298 [BZ #15405]
28299 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28300 underflowed result.
28301 * math/s_ccoshf.c (__ccoshf): Likewise.
28302 * math/s_ccoshl.c (__ccoshl): Likewise.
28303 * math/s_csin.c (__csin): Likewise.
28304 * math/s_csinf.c (__csinf): Likewise.
28305 * math/s_csinh.c (__csinh): Likewise.
28306 * math/s_csinhf.c (__csinhf): Likewise.
28307 * math/s_csinhl.c (__csinhl): Likewise.
28308 * math/s_csinl.c (__csinl): Likewise.
28309 * math/libm-test.inc (ccos_test): Add more tests.
28310 (ccosh_test): Likewise.
28311 (csin_test): Likewise.
28312 (csinh_test): Likewise.
28313
aa630f59
AZ
283142013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28315
28316 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28317 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28318 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28319 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28320 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28321 powerpc/power5+/fpu folders.
28322 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28323
28324
1b835983
MT
283252013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28326
28327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28328
73709b26
JM
283292013-04-25 Joseph Myers <joseph@codesourcery.com>
28330
28331 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28332 additions to variable.
28333 [$(config-machine) = x86_64] (modules-names): Likewise.
28334 ($(objpfx)tst-audit3): Remove dependency.
28335 ($(objpfx)tst-audit3.out): Likewise.
28336 ($(objpfx)tst-audit4): Likewise.
28337 ($(objpfx)tst-audit4.out): Likewise.
28338 ($(objpfx)tst-audit5): Likewise.
28339 ($(objpfx)tst-audit5.out): Likewise.
28340 ($(objpfx)tst-audit6): Likewise.
28341 ($(objpfx)tst-audit6.out): Likewise.
28342 ($(objpfx)tst-audit7): Likewise.
28343 ($(objpfx)tst-audit7.out): Likewise.
28344 (tst-audit3-ENV): Remove variable.
28345 (tst-audit4-ENV): Likewise.
28346 (tst-audit5-ENV): Likewise.
28347 (tst-audit6-ENV): Likewise.
28348 (tst-audit7-ENV): Likewise.
28349 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28350 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28351 addition to variable.
28352 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28353 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28354 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28355 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28356 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28357 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28358 tst-audit3, tst-audit4 and tst-audit5.
28359 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28360 tst-audit6 and tst-audit7.
28361 [$(subdir) = elf] (modules-names): Add audit modules for those
28362 tests.
28363 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28364 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28365 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28366 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28367 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28368 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28369 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28370 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28371 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28372 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28373 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28374 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28375 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28376 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28377 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28378 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28379 Likewise.
28380 [$(subdir) = elf && $(config-cflags-avx) = yes]
28381 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28382 [$(subdir) = elf && $(config-cflags-avx) = yes]
28383 (CFLAGS-tst-auditmod4a.c): Likewise.
28384 [$(subdir) = elf && $(config-cflags-avx) = yes]
28385 (CFLAGS-tst-auditmod4b.c): Likewise.
28386 [$(subdir) = elf && $(config-cflags-avx) = yes]
28387 (CFLAGS-tst-auditmod6b.c): Likewise.
28388 [$(subdir) = elf && $(config-cflags-avx) = yes]
28389 (CFLAGS-tst-auditmod6c.c): Likewise.
28390 [$(subdir) = elf && $(config-cflags-avx) = yes]
28391 (CFLAGS-tst-auditmod7b.c): Likewise.
28392 * elf/tst-audit3.c: Move to ...
28393 * sysdeps/x86_64/tst-audit3.c: ... here.
28394 * elf/tst-audit4.c: Move to ...
28395 * sysdeps/x86_64/tst-audit4.c: ... here.
28396 * elf/tst-audit5.c: Move to ...
28397 * sysdeps/x86_64/tst-audit5.c: ... here.
28398 * elf/tst-audit6.c: Move to ...
28399 * sysdeps/x86_64/tst-audit6.c: ... here.
28400 * elf/tst-audit7.c: Move to ...
28401 * sysdeps/x86_64/tst-audit7.c: ... here.
28402 * elf/tst-auditmod3a.c: Move to ...
28403 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28404 * elf/tst-auditmod3b.c: Move to ...
28405 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28406 * elf/tst-auditmod4a.c: Move to ...
28407 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28408 * elf/tst-auditmod4b.c: Move to ...
28409 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28410 * elf/tst-auditmod5a.c: Move to ...
28411 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28412 * elf/tst-auditmod5b.c: Move to ...
28413 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28414 * elf/tst-auditmod6a.c: Move to ...
28415 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28416 * elf/tst-auditmod6b.c: Move to ...
28417 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28418 * elf/tst-auditmod6c.c: Move to ...
28419 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28420 * elf/tst-auditmod7a.c: Move to ...
28421 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28422 * elf/tst-auditmod7b.c: Move to ...
28423 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28424
1ef74943
PP
284252013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28426
28427 [BZ #15366]
28428 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28429 define unconditionally.
28430 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28431 define unconditionally.
28432 (INT8_C, INT16_C, etc.): Likewise.
28433
93fd48c5
MR
284342013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28435
ae9552cf
MR
28436 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28437 __ehdr_start with hidden visibility.
28438
93fd48c5
MR
28439 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28440
418601aa
CD
284412013-04-24 Carlos O'Donell <carlos@redhat.com>
28442
28443 * math/libm-test.inc (cos_test): Use accurate hex constants.
28444 (sincost_test): Likewise.
28445
2f38fbfe
JM
284462013-04-24 Joseph Myers <joseph@codesourcery.com>
28447
5e221800
JM
28448 * math/libm-test.inc (catan_test): Add more tests.
28449 (catanh_test): Likewise.
28450
77f143fd
JM
28451 * math/s_catanf.c (__catanf): Use suffixed floating-point
28452 constants.
28453 * math/s_catanhf.c (__catanhf): Likewise.
28454 * math/s_catanhl.c (__catanhl): Likewise.
28455 * math/s_catanl.c (__catanl): Likewise.
28456
2f38fbfe
JM
28457 [BZ #15394]
28458 * math/s_catan.c (__catan): Calculate imaginary part of result
28459 with log1p not log unless computing log of number close to 0.
28460 * math/s_catanf.c (__catanf): Likewise.
28461 * math/s_catanl.c (__catanl): Likewise.
28462 * math/s_catanh.c (__catanh): Calculate real part of result with
28463 log1p not log unless computing log of number close to 0.
28464 * math/s_catanhf.c (__catanhf): Likewise.
28465 * math/s_catanhl.c (__catanhl): Likewise.
28466 * math/libm-test.inc (catan_test): Add more tests.
28467 (catanh_test): Likewise.
28468 * sysdeps/i386/fpu/libm-test-ulps: Update.
28469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28470
45d69176
SP
284712013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28472
28473 * benchtests/Makefile: Mention files in which fast and slow
28474 paths of math functions are implemented.
28475
87f51853
RM
284762013-04-23 Roland McGrath <roland@hack.frob.com>
28477
28478 * sysdeps/posix/timespec_get.c: New file.
28479
3c026539
AZ
284802013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28481
28482 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28483 POWER.
28484 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28485 for POWER.
28486 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28487 powerpc/power5/fpu folders.
28488 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28489 * benchtests/Makefile: Add modf testcase.
28490 * benchtests/bench-modf.c: New file: Benchmark test for mo
28491
ff491d14
SP
284922013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28493
28494 [BZ #14888]
28495 * time/Makefile (tests): Add tst-strptime-whitespace.
28496 * time/strptime_l.c (get_number): Use ISSPACE.
28497 (__strptime_internal): Likewise.
28498 * time/tst-strptime-whitespace.c: New test case.
28499
7ed3f4e8
AS
285002013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28501
28502 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28503 member.
28504 (_nss_files_init): Set it here.
28505
5c95f7b6
HC
285062013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28507
28508 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28509 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28510 unsigned.
28511
d34c9158
JBG
285122013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28513
28514 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28515
2169712d
SP
285162013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28517
28518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28519 size just once.
28520
29c5de99
DM
285212013-04-21 David S. Miller <davem@davemloft.net>
28522
28523 * po/ru.po: Update Russion translation from translation project.
28524
ccdad15d
AC
285252013-04-17 Adam Conrad <adconrad@0c3.net>
28526
28527 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28528 and setfsgid.
28529
0f122b8d
CD
285302013-04-17 Carlos O'Donell <carlos@redhat.com>
28531
5c5b07da 28532 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28533 * configure: Regenerate.
5c5b07da 28534 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28535 Add example to error message.
28536 * sysdeps/i386/configure: Regenerate.
28537
037714dd
SP
285382013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28539
28540 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28541 slowtan.
28542 * benchtests/cos-inputs: New file.
28543 * benchtests/slowcos-inputs: New file.
28544 * benchtests/slowcos.c: New file.
28545 * benchtests/slowtan-inputs: New file.
28546 * benchtests/slowtan.c: New file.
28547 * benchtests/tan-inputs: New file.
28548
e913141d
RM
285492013-04-16 Roland McGrath <roland@hack.frob.com>
28550
28551 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28552 considered kosher.
28553
a2964074
SP
285542013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28555
4856bcd2
SP
28556 * benchtests/Makefile: Include cppflags-iterator.mk to add
28557 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28558
a2964074
SP
28559 * Makefile.in (bench-clean): New target.
28560 * benchtests/Makefile (bench-clean): Likewise.
28561
9fbf9aca
DH
285622013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28563
28564 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28565
207d1e2a
TS
285662013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28567
28568 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28569
306dfba9
AS
285702013-04-15 Andreas Schwab <schwab@suse.de>
28571
28572 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28573 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28574 * nscd/pwdcache.c (cache_addpw): Likewise.
28575 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28576 more than recsize.
28577
206a6699
SP
285782013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28579
28580 * benchtests/Makefile (bench): Write all output to
28581 bench-out.tmp together.
28582
0582f6b3
AS
285832013-04-15 Andreas Schwab <schwab@suse.de>
28584
28585 * nscd/nscd.c (main): Don't fork again after closing files.
28586
acb4325f
SP
285872013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28588
5cb26d0a
SP
28589 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28590
acb4325f
SP
28591 * benchtests/Rules (bench-deps): Collect dependencies into a
28592 single variable. Add Makefile to dependencies.
28593 ($(objpfx)bench-%.c): Depend on bench-deps.
28594
47792506
RM
285952013-04-12 Roland McGrath <roland@hack.frob.com>
28596 Xavier Roche <roche+kml2@exalead.com>
28597
28598 [BZ #15361]
28599 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28600 just that it's a file descriptor.
28601 * manual/llio.texi (Synchronizing AIO Operations): Update description
28602 for EBADF error from aio_fsync.
28603
8fc1bee5
SP
286042013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28605
28606 * Rules (bench): Move target definition...
28607 * benchtests/Makefile: ... here.
28608
aba5e333
CD
286092013-04-11 Carlos O'Donell <carlos@redhat.com>
28610
28611 * math/libm-test.inc (cos_test): Fix PI/2 test.
28612 (sincos_test): Likewise.
28613 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28614 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28615
273cdee8
AS
286162013-04-11 Andreas Schwab <schwab@suse.de>
28617
6ecec3b6
AS
28618 [BZ #13988]
28619 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28620 accept exponent character only when digits were seen.
28621 * stdio-common/Makefile (tests): Add bug26.
28622 * stdio-common/bug26.c: New file.
28623
273cdee8
AS
28624 [BZ #14293]
28625 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28626 non-freeable.
28627
8da491f5
SP
286282013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28629
01dc6df9
SP
28630 * Makeconfig (rtld-prefix): Define built linker prefix.
28631 * Rules (run-bench): Use it.
28632 * math/Makefile (run-regen-ulps): Likewise.
28633
8da491f5
SP
28634 * Rules (bench): Remove eval.
28635
abe7f530
SP
286362013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28637 Roland McGrath <roland@hack.frob.com>
28638 Ondrej Bilka <neleai@seznam.cz>
28639
28640 [BZ #15346]
28641 * time/getdate.c: Include ctype.h and alloca.h.
28642 (__getdate_r): Trim leading and trailing spaces of input.
28643 * time/tst-getdate.c (tests): Add tests with leading and
28644 trailing spaces.
28645
61c23e62
RM
286462013-04-08 Roland McGrath <roland@hack.frob.com>
28647
28648 [BZ #14280]
28649 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28650 when computing value.
28651
7208a313
CD
286522013-04-06 Carlos O'Donell <carlos@redhat.com>
28653
085b2d41
CD
28654 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28655 Use testrun.sh to run libm tests.
28656
7208a313
CD
28657 [BZ #15309]
28658 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28659
872c0acd
MM
286602013-04-06 Marko Myllynen <myllynen@redhat.com>
28661
28662 [BZ #15264]
28663 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28664
26510bdd
CD
286652013-04-06 Carlos O'Donell <carlos@redhat.com>
28666
28667 * Makefile.in (regen-ulps): New target.
28668 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28669 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28670 [ifneq (no,$(PERL)] (regen-ulps): New target.
28671 [ifeq (no,$(PERL)] (regen-ulps): New target.
28672 * math/libm-test.inc (ulps_file_name): Define.
28673 (output_dir): New variable.
28674 (options): Add "output-dir" option.
28675 (parse_opt): Handle 'o' case.
28676 (main): If output_dir is non-NULL use it as a prefix
28677 otherwise use "".
28678 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28679
a01f19c8
CD
286802013-04-06 Carlos O'Donell <carlos@redhat.com>
28681
28682 [BZ #10060, #10062]
28683 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28684 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28685 fail configure if __sync_val_compare_and_swap is not inlined.
28686 * sysdeps/i386/configure: Regenerate.
28687 * configure.in: Build for i686 when configured for i386.
28688 * configure: Regenerate.
28689 * README: Remove i386 reference.
28690
b7a329a5
CD
286912013-04-06 Carlos O'Donell <carlos@redhat.com>
28692
28693 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28694 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28695
bf0f50df
TS
286962013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28697
ee091edf
TS
28698 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28699 (lmsnanval): New variables.
28700 (F): Add conversion tests.
28701 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28702 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28703
a8b792d6
TS
28704 * stdio-common/tstdiomisc.c (F): Properly collect individual
28705 tests' results.
28706
a1cbf437
TS
28707 [BZ #14686, #15336]
28708 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28709 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28710 Instead, use input NaN values or generate a qNaN by arithmetic
28711 operation. Also fix bugs to comply with the standard.
28712 * math/libm-test.inc (remainder_test): Add more tests.
28713
8b43a0c9
TS
28714 [BZ #15335, #15342]
28715 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28717 input NaN values or generate a qNaN by arithmetic operation.
28718
d91da4ce
TS
28719 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28720 unreachable code.
28721
bf0f50df
TS
28722 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28723 definitions.
28724
05e166c8
JM
287252013-04-03 Joseph Myers <joseph@codesourcery.com>
28726
28727 [BZ #14478]
28728 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28729 underflowed result.
28730 * math/s_cexpf.c (__cexpf): Likewise.
28731 * math/s_cexpl.c (__cexpl): Likewise.
28732 * math/libm-test.inc (cexp_test): Add more tests.
28733
1cef1b19
AS
287342013-04-03 Andreas Schwab <schwab@suse.de>
28735
28736 [BZ #15330]
28737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28738 order arrays from heap if bigger than alloca cutoff.
28739
74d87055
TS
287402013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28741
28742 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28743 (SNAN_TESTS_double): Refer to GCC PR56831.
28744 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28745 GCC PR56828.
28746
d755bba4
SP
287472013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28748
90d5d5bb
SP
28749 * Rules (bench): Move bench.out after the run is complete.
28750
73e0cd5d
SP
28751 * Rules (bench): Echo currently running benchmark.
28752
64aabd4b
SP
28753 * benchtests/Makefile (bench): Add atan and slowatan.
28754 * benchtests/atan-inputs: New file.
28755 * benchtests/slowatan-inputs: New file.
28756 * benchtests/slowatan.c: New file.
28757
c871eccd
SP
28758 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28759 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28760 its value.
28761
d755bba4
SP
28762 [BZ #15305]
28763 * sysdeps/unix/sysv/linux/kernel-features.h
28764 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28765 __ASSUME_XFS_RESTRICTED_CHOWN.
28766 * sysdeps/unix/sysv/linux/pathconf.c
28767 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28768 Save and restore errno.
28769
52ce4860
JM
287702013-04-02 Joseph Myers <joseph@codesourcery.com>
28771
28772 [BZ #15327]
28773 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28774 arguments using __kernel_casinh.
28775 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28776 arguments using __kernel_casinhf.
28777 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28778 arguments using __kernel_casinhl.
28779 * math/libm-test.inc (cacosh_test): Add more tests.
28780 * sysdeps/i386/fpu/libm-test-ulps: Update.
28781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28782
81f311c2
SP
287832013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28784
e7906a47
SP
28785 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28787
92e3664b
SP
28788 * bench/Makefile (bench): Add sin and slowsin.
28789 * benchtests/sin-inputs: New file.
28790 * benchtests/slowsin-inputs: New file.
28791 * benchtests/slowsin.c: New file.
28792
81f311c2
SP
28793 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28794 (bench): Add slowexp and slowpow.
28795 (exp-ITER): Increase iterations.
28796 (pow-ITER): Likewise.
28797 * benchtests/exp-inputs: Change input.
28798 * benchtests/pow-inputs: Likewise.
28799 * benchtests/slowexp-inputs: New file.
28800 * benchtests/slowexp.c: New file.
28801 * benchtests/slowpow-inputs: New file.
28802 * benchtests/slowpow.c: New file.
28803
ab0f1aa9
AZ
288042013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28805
28806 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28807 instructions.
28808 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28809 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28810 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28811 * benchtests/Makefile: Add rint benchtest.
28812 * benchtests/rint-inputs: Input for rint benchtest.
28813
57267616
TS
288142013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28815
28816 * Versions.def (libm): Add GLIBC_2.18.
28817 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28818 hidden libm prototypes.
28819 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28820 * math/Makefile (libm-calls): Add s_issignaling.
28821 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28822 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28823 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28824 declaration.
28825 * math/math.h [__USE_GNU] (issignaling): New macro.
28826 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28827 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28829 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28832 * manual/arith.texi (issignaling): New section.
28833 * manual/libm-err-tab.pl (@all_functions): Update comment.
28834 * math/gen-libm-test.pl (parse_args): Apply special handling for
28835 issignaling.
28836 * math/libm-test.inc (print_float, issignaling_test): New
28837 functions.
28838 (check_float_internal): Add issignaling checks.
28839 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28840 default definition.
28841 * sysdeps/powerpc/math-tests.h: New file.
28842 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28843 tests.
28844 * math/test-snan.c (TEST_FUNC): Likewise.
28845
6142896d
DM
288462013-03-30 David S. Miller <davem@davemloft.net>
28847
28848 * po/de.po: Update from translation team.
28849
ccc8cadf
JM
288502013-03-30 Joseph Myers <joseph@codesourcery.com>
28851
28852 [BZ #10357]
28853 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28854 imaginary part less than 1.0 and real part less than 0.5
28855 specially.
28856 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28857 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28858 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28859 (cacos_test): Add more tests.
28860 (casin_test): Likewise.
28861 (casinh_test): Likewise.
28862 * sysdeps/i386/fpu/libm-test-ulps: Update.
28863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28864
0f6a8d4b
SP
288652013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28866
0d1029de
SP
28867 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28868 ONE with its value.
28869
c2d94018
SP
28870 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28871 (__pow_mp): Replace ONE and MONE with their values.
28872 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28874 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28875 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28876 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28877 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28878
27ec37f1
SP
28879 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28880
a64d7e0e
SP
28881 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28882 (__pow_mp): Replace ZERO and MZERO with their values.
28883 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28884 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28885 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28886 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28887 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28888 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28889 (__sqr): Likewise.
28890
d26dd3eb
SP
28891 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28892
0f6a8d4b
SP
28893 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28894
e57b0c61
RM
288952013-03-28 Roland McGrath <roland@hack.frob.com>
28896
28897 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28898 Declare with __attribute__ ((weak)).
28899 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28900 Call __call_tls_dtors only if it's not NULL.
28901
356b3480
RM
289022013-03-28 Roland McGrath <roland@hack.frob.com>
28903
288f7d79
RM
28904 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28905 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28906 magic __ehdr_start linker symbol if it's defined.
28907 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28908 them up here if it was already done.
28909
dc0a0263
RM
28910 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28911 (_dl_aux_init): Use const in cast when setting it.
28912 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28913 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28914 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28915
3d3436ae
RM
28916 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28917 Declare them here.
28918 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28919 * csu/libc-tls.c: Nor here.
28920 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28921
356b3480
RM
28922 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28923 (__libc_message): Never call vsyslog.
28924
b0f1246a
AM
289252013-03-28 Alan Modra <amodra@gmail.com>
28926
28927 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28928 Define as empty.
28929 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28930 Likewise.
28931
fbbe2b9a
AZ
289322013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28933
28934 [BZ #15214]
28935 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28936 underflow.
28937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28938
1728ab37
SP
289392013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28940
7a86be6e
SP
28941 [BZ #15304]
28942 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28943 Don't add gid passed as argument.
28944
1728ab37
SP
28945 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28946
3a7182a1
JM
289472013-03-27 Joseph Myers <joseph@codesourcery.com>
28948
28949 [BZ #15307]
28950 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28951 imaginary part between 1.0 and 1.5 and real part less than 0.5
28952 specially.
28953 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28954 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28955 * math/libm-test.inc (cacos_test): Add more tests.
28956 (casin_test): Likewise.
28957 (casinh_test): Likewise.
28958 * sysdeps/i386/fpu/libm-test-ulps: Update.
28959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28960
6f2e90e7
SP
289612013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28962
5739f705
SP
28963 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28964 constants.
28965 (norm): Likewise.
28966 (denorm): Likewise.
28967 (__dbl_mp): Likewise.
28968 (add_magnitudes): Likewise.
28969 (sub_magnitudes): Likewise.
28970 (__add): Likewise.
28971 (__sub): Likewise.
28972 (__mul): Likewise.
28973 (__sqr): Likewise.
28974 (__inv): Likewise.
28975 (__dvd): Likewise.
28976
e375e83d
SP
28977 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28978 commented code.
28979 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28980 (__dubcos): Likewise.
28981 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28982 (__ieee754_acos): Likewise.
28983 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28984 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28985 (__exp1): Likewise.
28986 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28988 (log1): Likewise.
28989 (my_log2): Likewise.
28990 (checkint): Likewise.
28991 * sysdeps/ieee754/dbl-64/e_remainder.c
28992 (__ieee754_remainder): Likewise.
28993 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28995 (bsloww): Likewise.
28996 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28997
6f2e90e7
SP
28998 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28999 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29000 MANTISSA_STORE_T to store computations on mantissa. Use
29001 macros for rounding and division.
29002 (denorm): Likewise.
29003 (__dbl_mp): Likewise.
29004 (add_magnitudes): Likewise.
29005 (sub_magnitudes): Likewise.
29006 (__mul): Likewise.
29007 (__sqr): Likewise.
29008 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29009 powers of two in terms of TWOPOW macro.
29010 (mp_no): Make type of mantissa as MANTISSA_T.
29011 [!RADIXI]: Define RADIXI.
29012 [!TWO52]: Define TWO52.
29013 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29014
fce14d4e
AZ
290152013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29016
29017 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29018 llroundl symbol when building for PPC32.
29019
9ad027fb
MW
290202013-03-24 Mark H Weaver <mhw@netris.org>
29021
29022 * manual/arith.texi (Normalization Functions): Fix prototypes for
29023 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29024
e42a38dd
AZ
290252013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29026
29027 [BZ #13889]
29028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29029 high value to check if expl overflow.
29030 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29031 to check for underflow and overflow.
29032 * math/libm-test.inc: Add exp test.
29033
2e0fb521
DL
290342013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29035
29036 [BZ #11120]
29037 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29038 with NOT_IN_libc.
29039
b5784d95
AZ
290402013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29041
29042 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29043 symbol.
29044
5aa4a1a1
TS
290452013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29046
bdef0be7
TS
29047 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29048 wrap blocks consisting of several statements.
29049
5aa4a1a1
TS
29050 * sysdeps/generic/math-tests.h: New file.
29051 * sysdeps/i386/fpu/math-tests.h: Likewise.
29052 * math/test-snan.c: Include it.
29053 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29054
98c48fe5
JM
290552013-03-21 Joseph Myers <joseph@codesourcery.com>
29056
29057 [BZ #15285]
29058 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29059 (__ieee754_j0l): Do not improve calculations using cos of twice
29060 input for inputs above LDBL_MAX / 2.0L.
29061 (__ieee754_y0l): Likewise.
29062 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29063 (__ieee754_j1l): Do not improve calculations using cos of twice
29064 input for inputs above LDBL_MAX / 2.0L.
29065 (__ieee754_y1l): Likewise.
29066 * math/libm-test.inc (j0_test): Add another test.
29067 (j1_test): Likewise.
29068 (y0_test): Likewise.
29069 (y1_test): Likewise.
29070 * sysdeps/i386/fpu/libm-test-ulps: Update.
29071
3775a8bc
SP
290722013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29073
29074 * Rules ($(objpfx)bench-%.c): Include code from a C source
29075 file.
29076
0a1b2ae6
JM
290772013-03-21 Joseph Myers <joseph@codesourcery.com>
29078
29079 [BZ #15287]
29080 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29081 imaginary part 1.0 and real part less than 0.5 specially.
29082 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29083 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29084 * math/libm-test.inc (cacos_test): Add more tests.
29085 (casin_test): Likewise.
29086 (casinh_test): Likewise.
29087 * sysdeps/i386/fpu/libm-test-ulps: Update.
29088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29089
b33d4ce4
SP
290902013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29091
29092 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29093 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29094
bef0b507
JM
290952013-03-20 Joseph Myers <joseph@codesourcery.com>
29096
29097 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29098 * config.make.in (config-cflags-sse4): Remove variable.
29099 (config-cflags-avx): Likewise.
29100 (config-cflags-sse2avx): Likewise.
29101 (config-cflags-novzeroupper): Likewise.
29102 (config-asflags-i686): Likewise.
29103 (have-mfma4): Likewise.
29104 (have-as-vis3): Likewise.
29105 (MIG): Likewise.
29106 * configure.in (MIG): Do not AC_SUBST.
29107 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29108 (libc_cv_cc_sse4): Do not AC_SUBST.
29109 (libc_cv_cc_avx): Likewise.
29110 (libc_cv_cc_sse2avx): Likewise.
29111 (libc_cv_cc_novzeroupper): Likewise.
29112 (libc_cv_cc_fma4): Likewise.
29113 (libc_cv_as_i686): Likewise.
29114 (libc_cv_sparc_as_vis3): Likewise.
29115 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29116 LIBC_CONFIG_VAR.
29117 (config-asflags-i686): Likewise.
29118 (config-cflags-avx): Likewise.
29119 (config-cflags-sse2avx): Likewise.
29120 (have-mfma4): Likewise.
29121 (config-cflags-novzeroupper): Likewise.
29122 * sysdeps/mach/configure.in (MIG): Likewise.
29123 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29124 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29125 LIBC_CONFIG_VAR.
29126 (config-cflags-avx): Likewise.
29127 (config-cflags-sse2avx): Likewise.
29128 (have-mfma4): Likewise.
29129 (config-cflags-novzeroupper): Likewise.
29130 * configure: Regenerated.
29131 * sysdeps/i386/configure: Likewise.
29132 * sysdeps/mach/configure: Likewise.
29133 * sysdeps/sparc/configure: Likewise.
29134 * sysdeps/x86_64/configure: Likewise.
29135
912cc4b3
RM
291362013-03-20 Roland McGrath <roland@hack.frob.com>
29137
29138 [BZ #14812]
29139 * locale/programs/localedef.c (options): Put N_ translation marker
29140 on argument names, not just descriptions.
29141
04eed2b0
MS
291422013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29143
29144 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29145
a065ceff
OB
291462013-03-20 Ondřej Bílka <neleai@seznam.cz>
29147
9bb2a810 29148 [BZ #14176]
a065ceff
OB
29149 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29150
a600e5ce
RM
291512013-03-19 Roland McGrath <roland@hack.frob.com>
29152
29153 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29154 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29155 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29156 [!BEFORE_ABORT] (before_abort): New function.
29157 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29158 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29159 (writev_for_fatal): New function.
29160 (WRITEV_FOR_FATAL): New macro; call that.
29161 (backtrace_and_maps): New function.
29162 (BEFORE_ABORT): New macro; call that.
29163 (struct str_list): Type removed.
29164 (__libc_message, __libc_fatal): Functions removed.
29165 Include <sysdeps/posix/libc_fatal.c> instead.
29166
6b18bea6
JM
291672013-03-19 Joseph Myers <joseph@codesourcery.com>
29168
29169 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29170 constants.
29171 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29172 double constants.
29173
aaa8cb4b
AS
291742013-03-19 Andreas Schwab <schwab@suse.de>
29175
44673770
AS
29176 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29177 * sysdeps/gnu/configure: Regenerate.
29178
aaa8cb4b
AS
29179 * configure.in: Substitute libc_cv_rtlddir.
29180 * configure: Regenerate.
29181 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29182 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29183 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29184 * elf/Makefile (install-others, CFLAGS-interp.c)
29185 (ldso_install, common-ldd-rewrite): Likewise.
29186 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29187 $(inst_slibdir)/$(rtld-installed-name).
29188 * scripts/rellns-sh: Add -p option.
29189 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29190 for source.
29191
d3cfc668
SP
291922013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29193
29194 * manual/nptl.texi: Renamed to ...
29195 * manual/threads.texi: ... this.
29196 * manual/Makefile (chapters): Update.
29197
0e2b9cdd
RM
291982013-03-18 Roland McGrath <roland@hack.frob.com>
29199
29200 [BZ #14812]
29201 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29202 on argument names, not just descriptions.
0e2b9cdd
RM
29203 * malloc/memusagestat.c (options): Likewise.
29204 * nss/getent.c (options): Likewise.
63270c24
RM
29205
292062013-03-18 Benno Schulenberg <bensberg@justemail.net>
29207
29208 [BZ #14812]
29209 * iconv/iconv_prog.c (options): Put N_ translation marker
29210 on argument names, not just descriptions.
29211 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29212
b2e1393c
OB
292132013-03-18 Ondrej Bilka <neleai@seznam.cz>
29214
29215 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29216 implementation which is faster on all x86_64 architectures.
29217 Tested on AMD, Intel Nehalem, SNB, IVB.
29218 * sysdeps/x86_64/strnlen.S: Likewise.
29219
29220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29221 Remove all multiarch strlen and strnlen versions.
29222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29223 Remove strlen and strnlen related parts.
29224
29225 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29226 Inline strlen part.
29227 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29228
29229 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29230 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29231 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29232 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29233 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29234 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29235
ec4ff04d
CD
292362013-03-17 Carlos O'Donell <carlos@redhat.com>
29237
29238 * manual/memory.texi (Malloc Tunable Parameters):
29239 Sort parameters alphabetically. Add comments for missing entries.
29240
cd18e90a
DM
292412013-03-17 David S. Miller <davem@davemloft.net>
29242
29243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29244
2a185d32
JM
292452013-03-16 Joseph Myers <joseph@codesourcery.com>
29246
d2f9799e
JM
29247 [BZ #15283]
29248 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29249 for arguments at most half maximum finite value.
29250 * math/libm-test.inc (j0_test): Add more tests.
29251 (j1_test): Likewise.
29252 (y0_test): Likewise.
29253 (y1_test): Likewise.
29254 * sysdeps/i386/fpu/libm-test-ulps: Update.
29255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29256
2a185d32
JM
29257 [BZ #14155]
29258 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29259 1 / x and functions P and Q for arguments above 0x1p256L.
29260 (__ieee754_y0l): Likewise.
29261 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29262 (__ieee754_y1l): Likewise.
29263 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29264 (j1_test): Likewise.
29265 (y0_test): Likewise.
29266 (y1_test): Likewise.
29267
6cbec759
TS
292682013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29269
29270 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29271 variable.
29272
bc16e260
RM
292732013-03-15 Roland McGrath <roland@hack.frob.com>
29274
aefc9b8c
RM
29275 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29276 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29277 zero since it's initialized to EXEC_PAGESIZE.
29278
bc16e260
RM
29279 * sysdeps/unix/sysv/linux/ldsodefs.h
29280 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29281 * sysdeps/generic/ldsodefs.h: ... here.
29282
a57da955
TS
292832013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29284
af00a34d
TS
29285 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29286
495ded2c
TS
29287 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29288 math/test-snan.c.
29289 * math/test-snan.c: Renamed from
29290 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29291 * math/Makefile (tests): Add test-snan.
29292 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29293 test-powerpc-snan.
29294
777b0332
TS
29295 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29296 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29297 functions.
29298 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29299 __builtin_nan family of functions.
29300 * math/libm-test.inc (initialize): Initialize qnan_value with
29301 __builtin_nan family of functions.
29302 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29303 Remove variables.
29304 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29305 Remove functions.
29306 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29307 storage class. Initialize qNaN_var and sNaN_var with
29308 __builtin_nan and __builtin_nans families of functions,
29309 respectively.
29310
64d063b8
TS
29311 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29312 (sqrt_test): Remove duplicate test with qNaN input.
29313 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29314 (round_test, signbit_test, significand_test): Note missing +/-Inf
29315 as well as qNaN tests.
29316
67e971f1
TS
29317 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29318 qNaN_var. Fix a few strings, too.
29319 * math/libm-test.inc (nan_value): Rename to qnan_value.
29320 * math/gen-libm-test.pl (%beautify): Adjust to that.
29321 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29322 * math/test-misc.c (main): Likewise.
29323 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29324 to __qnan_bytes, and __qnan_union, respectively.
29325 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29326 Likewise.
29327 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29328 and lqnanval, respectively.
29329 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29330 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29331 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29332 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29333
64487e12
TS
29334 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29335 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29336 doubles.
29337
e015e27b
TS
29338 * math/test-misc.c (main): Fix copy'n'pastos.
29339 * misc/tst-efgcvt.c (special): Likewise.
29340
a57da955
TS
29341 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29342 Remove declarations.
29343
1e380345
SP
293442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29345
29346 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29347 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29348 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29349 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29350
ef26eece
AZ
293512013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29352
29353 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29354 macro to return vdso values correctly in IFUNC implementations.
29355 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29356 Optimization by using IFUNC.
29357
8cfdb7e0
SP
293582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29359 Richard Henderson <rth@redhat.com>
29360 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29361
29362 * Makefile.in (bench): New target.
29363 * NEWS: Mention the benchmark framework.
29364 * Rules (bench): Likewise.
29365 (binaries-bench): Generate binaries for functions to
29366 benchmark.
29367 * benchtests/Makefile: New makefile for benchmark tests.
29368 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29369 programs.
29370 * benchtests/exp-inputs: New input file for EXP function.
29371 * benchtests/pow-inputs: New input file for POW function.
29372 * scripts/bench.pl: New script to generate source files for
29373 benchmark programs.
29374
bcda9880
SP
293752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29376
d22ca8cd
SP
29377 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29378 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29379 computations on mantissa. Use macros for rounding and
29380 division.
29381 (denorm): Likewise.
29382 (__dbl_mp): Likewise.
29383 (add_magnitudes): Likewise.
29384 (sub_magnitudes): Likewise.
29385 (__mul): Likewise.
29386 (__sqr): Likewise.
29387 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29388 powers of two in terms of TWOPOW macro.
29389 (mp_no): Make type of mantissa as MANTISSA_T.
29390 [!RADIXI]: Define RADIXI.
29391 [!TWO52]: Define TWO52.
29392 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29393
bcda9880
SP
29394 * manual/nptl.texi (cindex): Modify threads to pthreads.
29395
06d5adfb
JM
293962013-03-15 Joseph Myers <joseph@codesourcery.com>
29397
29398 * sysdeps/x86_64/preconfigure: Regenerated.
29399
41c7328e
JM
294002013-03-14 Joseph Myers <joseph@codesourcery.com>
29401
29402 [BZ #14155]
29403 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29404 0x1p28 and above.
29405 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29406 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29407 0x1p28 and above.
29408 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29409 * math/libm-test.inc (j0_test): Do not allow one spurious
29410 underflow exception.
29411 (y1_test): Likewise.
29412
e25cfa60
SP
294132013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29414
0409959c
SP
29415 * manual/Makefile (chapters): Add nptl.
29416 * manual/debug.texi (Debugging Support): Add link to Threads
29417 chapter.
29418 * manual/nptl.texi: New file.
29419
e25cfa60
SP
29420 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29421
58a1335e
PB
294222013-03-14 Petr Baudis <pasky@ucw.cz>
29423
29424 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29425 for non-NULL pointer before the memory validity test. Pointed
29426 out by Holger Brunck <holger.brunck@keymile.com>.
29427
9dc7c64f
AS
294282013-03-13 Andreas Schwab <schwab@suse.de>
29429
29430 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29431 instead of .os.
29432
54206aa6
JM
294332013-03-13 Joseph Myers <joseph@codesourcery.com>
29434
29435 * timezone/zic.c: Update from tzcode 2013b.
29436
e98cdb38
CD
294372013-03-12 Carlos O'Donell <carlos@redhat.com>
29438
29439 * manual/install.texi (Configuring and compiling):
29440 Mention i686 and i586.
29441 * INSTALL: Regenerate.
29442
9967e003
RM
294432013-03-12 Roland McGrath <roland@hack.frob.com>
29444
29445 * sysdeps/init_array/elf-init.c: New file.
29446 * csu/elf-init.c
29447 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29448 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29449
29450 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29451 __gmon_start__ as global, but as static with a .preinit_array pointer.
29452 * sysdeps/init_array/gmon-start.c: New file. Use that.
29453 * sysdeps/init_array/crti.S: New file, empty except for comments.
29454 * sysdeps/init_array/crtn.S: Likewise.
29455
e6b5a293 294562013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29457
29458 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29459 definining bcopy.
80f844c9
OB
29460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29461 Remove Prefer_SSE_for_memop.
29462 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29463 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29464 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29466 memset-x86-64.
80f844c9 29467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29468 Remove bzero, memset ifunc support.
80f844c9
OB
29469 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29470 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29471 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29472 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29473
fb6b0fcb
AS
294742013-03-11 Andreas Schwab <schwab@suse.de>
29475
29476 [BZ #15234]
29477 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29478 by SHLIB_COMPAT.
29479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29480 (GLIBC_2.16): Remove pthread_atfork.
29481
3e6bd4b1
PP
294822013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29483
29484 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29485 (ptestcases.h): Likewise.
29486
222d7f00
RM
294872013-03-08 Roland McGrath <roland@hack.frob.com>
29488
29489 * Makeconfig ($(common-objpfx)config.status): Depend on
29490 sysdeps/*/preconfigure{,.in} too.
29491
1ba4f030
JM
294922013-03-08 Joseph Myers <joseph@codesourcery.com>
29493
a222d91a
JM
29494 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29495 (__free_hook): Use void * instead of __malloc_ptr_t.
29496 (__malloc_hook): Likewise.
29497 (__realloc_hook): Likewise.
29498 (__memalign_hook): Likewise.
29499 (__after_morecore_hook): Likewise.
29500 * malloc/arena.c (save_malloc_hook): Likewise.
29501 (save_free_hook): Likewise.
29502 * malloc/hooks.c (malloc_hook_ini): Likewise.
29503 (realloc_hook_ini): Likewise.
29504 (memalign_hook_ini): Likewise.
29505 * malloc/malloc.c (malloc_hook_ini): Likewise.
29506 (realloc_hook_ini): Likewise.
29507 (memalign_hook_ini): Likewise.
29508 (__free_hook): Likewise.
29509 (__malloc_hook): Likewise.
29510 (__realloc_hook): Likewise.
29511 (__memalign_hook): Likewise.
29512 (__libc_malloc): Likewise.
29513 (__libc_free): Likewise.
29514 (__libc_realloc): Likewise.
29515 (__libc_memalign): Likewise.
29516 (__libc_valloc): Likewise.
29517 (__libc_pvalloc): Likewise.
29518 (__libc_calloc): Likewise.
29519 (__posix_memalign): Likewise.
29520 * malloc/morecore.c (__sbrk): Likewise.
29521 (__default_morecore): Likewise.
29522
5cc45e10
JM
29523 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29524
dd54b864
JM
29525 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29526 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29527 __malloc_ptrdiff_t.
29528
1ba4f030
JM
29529 * malloc/malloc.h (__malloc_size_t): Remove macro.
29530 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29531 __malloc_size_t.
29532 (old_memalign_hook): Likewise.
29533 (old_realloc_hook): Likewise.
29534 (struct hdr): Likewise.
29535 (flood): Likewise.
29536 (mallochook): Likewise.
29537 (memalignhook): Likewise.
29538 (reallochook): Likewise.
29539 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29540 (tr_old_realloc_hook): Likewise.
29541 (tr_old_memalign_hook): Likewise.
29542 (tr_mallochook): Likewise.
29543 (tr_reallochook): Likewise.
29544 (tr_memalignhook): Likewise.
29545
edf66e57
AZ
295462013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29547
29548 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29549 default_ldbl_pack and using as default implementation.
29550 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29551 implementation.
29552 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29553 redundant definition.
29554 (ldbl_insert_mantissa): Likewise.
29555 (ldbl_canonicalize): Likewise.
29556 (ldbl_nearbyint): Likewise.
29557 (ldbl_pack): Rename to ldbl_pack_ppc.
29558 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29559 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29560 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29561
6d9145d8
SP
295622013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29563
29564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29565 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29566 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29567 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29569 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29570 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29571 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29572
4dd4e157
AJ
295732013-03-07 Andreas Jaeger <aj@suse.de>
29574
29575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29576 bits/mman-linux.h.
29577
adbb8027
SP
295782013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29579
ce544b5b
SP
29580 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29581 Include mpa.h and declare __MPEXP.
29582 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29583 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29584 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29585 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29586 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29587 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29588 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29589
4cc149fd
SP
29590 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29591 (__slowpow): Use long double EXPL and LOGL functions to
29592 compute POW.
29593 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29594 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29595 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29596 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29597 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29598 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29599
e6ebd4a7
SP
29600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29601 intermediate variable to calculate exponent.
29602 (__sqr): Likewise.
29603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29604 Likewise.
29605 (__sqr): Likewise.
29606
82a9811d
SP
29607 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29608 [!NO__SQR]: Define __sqr.
29609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29610 and NO__SQR. Remove all code except __mul and __sqr. Include
29611 sysdeps/ieee754/dbl-64/mpa.c.
29612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29613
adbb8027
SP
29614 [BZ #12723]
29615 * posix/Makefile (tests): Add tst-pathconf.
29616 * posix/tst-pathconf.c: New test case.
29617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29618 _PC_PIPE_BUF.
29619 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29620
39120df9
PF
296212013-03-06 Patsy Franklin <pfrankli@redhat.com>
29622
29623 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29624
67525cb8
AJ
296252013-03-06 Andreas Jaeger <aj@suse.de>
29626
664a9ce4
AJ
29627 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29628 definition via __MAP_ANONYMOUS.
29629
8e39047d
AJ
29630 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29631 it's not part of Linux headers.
29632
67525cb8
AJ
29633 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29634 (MAP_HUGE_MASK): Define.
29635
29636 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29637 Define.
29638 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29639 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29640 Define.
29641 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29642 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29643 Define.
29644 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29645 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29646 Define.
29647 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29648
29649 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29650 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29651 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29652 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29653 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29654 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29655
29656 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29657 Handle f2fs.
29658
29659 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29660 Handle f2fs and efivarfs.
29661
29662 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29663 f2fs.
29664
29665 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29666 (EFIVARFS_MAGIC): Add.
29667 (F2FS_LINK_MAX): Add.
29668
e1b42695
PP
296692013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29670
29671 * stdio-common/vfprintf.c: Replace __builtin_expect with
29672 __glibc_unlikely.
29673
2d67d91a
JM
296742013-03-06 Joseph Myers <joseph@codesourcery.com>
29675
29676 [BZ #13550]
29677 * sysdeps/generic/bp-sym.h: Remove file.
29678 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29679 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29680 <bp-sym.h> and <bp-asm.h>.
29681 (__longjmp): Don't use BP_SYM.
29682 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29683 and <bp-asm.h>.
29684 (memcpy): Don't use BP_SYM.
29685 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29686 <bp-sym.h> and <bp-asm.h>.
29687 (memcpy): Don't use BP_SYM.
29688 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29689 <bp-asm.h>.
29690 (memcpy): Don't use BP_SYM.
29691 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29692 <bp-asm.h>.
29693 (memset): Don't use BP_SYM.
29694 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29695 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29696 (__bzero): Don't use BP_SYM.
29697 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29698 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29699 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29700 <bp-sym.h> and <bp-asm.h>.
29701 (memcmp): Don't use BP_SYM. Remove comment about bounded
29702 pointers.
29703 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29704 <bp-sym.h> and <bp-asm.h>.
29705 (memcpy): Don't use BP_SYM.
29706 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29707 <bp-sym.h> and <bp-asm.h>.
29708 (memset): Don't use BP_SYM.
29709 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29710 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29711 (__bzero): Don't use BP_SYM.
29712 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29713 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29714 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29715 <bp-sym.h> and <bp-asm.h>.
29716 (strncmp): Don't use BP_SYM. Remove comment about bounded
29717 pointers.
29718 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29719 <bp-sym.h> and <bp-asm.h>.
29720 (memcpy): Don't use BP_SYM.
29721 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29722 <bp-sym.h> and <bp-asm.h>.
29723 (memset): Don't use BP_SYM.
29724 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29725 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29726 (__bzero): Don't use BP_SYM.
29727 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29728 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29730 <bp-sym.h> and <bp-asm.h>.
29731 (__memchr): Don't use BP_SYM.
29732 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29733 <bp-sym.h> and <bp-asm.h>.
29734 (memcmp): Don't use BP_SYM. Remove comment about bounded
29735 pointers.
29736 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29737 <bp-sym.h> and <bp-asm.h>.
29738 (memcpy): Don't use BP_SYM.
29739 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29740 <bp-sym.h> and <bp-asm.h>.
29741 (__mempcpy): Don't use BP_SYM.
29742 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29743 <bp-sym.h> and <bp-asm.h>.
29744 (__memrchr): Don't use BP_SYM.
29745 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29746 <bp-sym.h> and <bp-asm.h>.
29747 (memset): Don't use BP_SYM.
29748 (__bzero): Likewise.
29749 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29750 <bp-sym.h> and <bp-asm.h>.
29751 (__rawmemchr): Don't use BP_SYM.
29752 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29753 <bp-sym.h> and <bp-asm.h>.
29754 (__STRCMP): Don't use BP_SYM.
29755 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29756 <bp-sym.h> and <bp-asm.h>.
29757 (strchr): Don't use BP_SYM.
29758 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29759 <bp-sym.h> and <bp-asm.h>.
29760 (__strchrnul): Don't use BP_SYM.
29761 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29762 <bp-sym.h> and <bp-asm.h>.
29763 (strlen): Don't use BP_SYM.
29764 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29765 <bp-sym.h> and <bp-asm.h>.
29766 (strncmp): Don't use BP_SYM. Remove comment about bounded
29767 pointers.
29768 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29769 <bp-sym.h> and <bp-asm.h>.
29770 (__strnlen): Don't use BP_SYM.
29771 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29772 <bp-sym.h> and <bp-asm.h>.
29773 (__GI__setjmp): Don't use BP_SYM.
29774 (_setjmp): Likewise.
29775 (__sigsetjmp): Likewise.
29776 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29777 (L(start_addresses)): Don't use BP_SYM.
29778 (_start): Likewise.
29779 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29780 <bp-asm.h>.
29781 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29782 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29783 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29784 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29785 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29786 <bp-asm.h>.
29787 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29788 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29789 about bounded pointers.
29790 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29791 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29792 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29793 <bp-asm.h>.
29794 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29795 about bounded pointers. Remove GKM FIXME comments.
29796 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29797 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29798 <bp-asm.h>.
29799 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29800 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29801 Remove GKM FIXME comments.
29802 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29803 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29804 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29805 <bp-asm.h>.
29806 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29807 about bounded pointers. Remove GKM FIXME comment.
29808 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29809 and <bp-asm.h>.
29810 (strncmp): Don't use BP_SYM. Remove comment about bounded
29811 pointers.
29812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29813 <bp-sym.h> and <bp-asm.h>.
29814 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29816 <bp-sym.h> and <bp-asm.h>.
29817 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29818 comment.
29819
cdcf361f
PP
298202013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29821
29822 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29823 call free(NULL).
29824
3c4a2b15
DM
298252013-03-05 David S. Miller <davem@davemloft.net>
29826
29827 * po/es.po: Update from translation team.
29828
cdcf361f 298292013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29830
29831 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29832 <bits/mman-linux.h>.
29833 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29834 is fine.
29835 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29836 <bits/mman-linux.h> to end of file.
29837 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29838 is fine.
29839 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29840 <bits/mman-linux.h> to end of file.
29841 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29842 is fine.
29843 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29844 <bits/mman-linux.h> to end of file.
29845
29846 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29847 (MCL_CURRENT, MCL_FUTURE): Define here.
29848
5f67c04f
AK
298492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29850
8a4473cc 29851 [BZ #15232]
5f67c04f
AK
29852 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29853 attribute_hidden.
29854 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29855
c3e94a95
AK
298562013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29857
29858 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29859 fourth parameter needed for rt_sigprocmask syscall.
29860 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29861 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29862 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29863 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29864 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29865 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29866
cfb6382a
JM
298672013-03-04 Joseph Myers <joseph@codesourcery.com>
29868
29869 [BZ #13550]
29870 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29871 comment about bounded pointers.
29872 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29873 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29874
539d8e01
AJ
298752013-03-04 Andreas Jaeger <aj@suse.de>
29876
29877 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29878 common definitions.
29879
29880 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29881 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29882 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29883 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29884 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29885 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29886
2e167a70 298872013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29888
29889 [BZ #15055]
29890 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29891 __ieee754_sqrl instead of __sqrl.
29892
68508633
JM
298932013-03-01 Joseph Myers <joseph@codesourcery.com>
29894
29895 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29896 * sysdeps/powerpc/fpu_control.h: ... here.
29897 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29898 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29899 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29900 * sysdeps/powerpc/bits/mathinline.h: ... here.
29901
7775448e
RM
299022013-03-01 Roland McGrath <roland@hack.frob.com>
29903
29904 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29905 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29906 to just [NEED_DL_SYSINFO_DSO].
29907 * elf/dl-support.c: Likewise.
29908 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29909 * elf/rtld.c (dl_main): Likewise.
29910 * elf/setup-vdso.h (setup_vdso): Likewise.
29911 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29912 * sysdeps/unix/sysv/linux/dl-sysdep.c
29913 (_dl_discover_osversion): Likewise.
29914
4e9b5995
CD
299152013-03-01 Carlos O'Donell <carlos@redhat.com>
29916
29917 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29918 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29919
e23872c8
SP
299202013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29921
e5c74c63
SP
29922 * NEWS: Mention libm performance improvements and non-x86 PI
29923 futex support.
29924
e23872c8
SP
29925 * csu/libc-start.c (__pthread_initialize_minimal): Change
29926 function arguments.
29927 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29928
b5510883
JM
299292013-02-28 Joseph Myers <joseph@codesourcery.com>
29930
29931 [BZ #13550]
29932 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29933 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29934 <bp-sym.h> and <bp-asm.h>.
29935 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29936 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29937 and <bp-asm.h>.
29938 (memcpy): Don't use BP_SYM.
29939 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29940 <bp-asm.h>.
29941 (__mpn_add_n): Don't use BP_SYM.
29942 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29943 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29944 and <bp-asm.h>.
29945 (__mpn_addmul_1): Don't use BP_SYM.
29946 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29947 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29948 <bp-sym.h>.
29949 (_setjmp): Don't use BP_SYM.
29950 (__novmx_setjmp): Likewise.
29951 (__GI__setjmp): Likewise.
29952 (__vmx_setjmp): Likewise.
29953 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29954 <bp-sym.h>.
29955 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29956 (__bzero): Don't use BP_SYM.
29957 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29958 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29959 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29960 <bp-sym.h> and <bp-asm.h>.
29961 (memcpy): Don't use BP_SYM.
29962 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29963 <bp-sym.h> and <bp-asm.h>.
29964 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29965 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29966 <bp-sym.h> and <bp-asm.h>.
29967 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29968 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29969 <bp-asm.h>.
29970 (__mpn_lshift): Don't use BP_SYM.
29971 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29972 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29973 <bp-asm.h>.
29974 (memset): Don't use BP_SYM.
29975 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29976 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29977 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29978 <bp-asm.h>.
29979 (__mpn_mul_1): Don't use BP_SYM.
29980 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29981 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29982 <bp-sym.h> and <bp-asm.h>.
29983 (memcmp): Don't use BP_SYM.
29984 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29985 <bp-sym.h> and <bp-asm.h>.
29986 (memcpy): Don't use BP_SYM.
29987 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29988 <bp-sym.h> and <bp-asm.h>.
29989 (memset): Don't use BP_SYM.
29990 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29991 <bp-sym.h> and <bp-asm.h>.
29992 (strncmp): Don't use BP_SYM.
29993 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29994 <bp-sym.h> and <bp-asm.h>.
29995 (memcpy): Don't use BP_SYM.
29996 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29997 <bp-sym.h> and <bp-asm.h>.
29998 (memset): Don't use BP_SYM.
29999 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30000 <bp-sym.h> and <bp-asm.h>.
30001 (__memchr): Don't use BP_SYM.
30002 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30003 <bp-sym.h> and <bp-asm.h>.
30004 (memcmp): Don't use BP_SYM.
30005 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30006 <bp-sym.h> and <bp-asm.h>.
30007 (memcpy): Don't use BP_SYM.
30008 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30009 <bp-sym.h> and <bp-asm.h>.
30010 (__mempcpy): Don't use BP_SYM.
30011 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30012 <bp-sym.h> and <bp-asm.h>.
30013 (__memrchr): Don't use BP_SYM.
30014 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30015 <bp-sym.h> and <bp-asm.h>.
30016 (memset): Don't use BP_SYM.
30017 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30018 <bp-sym.h> and <bp-asm.h>.
30019 (__rawmemchr): Don't use BP_SYM.
30020 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30021 <bp-sym.h> and <bp-asm.h>.
30022 (__STRCMP): Don't use BP_SYM.
30023 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30024 <bp-sym.h> and <bp-asm.h>.
30025 (strchr): Don't use BP_SYM.
30026 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30027 <bp-sym.h> and <bp-asm.h>.
30028 (__strchrnul): Don't use BP_SYM.
30029 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30030 <bp-sym.h> and <bp-asm.h>.
30031 (strlen): Don't use BP_SYM.
30032 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30033 <bp-sym.h> and <bp-asm.h>.
30034 (strncmp): Don't use BP_SYM.
30035 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30036 <bp-sym.h> and <bp-asm.h>.
30037 (__strnlen): Don't use BP_SYM.
30038 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30039 <bp-asm.h>.
30040 (__mpn_rshift): Don't use BP_SYM.
30041 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30042 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30043 <bp-sym.h> and <bp-asm.h>.
30044 (__sigsetjmp): Don't use BP_SYM.
30045 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30046 (L(start_addresses)): Don't use BP_SYM.
30047 (_start): Likewise.
30048 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30049 <bp-asm.h>.
30050 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30051 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30052 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30053 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30054 <bp-asm.h>.
30055 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30056 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30057 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30058 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30059 <bp-asm.h>.
30060 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30061 comments.
30062 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30063 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30064 <bp-asm.h>.
30065 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30066 FIXME comments.
30067 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30068 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30069 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30070 <bp-asm.h>.
30071 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30072 comment.
30073 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30074 and <bp-asm.h>.
30075 (strncmp): Don't use BP_SYM,
30076 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30077 <bp-asm.h>.
30078 (__mpn_sub_n): Don't use BP_SYM.
30079 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30080 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30081 and <bp-asm.h>.
30082 (__mpn_submul_1): Don't use BP_SYM.
30083 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30085 <bp-sym.h> and <bp-asm.h>.
30086 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30088 <bp-sym.h> and <bp-asm.h>.
30089 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30090 comment.
30091
8d19fe64
SP
300922013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30093
30094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30095 Use ZK to minimize writes to Z.
30096 (sub_magnitudes): Simplify code a bit.
30097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30098 Use ZK to minimize writes to Z.
30099 (sub_magnitudes): Simplify code a bit.
30100
85bd816a
RM
301012013-02-27 Roland McGrath <roland@hack.frob.com>
30102
30103 * csu/gmon-start.c: Add special exception to license text.
30104
b5977bf2
RH
301052013-02-27 Richard Henderson <rth@redhat.com>
30106
30107 * scripts/config.guess: Update from config.git.
30108 * scripts/config.sub: Likewise.
30109
11d6e2f2
SP
301102013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30111
09c14ed2
SP
30112 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30113
a688864e
SP
30114 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30115
6295157a
SP
30116 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30117
b8de2202
SP
30118 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30119
11d6e2f2
SP
30120 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30121
7e80ddb8
RM
301222013-02-26 Roland McGrath <roland@hack.frob.com>
30123
30124 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30125 [$(build-shared = yes].
7e80ddb8 30126
7da6d9ed
SP
301272013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30128
45f05884
SP
30129 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30130 (__mul): Reduce iterations for calculating mantissa.
30131
2236d359
SP
30132 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30133 MPTWO.
30134 (__mpranred): Likewise.
30135
7da6d9ed
SP
30136 [BZ #15160]
30137 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30138 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30139
b7688c42
PE
301402013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30141
30142 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30143 Define __attribute__.
30144
53a5c423
SP
301452013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30146
30147 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30148 unused.
30149 * posix/regex_internal.h (__attribute): Remove.
30150 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30151 (re_string_context_at): Likewise.
30152 (bitset_not): Use __attribute__ and mark function as possibly
30153 unused.
30154 (bitset_merge): Likewise.
30155 (bitset_mask): Likewise.
30156 (re_string_char_size_at): Likewise.
30157 (re_string_wchar_at): Likewise.
30158 (re_string_elem_size_at): Likewise.
30159
60f5a8b5
SP
301602013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30161
2a983a2e
SP
30162 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30163 code.
30164 (cc32): Likewise.
30165
e69804d1
SP
30166 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30167 (__acr): Likewise.
30168 (__cpy): Likewise.
30169 (norm): Likewise.
30170 (denorm): Likewise.
30171 (__dbl_mp): Likewise.
30172 (add_magnitudes): Likewise.
30173 (sub_magnitudes): Likewise.
30174 (__mul): Likewise.
30175 (__inv): Likewise.
30176
2f22a1e8
SP
30177 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30178 style.
30179
8930ddc7
SP
30180 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30181 style.
30182
dc60cb11
SP
30183 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30184 code.
30185
60f5a8b5
SP
30186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30187 up changes with default code.
30188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30189 Likewise.
30190
b4d1fd33
AM
301912013-02-24 Allan McRae <allan@archlinux.org>
30192
faf6f8bc
AM
30193 * manual/socket.texi (The Internet Namespace): Order menu items
30194 to match that in the file.
30195
b4d1fd33
AM
30196 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30197 node listing of the info page menu.
30198
2366713d
JM
301992013-02-21 Joseph Myers <joseph@codesourcery.com>
30200
30201 [BZ #13550]
30202 * sysdeps/i386/bp-asm.h: Remove file.
30203 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30204 (PARMS): Do not use macros from bp-asm.h.
30205 (S1): Likewise.
30206 (S2): Likewise.
30207 (SIZE): Likewise.
30208 (__mpn_add_n): Do not use BP_SYM
30209 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30210 "bp-asm.h".
30211 (PARMS): Do not use macros from bp-asm.h.
30212 (S1): Likewise.
30213 (SIZE): Likewise.
30214 (__mpn_addmul_1): Do not use BP_SYM
30215 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30216 "bp-asm.h".
30217 (PARMS): Do not use macros from bp-asm.h.
30218 (SIGMSK): Likewise.
30219 (_setjmp): Likewise. Do not use BP_SYM.
30220 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30221 "bp-asm.h".
30222 (PARMS): Do not use macros from bp-asm.h.
30223 (SIGMSK): Likewise.
30224 (setjmp): Likewise. Do not use BP_SYM.
30225 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30226 "bp-asm.h".
30227 (PARMS): Do not use macros from bp-asm.h.
30228 (__frexp): Do not use BP_SYM.
30229 (frexp): Likewise.
30230 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30231 "bp-asm.h".
30232 (PARMS): Do not use macros from bp-asm.h.
30233 (__frexpf): Do not use BP_SYM.
30234 (frexpf): Likewise.
30235 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30236 "bp-asm.h".
30237 (PARMS): Do not use macros from bp-asm.h.
30238 (__frexpl): Do not use BP_SYM.
30239 (frexpl): Likewise.
30240 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30241 "bp-asm.h".
30242 (PARMS): Do not use macros from bp-asm.h.
30243 (__remquo): Do not use BP_SYM.
30244 (remquo): Likewise.
30245 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30246 "bp-asm.h".
30247 (PARMS): Do not use macros from bp-asm.h.
30248 (__remquof): Do not use BP_SYM.
30249 (remquof): Likewise.
30250 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30251 "bp-asm.h".
30252 (PARMS): Do not use macros from bp-asm.h.
30253 (__remquol): Do not use BP_SYM.
30254 (remquol): Likewise.
30255 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30256 "bp-asm.h".
30257 (PARMS): Do not use macros from bp-asm.h.
30258 (DEST): Likewise.
30259 (SRC): Likewise.
30260 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30261 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30262 "bp-asm.h".
30263 (PARMS): Do not use macros from bp-asm.h.
30264 (strlen): Do not use BP_SYM.
30265 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30266 "bp-asm.h".
30267 (PARMS): Do not use macros from bp-asm.h.
30268 (S1): Likewise.
30269 (S2): Likewise.
30270 (SIZE): Likewise.
30271 (__mpn_add_n): Do not use BP_SYM.
30272 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30273 "bp-asm.h".
30274 (PARMS): Do not use macros from bp-asm.h.
30275 (S1): Likewise.
30276 (SIZE): Likewise.
30277 (__mpn_addmul_1): Do not use BP_SYM.
30278 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30279 weak_alias.
30280 (bzero): Likewise.
30281 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30282 "bp-asm.h".
30283 (PARMS): Do not use macros from bp-asm.h.
30284 (S): Likewise.
30285 (SIZE): Likewise.
30286 (__mpn_lshift): Do not use BP_SYM.
30287 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30288 "bp-asm.h".
30289 (PARMS): Do not use macros from bp-asm.h.
30290 (DEST): Likewise.
30291 (SRC): Likewise.
30292 (LEN): Likewise.
30293 (memcpy): Likewise. Do not use BP_SYM.
30294 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30295 libc_hidden_def and weak_alias.
30296 (mempcpy): Do not use BP_SYM in weak_alias.
30297 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30298 "bp-asm.h".
30299 (PARMS): Do not use macros from bp-asm.h.
30300 (DEST): Likewise.
30301 (LEN): Likewise.
30302 [!BZERO_P] (CHR): Likewise.
30303 (memset): Likewise. Do not use BP_SYM.
30304 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30305 "bp-asm.h".
30306 (PARMS): Do not use macros from bp-asm.h.
30307 (S1): Likewise.
30308 (SIZE): Likewise.
30309 (__mpn_mul_1): Do not use BP_SYM.
30310 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30311 "bp-asm.h".
30312 (PARMS): Do not use macros from bp-asm.h.
30313 (S): Likewise.
30314 (SIZE): Likewise.
30315 (__mpn_rshift): Do not use BP_SYM.
30316 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30317 "bp-asm.h".
30318 (PARMS): Do not use macros from bp-asm.h.
30319 (STR): Likewise.
30320 (CHR): Likewise.
30321 (strchr): Likewise. Do not use BP_SYM.
30322 (index): Do not use BP_SYM in weak_alias.
30323 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30324 "bp-asm.h".
30325 (PARMS): Do not use macros from bp-asm.h.
30326 (DEST): Likewise.
30327 (SRC): Likewise.
30328 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30329 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30330 "bp-asm.h".
30331 (PARMS): Do not use macros from bp-asm.h.
30332 (strlen): Do not use BP_SYM.
30333 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30334 "bp-asm.h".
30335 (PARMS): Do not use macros from bp-asm.h.
30336 (S1): Likewise.
30337 (S2): Likewise.
30338 (SIZE): Likewise.
30339 (__mpn_sub_n): Do not use BP_SYM.
30340 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30341 "bp-asm.h".
30342 (PARMS): Do not use macros from bp-asm.h.
30343 (S1): Likewise.
30344 (SIZE): Likewise.
30345 (__mpn_submul_1): Do not use BP_SYM.
30346 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30347 "bp-asm.h".
30348 (PARMS): Do not use macros from bp-asm.h.
30349 (S1): Likewise.
30350 (S2): Likewise.
30351 (SIZE): Likewise.
30352 (__mpn_add_n): Do not use BP_SYM.
30353 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30354 weak_alias.
30355 (bzero): Likewise.
30356 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30357 "bp-asm.h".
30358 (PARMS): Do not use macros from bp-asm.h.
30359 (BLK2): Likewise.
30360 (LEN): Likewise.
30361 (memcmp): Do not use BP_SYM.
30362 (bcmp): Do not use BP_SYM in weak_alias.
30363 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30364 "bp-asm.h".
30365 (PARMS): Do not use macros from bp-asm.h.
30366 (DEST): Likewise.
30367 (SRC): Likewise.
30368 (LEN): Likewise.
30369 (memcpy): Likewise. Do not use BP_SYM.
30370 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30371 "bp-asm.h".
30372 (PARMS): Do not use macros from bp-asm.h.
30373 (DEST): Likewise.
30374 (SRC): Likewise.
30375 (LEN): Likewise.
30376 (memmove): Likewise. Do not use BP_SYM.
30377 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30378 "bp-asm.h".
30379 (PARMS): Do not use macros from bp-asm.h.
30380 (DEST): Likewise.
30381 (SRC): Likewise.
30382 (LEN): Likewise.
30383 (__mempcpy): Likewise. Do not use BP_SYM.
30384 (mempcpy): Do not use BP_SYM in weak_alias.
30385 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30386 "bp-asm.h".
30387 (PARMS): Do not use macros from bp-asm.h.
30388 (DEST): Likewise.
30389 (LEN): Likewise.
30390 [!BZERO_P] (CHR): Likewise.
30391 (memset): Likewise. Do not use BP_SYM.
30392 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30393 "bp-asm.h".
30394 (PARMS): Do not use macros from bp-asm.h.
30395 (STR2): Likewise.
30396 (strcmp): Do not use BP_SYM.
30397 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30398 "bp-asm.h".
30399 (PARMS): Do not use macros from bp-asm.h.
30400 (STR): Likewise.
30401 (DELIM): Likewise.
30402 [USE_AS_STRTOK_R] (SAVE): Likewise.
30403 (FUNCTION): Likewise. Do not use BP_SYM.
30404 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30405 aliases.
30406 (strtok_r): Likewise.
30407 (__GI___strtok_r): Likewise.
30408 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30409 (PARMS): Do not use macros from bp-asm.h.
30410 (S): Likewise.
30411 (SIZE): Likewise.
30412 (__mpn_lshift): Do not use BP_SYM.
30413 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30414 (PARMS): Do not use macros from bp-asm.h.
30415 (STR): Likewise.
30416 (CHR): Likewise.
30417 (__memchr): Do not use BP_SYM.
30418 (memchr): Do not use BP_SYM in weak_alias.
30419 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30420 (PARMS): Do not use macros from bp-asm.h.
30421 (BLK2): Likewise.
30422 (LEN): Likewise.
30423 (memcmp): Do not use BP_SYM.
30424 (bcmp): Do not use BP_SYM in weak_alias.
30425 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30426 (PARMS): Do not use macros from bp-asm.h.
30427 (S1): Likewise.
30428 (SIZE): Likewise.
30429 (__mpn_mul_1): Do not use BP_SYM.
30430 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30431 "bp-asm.h".
30432 (PARMS): Do not use macros from bp-asm.h.
30433 (STR): Likewise.
30434 (CHR): Likewise.
30435 (__rawmemchr): Do not use BP_SYM.
30436 (rawmemchr): Do not use BP_SYM in weak_alias.
30437 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30438 (PARMS): Do not use macros from bp-asm.h.
30439 (S): Likewise.
30440 (SIZE): Likewise.
30441 (__mpn_rshift): Do not use BP_SYM.
30442 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30443 (PARMS): Do not use macros from bp-asm.h.
30444 (SIGMSK): Likewise.
30445 (__sigsetjmp): Likewise. Do not use BP_SYM.
30446 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30447 (_start): Do not use BP_SYM.
30448 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30449 (PARMS): Do not use macros from bp-asm.h.
30450 (DEST): Likewise.
30451 (SRC): Likewise.
30452 (__stpcpy): Likewise. Do not use BP_SYM.
30453 (stpcpy): Do not use BP_SYM in weak_alias.
30454 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30455 "bp-asm.h".
30456 (PARMS): Do not use macros from bp-asm.h.
30457 (DEST): Likewise.
30458 (SRC): Likewise.
30459 (LEN): Likewise.
30460 (__stpncpy): Likewise. Do not use BP_SYM.
30461 (stpncpy): Do not use BP_SYM in weak_alias.
30462 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30463 (PARMS): Do not use macros from bp-asm.h.
30464 (STR): Likewise.
30465 (CHR): Likewise.
30466 (strchr): Likewise. Do not use BP_SYM.
30467 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30468 "bp-asm.h".
30469 (PARMS): Do not use macros from bp-asm.h.
30470 (STR): Likewise.
30471 (CHR): Likewise.
30472 (__strchrnul): Likewise. Do not use BP_SYM.
30473 (strchrnul): Do not use BP_SYM in weak_alias.
30474 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30475 "bp-asm.h".
30476 (PARMS): Do not use macros from bp-asm.h.
30477 (STOP): Likewise.
30478 (strcspn): Do not use BP_SYM.
30479 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30480 "bp-asm.h".
30481 (PARMS): Do not use macros from bp-asm.h.
30482 (STR): Likewise.
30483 (STOP): Likewise.
30484 (strpbrk): Likewise. Do not use BP_SYM.
30485 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30486 "bp-asm.h".
30487 (PARMS): Do not use macros from bp-asm.h.
30488 (STR): Likewise.
30489 (CHR): Likewise.
30490 (strrchr): Likewise. Do not use BP_SYM.
30491 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30492 (PARMS): Do not use macros from bp-asm.h.
30493 (SKIP): Likewise.
30494 (strspn): Do not use BP_SYM.
30495 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30496 (PARMS): Do not use macros from bp-asm.h.
30497 (STR): Likewise.
30498 (DELIM): Likewise.
30499 (SAVE): Likewise.
30500 (FUNCTION): Likewise. Do not use BP_SYM.
30501 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30502 aliases.
30503 (strtok_r): Likewise.
30504 (__GI___strtok_r): Likewise.
30505 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30506 (PARMS): Do not use macros from bp-asm.h.
30507 (S1): Likewise.
30508 (S2): Likewise.
30509 (SIZE): Likewise.
30510 (__mpn_sub_n): Do not use BP_SYM.
30511 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30512 "bp-asm.h".
30513 (PARMS): Do not use macros from bp-asm.h.
30514 (S1): Likewise.
30515 (SIZE): Likewise.
30516 (__mpn_submul_1): Do not use BP_SYM.
30517 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30518 <bp-sym.h>.
30519 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30520 and <bp-asm.h>.
30521 (PARMS): Do not use macros from bp-asm.h.
30522 (FLAGS): Likewise.
30523 (PTID): Likewise.
30524 (TLS): Likewise.
30525 (CTID): Likewise.
30526 (__clone): Do not use BP_SYM.
30527 (clone): Do not use BP_SYM in weak_alias.
30528 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30529 and <bp-asm.h>.
30530 (PARMS): Do not use macros from bp-asm.h.
30531 (LEN): Likewise.
30532 (__mmap64): Do not use BP_SYM.
30533 (mmap64): Do not use BP_SYM in weak_alias.
30534 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30535 <bp-sym.h> and <bp-asm.h>.
30536 (PARMS): Do not use macros from bp-asm.h.
30537 (__posix_fadvise64_l64): Do not use BP_SYM.
30538 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30539 (PARMS): Do not use macros from bp-asm.h.
30540 (NSOPS): Likewise.
30541 (semtimedop): Do not use BP_SYM.
30542 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30543 and <bp-asm.h>.
30544
582a3cff
AM
305452013-02-21 Allan McRae <allan@archlinux.org>
30546
30547 * manual/message.texi (Charset conversion in gettext):
30548 Move @end statement to beginning of line.
30549
bab8a695
SP
305502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30551
80945231
SP
30552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30553 static.
30554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30555 Likewise.
30556
bab8a695
SP
30557 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30558 (denorm): Likewise.
30559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30561
e21d7aa7
AK
305622013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30563
30564 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30565 tail-call to the resolved function if pltexit isn't needed.
30566
4c7a4263
SP
305672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30568
30569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30570 or Y being zero as being unlikely.
30571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30572 Likewise.
30573
41f49342
CD
305742013-02-20 Carlos O'Donell <carlos@redhat.com>
30575
30576 * manual/nss.texi (System Databases and Name Service Switch):
30577 Remove frobnicate @pxref.
30578
50022a93
TS
305792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30580
30581 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30582 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30583
08cbd996
PM
305842013-02-20 Petr Machata <pmachata@redhat.com>
30585
30586 * elf/elf.h (R_ARM_TARGET1): New macro.
30587 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30588 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30589 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30590 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30591 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30592 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30593 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30594 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30595 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30596 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30597 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30598 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30599 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30600 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30601 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30602 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30603 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30604 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30605 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30606 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30607 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30608 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30609 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30610 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30611 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30612 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30613 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30614 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30615 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30616 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30617 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30618 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30619 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30620 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30621 (R_ARM_THM_GOT_BREL12): Likewise.
30622 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30623 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30624 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30625 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30626 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30627 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30628 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30629 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30630 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30631
c7b275d6
TS
306322013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30633
30634 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30635 __attribute_used__ to __attribute__ ((unused)).
30636
20cd7fb3
SP
306372013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30638
30639 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30640 powerpc mpa.c.
30641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30642 comment formatting.
30643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30644
92945b52
JM
306452013-02-19 Joseph Myers <joseph@codesourcery.com>
30646
30647 [BZ #13550]
30648 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30649 Remove macro.
30650 (ENTER): Remove both macro definitions.
30651 (LEAVE): Likewise.
30652 (CHECK_BOUNDS_LOW): Likewise.
30653 (CHECK_BOUNDS_HIGH): Likewise.
30654 (CHECK_BOUNDS_BOTH): Likewise.
30655 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30656 (RETURN_BOUNDED_POINTER): Likewise.
30657 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30658 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30659 (POP_ERRNO_LOCATION_RETURN): Likewise.
30660 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30661 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30662 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30663 macros.
30664 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30665 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30666 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30667 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30668 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30669 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30670 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30671 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30672 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30673 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30674 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30675 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30676 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30677 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30678 removed macros.
30679 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30680 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30681 macros.
30682 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30683 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30684 * sysdeps/i386/i586/memset.S (memset): Likewise.
30685 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30686 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30687 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30688 macros.
30689 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30690 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30691 Change uses of L(2) to L(out).
30692 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30693 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30694 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30695 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30696 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30697 removed macros.
30698 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30699 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30700 macros.
30701 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30702 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30703 (RETURN): Do not use macro LEAVE.
30704 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30705 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30706 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30707 * sysdeps/i386/i686/memset.S (memset): Likewise.
30708 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30709 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30710 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30711 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30712 Likewise.
30713 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30714 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30715 L(1_2) and L(1_3) into L(1).
30716 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30717 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30718 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30719 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30720 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30721 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30722 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30723 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30724 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30725 macros.
30726 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30727 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30728 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30729 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30730 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30731 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30732 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30733 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30734 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30735 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30736 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30737 * sysdeps/i386/strspn.S (strspn): Likewise.
30738 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30739 conditional code.
30740 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30741 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30742 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30743 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30744 L(1_3) into L(1_1).
30745 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30746 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30747 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30748 macros.
30749 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30750
2389741a
JJ
307512013-02-19 Jakub Jelinek <jakub@redhat.com>
30752
30753 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30754 macro.
30755
2016b3cd
SP
307562013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30757
e4f22324
SP
30758 * math/atest-exp.c (exp_mpn): Remove ROUND.
30759 * math/atest-exp2.c (exp_mpn): Likewise.
30760 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30761
2016b3cd
SP
30762 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30763 * stdlib/tst-tls-atexit-lib.c: Likewise.
30764 * stdlib/tst-tls-atexit.c: Likewise.
30765
4be9b544
MF
307662013-02-18 Mike Frysinger <vapier@gentoo.org>
30767
30768 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30769 and __attribute_alloc_size__.
30770
2f62b9ee
MF
307712013-02-18 Mike Frysinger <vapier@gentoo.org>
30772
30773 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30774 __attribute_alloc_size__.
30775 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30776 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30777
6ff444c4
MF
307782013-02-18 Mike Frysinger <vapier@gentoo.org>
30779
30780 * include/programs/xmalloc.h: New file.
30781 * catgets/gencat.c: Include it.
30782 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30783 * elf/pldd.c: Likewise.
30784 * iconv/iconv_charmap.c: Likewise.
30785 * iconv/iconvconfig.c: Likewise.
30786 * iconv/strtab.c: Likewise.
30787 * locale/programs/locale.c: Likewise.
30788 * locale/programs/localedef.h: Likewise.
30789 * locale/programs/simple-hash.c: Likewise.
30790 * nscd/nscd.h: Likewise.
30791 * nss/makedb.c: Likewise.
30792 * sysdeps/generic/ldconfig.h: Likewise.
30793
be179c8a
SP
307942013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30795
ba384f6e
SP
30796 * Versions.def: Add GLIBC_2.18.
30797 * include/link.h (struct link_map): New member l_tls_dtor_count.
30798 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30799 (__call_tls_dtors): Likewise.
30800 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30801 __cxa_thread_atexit_impl.
30802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30803 Likewise.
30804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30805 Likewise.
30806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30807 Likewise.
30808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30809 Likewise.
30810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30812 Likewise.
30813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30814 Likewise.
30815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30817 Likewise.
30818 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30819 (tests): Add test case tst-tls-atexit.
30820 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30821 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30822 (GLIBC_PRIVATE): Add __call_tls_dtors.
30823 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30824 for libstdc++.
30825 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30826 * stdlib/tst-tls-atexit.c: New test case.
30827 * stdlib/tst-tls-atexit-lib.c: New test case.
30828
ffaa74cf 30829 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30830
be179c8a
SP
30831 * elf/Versions (ld): Add _dl_find_dso_for_object.
30832 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30833 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30834 (dl_open_worker): Use _dl_find_dso_for_object.
30835 * elf/dl-sym.c (do_sym): Likewise.
30836 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30837
f78b5caa
AK
308382013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30839
30840 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30841 Syntactic changes only.
30842 (_dl_runtime_profile): Do a tail-call to the resolved function.
30843
29691210
JM
308442013-02-17 Joseph Myers <joseph@codesourcery.com>
30845
30846 [BZ #13550]
30847 * sysdeps/x86_64/bp-asm.h: Remove file.
30848 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30849 <bp-sym.h> and <bp-asm.h>.
30850 (__clone): Do not use BP_SYM.
30851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30852 <bp-sym.h> and <bp-asm.h>.
30853 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30854 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30855 "bp-asm.h".
30856 (_setjmp): Do not use BP_SYM.
30857 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30858 "bp-asm.h".
30859 (setjmp): Do not use BP_SYM.
30860 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30861 libc_hidden_def.
30862 (mempcpy): Do not use BP_SYM in weak_alias.
30863 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30864 "bp-asm.h".
30865 (strchr): Do not use BP_SYM.
30866 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30867 "bp-asm.h".
30868 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30869 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30870 (_start): Do not use BP_SYM.
30871 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30872 "bp-asm.h".
30873 (strcat): Do not use BP_SYM.
30874 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30875 "bp-asm.h".
30876 (STRCMP): Do not use BP_SYM.
30877 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30878 "bp-asm.h".
30879 (STRCPY): Do not use BP_SYM.
30880 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30881 "bp-asm.h".
30882 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30883 "bp-asm.h".
30884 (FUNCTION): Do not use BP_SYM.
30885 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30886 weak_alias.
30887 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30888
f238fd19
AJ
308892013-02-17 Andreas Jaeger <aj@suse.de>
30890
30891 * time/Versions: Sort entries.
30892 * string/Versions: Likewise.
30893 * resolv/Versions: Likewise.
30894 * posix/Versions: Likewise.
30895 * iconv/Versions: Likewise.
30896 * elf/Versions: Likewise.
30897 * wcsmbs/Versions: Likewise.
30898
bd07f23c 308992013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30900
22af19f9
SP
30901 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30902 loop termination condition.
30903
4709fe76
SP
30904 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30905 variable to calculate EZ.
30906 (__sqr): Likewise.
2d0e0f29
SP
30907
30908 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30909 the lower precision input.
30910
daaa7713
JM
309112013-02-15 Joseph Myers <joseph@codesourcery.com>
30912
30913 [BZ #13550]
30914 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30915 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30916 (run-via-rtld-prefix): Do not handle %-bp tests.
30917 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30918 (all-object-suffixes): Remove .ob.
30919 (bppfx): Remove variable.
30920 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30921 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30922 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30923 [$(build-bounded) = yes] (libtype.ob): Likewise.
30924 * Makerules (elide-routines.ob): Remove variable.
30925 (do-tests-clean): Do not handle *-bp.out.
30926 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30927 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30928 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30929 (tests): Do not include $(tests-bp.out).
30930 (xtests): Do not include $(xtests-bp.out).
30931 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30932 [$(build-bounded) = yes] ($(addprefix
30933 $(objpfx),$(binaries-bounded))): Remove rule.
30934 ($(objpfx)%-bp.out): Remove rule.
30935 * config.make.in (build-bounded): Remove variable.
30936 * crypt/Makefile [$(build-bounded) = yes]
30937 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30938 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30939 append to variable.
30940 [$(build-bounded) = yes] (install-lib): Likewise.
30941 [$(build-bounded) = yes] (generated): Likewise.
30942 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30943 Remove rule.
30944 * intl/Makefile [$(build-bounded) = yes]
30945 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30946 * math/Makefile [$(build-bounded) = yes]
30947 ($(tests:%=$(objpfx)%-bp): Likewise.
30948 * misc/Makefile [$(build-bounded) = yes]
30949 ($(objpfx)tst-tsearch-bp): Likewise.
30950 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30951 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30952 Remove dependency.
30953 * string/Makefile (o-objects.ob): Remove variable.
30954 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30955 (CFLAGS-.ob): Remove variable.
30956 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30957 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30958 both definitions of variable.
30959 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30960 (ASFLAGS-.ob): Remove variable.
30961
e97ed6dd
JM
309622013-02-14 Joseph Myers <joseph@codesourcery.com>
30963
2bdd4ca6
JM
30964 [BZ #13550]
30965 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30966 Remove __BOUNDED_POINTERS__ from condition.
30967 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30968 * string/bits/string2.h [!__NO_STRING_INLINES &&
30969 !__BOUNDED_POINTERS__]: Likewise.
30970 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30971 Likewise.
30972 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30973 Remove conditional code.
30974 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30975 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30976 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30977 condition.
30978
e97ed6dd
JM
30979 [BZ #13550]
30980 * csu/libc-start.c: Do not include <bp-sym.h>.
30981 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30982 * elf/dl-open.c: Do not include <bp-sym.h>.
30983 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30984 * math/fegetenv.c: Do not include <bp-sym.h>.
30985 (fegetenv): Do not use BP_SYM in versioned symbols.
30986 * nptl/sysdeps/pthread/bits/libc-lockP.h
30987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30988 <bp-sym.h>.
30989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30990 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30992 (__pthread_mutex_destroy): Likewise.
30993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30994 (__pthread_mutex_lock): Likewise.
30995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30996 (__pthread_mutex_trylock): Likewise.
30997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30998 (__pthread_mutex_unlock): Likewise.
30999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31000 (__pthread_mutexattr_init): Likewise.
31001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31002 (__pthread_mutexattr_destroy): Likewise.
31003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31004 (__pthread_mutexattr_settype): Likewise.
31005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31006 (__pthread_rwlock_init): Likewise.
31007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31008 (__pthread_rwlock_destroy): Likewise.
31009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31010 (__pthread_rwlock_rdlock): Likewise.
31011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31012 (__pthread_rwlock_tryrdlock): Likewise.
31013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31014 (__pthread_rwlock_wrlock): Likewise.
31015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31016 (__pthread_rwlock_trywrlock): Likewise.
31017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31018 (__pthread_rwlock_unlock): Likewise.
31019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31020 (__pthread_key_create): Likewise.
31021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31022 (__pthread_setspecific): Likewise.
31023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31024 (__pthread_getspecific): Likewise.
31025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31026 Likewise.
31027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31028 (_pthread_cleanup_push_defer): Likewise.
31029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31030 (_pthread_cleanup_pop_restore): Likewise.
31031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31032 (pthread_setcancelstate): Likewise.
31033 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31034 <bp-sym.h>.
31035 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31036 (memchr): Do not use BP_SYM in weak_alias.
31037 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31038 (fegetenv): Do not use BP_SYM in versioned symbols.
31039 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31040 (fesetenv): Do not use BP_SYM in versioned symbols.
31041 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31042 (feupdateenv): Do not use BP_SYM in versioned symbols.
31043 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31044 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31045 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31046 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31047 (open64): Do not use BP_SYM in weak_alias.
31048 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31049 (fegetenv): Do not use BP_SYM in versioned symbols.
31050 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31051 (fesetenv): Do not use BP_SYM in versioned symbols.
31052 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31053 (feupdateenv): Do not use BP_SYM in versioned symbols.
31054 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31055 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31056 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31057 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31058 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31059 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31060 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31061 <bp-sym.h>.
31062 (__libc_start_main): Do not use BP_SYM.
31063
d6752ccd
SP
310642013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31065
cb57ce60
SP
31066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31067 redundant return line.
31068 (norm): Likewise.
31069 (denorm): Likewise.
31070 (dbl_mp): Likewise.
31071 (sub_magnitudes): Likewise.
31072 (__add): Likewise.
31073 (__sub): Likewise.
31074 (__mul): Likewise.
31075 (__inv): Likewise.
31076 (__dvd): Likewise.
31077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31078 (norm): Likewise.
31079 (denorm): Likewise.
31080 (dbl_mp): Likewise.
31081 (sub_magnitudes): Likewise.
31082 (__add): Likewise.
31083 (__sub): Likewise.
31084 (__mul): Likewise.
31085 (__inv): Likewise.
31086 (__dvd): Likewise.
31087
f414520d
SP
31088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31089 instead of __mul.
31090 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31091 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31092 (cc32): Likewise.
31093
d6752ccd
SP
31094 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31095 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31096 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31097 of __mul for squares.
31098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31099 function
31100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31101 Likewise.
31102 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31103 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31104
70d9946a
JM
311052013-02-13 Joseph Myers <joseph@codesourcery.com>
31106
31107 [BZ #13550]
31108 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31109 code.
31110 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31111 prototype or function definition. Rename ubp_* variables and
31112 parameters. Remove argv definitions conditional on
31113 [__BOUNDED_POINTERS__].
31114 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31115 * elf/dl-runtime.c (_dl_fixup): Likewise.
31116 * include/set-hooks.h (RUN_HOOK): Likewise.
31117 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31118 definition.
31119 * string/strcpy.c (strcpy): Do not use __unbounded.
31120 * sysdeps/generic/frame.h (struct layout): Likewise.
31121 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31122 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31123 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31124 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31125 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31126 (__backtrace): Likewise.
31127 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31128 use __ptrvalue.
31129 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31130 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31131 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31132 Likewise.
31133 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31134 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31135 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31136 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31137 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31138 Do not use __unbounded.
31139 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31140 Rename __unboundedrlimits parameter to rlimits in prototype.
31141 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31142 Do not use __unbounded.
31143 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31144 not use __ptrvalue.
31145 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31146 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31147 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31148 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31149 __ptrvalue or __unbounded.
31150 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31151 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31152 use __unbounded.
31153 (__new_msgctl): Do not use __ptrvalue.
31154 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31155 __unbounded.
31156 (__libc_msgrcv): Do not use __ptrvalue.
31157 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31158 startup_info): Do not use __unbounded.
31159 (__libc_start_main): Likewise. Rename ubp_* variables and
31160 parameters. Remove argv definitions conditional on
31161 [__BOUNDED_POINTERS__].
31162 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31163 __ptrvalue.
31164 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31165 use __unbounded.
31166 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31167 or __ptrvalue.
31168 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31169 use __unbounded.
31170 (__new_shmctl): Do not use __ptrvalue.
31171 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31172 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31173 Likewise.
31174 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31175 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31176 (__libc_sigaction): Likewise.
31177 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31178 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31179 Likewise.
31180 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31181
cc7834d6
OB
311822013-02-13 Ondřej Bílka <neleai@seznam.cz>
31183
ffb1ec7b 31184 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31185
31186 * string/mempcpy.c: Implement by calling memcpy.
31187
bdf02814
SP
311882013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31189
c2af38aa
SP
31190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31191
4e92d59e
SP
31192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31193 evaluation.
31194
909279a5
SP
31195 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31196 values in the mantissa.
31197
bdf02814
SP
31198 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31199 minimize writes to Z.
31200 (sub_magnitudes): Simplify code a bit.
31201
cd525923
RM
312022013-02-12 Roland McGrath <roland@hack.frob.com>
31203
31204 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31205 from the message. The linker prefixes all warnings with that already.
31206
7e2f0d2d
AS
312072013-02-12 Andreas Schwab <schwab@suse.de>
31208
a445af0b
AS
31209 [BZ #15078]
31210 * posix/regexec.c (extend_buffers): Add parameter min_len.
31211 (check_matching): Pass minimum needed length.
31212 (clean_state_log_if_needed): Likewise.
31213 (get_subexp): Likewise.
31214 * posix/Makefile (tests): Add bug-regex34.
31215 (bug-regex34-ENV): Define.
31216 * posix/bug-regex34.c: New file.
31217
7e2f0d2d
AS
31218 [BZ #11561]
31219 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31220 elements compare against the byte sequence of it, not its name.
31221 * posix/Makefile (tests): Add bug-regex35.
31222 (bug-regex35-ENV): Define.
31223 * posix/bug-regex35.c: New file.
31224
a175b684
TV
312252013-02-11 Tom de Vries <tom@codesourcery.com>
31226
31227 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31228 comment.
31229 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31230 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31231 (CHECK_EOL): Add undef.
31232
310998fe 312332013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31234
31235 * bits/stdlib-bsearch.h: New file.
31236 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31237 * stdlib/stdlib.h: Likewise.
41eda41d 31238
8ded91fb
RM
312392013-02-11 Roland McGrath <roland@hack.frob.com>
31240
31241 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31242 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31243 declaration.
31244 * manual/search.texi (Array Search Function): Add missing const in
31245 lfind prototype.
31246 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31247 declaration to use rlim_t.
31248 (Basic Scheduling Functions): Remove erroneous const from
31249 sched_getparam prototype. Remove erroneous * from
31250 sched_get_priority_max and sched_get_priority_min prototypes.
31251 (Resource Usage): Fix summary @comment on vtimes to refer to
31252 sys/vtimes.h rather than vtimes.h.
31253 Add missing *s in vtimes prototype.
31254 (Limits on Resources): Fix ulimit prototype to return long int.
31255 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31256 prototypes to use long int rather than double.
31257 (BSD Random): Fix initstate and setstate to use char *, not void *.
31258 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31259 prototype to make second argument 'struct aiocb64 *const[]'.
31260 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31261 (Status of AIO Operations): Remove erroneous const in aio_return and
31262 aio_return64 prototypes.
31263 (Synchronizing I/O): Fix sync prototype to return void.
31264 * manual/startup.texi (Suboptions): Remove an erroneous const in
31265 getsubopt prototype.
31266 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31267 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31268 use size_t rather than int.
31269 (Scanning All Users): Likewise for getpwent_r.
31270 (Setting Groups): Add missing const to setgroups prototype.
31271 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31272 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31273 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31274 'const void *' rather than 'const char *'.
31275 (Host Address Functions): Likewise for inet_ntop.
31276 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31277 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31278 ssize_t for return value.
31279 (Sending Data): Likewise for send, sendto, sendmsg.
31280 (Socket Option Functions): Add a missing const in setsockopt prototype.
31281 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31282 use wchar_t for the argument.
31283 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31284 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31285 take no arguments.
31286 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31287 double/float/long double for second argument.
31288 Fix return types of significand, significandf, significandl.
31289 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31290 argument in fchmod prototype.
31291 (File Owner): Use uid_t and gid_t in fchown prototype.
31292 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31293 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31294 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31295 use 'const struct dirent **' as argument types to CMP function pointer
31296 argument.
31297 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31298 (File Times): Fix summary magic @comment for struct utimbuf and utime
31299 to refer to utime.h, not time.h.
31300 * manual/string.texi (Argz Functions): Add missing const in
31301 argz_extract and argz_next prototypes.
31302 (Finding Tokens in a String): Likewise for basename.
31303 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31304 (Copying and Concatenation): Fix typo in wmemmove prototype.
31305 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31306 (Signal Stack): Remove erroneous const in sigstack prototype.
31307 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31308 prototype.
31309 (Simple Calendar Time): Likewise for stime.
31310 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31311 prototype.
31312 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31313 say sys/sysctl.h instead.
31314 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31315 and vsyslog prototypes.
31316
fe77fe6d
TV
313172013-02-11 Tom de Vries <tom@codesourcery.com>
31318
31319 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31320 Remove.
31321
3a09b620
RM
313222013-02-11 Roland McGrath <roland@hack.frob.com>
31323
31324 * misc/sys/mman.h: Fix typo in mremap comment.
31325
550a0b89
RM
313262013-02-08 Roland McGrath <roland@hack.frob.com>
31327
31328 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31329 the '\0' terminator.
31330
a2da1673
JM
313312013-02-08 Joseph Myers <joseph@codesourcery.com>
31332
31333 [BZ #13550]
31334 * debug/segfault.c: Don't include <bp-checks.h>.
31335 * sysdeps/generic/bp-checks.h: Remove file.
31336 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31337 (__GETDENTS): Don't use CHECK_N.
31338 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31339 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31340 (__getgroups): Don't use CHECK_N.
31341 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31342 (setgroups): Don't use CHECK_N.
31343 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31344 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31345 (__libc_msgrcv): Don't use CHECK_N.
31346 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31347 (__libc_msgsnd): Don't use CHECK_N.
31348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31349 <bp-checks.h>.
31350 (__libc_pread): Don't use CHECK_N.
31351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31352 include <bp-checks.h>.
31353 (__libc_pread64): Don't use CHECK_N.
31354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31355 include <bp-checks.h>.
31356 (__libc_pwrite): Don't use CHECK_N.
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31358 include <bp-checks.h>.
31359 (__libc_pwrite64): Don't use CHECK_N.
31360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31361 <bp-checks.h>.
31362 (__libc_pread): Don't use CHECK_N.
31363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31364 include <bp-checks.h>.
31365 (__libc_pread64): Don't use CHECK_N.
31366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31367 include <bp-checks.h>.
31368 (__libc_pwrite): Don't use CHECK_N.
31369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31370 include <bp-checks.h>.
31371 (__libc_pwrite64): Don't use CHECK_N.
31372 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31373 (do_pread): Don't use CHECK_N.
31374 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31375 (do_pread64): Don't use CHECK_N.
31376 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31377 (do_pwrite): Don't use CHECK_N.
31378 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31379 (do_pwrite64): Don't use CHECK_N.
31380 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31381 (__libc_readv): Don't use CHECK_N.
31382 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31383 (semop): Don't use CHECK_N.
31384 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31385 <bp-checks.h>.
31386 (semtimedop): Don't use CHECK_N.
31387 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31388 (__libc_pread): Don't use CHECK_N.
31389 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31390 <bp-checks.h>.
31391 (__libc_pread64): Don't use CHECK_N.
31392 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31393 <bp-checks.h>.
31394 (__libc_pwrite): Don't use CHECK_N.
31395 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31396 <bp-checks.h>.
31397 (__libc_pwrite64): Don't use CHECK_N.
31398 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31399 <bp-checks.h>.
31400 (__libc_msgrcv): Don't use CHECK_N.
31401 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31402 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31403 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31404 (__libc_writev): Don't use CHECK_N.
31405
b84660a8
RM
314062013-02-08 Roland McGrath <roland@hack.frob.com>
31407
7f3e75f8
RM
31408 * string/strcpy.c: Removed unused variable.
31409
b84660a8
RM
31410 * Makeconfig (+sysdep-includes): Define with := rather than =.
31411 Use an existing include/ subdir of each sysdeps dir before it.
31412
471514d3
CD
314132013-02-08 Carlos O'Donell <carlos@redhat.com>
31414
31415 * nscd/connection.c (register_traced_file): Comment function.
31416 [HAVE_INOTIFY] (union __inev): Define.
31417 [HAVE_INOTIFY] (inotify_check_files): New function.
31418 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31419 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31420 clear_db_cache.
31421 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31422
b2d3c3be
CD
314232013-02-08 Carlos O'Donell <carlos@redhat.com>
31424
31425 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31426 loaded if not already and that a failure is permanent.
31427
b39949d2
CD
314282013-02-08 Carlos O'Donell <carlos@redhat.com>
31429
ddacd1db 31430 [BZ #15006]
b39949d2
CD
31431 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31432 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31433
b2c9eff4
JM
314342013-02-08 Joseph Myers <joseph@codesourcery.com>
31435
f3aae3f3
JM
31436 [BZ #13550]
31437 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31438 (CHECK_1_NULL_OK): Likewise.
31439 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31440 (__fxstat): Do not use CHECK_1.
31441 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31442 <bp-checks.h>.
31443 (___fxstat64): Do not use CHECK_1.
31444 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31445 <bp-checks.h>.
31446 (__fxstatat): Do not use CHECK_1.
31447 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31448 <bp-checks.h>.
31449 (__fxstatat64): Do not use CHECK_1.
31450 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31451 <bp-checks.h>.
31452 (__fxstat): Do not use CHECK_1.
31453 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31454 <bp-checks.h>.
31455 (__fxstatat): Do not use CHECK_1.
31456 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31457 <bp-checks.h>.
31458 (__getresgid): Do not use CHECK_1.
31459 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31460 <bp-checks.h>.
31461 (__getresuid): Do not use CHECK_1.
31462 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31463 <bp-checks.h>.
31464 (__lxstat): Do not use CHECK_1.
31465 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31466 <bp-checks.h>.
31467 (__old_msgctl): Do not use CHECK_1.
31468 (__new_msgctl): Likewise.
31469 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31470 <bp-checks.h>.
31471 (__new_setrlimit): Do not use CHECK_1.
31472 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31473 <bp-checks.h>.
31474 (__old_shmctl): Do not use CHECK_1.
31475 (__new_shmctl): Likewise.
31476 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31477 <bp-checks.h>.
31478 (__xstat): Do not use CHECK_1.
31479 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31480 (__lxstat): Do not use CHECK_1.
31481 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31482 <bp-checks.h>.
31483 (___lxstat64): Do not use CHECK_1.
31484 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31485 (__old_msgctl): Do not use CHECK_1.
31486 (__new_msgctl): Likewise.
31487 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31488 <bp-checks.h>.
31489 (__gettimeofday): Do not use CHECK_1.
31490 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31491 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31492 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31493 <bp-checks.h>.
31494 (__gettimeofday): Do not use CHECK_1.
31495 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31496 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31497 (__new_shmctl): Do not use CHECK_1.
31498 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31499 <bp-checks.h>.
31500 (do_sigtimedwait): Do not use CHECK_1.
31501 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31502 <bp-checks.h>.
31503 (do_sigwaitinfo): Do not use CHECK_1.
31504 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31505 <bp-checks.h>.
31506 (msgctl): Do not use CHECK_1.
31507 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31508 <bp-checks.h>.
31509 (shmctl): Do not use CHECK_1.
31510 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31511 (ustat): Do not use CHECK_1.
31512 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31513 <bp-checks.h>.
31514 (__fxstat): Do not use CHECK_1.
31515 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31516 <bp-checks.h>.
31517 (__fxstatat): Do not use CHECK_1.
31518 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31519 <bp-checks.h>.
31520 (__lxstat): Do not use CHECK_1.
31521 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31522 <bp-checks.h>.
31523 (__xstat): Do not use CHECK_1.
31524 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31525 (__xstat): Do not use CHECK_1.
31526 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31527 (___xstat64): Do not use CHECK_1.
31528
b2c9eff4
JM
31529 [BZ #13550]
31530 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31531 definitions.
31532 (CHECK_BOUNDS_HIGH): Likewise.
31533 * string/strcpy.c: Do not include <bp-checks.h>.
31534 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31535
f1d70dad
RM
315362013-02-07 Roland McGrath <roland@hack.frob.com>
31537
31538 * nscd/nscd-client.h (__nscd_drop_map_ref):
31539 Add __attribute__ ((unused)).
31540 * nis/nss-nisplus.h (niserr2nss): Likewise.
31541
31542 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31543 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31544
31545 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31546 Remove inline keyword.
31547 * include/rounding-mode.h (round_away): Likewise.
31548 * libio/wfileops.c (adjust_wide_data): Likewise.
31549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31550 (__m128i_strloadu_tolower): Likewise.
31551 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31552 (__m128i_strloadu_tolower): Likewise.
31553 * time/mktime.c (ydhms_diff): Likewise.
31554 * locale/elem-hash.h (elem_hash): Likewise.
31555 * locale/setlocale.c (setdata): Likewise.
31556 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31557 (re_string_wchar_at): Likewise.
31558 (bitset_not, bitset_merge, bitset_mask): Likewise.
31559 [!(__GNUC__ > 3)] (inline): Remove macro.
31560 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31561 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31562 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31563 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31564 * string/memcmp.c (memcmp_bytes): Likewise.
31565 * locale/programs/locarchive.c (compute_hashval): Likewise.
31566 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31567 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31568 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31569 * nss/getent.c (print_rpc, print_protocols): Likewise.
31570 (print_passwd, print_group, print_aliases): Likewise.
31571 * nis/nss-nisplus.h (niserr2nss): Likewise.
31572 * nscd/connections.c (restart_p): Likewise.
31573 Change return type to bool.
31574
eab55bfb
RM
315752013-02-05 Roland McGrath <roland@hack.frob.com>
31576
7bd642f5
RM
31577 * Makeconfig (all-Depend-files): Add existing
31578 $(sorted-subdirs:=/Depend) files.
31579 (all-subdirs): Remove nss.
31580 * sysdeps/unix/inet/Subdirs: Add it here instead.
31581 * hesiod/Depend: New file.
31582
573c29b2
RM
31583 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31584 instead of calling alloca.
31585
b2e25af0
RM
31586 * io/lseek.c (__lseek): Rename to __libc_lseek.
31587 Define __lseek as an alias.
31588
eab55bfb
RM
31589 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31590
9a0d1941
CD
315912013-02-04 Carlos O'Donell <carlos@redhat.com>
31592
31593 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31594 else clause and remove check for non-standard endianness.
31595
b83bbec4
DM
315962013-02-04 David S. Miller <davem@davemloft.net>
31597
31598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31599
6277fdab
JM
316002013-02-04 Joseph Myers <joseph@codesourcery.com>
31601
31602 [BZ #13550]
31603 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31604 (__ubp_memchr): Remove prototype.
31605 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31606 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31607 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31608 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31609 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31610 Remove alias.
31611 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31612 (__ubp_memchr): Likewise.
31613 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31614 (__ubp_memchr): Likewise.
31615 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31616 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31617 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31618 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31619 CHECK_STRING.
31620 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31621 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31622 (__getcwd): Do not use CHECK_STRING.
31623 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31624 <bp-checks.h>.
31625 (__real_chown): Do not use CHECK_STRING.
31626 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31627 <bp-checks.h>.
31628 (fchownat): Do not use CHECK_STRING.
31629 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31630 CHECK_STRING.
31631 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31632 <bp-checks.h>.
31633 (__lchown): Do not use CHECK_STRING.
31634 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31635 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31636 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31637 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31639 include <bp-checks.h>.
31640 (truncate64): Do not use CHECK_STRING.
31641 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31642 <bp-checks.h>.
31643 (__real_chown): Do not use CHECK_STRING.
31644 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31645 <bp-checks.h>.
31646 (__lchown): Do not use CHECK_STRING.
31647 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31648 <bp-checks.h>.
31649 (__chown): Do not use CHECK_STRING.
31650 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31651 <bp-checks.h>.
31652 (truncate64): Do not use CHECK_STRING.
31653 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31654 Likewise.
31655 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31656 (__xmknod): Do not use CHECK_STRING.
31657 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31658 <bp-checks.h>.
31659 (__xmknodat): Do not use CHECK_STRING.
31660 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31661 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31662
903ae060
AS
316632013-02-04 Andreas Schwab <schwab@suse.de>
31664
31665 [BZ #14142]
31666 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31667 * include/netdb.h: Likewise for h_errno.
31668 * elf/tst-stackguard1.c: Include <tls.h>.
31669
542f9466
JK
316702013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31671
31672 * elf/link.h (struct link_map): Extend the l_addr comment.
31673 * include/link.h (struct link_map): Likewise.
31674
e782a927
JM
316752013-02-01 Joseph Myers <joseph@codesourcery.com>
31676
31677 [BZ #13550]
31678 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31679 (BOUNDED_1): Remove macro.
31680 * debug/backtrace.c: Don't include <bp-checks.h>.
31681 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31682 (__backtrace): Likewise.
31683 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31684 <bp-checks.h>.
31685 (__backtrace): Don't use BOUNDED_1.
31686 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31687 <bp-checks.h>.
31688 (__backtrace): Don't use BOUNDED_1.
31689 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31690 (__backtrace): Don't use BOUNDED_1.
31691 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31692 (shmat): Don't use BOUNDED_N.
31693
8cf28c5e
JM
316942013-01-31 Joseph Myers <joseph@codesourcery.com>
31695
3a7ac8a0
JM
31696 [BZ #13550]
31697 * sysdeps/generic/bp-start.h: Remove file.
31698 * csu/libc-start.c: Don't include <bp-start.h>.
31699 (LIBC_START_MAIN): Set up __environ directly instead of using
31700 INIT_ARGV_and_ENVIRON.
31701 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31702 <bp-start.h>.
31703
f3499f95
JM
31704 [BZ #13550]
31705 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31706 definitions.
31707 (CHECK_FCNTL): Likewise.
31708 (CHECK_N_PAGES): Likewise.
31709
32a45bea
JM
31710 [BZ #13550]
31711 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31712 definitions.
31713 (CHECK_SIGSET_NULL_OK): Likewise.
31714 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31715 <bp-checks.h>.
31716 (sigpending): Don't use CHECK_SIGSET.
31717 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31718 <bp-checks.h>.
31719 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31720 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31721 <bp-checks.h>.
31722 (do_sigsuspend): Don't use CHECK_SIGSET.
31723 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31724 use CHECK_SIGSET.
31725 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31726 (do_sigwait): Don't use CHECK_SIGSET.
31727 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31728 use CHECK_SIGSET.
31729 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31730 include <bp-checks.h>.
31731 (sigpending): Don't use CHECK_SIGSET.
31732 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31733 include <bp-checks.h>.
31734 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31735 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31736 <bp-checks.h>.
31737 (sigpending): Don't use CHECK_SIGSET.
31738 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31739 <bp-checks.h>.
31740 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31741
2e8a5c8c
JM
31742 [BZ #13550]
31743 * sysdeps/generic/bp-semctl.h: Remove file.
31744 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31745 <bp-checks.h> and <bp-semctl.h>.
31746 (__old_semctl): Don't use CHECK_SEMCTL.
31747 (__new_semctl): Likewise.
31748 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31749 and <bp-semctl.h>.
31750 (__old_semctl): Don't use CHECK_SEMCTL.
31751 (__new_semctl): Likewise.
31752 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31753 <bp-checks.h> and <bp-semctl.h>.
31754 (__old_semctl): Don't use CHECK_SEMCTL.
31755 (__new_semctl): Likewise.
31756 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31757 <bp-checks.h> and <bp-semctl.h>.
31758 (semctl): Don't use CHECK_SEMCTL.
31759
c2d54929
JM
31760 [BZ #13550]
31761 * Makerules (elide-bp-thunks): Remove variable.
31762 (elide-routines.oS): Don't use $(elide-bp-thunks).
31763 (elide-routines.os): Likewise.
31764 (elide-routines.o): Likewise.
31765 (elide-routines.op): Likewise.
31766 (elide-routines.og): Likewise.
31767 (objects): Don't use $(bp-thunks).
31768 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31769 include.
31770 (common-generated): Do not add s-proto-bp.d.
31771 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31772 (int): Likewise.
31773 (typ): Likewise.
31774 Do not generate makefile rules for bounded-pointer thunks.
31775 * sysdeps/generic/bp-thunks.h: Remove file.
31776 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31777 * sysdeps/unix/s-proto-bp.S: Likewise.
31778
8cf28c5e
JM
31779 [BZ #15062]
31780 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31781 parts of result separately when argument is not close to line from
31782 -i to i and one part of argument is small.
31783 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31784 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31785 * math/libm-test.inc (cacos_test): Add more tests.
31786 (casin_test): Likewise.
31787 (casinh_test): Likewise.
31788 * sysdeps/i386/fpu/libm-test-ulps: Update.
31789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31790
c4e33b8d
DM
317912013-01-31 David S. Miller <davem@davemloft.net>
31792
31793 * po/de.po: Update from translation team.
31794
3b60b421
MK
317952013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31796
31797 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31798
bb931195
TS
317992013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31800
b5a5da23
TS
31801 * configure.in (_AC_PROG_CC_C89): New definition.
31802 * configure: Regenerate.
31803
bb931195
TS
31804 * configure.in (AC_PROG_CPP): New definition.
31805 * configure: Regenerate.
31806
8c53a12c
JM
318072013-01-23 Joseph Myers <joseph@codesourcery.com>
31808
31809 * debug/tst-backtrace.h: New file.
31810 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31811 (ret): Remove variable.
31812 (x): Likewise.
31813 (FAIL): Remove macro.
31814 (NO_INLINE): Likewise.
31815 (fn1): Use match function instead of strstr.
31816 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31817 (ret): Remove variable.
31818 (x): Likewise.
31819 (FAIL): Remove macro.
31820 (NO_INLINE): Likewise.
31821 (fn): Use match function instead of strstr.
31822 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31823 (ret): Remove variable.
31824 (x): Likewise.
31825 (FAIL): Remove macro.
31826 (NO_INLINE): Likewise.
31827 (handle_signal): Use match function instead of strstr.
31828 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31829 (ret): Remove variable.
31830 (x): Likewise.
31831 (FAIL): Remove macro.
31832 (NO_INLINE): Likewise.
31833 (handle_signal): Use match function instead of strstr.
31834
4858fa2a
RM
318352013-01-23 Roland McGrath <roland@hack.frob.com>
31836
31837 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31838
bae8e7f5
DM
318392013-01-23 David S. Miller <davem@davemloft.net>
31840
31841 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31842 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31843 argument of CAS if possible.
31844 * sysdeps/sparc/sparc64/bits/atomic.h
31845 (__arch_compare_and_exchange_val_32_acq): Likewise.
31846 (__arch_compare_and_exchange_val_64_acq): Likewise.
31847
9cbbc4ae
PT
318482013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31849
31850 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31851 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31852 Include <limits.h>.
67b3f58c 31853 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31854
5655a0b5
AC
318552013-01-23 Adam Conrad <adconrad@0c3.net>
31856
31857 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31858 (LDFLAGS-tst-array5): Likewise.
31859
052aff95
JM
318602013-01-23 Joseph Myers <joseph@codesourcery.com>
31861
31862 [BZ #15036]
31863 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31864 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31865 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31866 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31867
7c1e01aa
DM
318682013-01-21 David S. Miller <davem@davemloft.net>
31869
31870 * sysdeps/sparc/backtrace.c: New file.
31871 * sysdeps/sparc/sparc32/backtrace.h: New file.
31872 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31873 * sysdeps/sparc/sparc64/backtrace.h: New file.
31874 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31875 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31876 -funwind-tables.
31877
ab087e0a
AS
318782013-01-21 Andreas Schwab <schwab@suse.de>
31879
31880 [BZ #15020]
31881 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31882 closed its stdout.
31883
ed689c2f
AS
318842013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31885
31886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31887 "mpa2.h".
31888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31889
31d470ac
JM
318902013-01-18 Joseph Myers <joseph@codesourcery.com>
31891 Mark Mitchell <mark@codesourcery.com>
31892 Tom de Vries <tom@codesourcery.com>
31893 Paul Pluzhnikov <ppluzhnikov@google.com>
31894
31895 * debug/tst-backtrace2.c: New file.
31896 * debug/tst-backtrace3.c: Likewise.
31897 * debug/tst-backtrace4.c: Likewise.
31898 * debug/tst-backtrace5.c: Likewise.
31899 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31900 (CFLAGS-tst-backtrace3.c): Likewise.
31901 (CFLAGS-tst-backtrace4.c): Likewise.
31902 (CFLAGS-tst-backtrace5.c): Likewise.
31903 (LDFLAGS-tst-backtrace2): Likewise.
31904 (LDFLAGS-tst-backtrace3): Likewise.
31905 (LDFLAGS-tst-backtrace4): Likewise.
31906 (LDFLAGS-tst-backtrace5): Likewise.
31907 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31908 tst-backtrace4 and tst-backtrace5.
31909
90567f30 319102013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31911 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31912
31913 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31914 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31915 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31916 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31918 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31919 "+r" and remove output regs list as redundant. Add explicit inline
31920 asm to specify register of return val to work around compiler codegen
31921 bug. Remove (int) cast on return value. Add return type parameter to
31922 use in macro so that this macro does not truncate return value for
31923 64-bit values.
31924 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31925 pass to INTERNAL_VSYSCALL_NCS.
31926 (INLINE_VSYSCALL): Add 'long int' as return type to
31927 INTERNAL_VSYSCALL_NCS macro invocation.
31928 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31929 INTERNAL_VSYSCALL_NCS macro invocation.
31930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31931
d3b9ea61
SP
319322013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31933
0b57daeb
SP
31934 [BZ #14496]
31935 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31936 Fix application of SIMD FP exception mask.
31937
caa99d06
SP
31938 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31939 mp_no from a power of two.
31940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31941 __mpexp_twomm1. Use __pow_mp.
31942
d3b9ea61
SP
31943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31944 multiplication.
31945
1dbaee3c
DM
319462013-01-17 David S. Miller <davem@davemloft.net>
31947
31948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31949
728d7b43
JM
319502013-01-17 Joseph Myers <joseph@codesourcery.com>
31951
31952 [BZ #15023]
31953 * include/complex.h: Condition contents on [!_COMPLEX_H].
31954 (__kernel_casinhf): New prototype.
31955 (__kernel_casinh): Likewise.
31956 (__kernel_casinhl): Likewise.
31957 * math/Makefile (libm_calls): Add k_casinh.
31958 * math/k_casinh.c: New file.
31959 * math/k_casinhf.c: Likewise.
31960 * math/k_casinhl.c: Likewise.
31961 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31962 finite nonzero arguments.
31963 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31964 finite nonzero arguments.
31965 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31966 finite nonzero arguments.
31967 * math/s_casinh.c: Do not include <float.h>.
31968 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31969 * math/s_casinhf.c: Do not include <float.h>.
31970 (__casinhf): Move code for finite nonzero arguments to
31971 k_casinhf.c.
31972 * math/s_casinhl.c: Do not include <float.h>.
31973 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31974 redefine.
31975 (__casinhl): Move code for finite nonzero arguments to
31976 k_casinhl.c.
31977 * math/libm-test.inc (cacos_test): Add more tests.
31978 * sysdeps/i386/fpu/libm-test-ulps: Update.
31979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31980
2a26ef3a
PT
319812013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31982
31983 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31984 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31985 [!HAVE_MREMAP]: Remove [defined linux] case.
31986 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31987
a897655d
SP
319882013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31989
31990 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31991
881ebe89 319922013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31993
31994 * elf/elf.h (R_386_SIZE32): New relocation.
31995 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31996 R_386_SIZE32.
31997 (elf_machine_rela): Likewise.
31998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31999 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32000
59981e9b
JM
320012013-01-17 Joseph Myers <joseph@codesourcery.com>
32002
32003 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32004 (FP_FAST_FMA): Do not define.
32005 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32006 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32007 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32008 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32009 !_SOFT_FLOAT]: Likewise.
32010 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32011 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32012 value.
32013 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32014 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32015 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32016 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32017 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32018 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32019 file.
32020
cfa8054f
AS
320212013-01-16 Andreas Schwab <schwab@suse.de>
32022
32023 [BZ #14327]
32024 * include/stdlib.h (__mktemp): Add declaration.
32025 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32026 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32027
dd930cc5
SP
320282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32029
881ebe89
SP
32030 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32031 definitions.
32032 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32033 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32034 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32035 definitions here.
32036 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32037 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32038 definitions.
32039 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32040 and ONE.
32041 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32042 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32043 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32044 definitions.
32045 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32046 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32047 definitions.
32048 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32049
dd930cc5
SP
32050 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32051
c19a9f89
DM
320522013-01-15 David S. Miller <davem@davemloft.net>
32053
1aa61767
DM
32054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32055 trunc{,f} to libm-sysdep_routes.
32056 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32058 file.
32059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32061 file.
32062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32063 file.
32064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32066 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32067 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32068 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32069 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32070 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32071 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32072
c42d5e98
DM
32073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32074 nearbyint{,f} to libm-sysdep_routes.
32075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32077 New file.
32078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32079 file.
32080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32081 New file.
32082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32083 file.
32084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32086 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32087 file.
32088 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32089 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32090 file.
32091 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32092 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32093 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32094
c19a9f89
DM
32095 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32096 libc_feholdexcept and libc_fesetenv.
32097
357679d2
MF
320982013-01-15 Mike Frysinger <vapier@gentoo.org>
32099
32100 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32101
65a82e3d
DM
321022013-01-14 David S. Miller <davem@davemloft.net>
32103
8b954ab9
DM
32104 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32105 (SPARC_ASM_VIS2_IFUNC): Likewise.
32106 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32108 use of 'siam' instruction.
32109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32110 Likewise.
32111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32112 Likewise.
32113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32114 Likewise.
32115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32120 file.
32121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32122 file.
32123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32124 file.
32125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32126 file.
32127 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32132 new VIS2 routines.
32133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32136 Likewise.
32137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32142 routines to libm-sysdep_routines.
32143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32144
65a82e3d
DM
32145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32146 fdim/fdimf to libm-sysdep_routines.
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32148 file.
32149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32151 file.
32152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32155 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32156 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32157 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32158 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32159
e34ab705
SP
321602013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32161
2a91b573
SP
32162 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32163 to optimize copies.
32164
1066a534
SP
32165 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32168
e34ab705
SP
32169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32170 local variable MPTWO.
32171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32172 Likewise.
32173
aba5e596
MF
321742013-01-13 Mike Frysinger <vapier@gentoo.org>
32175
32176 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32177 GLOB_NOESCAPE.
32178
e557e9e5
MF
321792013-01-13 Mike Frysinger <vapier@gentoo.org>
32180
32181 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32182
0428cec9
MF
321832013-01-13 Mike Frysinger <vapier@gentoo.org>
32184
32185 * manual/pattern.texi (glob_t): Document gl_flags.
32186 (glob64_t): Likewise.
32187
8794a964
DM
321882013-01-11 David S. Miller <davem@davemloft.net>
32189
66438c3f
RM
32190 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32191 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32192 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32193 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32194 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32195 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32196 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32197 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32198 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32199 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32200 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32201 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32202 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32203
4ae4244d
DM
32204 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32205 sparc V9 rather than using V8 code.
32206 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32207 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32208
8794a964
DM
32209 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32210 Move to...
32211 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32212 Here.
32213
6270516e
RM
322142013-01-11 Roland McGrath <roland@hack.frob.com>
32215
32216 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32217 not in the main loop.
32218 * configure: Regenerated.
32219
6a57d931
JM
322202013-01-11 Joseph Myers <joseph@codesourcery.com>
32221
32222 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32223 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32224 to just #else.
32225 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32226 [!__GLIBC_HAVE_LONG_LONG] case.
32227 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32228 condition to just #else.
32229 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32230 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32231 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32232 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32233 unconditional.
32234 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32235 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32236 #elif condition to just #else.
32237 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32238 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32239 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32240 #elif condition to just #else.
32241
0e8529e9
SE
322422013-01-11 Steve Ellcey <sellcey@mips.com>
32243
32244 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32245 (EF_MIPS_ARCH_64): Fix value.
32246 (EF_MIPS_ARCH_32R2): New.
32247 (EF_MIPS_ARCH_64R2): New.
32248
740b3dbe
L
322492013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32250
32251 * Makeconfig (+link-pie-before-libc): New.
32252 (+link-pie-after-libc): Likewise.
32253 (+link-pie-tests): Likewise.
32254 (+link-pie): Rewritten.
32255 (link-before-libc): Remove $(config-LDFLAGS).
32256 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32257 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32258 (config-LDFLAGS): Renamed to ...
32259 (rtld-LDFLAGS): This.
32260 (rtld-tests-LDFLAGS): New macro.
32261 (link-libc-rpath-link): Likewise.
32262 (link-libc-tests-rpath-link): Likewise.
32263 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32264 (link-libc): Prepand $(link-libc-rpath-link).
32265 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32266 (test-program-prefix): New macro.
32267 (test-via-rtld-prefix): Likewise.
32268 (test-program-cmd): Likewise.
32269 (host-test-program-cmd): Likewise.
32270 * Makefile ($(common-objpfx)testrun.sh): Replace
32271 $(run-program-prefix) with $(test-program-prefix).
32272 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32273 $(rtld-LDFLAGS).
32274 ($(common-objpfx)shlib.lds): Likewise.
32275 (build-module-helper): Likewise.
32276 ($(common-objpfx)format.lds): Likewise.
32277 * Rules (binaries-pie-tests): New.
32278 (binaries-pie-notests): Likewise.
32279 (binaries-pie): Rewritten.
32280 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32281 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32282 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32283 (make-test-out): Replace $(host-built-program-cmd) with
32284 $(host-test-program-cmd).
32285 * config.make.in (build-hardcoded-path-in-tests): New variable.
32286 * configure.in (--enable-hardcoded-path-in-tests): New configure
32287 option.
32288 (hardcoded_path_in_tests): New AC_SUBST.
32289 * configure: Regenerated.
32290 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32291 $(built-program-cmd) with $(test-program-cmd).
32292 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32293 (test_program_cmd): This.
32294 * elf/Makefile ($(objpfx)order.out): Run test with
32295 $(test-program-prefix).
32296 ($(objpfx)order2.out): Likewise.
32297 ($(objpfx)tst-initorder.out): Likewise.
32298 ($(objpfx)tst-initorder2.out): Likewise.
32299 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32300 $(test-program-cmd).
32301 ($(objpfx)tst-array1-static.out): Likewise.
32302 ($(objpfx)tst-array2.out): Likewise.
32303 ($(objpfx)tst-array3.out): Likewise.
32304 ($(objpfx)tst-array4.out): Likewise.
32305 ($(objpfx)tst-array5.out): Likewise.
32306 ($(objpfx)tst-array5-static.out): Likewise.
32307 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32308 $(test-program-cmd).
32309 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32310 $(run-program-prefix) with $(test-program-prefix).
32311 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32312 (test_program_prefix): This.
32313 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32314 $(run-program-prefix) with $(test-program-prefix).
32315 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32316 (test_program_prefix): This.
32317 * iconvdata/tst-tables.sh: Likewise.
32318 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32319 $(run-program-prefix) with $(test-program-prefix).
32320 ($(objpfx)tst-translit.out): Likewise.
32321 ($(objpfx)tst-gettext2.out): Likewise.
32322 ($(objpfx)tst-gettext4.out): Likewise.
32323 ($(objpfx)tst-gettext6.out): Likewise.
32324 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32325 (test_program_prefix): This.
32326 * intl/tst-gettext2.sh: Likewise.
32327 * intl/tst-gettext4.sh Likewise.
32328 * intl/tst-gettext6.sh: Likewise.
32329 * intl/tst-translit.sh: Likewise.
32330 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32331 with $(test-program-cmd).
32332 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32333 $(run-program-prefix) with $(test-program-prefix).
32334 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32335 (test_program_prefix): This.
32336 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32337 $(run-program-prefix) with $(test-program-prefix).
32338 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32339 (test_program_prefix): This.
32340 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32341 * posix/Makefile ($(objpfx)globtest.out): Replace
32342 $(run-via-rtld-prefix) and $(test-wrapper) with
32343 $(test-program-prefix) and $(test-via-rtld-prefix).
32344 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32345 $(test-program-prefix).
32346 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32347 $(host-test-program-cmd).
32348 (tst-spawn-ARGS): Likewise.
32349 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32350 $(test-program-prefix).
32351 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32352 (test_via_rtld_prefix): This.
32353 (test_wrapper): Renamed to ...
32354 (test_program_prefix): This.
32355 (run_program_prefix): Replaced by test_program_prefix.
32356 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32357 (test_program_prefix): This.
32358 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32359 with $(host-test-program-cmd).
32360 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32361 $(run-program-prefix) with $(test-program-prefix).
32362 ($(objpfx)tst-printf.out): Likewise.
32363 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32364 $(test-program-cmd).
32365 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32366 (test_program_prefix): This.
32367 * stdio-common/tst-unbputc.sh: Likewise.
32368 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32369 $(run-program-prefix) with $(test-program-prefix).
32370 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32371 (test_program_prefix): This.
32372 * string/Makefile ($(objpfx)tst-svc.out): Replace
32373 $(built-program-cmd) with $(test-program-cmd).
32374
c6fe55cf
AJ
323752013-01-11 Andreas Jaeger <aj@suse.de>
32376
32377 [BZ #15003]
32378 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32379 value. Sync with Linux 3.7.
32380
9e6919c8
DM
323812013-01-10 David S. Miller <davem@davemloft.net>
32382
32383 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32384 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32385 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32386
1c9f1a02
RM
323872013-01-10 Roland McGrath <roland@hack.frob.com>
32388
32389 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32390 never set.
32391 * configure: Regenerated.
32392
b9de2dde
DM
323932013-01-10 David S. Miller <davem@davemloft.net>
32394
32395 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32396 sparc V9 rather than using V8 code.
32397 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32398 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32399
e7f68ef4
RM
324002013-01-10 Roland McGrath <roland@hack.frob.com>
32401
32402 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32403 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32404 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32405 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32406 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32407 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32408 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32409 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32410 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32411 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32412 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32413 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32414 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32415 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32416 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32417 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32418 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32419 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32420 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32421 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32422 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32423 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32424 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32425 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32426 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32427 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32428 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32429
5a47cc9c
DM
324302013-01-10 David S. Miller <davem@davemloft.net>
32431
32432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32433
4cf8f209
L
324342013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32435
32436 * posix/Makefile (tests-static): New variable.
32437 (tests): Add $(tests-static).
32438 (tst-exec-static-ARGS): New variable.
32439 (tst-spawn-static-ARGS): Likewise.
32440 * posix/tst-exec-static.c: New file.
32441 * posix/tst-spawn-static.c: Likewise.
32442 * posix/tst-exec.c: Support run directly.
32443 * posix/tst-spawn.c: Likewise.
32444
fed0faa1
JM
324452013-01-10 Joseph Myers <joseph@codesourcery.com>
32446
828beb13
JM
32447 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32448 long.
32449 * math/bits/mathcalls.h (llrint): Likewise.
32450 (llround): Likewise.
32451 * stdlib/stdlib.h (struct drand48_data): Likewise.
32452 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32453 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32454 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32455 Likewise.
32456 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32457 Likewise.
32458 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32459 (elf_greg_t): Likewise.
32460 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32461 (__jmp_buf): Likewise.
32462 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32463 definitions.
32464 (llrint): Likewise, for all definitions.
32465 (llrintl): Likewise.
32466
fed0faa1
JM
32467 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32468 Remove [__GNUC__] condition.
32469 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32470 condition to just [__USE_ISOC99].
32471 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32472
1a20cb20
L
324732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32474
32475 [BZ #14200]
32476 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32477 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32478 defined.
32479 (_POSIX_V6_ILP32_OFF32): Likewise.
32480 (_XBS5_ILP32_OFF32): Likewise.
32481 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32482 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32483
751b85f7
SP
324842013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32485
7490eb81
SP
32486 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32487
751b85f7
SP
32488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32489 doubles __mpexp_twomm1. Adjust usage.
32490 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32491 Remove.
32492
988197f0
AS
324932013-01-10 Andreas Schwab <schwab@suse.de>
32494
32495 [BZ #14964]
32496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32497 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32498
e83d7298
DM
324992013-01-09 David S. Miller <davem@davemloft.net>
32500
034ed64b 32501 [BZ #15003]
57f41c40
AS
32502 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32503 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32504 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32505 (TCP_FASTOPEN): Define.
e83d7298
DM
32506 (tcp_repair_opt): New structure.
32507 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32508 enum values.
57f41c40
AS
32509 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32510 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32511 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32512 (tcp_cookie_transactions): New structure.
32513
d5e0b9bd
AB
325142013-01-09 Anton Blanchard <anton@samba.org>
32515
32516 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32517 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32518 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32519 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32520
0c07e3ea
JM
325212013-01-09 Joseph Myers <joseph@codesourcery.com>
32522
32523 * include/features.h (__USE_ANSI): Remove.
32524
232f7002
RM
325252013-01-09 Roland McGrath <roland@hack.frob.com>
32526
ad98e30c
RM
32527 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32528
232f7002
RM
32529 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32530
950c99ca
SP
325312013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32532
b5792741
SP
32533 * sysdeps/s390/fpu/libm-test-ulps: Update.
32534
47cf2278
SP
32535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32536
950c99ca
SP
32537 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32538 (__acr): Likewise.
32539 (__cpy): Likewise.
32540 (norm): Likewise.
32541 (denorm): Likewise.
32542 (__mp_dbl): Likewise.
32543 (__dbl_mp): Likewise.
32544 (add_magnitudes): Likewise.
32545 (sub_magnitudes): Likewise.
32546 (__add): Likewise.
32547 (__sub): Likewise.
32548 (__mul): Likewise.
32549 (__inv): Likewise.
32550 (__dvd): Likewise.
32551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32552 (__acr): Likewise.
32553 (__cpy): Likewise.
32554 (norm): Likewise.
32555 (denorm): Likewise.
32556 (__mp_dbl): Likewise.
32557 (__dbl_mp): Likewise.
32558 (add_magnitudes): Likewise.
32559 (sub_magnitudes): Likewise.
32560 (__add): Likewise.
32561 (__sub): Likewise.
32562 (__mul): Likewise.
32563 (__inv): Likewise.
32564 (__dvd): Likewise.
32565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32566 (__acr): Likewise.
32567 (__cpy): Likewise.
32568 (norm): Likewise.
32569 (denorm): Likewise.
32570 (__mp_dbl): Likewise.
32571 (__dbl_mp): Likewise.
32572 (add_magnitudes): Likewise.
32573 (sub_magnitudes): Likewise.
32574 (__add): Likewise.
32575 (__sub): Likewise.
32576 (__mul): Likewise.
32577 (__inv): Likewise.
32578 (__dvd): Likewise.
32579
eede9df9
JM
325802013-01-08 Joseph Myers <joseph@codesourcery.com>
32581
32582 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32583 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32584 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32585 2 && __USE_EXTERN_INLINES]: Likewise.
32586
c40ea3d9
AJ
325872013-01-08 Andreas Jaeger <aj@suse.de>
32588
32589 [BZ# 14985]
32590 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32591 Remove.
32592 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32593 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32594
2ccdea26
AB
325952013-01-07 Anton Blanchard <anton@samba.org>
32596
32597 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32598 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32599 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32600 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32601 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32602 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32603 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32604 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32606 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32607 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32608 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32609 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32610 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32611 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32612 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32613 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32614 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32615 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32616 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32617 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32618 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32619 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32620 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32621 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32622 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32623 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32624 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32625 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32626 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32627 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32629 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32630 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32631 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32632 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32633 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32635 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32636 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32637 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32638 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32639 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32640
a9708fed
JM
326412013-01-07 Joseph Myers <joseph@codesourcery.com>
32642
375607b9
JM
32643 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32644 (__MALLOC_PMT): Likewise.
32645 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32646 [__GNUC__], only on [_LIBC].
32647 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32648 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32649 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32650 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32651 forward declaration.
32652 (realloc_hook_ini): Likewise.
32653 (memalign_hook_ini): Likewise.
32654 (__libc_memalign): Do not use __MALLOC_PMT in variable
32655 declaration.
32656 (__libc_valloc): Likewise.
32657 (__libc_pvalloc): Likewise.
32658 (__libc_calloc): Likewise.
32659 (__posix_memalign): Likewise.
32660
a9708fed
JM
32661 [BZ #14996]
32662 * math/s_casinh.c: Include <float.h>.
32663 (__casinh): Do not do computation with squaring and square root
32664 for large arguments.
32665 * math/s_casinhf.c: Include <float.h>.
32666 (__casinhf): Do not do computation with squaring and square root
32667 for large arguments.
32668 * math/s_casinhl.c: Include <float.h>.
32669 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32670 (__casinhl): Do not do computation with squaring and square root
32671 for large arguments.
32672 * math/libm-test.inc (casin_test): Add more tests.
32673 (casinh_test): Likewise.
32674 * sysdeps/i386/fpu/libm-test-ulps: Update.
32675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32676
afec409a
L
326772013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32678
32679 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32680 (__x86_64_raw_data_cache_size): Likewise.
32681 (__x86_64_data_cache_size_half): Likewise.
32682 (__x86_64_raw_data_cache_size_half): Likewise.
32683 (__x86_64_shared_cache_size): Likewise.
32684 (__x86_64_raw_shared_cache_size): Likewise.
32685 (__x86_64_shared_cache_size_half): Likewise.
32686 (__x86_64_raw_shared_cache_size_half): Likewise.
32687 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32688 to ...
32689 (__x86_data_cache_size): This.
32690 (__x86_64_raw_data_cache_size): Renamed to ...
32691 (__x86_raw_data_cache_size): This.
32692 (__x86_64_data_cache_size_half): Renamed to ...
32693 (__x86_data_cache_size_half): This.
32694 (__x86_64_raw_data_cache_size_half): Renamed to ...
32695 (__x86_raw_data_cache_size_half): This.
32696 (__x86_64_shared_cache_size): Renamed to ...
32697 (__x86_shared_cache_size): This.
32698 (__x86_64_raw_shared_cache_size): Renamed to ...
32699 (__x86_raw_shared_cache_size): This.
32700 (__x86_64_shared_cache_size_half): Renamed to ...
32701 (__x86_shared_cache_size_half): This.
32702 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32703 (__x86_raw_shared_cache_size_half): This.
32704 * sysdeps/x86_64/memcpy.S: Updated.
32705 * sysdeps/x86_64/memset.S: Likewise.
32706 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32707 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32708 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32709
0b3986d0
DM
327102013-01-04 David S. Miller <davem@davemloft.net>
32711
32712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32713
e47686e9
AS
327142013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32715
d643bac1
AS
32716 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32717 1 to avoid redefinition warning.
32718 (__USE_GNU): Don't define.
32719 (init_signaling_nan): Protoize.
32720
e47686e9
AS
32721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32722
b18decba
SP
327232013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32724
fffb407f
SP
32725 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32727 (__cpymn): Likewise.
32728 (norm): Remove commented code.
32729 (denorm): Likewise.
32730 (__mp_dbl): Likewise.
32731 (__inv): Likewise.
32732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32733 (__cpymn): Likewise.
32734 (norm): Remove commented code.
32735 (denorm): Likewise.
32736 (__mp_dbl): Likewise.
32737 (__inv): Likewise.
32738
b18decba
SP
32739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32740 mp_no value for 1.0 and 2.0.
32741 (norm): Use RADIXI instead of radixi.d.
32742 (denorm): Likewise.
32743 (__mul): Use 0.0 instead of zero.d.
32744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32745 mp_no value for 1.0 and 2.0.
32746 (norm): Use RADIXI instead of radixi.d.
32747 (denorm): Likewise.
32748 (__mul): Use 0.0 instead of zero.d.
32749
cdc1c96f
JM
327502013-01-04 Joseph Myers <joseph@codesourcery.com>
32751
32752 [BZ #14994]
32753 * math/s_casinh.c (__casinh): Reduce finite argument to first
32754 quadrant then set signs of results at the end.
32755 * math/s_casinhf.c (__casinhf): Likewise.
32756 * math/s_casinhl.c (__casinhl): Likewise.
32757 * math/libm-test.inc (casin_test): Add more tests.
32758 (casinh_test): Likewise.
32759 * sysdeps/i386/fpu/libm-test-ulps: Update.
32760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32761
302913e1
SP
327622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32763
6420d207
SP
32764 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32765
a9e48ab4
SP
32766 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32767
b7837264
SP
32768 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32769 declarations.
32770 (denorm): Likewise.
32771 (__mp_dbl): Likewise.
32772 (__inv): Likewise.
32773
f8af25d2
SP
32774 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32775 and adjust the header comment.
32776
302913e1
SP
32777 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32778 variable name from declaration.
32779
5d7dd1ca
L
327802013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32783 Initialize COMMON_CPUID_INDEX_7 element.
32784 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32785 (CPUID_RTM): Likewise.
32786 (HAS_RTM): Likewise.
32787 (COMMON_CPUID_INDEX_7): New enum.
32788
2f5f40f4
AS
327892013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32790
32791 [BZ #14981]
32792 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32793 size is zero, record memory as freed.
32794
4056f4a0
AJ
327952013-01-03 Andreas Jaeger <aj@suse.de>
32796
32797 * po/ia.po: Add new Interlingua translation.
32798
ab15736f 327992012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32800
32801 * locale/programs/localedef.c: Fix description of '--posix' flag.
32802
568035b7
JM
328032013-01-02 Joseph Myers <joseph@codesourcery.com>
32804
e6898b8d
JM
32805 * NEWS: Update dates in second copyright notice.
32806 * README: Update copyright dates in example.
32807 * manual/libc.texinfo: Update copyright dates.
32808 * scripts/test-installation.pl: Update copyright date in --version
32809 output.
32810
0e2f9562
JM
32811 * hurd/ctty-input.c: Fix copyright notice formatting.
32812 * hurd/ctty-output.c: Likewise.
32813 * hurd/dtable.c: Likewise.
32814 * hurd/hurd-raise.c: Likewise.
32815 * hurd/hurdprio.c: Likewise.
32816 * hurd/msgportdemux.c: Likewise.
32817 * misc/sys/file.h: Likewise.
32818 * misc/sys/ioctl.h: Likewise.
32819 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32820 * sysdeps/mach/hurd/chdir.c: Likewise.
32821 * sysdeps/mach/hurd/fchdir.c: Likewise.
32822 * sysdeps/mach/hurd/rename.c: Likewise.
32823 * sysdeps/mach/hurd/rmdir.c: Likewise.
32824 * sysdeps/mach/hurd/seekdir.c: Likewise.
32825 * sysdeps/mach/hurd/setsid.c: Likewise.
32826 * sysdeps/posix/wait3.c: Likewise.
32827
568035b7
JM
32828 * All files with FSF copyright notices: Update copyright dates
32829 using scripts/update-copyrights.
32830 * intl/plural.c: Regenerated.
32831 * locale/programs/charmap-kw.h: Likewise.
32832 * locale/programs/locfile-kw.h: Likewise.
32833
da08f647
SP
328342013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32835
0f5477af
SP
32836 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32837 four values.
32838
44e0d4c2
SP
32839 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32840 calculation loop and add branch prediction.
32841
4d55b4e5
SP
32842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32843 check access beyond bounds of m1np.
32844
da08f647
SP
32845 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32846 MPTWO.
32847 (__inv): Remove local variable MPTWO to use the global
32848 constant.
32849 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32850 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32851 variable MPTWO.
32852 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32853 MP3HALFS static const.
32854
8e051029
DM
328552013-01-01 David S. Miller <davem@davemloft.net>
32856
32857 * po/ca.po: Update from translation team.
32858
f4cf5f2d
JM
328592013-01-01 Joseph Myers <joseph@codesourcery.com>
32860
32861 * scripts/update-copyrights: New file.
32862 * Makeconfig: Reformat copyright notice.
32863 * ctype/ctype.h: Likewise.
32864 * debug/swprintf_chk.c: Likewise.
32865 * elf/dl-cache.c: Likewise.
32866 * elf/dl-debug.c: Likewise.
32867 * elf/dl-object.c: Likewise.
32868 * grp/initgroups.c: Likewise.
32869 * hurd/Makefile: Likewise.
32870 * hurd/hurd/signal.h: Likewise.
32871 * hurd/hurdfault.c: Likewise.
32872 * hurd/hurdioctl.c: Likewise.
32873 * hurd/hurdlookup.c: Likewise.
32874 * hurd/intr-msg.c: Likewise.
32875 * iconv/gconv_open.c: Likewise.
32876 * libio/swprintf.c: Likewise.
32877 * locale/lc-ctype.c: Likewise.
32878 * locale/nl_langinfo.c: Likewise.
32879 * mach/Machrules: Likewise.
32880 * mach/Makefile: Likewise.
32881 * malloc/obstack.h: Likewise.
32882 * manual/Makefile: Likewise.
32883 * manual/tsort.awk: Likewise.
32884 * misc/bits/stab.def: Likewise.
32885 * nis/nis_print_group_entry.c: Likewise.
32886 * nis/nis_table.c: Likewise.
32887 * nis/nss_compat/compat-pwd.c: Likewise.
32888 * nis/nss_compat/compat-spwd.c: Likewise.
32889 * po/Makefile: Likewise.
32890 * posix/fnmatch.c: Likewise.
32891 * posix/regex.h: Likewise.
32892 * resolv/Makefile: Likewise.
32893 * resolv/nss_dns/dns-network.c: Likewise.
32894 * resolv/res_hconf.c: Likewise.
32895 * scripts/gen-sorted.awk: Likewise.
32896 * soft-fp/soft-fp.h: Likewise.
32897 * stdio-common/printf.h: Likewise.
32898 * stdlib/monetary.h: Likewise.
32899 * stdlib/random.c: Likewise.
32900 * stdlib/random_r.c: Likewise.
32901 * sysdeps/generic/Makefile: Likewise.
32902 * sysdeps/gnu/Makefile: Likewise.
32903 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32905 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32907 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32910 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32911 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32912 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32913 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32914 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32915 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32916 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32917 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32918 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32919 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32923 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32924 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32925 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32926 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32927 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32928 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32929 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32930 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32931 * sysdeps/mach/hurd/errnos.awk: Likewise.
32932 * sysdeps/mach/hurd/fork.c: Likewise.
32933 * sysdeps/mach/hurd/getcwd.c: Likewise.
32934 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32935 * sysdeps/mach/hurd/mmap.c: Likewise.
32936 * sysdeps/mach/hurd/utimes.c: Likewise.
32937 * sysdeps/mach/hurd/xmknod.c: Likewise.
32938 * sysdeps/posix/profil.c: Likewise.
32939 * sysdeps/posix/readdir_r.c: Likewise.
32940 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32941 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32942 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32943 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32945 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32946 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32947 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32949 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32950 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32951 * sysdeps/pthread/lio_listio.c: Likewise.
32952 * sysdeps/sparc/dl-procinfo.h: Likewise.
32953 * sysdeps/unix/i386/sysdep.S: Likewise.
32954 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32955 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32956 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32957 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32959 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32960 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32961 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32962 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32963 * sysdeps/wordsize-32/divdi3.c: Likewise.
32964 * time/sys/time.h: Likewise.
32965 * wcsmbs/Makefile: Likewise.
32966
0549fbba
DM
329672013-01-01 David S. Miller <davem@davemloft.net>
32968
a141f1a7
DM
32969 * po/fr.po: Update from translation team.
32970
0549fbba
DM
32971 * catgets/gencat.c: Update copyright year.
32972 * csu/version.c: Likewise.
32973 * debug/catchsegv.sh: Likewise.
32974 * debug/pcprofiledump.c: Likewise.
32975 * debug/xtrace.sh: Likewise.
32976 * elf/ldconfig.c: Likewise.
32977 * elf/ldd.bash.in: Likewise.
32978 * elf/pldd.c: Likewise.
32979 * elf/sotruss.ksh: Likewise.
32980 * elf/sprof.c: Likewise.
32981 * iconv/iconv_prog.c: Likewise.
32982 * iconv/iconvconfig.c: Likewise.
32983 * locale/programs/locale.c: Likewise.
32984 * locale/programs/localedef.c: Likewise.
32985 * login/programs/pt_chown.c: Likewise.
32986 * malloc/memusage.sh: Likewise.
32987 * malloc/memusagestat.c: Likewise.
32988 * malloc/mtrace.pl: Likewise.
32989 * nscd/nscd.c: Likewise.
32990 * nss/getent.c: Likewise.
32991 * nss/makedb.c: Likewise.
32992 * posix/getconf.c: Likewise.
32993
18ea052c
SP
329942012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32995
32996 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32997 numbers.
32998
9c89fca6
MF
329992012-12-30 Mike Frysinger <vapier@gentoo.org>
33000
33001 * math/bits/mathcalls.h (modf): Use __nonnull.
33002
085ec079
SP
330032012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33004
33005 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33006 (split): Use macro CN instead of the bare value.
33007 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33008 could be used.
33009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33010 instead of the bare value.
33011 (power1): Likewise.
33012
6d9f97e1
SP
330132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33014
d63f73be
SP
33015 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33016 __ATAN_TWOM.
33017 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33018
6d9f97e1
SP
33019 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33020 their values.
33021 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33022 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33023 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33024 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33025
4c4febf5
AJ
330262012-12-28 Andreas Jaeger <aj@suse.de>
33027
af5843ef
AJ
33028 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33029 values are from Linux 3.7.
33030
4c4febf5
AJ
33031 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33032 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33033
99136f82
SP
330342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33035
2f216c3c 33036 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33037 TRUE case.
33038
99136f82
SP
33039 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33040 (norm): Likewise.
33041 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33042 variables with preprocessor constants.
33043 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33044 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33045 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33046
7fffbdff
BH
330472012-12-27 Bruno Haible <bruno@clisp.org>
33048
33049 [BZ #14317]
33050 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33051 only if needed.
33052
b76eb5f0
SP
330532012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33054
31a7fe5c
SP
33055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33056 and use variable directly.
33057 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33058
b76eb5f0
SP
33059 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33060 MPONE.
33061 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33063 variable MPONE.
33064 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33066 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33067 include directive. Remove local variable MPONE.
33068 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33069 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33070 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33071
2c8bfe7d
DM
330722012-12-25 David S. Miller <davem@davemloft.net>
33073
33074 * version.h (RELEASE): Set to "development".
33075 (VERSION): Set to "2.17.90".
33076 * NEWS: Add 2.18 section.
33077
147d03b0
DM
330782012-12-21 David S. Miller <davem@davemloft.net>
33079
33080 * po/hr.po: Update from translation team.
33081
a8ebb2b9
AK
330822012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33083
33084 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33085
95b4f1b6
SE
330862012-12-19 Steve Ellcey <sellcey@mips.com>
33087
b2d94007 33088 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33089
cedb2a90
MS
330902012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33091
33092 * manual/contrib.texi (Contributors): Spelling correction.
33093
bbf527d6
DM
330942012-12-15 David S. Miller <davem@davemloft.net>
33095
33096 * po/ru.po: Update from translation team.
33097
bc38c906
DM
330982012-12-13 David S. Miller <davem@davemloft.net>
33099
85429b1a
DM
33100 * NEWS: Mention IFUNC testsuite enhancements.
33101
d283e353
DM
33102 * po/pl.po: Update from translation team.
33103 * po/bg.po: Likewise.
33104
bc38c906
DM
33105 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33106 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33107
a181b0d7
DM
331082012-12-11 David S. Miller <davem@davemloft.net>
33109
4641d57e
DM
33110 * po/sv.po: Update from translation team.
33111
f7bc6495
DM
33112 * po/vi.po: Update from translation team.
33113
6fc9048f
DM
33114 * po/cs.po: Update from translation team.
33115
a181b0d7
DM
33116 * po/de.po: Update from translation team.
33117 * po/eo.po: Likewise.
33118 * po/nl.po: Likewise.
33119
f70bfe80
SP
331202012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33121
3c8b4190
SP
33122 [BZ #14246]
33123 * manual/argp.texi (Argp Helper Functions): Move node to follow
33124 Argp Parsing State.
33125
f70bfe80
SP
33126 [BZ #14872]
33127 * manual/conf.texi (Limits on File System Capacity): Mention if
33128 terminating null is included in the max size.
33129
188f0adf
AJ
331302012-12-10 Andreas Jaeger <aj@suse.de>
33131
33132 * po/cs.po: Update from translation team.
33133
56e7d3ad
SP
331342012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33135
33136 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33137 void pointer and cast to uintptr_t.
33138 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33139 path.
33140 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33141 * sysdeps/s390/s390-64/memset.S: Likewise.
33142
76f2d2ea 331432012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33144
33145 [BZ #14833]
33146 * menual/message.texi (Message Translation): Fix typos.
33147 (Helper programs for gettext): Likewise.
33148
67cbf9a2
AS
331492012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33150
33151 [BZ #14898]
33152 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33153 Change to -1.
33154
682d0e9a
DM
331552012-12-07 David S. Miller <davem@davemloft.net>
33156
33157 * po/libc.pot: Update.
33158
573cd484
RH
331592012-12-07 Richard Henderson <rth@redhat.com>
33160
7e9da188 33161 [BZ #10114]
573cd484
RH
33162 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33163 normal/normal case to before the switch.
33164 (_FP_DIV): Likewise.
33165
e933a943
MF
331662012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33167 Mike Frysinger <vapier@gentoo.org>
33168
33169 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33170 check for __NR_fadvise64_64.
33171
82123268
CM
331722012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33173
33174 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33175 0, not just to plain "0" as a statement.
33176 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33177 with cw.
33178
d9814526
JM
331792012-12-06 Joseph Myers <joseph@codesourcery.com>
33180
33181 * NEWS: Use sourceware.org in Bugzilla URL.
33182
7728c574
SP
331832012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33184
f16946dd
SP
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33186 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33187
5704bbcb
SP
33188 * stdio-common/tst-put-error.c (do_test): Add newline to the
33189 padded test to ensure flush.
33190
17aa0516
JL
331912012-12-05 Jeff Law <law@redhat.com>
33192
33193 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33194
363313b5
JM
331952012-12-05 Joseph Myers <joseph@codesourcery.com>
33196
effbd42a
JM
33197 * README: Don't refer to ports add-on as distributed separately.
33198 Mention AArch64 in list of systems supported in the ports add-on.
33199
87600365
JM
33200 * LICENSES: Add more non-FSF copyright and license notices.
33201
a0d7066a
JM
33202 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33203 ((unused)).
33204
66ca5a5b
JM
33205 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33206
363313b5
JM
33207 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33208 10000 as width of padded output.
33209
b37984ad
JM
332102012-12-04 Joseph Myers <joseph@codesourcery.com>
33211
9003570a
JM
33212 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33213
b37984ad
JM
33214 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33215 variable LX with __attribute__ ((unused)).
33216 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33217 Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33221 with __attribute__ ((unused)).
33222
c8df52ec
DM
332232012-12-04 David S. Miller <davem@abraco.davemloft.net>
33224
33225 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33226
b3b099af
JM
332272012-12-04 Joseph Myers <joseph@codesourcery.com>
33228
c33aa6e3
JM
33229 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33230 (CFLAGS-nldbl-acos.c): New variable.
33231 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33232 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33233 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33234 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33235 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33236 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33237 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33238 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33239 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33240 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33241 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33242 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33243 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33244 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33245 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33246 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33247 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33248 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33249 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33250 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33251 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33252 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33253 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33254 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33255 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33256 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33257 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33258 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33259 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33260 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33261 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33262 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33263 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33264 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33265 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33266 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33267 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33268 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33269 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33270 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33271 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33272 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33273 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33274 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33275 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33276 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33277 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33278 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33279 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33280 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33281 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33282 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33283 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33284 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33285 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33286 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33287 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33288 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33289 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33290 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33291 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33292 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33293 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33294 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33295 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33296 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33297 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33298 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33299 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33300 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33301 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33302 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33303 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33304 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33305 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33306 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33307 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33308 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33309 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33310 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33311 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33312 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33313 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33314 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33315 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33316 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33317 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33318 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33319 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33320 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33321 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33322 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33323 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33324 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33325 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33326 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33327 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33328
20f0018d
JM
33329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33330 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33331
b3b099af
JM
33332 [BZ #14914]
33333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33334 whole low double instead of just low 47 bits when splitting values
33335 into two parts.
33336
029264d1
AM
333372012-12-03 Allan McRae <allan@archlinux.org>
33338
33339 * manual/stdio.texi (Predefined Printf Handlers): Remove
33340 @hsep and @vsep usage.
33341
c9d6789e
MF
333422012-12-03 Mike Frysinger <vapier@gentoo.org>
33343
33344 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33345 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33346
4b7634a5
JL
333472012-12-03 Jeff Law <law@redhat.com>
33348
33349 * time/sys/time.h (settimeofday): Do not mark TV argument
33350 as __nonnull.
33351
eb6cbd24
MF
333522012-12-01 Mike Frysinger <vapier@gentoo.org>
33353
33354 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33355 when currently writing and seek to current position when not.
33356 * libio/Makefile (tests): Remove bug-fclose1.
33357 * libio/bug-fclose1.c: Delete.
33358
f638872a
JM
333592012-12-01 Joseph Myers <joseph@codesourcery.com>
33360
33361 * manual/arith.texi (feenableexcept): Fix typo.
33362 (fedisableexcept): Likewise.
33363
48085d14
RM
333642012-11-30 Roland McGrath <roland@hack.frob.com>
33365
33366 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33367 second, differently-typed declaration, rather than a cast.
33368
1a538b9f
SP
333692012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33370
33371 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33372 * include/rpc/svc.h: ... here.
33373
d07f2ff1 333742012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33375
33376 [BZ #13013]
33377 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33378 depending n and resplen2 to catch cases where answer
33379 equals answerp2.
33380
c93ec1f0
CD
333812012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33382
33383 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33384 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33385
37db69de
MF
333862012-11-29 Mike Frysinger <vapier@gentoo.org>
33387
33388 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33389
e10c4e4f
RM
333902012-11-29 Roland McGrath <roland@hack.frob.com>
33391
33392 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33393
2af1b328
JL
333942012-11-28 Jeff Law <law@redhat.com>
33395
33396 [BZ #13761]
33397 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33398 dataset_temporary. Track alloca usage into alloca_used.
33399 If dataset is large allocate and release it via malloc/free.
33400
111db5b1
FW
334012012-06-04 Florian Weimer <fweimer@redhat.com>
33402
f06cc227 33403 [BZ #14197]
111db5b1
FW
33404 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33405
dd694abd
DM
334062012-11-28 David S. Miller <davem@davemloft.net>
33407
33408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33409
9984dd01
JM
334102012-11-28 Joseph Myers <joseph@codesourcery.com>
33411
33412 [BZ #14803]
33413 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33414 of pi/2 rounded to nearest to 64 bits.
33415 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33416 nearest to 64 bits.
33417 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33418 bits.
33419
14bc93a9
JL
334202012-11-28 Jeff Law <law@redhat.com>
33421 Martin Osvald <mosvald@redhat.com>
33422
33423 [BZ #14889]
33424 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33425 * sunrpc/svc.c: Include time.h.
33426 (__svc_accept_failed): New function.
33427 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33428 any reason other than EINTR, call __svc_accept_failed.
33429 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33430 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33431
e3c6aa3a
AS
334322012-11-28 Andreas Schwab <schwab@suse.de>
33433
33434 * scripts/abilist.awk: Also handle indirect functions in .opd
33435 section.
33436
1bead169
JM
334372012-11-28 Joseph Myers <joseph@codesourcery.com>
33438
33439 [BZ #13881]
33440 * sysdeps/x86/fpu/powl_helper.c: New file.
33441 * sysdeps/x86/fpu/Makefile: Likewise.
33442 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33443 (p3): New object.
33444 (__ieee754_powl): Use __powl_helper for finite arguments except
33445 integer exponents below 8.
33446 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33447 (p3): New object.
33448 (__ieee754_powl): Use __powl_helper for finite arguments except
33449 integer exponents below 8.
33450 * math/libm-test.inc (pow_test): Add more tests and enable some
33451 previously disabled tests.
33452 * sysdeps/i386/fpu/libm-test-ulps: Update.
33453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33454
0817d63d
SP
334552012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33456 Carlos O'Donell <carlos_odonell@mentor.com>
33457
33458 * nss/makedb.c (is_prime): Assert that input is odd and greater
33459 than 4. Note that fact in a comment too.
33460 (next_prime): Add 4 to input.
33461
de2fd463
SP
334622012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33463
33464 [BZ #11741]
33465 * libio/Makefile (tests): Add test case tst-fwrite-error.
33466 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33467 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33468 * libio/tst-fwrite-error.c: New test case.
33469
c515fb51
L
334702012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33471
33472 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33473 before casting to void *.
33474 * include/libc-internal.h (__pointer_type): New macro.
33475 (__integer_if_pointer_type_sub): Likewise.
33476 (__integer_if_pointer_type): Likewise.
33477 (cast_to_integer): Likewise.
33478 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33479 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33480 before casting to atomic64_t.
33481 (atomic_exchange_acq): Likewise.
33482 (__arch_exchange_and_add_body): Likewise.
33483 (__arch_add_body): Likewise.
33484 (atomic_add_negative): Likewise.
33485 (atomic_add_zero): Likewise.
33486
4cf77aa9
JM
334872012-11-26 Joseph Myers <joseph@codesourcery.com>
33488
33489 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33490 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33491 (add_fdes): Likewise.
33492 (linear_search_fdes): Likewise.
33493 (binary_search_unencoded_fdes): Likewise.
33494
d260b3b4
AS
334952012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33496
33497 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33498
67060746
AC
334992012-11-24 Adam Conrad <adconrad@0c3.net>
33500
33501 * configure.in: Autodetect C++ header directories.
33502 * configure: Regenerated.
33503
800938a1
MF
335042012-11-23 Mike Frysinger <vapier@gentoo.org>
33505
33506 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33507
4e6e34e6
AS
335082012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33509
33510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33511
7c7feb47
JM
335122012-11-22 Joseph Myers <joseph@codesourcery.com>
33513
7184dcdf
JM
33514 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33515 LDBL_MANT_DIG == 106]: Disable some tests.
33516 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33517 Likewise.
33518 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33519 Likewise.
33520
0a42601f
JM
33521 [BZ #14871]
33522 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33523 input for small inputs. Return +/- pi/2 for large inputs.
33524 * math/libm-test.inc (atan_test): Add more tests.
33525
79c9b9fe
JM
33526 * sysdeps/generic/unwind-dw2-fde-glibc.c
33527 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33528 __attribute__ ((unused)).
33529
c60d3bf2
JM
33530 [BZ #14645]
33531 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33532 x * y if x and y are nonzero and z is zero.
33533
ef1e0867
JM
33534 [BZ #14811]
33535 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33536 nonzero exponents with absolute value below 0x1p-117 to +/-
33537 0x1p-117.
33538
1468ded3
JM
33539 [BZ #14869]
33540 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33541 up arguments below 2**-450, not just those below 2**-500.
33542 * math/libm-test.inc (hypot_test): Add another test.
33543
8e27e3cc
JM
33544 [BZ #14868]
33545 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33546 Return a+b for ratio over 2**120, not 2**60.
33547 * math/libm-test.inc (hypot_test): Add another test.
33548
c9c0279b
JM
33549 * math/libm-test.inc (clog_test): Use
33550 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33551 (clog10_test): Likewise.
33552
7c7feb47
JM
33553 [BZ #6778]
33554 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33555
fff1530e
AS
335562012-11-22 Andreas Schwab <schwab@suse.de>
33557
33558 * sysdeps/i386/fpu/libm-test-ulps: Update.
33559
94558d30
PT
335602012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33561
33562 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33563 printf output with newline.
33564
7e1be741
L
335652012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33566
6bfea974
L
33567 [BZ #14865]
33568 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33569 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33570 -z nodlopen, -z initfirst and -z execstack support.
33571 * configure: Regenerated.
33572
7e1be741
L
33573 * elf/elf.h (DF_1_NODIRECT): New macro.
33574 (DF_1_IGNMULDEF): Likewise.
33575 (DF_1_NOKSYMS): Likewise.
33576 (DF_1_NOHDR): Likewise.
33577 (DF_1_EDITED): Likewise.
33578 (DF_1_NORELOC): Likewise.
33579 (DF_1_SYMINTPOSE): Likewise.
33580 (DF_1_GLOBAUDIT): Likewise.
33581 (DF_1_SINGLETON): Likewise.
33582 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33583 DT_1_SUPPORTED_MASK bits.
33584 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33585
105ce2ce
CD
335862012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33587
33588 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33589
123be9de
TS
335902012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33591
d072f3f7
TS
33592 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33593 macro.
33594
123be9de
TS
33595 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33596 (sendmmsg): Move declarations...
33597 * socket/sys/socket.h: ... here.
33598 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33599 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33600 include it from...
33601 * socket/recvmmsg.c: ... this new file.
33602 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33603 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33604 definition of __sendmmsg hidden.
33605 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33606 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33607 Move ENOSYS stub into and include it from...
33608 * socket/sendmmsg.c: ... this new file.
33609 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33610 (sysdep_routines): Move recvmmsg and sendmmsg...
33611 * socket/Makefile (routines): ... here.
33612 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33613 (GLIBC_PRIVATE): Add __sendmmsg.
33614 * include/sys/socket.h (__sendmmsg): Add declarations.
33615 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33616 sendmmsg.
33617
cf9a5d18
JM
336182012-11-20 Joseph Myers <joseph@codesourcery.com>
33619
33620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33621 variable I1 with __attribute__ ((unused)).
33622 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33623
ecd4caf9
JM
336242012-11-19 Joseph Myers <joseph@codesourcery.com>
33625
be14d48f
JM
33626 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33627 DUMMY variables with __attribute__ ((unused)).
33628
ecd4caf9
JM
33629 * bits/byteswap.h: Include <bits/types.h>.
33630 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33631
986cab95
PT
336322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33633
33634 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33635 string_t. Do not manually set errno.
33636 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33637 length with __strnlen. Make sure to both set errno and return it on
33638 failure.
33639
6d33cc9d
DM
336402012-11-19 David S. Miller <davem@davemloft.net>
33641
33642 With help from Joseph Myers.
33643 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33644 very large arguments properly.
33645 * math/libm-test.inc (atan_test): New tests.
33646 (atan2_test): New tests.
33647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33649
ee663277
JM
336502012-11-19 Joseph Myers <joseph@codesourcery.com>
33651
877f2d8e
JM
33652 [BZ #14856]
33653 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33654 Define to 3.
33655
116fc08a
JM
33656 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33657 [POSIX] (EADDRNOTAVAIL): Likewise.
33658 [POSIX] (EAFNOSUPPORT): Likewise.
33659 [POSIX] (EALREADY): Likewise.
33660 [POSIX] (ECONNABORTED): Likewise.
33661 [POSIX] (ECONNREFUSED): Likewise.
33662 [POSIX] (ECONNRESET): Likewise.
33663 [POSIX] (EDESTADDRREQ): Likewise.
33664 [POSIX] (EDQUOT): Likewise.
33665 [POSIX] (EHOSTUNREACH): Likewise.
33666 [POSIX] (EIDRM): Likewise.
33667 [POSIX] (EISCONN): Likewise.
33668 [POSIX] (ELOOP): Likewise.
33669 [POSIX] (EMULTIHOP): Likewise.
33670 [POSIX] (ENETDOWN): Likewise.
33671 [POSIX] (ENETUNREACH): Likewise.
33672 [POSIX] (ENOBUFS): Likewise.
33673 [POSIX] (ENODATA): Likewise.
33674 [POSIX] (ENOLINK): Likewise.
33675 [POSIX] (ENOMSG): Likewise.
33676 [POSIX] (ENOPROTOOPT): Likewise.
33677 [POSIX] (ENOSR): Likewise.
33678 [POSIX] (ENOSTR): Likewise.
33679 [POSIX] (ENOTCONN): Likewise.
33680 [POSIX] (ENOTSOCK): Likewise.
33681 [POSIX] (EOPNOTSUPP): Likewise.
33682 [POSIX] (EOVERFLOW): Likewise.
33683 [POSIX] (EPROTO): Likewise.
33684 [POSIX] (EPROTONOSUPPORT): Likewise.
33685 [POSIX] (EPROTOTYPE): Likewise.
33686 [POSIX] (ESTALE): Likewise.
33687 [POSIX] (ETIME): Likewise.
33688 [POSIX] (ETXTBSY): Likewise.
33689 [POSIX] (EWOULDBLOCK): Likewise.
33690 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33691 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33692 [POSIX] (SEEK_CUR): Likewise.
33693 [POSIX] (SEEK_END): Likewise.
33694 [POSIX || UNIX98] (mode_t): Do not require.
33695 [POSIX] (off_t): Likewise.
33696 [POSIX] (pid_t): Likewise.
33697 [POSIX] (sys/stat.h): Do not allow header.
33698 [POSIX] (unistd.h): Likewise.
33699 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33700 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33701 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33702 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33703 require.
33704 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33705 sigevent): Specify elements.
33706 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33707 entry.
33708 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33709 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33710
a483863f
JM
33711 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33712 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33713 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33714 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33715 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33716 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33717 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33718 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33719 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33720 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33721 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33722 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33723 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33724 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33725 Likewise.
33726 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33727 Likewise.
33728 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33729 Likewise.
33730 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33731 Likewise.
33732 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33733 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33734 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33735 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33736 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33737 Specify lower bound on value.
33738 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33739 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33740 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33741 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33742 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33743 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33744 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33745 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33746 value.
33747 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33748 as optional.
33749 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33750 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33751 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33752 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33753 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33754 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33755 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33756 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33757 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33758 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33759 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33760 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33761 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33762 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33763 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33764 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33765 entry.
33766 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33767 optional.
33768 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33769 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33770 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33771 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33772 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33773 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33774 Likewise.
33775 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33776 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33777 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33778 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33779 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33780 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33781 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33782 as optional.
33783 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33784 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33785 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33786 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33787 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33788 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33789 specify as optional.
33790 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33791 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33792 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33793 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33794 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33795 [XPG3] (NL_LANGMAX): Likewise.
33796 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33797 [POSIX || XPG3] (NL_NMAX): Likewise.
33798 [POSIX || XPG3] (NL_SETMAX): Likewise.
33799 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33800 [XPG3] (NZERO): Likewise.
33801 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33802 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33803 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33804 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33805 (REG_ERANGE): Expect.
33806 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33807 optional-constant.
33808 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33809 Use (void) in prototype.
33810 [POSIX] (*_t): Allow.
33811 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33812 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33813 (WRDE_BADVAL): Expect.
33814
5ba924e3
JM
33815 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33816 expect.
33817 [XPG3 || XPG4] (O_RSYNC): Likewise.
33818 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33819 Likewise.
33820 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33821 [XPG3 || XPG4] (sigqueue): Likewise.
33822 [XPG3 || XPG4] (sigtimedwait): Likewise.
33823 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33824 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33825 [XPG3 || XPG4] (vsnprintf): Likewise.
33826 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33827 Likewise.
33828 [XPG3 || XPG4] (blksize_t): Likewise.
33829 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33830 Likewise.
33831 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33832 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33833 [XPG3 || XPG4] (struct itimerspec): Likewise.
33834 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33835 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33836 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33837 [XPG3 || XPG4] (clockid_t): Likewise.
33838 [XPG3 || XPG4] (timer_t): Likewise.
33839 [XPG3 || XPG4] (clock_getres): Likewise.
33840 [XPG3 || XPG4] (clock_gettime): Likewise.
33841 [XPG3 || XPG4] (clock_settime): Likewise.
33842 [XPG3 || XPG4] (nanosleep): Likewise.
33843 [XPG3 || XPG4] (timer_create): Likewise.
33844 [XPG3 || XPG4] (timer_delete): Likewise.
33845 [XPG3 || XPG4] (timer_gettime): Likewise.
33846 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33847 [XPG3 || XPG4] (timer_settime): Likewise.
33848 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33849 [XPG3 || XPG4] (getlogin_r): Likewise.
33850 [XPG3 || XPG4] (pread): Likewise.
33851 [XPG3 || XPG4] (pthread_atfork): Likewise.
33852 [XPG3 || XPG4] (pwrite): Likewise.
33853
ee663277
JM
33854 [BZ #14835]
33855 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33856 <bits/siginfo.h>.
33857
942caa16
PT
338582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33859
e19af380
PT
33860 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33861 finalizing MALLSTREAM.
33862
942caa16
PT
33863 * sysdeps/mach/hurd/syncfs.c: New file.
33864
cfde9b46
SP
338652012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33866
33867 [BZ #14719]
33868 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33869 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33870 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33871 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33872 (_nss_dns_gethostbyname4_r): Likewise.
33873 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33874 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33875
f6da27e5
PH
338762012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33877
33878 [BZ #13763]
33879 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33880
6665d4a2
SM
338812012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33882
1f51ee92
SM
33883 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33884 * elf/cache.c (print_entry): Print ",AArch64" for
33885 FLAG_AARCH64_LIB64
33886
6665d4a2
SM
33887 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33888 * elf/cache.c (print_entry): Print ",hard-float" for
33889 FLAG_ARM_LIBHF.
33890
05b227bd
DM
338912012-11-18 David S. Miller <davem@davemloft.net>
33892
33893 With help from Joseph Myers.
33894 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33895 cutoff to 2**-13.
33896 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33897 cutoff to 2**-25.
33898 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33899 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33900 small.
33901 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33902 * math/libm-test.inc (y0_test): New tests.
33903 (y1_test): New tests.
33904 * sysdeps/i386/fpu/libm-test-ulps: Update.
33905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33907
786b0b67
AS
339082012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33909
33910 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33911 64-bit targets.
33912 * configure: Regenerated.
33913
8e18b86d
DM
339142012-11-17 David S. Miller <davem@davemloft.net>
33915
33916 [BZ #14811]
33917 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33918 nonzero exponents with absolute value below 0x1p-128 to +/-
33919 0x1p-128.
33920
531f1ae0
JM
339212012-11-17 Joseph Myers <joseph@codesourcery.com>
33922
12df29e2
JM
33923 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33924
150dc1a0
JM
33925 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33926
531f1ae0
JM
33927 * posix/getconf-speclist.c: New file.
33928 * posix/posix-envs.def: Likewise.
33929 * posix/confstr.c (START_ENV_GROUP): New macro.
33930 (END_ENV_GROUP): Likewise.
33931 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33932 (KNOWN_PRESENT_ENV_STRING): Likewise.
33933 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33934 (UNKNOWN_ENVIRONMENT): Likewise.
33935 (confstr): Include posix-envs.def instead of handling
33936 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33937 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33938 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33939 (END_ENV_GROUP): Likewise.
33940 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33941 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33942 (UNKNOWN_ENVIRONMENT): Likewise.
33943 (__sysconf): Include posix-envs.def instead of handling associated
33944 cases directly here.
33945 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33946 preprocessing getconf-speclist.c rather than running getconf or
33947 generating empty file.
33948
a93f9cbc
PT
339492012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33950
33951 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33952
d64d9f87
AL
339532012-11-16 Andrej Lajovic <natrij@gmail.com>
33954
33955 [BZ #14672]
33956 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33957
447885eb
DM
339582012-11-16 David S. Miller <davem@davemloft.net>
33959
33960 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33961 smaller than LDBL_EPSILON/2.0L, just return xm1.
33962
bcbf9830
L
339632012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33964
33965 * elf/tst-array1.c (init): Set constructor priority to 1000.
33966 (fini): Set destructor priority to 1000.
33967 * elf/tst-array2dep.c: Likewise.
33968
2b766585
SP
339692012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33970
33971 [BZ #11741]
33972 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33973 (_IO_new_file_xsputn): Also return EOF if none of the input
33974 data was written when overflow failed.
33975 * libio/iopadn.c (_IO_padn): Likewise.
33976 * libio/iowpadn.c (_IO_wpadn): Likewise.
33977 * stdio-common/tst-put-error.c: Add copyright notice.
33978 (do_test): Add case for printing padded string.
33979 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33980 _IO_padn returned error.
33981 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33982 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33983 return EOF.
33984
b1848fde
SP
339852012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33986
33987 * libio/libioP.h: Add comment note that the references to C++
33988 bits are now obsolete.
33989
2fd89785
MS
339902012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33991
33992 * math/libm-test.inc (check_complex): Use asprintf.
33993
e3ea5409
JM
339942012-11-14 Joseph Myers <joseph@codesourcery.com>
33995
33996 * debug/pcprofiledump.c (print_version): Update copyright year.
33997 * malloc/memusagestat.c (print_version): Likewise.
33998
2e64d265
L
339992012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34000
34001 [BZ #14831]
34002 * elf/Makefile (tests): Add tst-audit8.
34003 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34004 ($(objpfx)tst-audit8.out): New target.
34005 (tst-audit8-ENV): New variable.
34006 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34007 audit if l_reloc_result is NULL.
34008 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34009 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34010 * elf/tst-audit8.c: New file.
34011
c485e4d2
MS
340122012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34013
34014 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34015 * misc/Makefile (CFLAGS-select.c): Define.
34016 * posix/Makefile (CFLAGS-pause.c): Define.
34017
3a0d900a
DM
340182012-11-13 David S. Miller <davem@davemloft.net>
34019
34020 * crypt/Makefile: Move test targets after toplevel Rules
34021 inclusion. Grab any necessary sysdep routines when linking.
34022 * crypt/md5.c (md5_process_block): Remove define, we will always
34023 name it __md5_process_block.
34024 (md5_finish_ctx): Update md5_process_block call.
34025 (md5_stream): Likewise.
34026 (md5_process_bytes): Likewise.
34027 (md5_process_block): Rename to __md5_process_block and move to ...
34028 * crypt/md5-block.c: ... here.
34029 * crypt/sha256.c (sha256_process_block): Move to ...
34030 * crypt/sha256-block.c: ... here.
34031 * crypt/sha512.c (sha512_process_block): Move to ...
34032 * crypt/sha512-block.c: ... here.
34033 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34034 path.
34035 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34036 * sysdeps/sparc/sparc64/multiarch/Makefile
34037 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34038 crypt subdir.
34039 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34040 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34041 multiarch changes.
34042 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34043 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34044 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34045 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34046 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34047 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34048 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34049 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34050 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34051 file.
34052 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34053 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34054 file.
34055 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34056
8ca89318
JM
340572012-11-13 Joseph Myers <joseph@codesourcery.com>
34058
e27d476a
JM
34059 * timezone/tzselect.ksh: Update from tzcode git revision
34060 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34061 * timezone/zdump.c: Likewise.
34062 * timezone/zic.c: Likewise.
34063 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34064 in TZVERSION setting, not $(PKGVERSION).
34065 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34066 REPORT_BUGS_TO settings.
34067
8ca89318
JM
34068 [BZ #14838]
34069 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34070 macro.
34071
47594329
MS
340722012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34073
34074 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34075 detection to immediately after _FP_ROUND().
34076 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34077 bits are 0.
34078
640ac3f1
DM
340792012-11-11 David S. Miller <davem@davemloft.net>
34080
34081 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34082 inttypes.h
34083 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34084 __close rather than their public counterparts.
34085
3d2577bb
JM
340862012-11-10 Joseph Myers <joseph@codesourcery.com>
34087
34088 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34089 file.
34090 [UNIX98] (sem_timedwait): Do not expect.
34091 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34092 [XPG4 || UNIX98] (sockatmark): Do not expect.
34093 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34094 (clock_getcpuclockid): Do not expect.
34095 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34096 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34097 Do not expect.
34098 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34099 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34100 [UNIX98] (vwscanf): Likewise.
34101 [UNIX98] (vswscanf): Likewise.
34102
fb1ae1ee
JM
341032012-11-09 Joseph Myers <joseph@codesourcery.com>
34104
9ec6f8bd
JM
34105 * timezone/version.h: Remove file.
34106 * timezone/README: Do not refer to version.h.
34107 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34108 $(objpfx)version.h.
34109 ($(objpfx)zdump.o): Likewise.
c3f81911 34110 ($(objpfx)version.h): New target.
9ec6f8bd 34111
0aa8f8a1
JM
34112 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34113 2012i.
34114 * timezone/README: Don't mention modification to tzselect.ksh.
34115 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34116 work on unmodified tzselect.ksh. Substitute version numbers in
34117 tzselect.ksh.
34118
4e87147f
JM
34119 * Makefile (format-me): Remove.
34120 (INSTALL): Adjust indentation. Use commands directly instead of
34121 using $(format-me).
34122
8b748aed
JM
34123 * aclocal.m4 (ACX_PKGVERSION): New macro.
34124 (ACX_BUGURL): Likewise.
34125 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34126 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34127 (REPORT_BUGS_TO): Likewise.
34128 * configure: Regenerated.
34129 * config.h.in (PKGVERSION): New macro.
34130 (REPORT_BUGS_TO): Likewise.
34131 * config.make.in (PKGVERSION): New variable.
34132 (PKGVERSION_TEXI): Likewise.
34133 (REPORT_BUGS_TO): Likewise.
34134 (REPORT_BUGS_TEXI): Likewise.
34135 * Makefile (format-me): Use -I$(common-objpfx)manual.
34136 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34137 ($(common-objpfx)manual/%): New target.
34138 (manual/%): Remove target.
34139 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34140 (print_version): Use PKGVERSION.
34141 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34142 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34143 and REPORT_BUGS_TO.
34144 ($(objpfx)xtrace): Likewise.
34145 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34146 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34147 (print_version): Use PKGVERSION.
34148 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34149 (do_version): Use PKGVERSION.
34150 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34151 REPORT_BUGS_TO.
34152 (common-ldd-rewrite): Likewise.
34153 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34154 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34155 (print_version): Use PKGVERSION.
34156 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34157 * elf/pldd.c (argp_program_bug_address): Remove variable.
34158 (more_help): New function.
34159 (argp): Use more_help.
34160 (print_version): Use PKGVERSION.
34161 * elf/sln.c (main): Use PKGVERSION.
34162 (usage): Use REPORT_BUGS_TO.
34163 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34164 (top level): Use PKGVERSION.
34165 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34166 (print_version): Use PKGVERSION.
34167 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34168 (print_version): Use PKGVERSION.
34169 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34170 (print_version): Use PKGVERSION.
34171 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34172 (print_version): Use PKGVERSION.
34173 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34174 (print_version): Use PKGVERSION.
34175 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34176 (print_version): Use PKGVERSION.
34177 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34178 and BUGURL.
34179 ($(objpfx)memusage): Likewise.
34180 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34181 (do_version): Use PKGVERSION.
34182 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34183 (print_version): Use PKGVERSION.
34184 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34185 ($PKGVERSION): New variable.
34186 ($REPORT_BUGS_TO): Likewise.
34187 (usage): Use $REPORT_BUGS_TO.
34188 (top level): Use $PKGVERSION.
34189 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34190 ($(objpfx)pkgvers.texi): New rule.
34191 ($(objpfx)stamp-pkgvers): Likewise.
34192 * manual/install.texi: Include pkgvers.texi.
34193 (--with-pkgversion): Document new configure option.
34194 (--with-bugurl): Likewise.
34195 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34196 than necessarily for this particular distribution. Use
34197 REPORT_BUGS_TO for where to report bugs.
34198 * INSTALL: Regenerated.
34199 * manual/libc.texinfo: Include pkgvers.texi.
34200 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34201 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34202 (print_version): Use PKGVERSION.
34203 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34204 (print_version): Use PKGVERSION.
34205 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34206 (print_version): Use PKGVERSION.
34207 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34208 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34209 macro.
34210 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34211 (print_version): Use PKGVERSION.
34212 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34213 (print_version): Use PKGVERSION.
34214 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34215 and PKGVERSION.
34216
92e4b6a9
JM
34217 * timezone/checktab.awk: Update from tzcode 2012i.
34218 * timezone/ialloc.c: Likewise.
34219 * timezone/private.h: Likewise.
34220 * timezone/scheck.c: Likewise.
34221 * timezone/tzfile.h: Likewise.
34222 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34223 (TZVERSION): Hardcode tzcode version number.
34224 * timezone/zdump.c: Update from tzcode 2012i.
34225 * timezone/zic.c: Likewise.
34226 * timezone/version.h: New file.
34227 * timezone/README: Describe version.h. Update upstream location.
34228
9bde902c
JM
34229 [BZ #14824]
34230 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34231 (mktemp): Enable declaration.
34232 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34234 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34236 Likewise.
34237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34238 Likewise.
34239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34240 Likewise.
34241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34242 Likewise.
34243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34244 Likewise.
34245 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34246 Likewise.
34247
fb1ae1ee
JM
34248 [BZ #14821]
34249 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34250 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34251 for copies of such integer values.
34252 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34253 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34254
2c1adbcb
AJ
342552012-11-09 Andreas Jaeger <aj@suse.de>
34256
34257 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34258 definitions and declarations that are provided by
34259 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34260
d0f8457e
AK
342612012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34262
3a235abb 34263 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34264 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34265 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34266 definition.
34267
57241e26
MS
342682012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34269
34270 * elf/elf.h: Update comment before AArch64 relocations.
34271
60e8270d
DM
342722012-11-07 David S. Miller <davem@davemloft.net>
34273
34274 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34275 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34276 (__start_context): Declare.
34277 (__makecontext_ret): Delete.
34278 (__makecontext): Hook up __start_context instead of
34279 __makecontext_ret.
34280 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34281 (sysdep_routines): Add __start_context when in stdlib.
34282
0fbb0fbc
JM
342832012-11-07 Joseph Myers <joseph@codesourcery.com>
34284
34285 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34286 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34287 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34288 hardcoded "nm".
34289 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34290 (READELF): New variable. Use it instead of hardcoded "readelf".
34291
eb48db7e
L
342922012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34293
34294 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34295 * sysdeps/x86/Makefile: Here.
34296 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34297 * sysdeps/x86/tst-xmmymm.sh: This.
34298
05bcf62a
JM
342992012-11-07 Joseph Myers <joseph@codesourcery.com>
34300
c4b6cf53
JM
34301 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34302 expectations.
34303 [UNIX98] (pthread_barrier_t): Do not expect.
34304 [UNIX98] (pthread_barrierattr_t): Likewise.
34305 [UNIX98] (pthread_spinlock_t): Likewise.
34306 [UNIX98] (pthread_barrier_destroy): Likewise.
34307 [UNIX98] (pthread_barrier_init): Likewise.
34308 [UNIX98] (pthread_barrier_wait): Likewise.
34309 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34310 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34311 [UNIX98] (pthread_barrierattr_init): Likewise.
34312 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34313 [UNIX98] (pthread_getcpuclockid): Likewise.
34314 [UNIX98] (pthread_mutex_timedlock): Likewise.
34315 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34316 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34317 [UNIX98] (pthread_sigmask): Likewise.
34318 [UNIX98] (pthread_spin_destroy): Likewise.
34319 [UNIX98] (pthread_spin_init): Likewise.
34320 [UNIX98] (pthread_spin_lock): Likewise.
34321 [UNIX98] (pthread_spin_trylock): Likewise.
34322 [UNIX98] (pthread_spin_unlock): Likewise.
34323 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34324 Do not expect.
34325 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34327 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34328 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34329 [XPG3 || XPG4] (pthread_key_t): Likewise.
34330 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34331 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34332 [XPG3 || XPG4] (pthread_once_t): Likewise.
34333 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34334 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34336 [XPG3 || XPG4] (pthread_t): Likewise.
34337
cbe6e120
JM
34338 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34339 not expect.
34340 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34341
1b126443
JM
34342 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34343 Change function return type to int.
34344
b961a573
JM
34345 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34346 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34347 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34348 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34349 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34350 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34351 [!POSIX] (posix_madvise): Likewise.
34352 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34353 && !UNIX98].
34354 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34355 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34356 (mode_t): Likewise.
34357 (posix_mem_offset): Likewise.
34358 (posix_typed_mem_get_info): Likewise.
34359 (posix_typed_mem_open): Likewise.
34360
9e188909
JM
34361 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34362 Change condition to [XOPEN2K8].
34363
05bcf62a
JM
34364 * conform/conformtest.pl: Preprocess allow-header data with -x c
34365 instead of from stdin.
34366 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34367 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34368 [C99-based standards] (cerfc): Likewise.
34369 [C99-based standards] (cexp2): Likewise.
34370 [C99-based standards] (cexpm1): Likewise.
34371 [C99-based standards] (clog10): Likewise.
34372 [C99-based standards] (clog1p): Likewise.
34373 [C99-based standards] (clog2): Likewise.
34374 [C99-based standards] (clgamma): Likewise.
34375 [C99-based standards] (ctgamma): Likewise.
34376 [C99-based standards] (cerff): Likewise.
34377 [C99-based standards] (cerfcf): Likewise.
34378 [C99-based standards] (cexp2f): Likewise.
34379 [C99-based standards] (cexpm1f): Likewise.
34380 [C99-based standards] (clog10f): Likewise.
34381 [C99-based standards] (clog1pf): Likewise.
34382 [C99-based standards] (clog2f): Likewise.
34383 [C99-based standards] (clgammaf): Likewise.
34384 [C99-based standards] (ctgammaf): Likewise.
34385 [C99-based standards] (cerfl): Likewise.
34386 [C99-based standards] (cerfcl): Likewise.
34387 [C99-based standards] (cexp2l): Likewise.
34388 [C99-based standards] (cexpm1l): Likewise.
34389 [C99-based standards] (clog10l): Likewise.
34390 [C99-based standards] (clog1pl): Likewise.
34391 [C99-based standards] (clog2l): Likewise.
34392 [C99-based standards] (clgammal): Likewise.
34393 [C99-based standards] (ctgammal): Likewise.
34394 * conform/data/inttypes.h-data [C99-based standards]: Include
34395 stdint.h-data. Remove all expectations for stdint.h contents.
34396 [C99-based standards] (PRI*): Do not allow.
34397 [C99-based standards] (SCN*): Likewise.
34398 [C99-based standards] (*_t): Likewise.
34399 [C99-based-standards] (PRId8): Expect macro.
34400 [C99-based-standards] (PRIi8): Likewise.
34401 [C99-based-standards] (PRIo8): Likewise.
34402 [C99-based-standards] (PRIu8): Likewise.
34403 [C99-based-standards] (PRIx8): Likewise.
34404 [C99-based-standards] (PRIX8): Likewise.
34405 [C99-based-standards] (SCNd8): Likewise.
34406 [C99-based-standards] (SCNi8): Likewise.
34407 [C99-based-standards] (SCNo8): Likewise.
34408 [C99-based-standards] (SCNu8): Likewise.
34409 [C99-based-standards] (SCNx8): Likewise.
34410 [C99-based-standards] (PRIdLEAST8): Likewise.
34411 [C99-based-standards] (PRIiLEAST8): Likewise.
34412 [C99-based-standards] (PRIoLEAST8): Likewise.
34413 [C99-based-standards] (PRIuLEAST8): Likewise.
34414 [C99-based-standards] (PRIxLEAST8): Likewise.
34415 [C99-based-standards] (PRIXLEAST8): Likewise.
34416 [C99-based-standards] (SCNdLEAST8): Likewise.
34417 [C99-based-standards] (SCNiLEAST8): Likewise.
34418 [C99-based-standards] (SCNoLEAST8): Likewise.
34419 [C99-based-standards] (SCNuLEAST8): Likewise.
34420 [C99-based-standards] (SCNxLEAST8): Likewise.
34421 [C99-based-standards] (PRIdFAST8): Likewise.
34422 [C99-based-standards] (PRIiFAST8): Likewise.
34423 [C99-based-standards] (PRIoFAST8): Likewise.
34424 [C99-based-standards] (PRIuFAST8): Likewise.
34425 [C99-based-standards] (PRIxFAST8): Likewise.
34426 [C99-based-standards] (PRIXFAST8): Likewise.
34427 [C99-based-standards] (SCNdFAST8): Likewise.
34428 [C99-based-standards] (SCNiFAST8): Likewise.
34429 [C99-based-standards] (SCNoFAST8): Likewise.
34430 [C99-based-standards] (SCNuFAST8): Likewise.
34431 [C99-based-standards] (SCNxFAST8): Likewise.
34432 [C99-based-standards] (PRId16): Likewise.
34433 [C99-based-standards] (PRIi16): Likewise.
34434 [C99-based-standards] (PRIo16): Likewise.
34435 [C99-based-standards] (PRIu16): Likewise.
34436 [C99-based-standards] (PRIx16): Likewise.
34437 [C99-based-standards] (PRIX16): Likewise.
34438 [C99-based-standards] (SCNd16): Likewise.
34439 [C99-based-standards] (SCNi16): Likewise.
34440 [C99-based-standards] (SCNo16): Likewise.
34441 [C99-based-standards] (SCNu16): Likewise.
34442 [C99-based-standards] (SCNx16): Likewise.
34443 [C99-based-standards] (PRIdLEAST16): Likewise.
34444 [C99-based-standards] (PRIiLEAST16): Likewise.
34445 [C99-based-standards] (PRIoLEAST16): Likewise.
34446 [C99-based-standards] (PRIuLEAST16): Likewise.
34447 [C99-based-standards] (PRIxLEAST16): Likewise.
34448 [C99-based-standards] (PRIXLEAST16): Likewise.
34449 [C99-based-standards] (SCNdLEAST16): Likewise.
34450 [C99-based-standards] (SCNiLEAST16): Likewise.
34451 [C99-based-standards] (SCNoLEAST16): Likewise.
34452 [C99-based-standards] (SCNuLEAST16): Likewise.
34453 [C99-based-standards] (SCNxLEAST16): Likewise.
34454 [C99-based-standards] (PRIdFAST16): Likewise.
34455 [C99-based-standards] (PRIiFAST16): Likewise.
34456 [C99-based-standards] (PRIoFAST16): Likewise.
34457 [C99-based-standards] (PRIuFAST16): Likewise.
34458 [C99-based-standards] (PRIxFAST16): Likewise.
34459 [C99-based-standards] (PRIXFAST16): Likewise.
34460 [C99-based-standards] (SCNdFAST16): Likewise.
34461 [C99-based-standards] (SCNiFAST16): Likewise.
34462 [C99-based-standards] (SCNoFAST16): Likewise.
34463 [C99-based-standards] (SCNuFAST16): Likewise.
34464 [C99-based-standards] (SCNxFAST16): Likewise.
34465 [C99-based-standards] (PRId32): Likewise.
34466 [C99-based-standards] (PRIi32): Likewise.
34467 [C99-based-standards] (PRIo32): Likewise.
34468 [C99-based-standards] (PRIu32): Likewise.
34469 [C99-based-standards] (PRIx32): Likewise.
34470 [C99-based-standards] (PRIX32): Likewise.
34471 [C99-based-standards] (SCNd32): Likewise.
34472 [C99-based-standards] (SCNi32): Likewise.
34473 [C99-based-standards] (SCNo32): Likewise.
34474 [C99-based-standards] (SCNu32): Likewise.
34475 [C99-based-standards] (SCNx32): Likewise.
34476 [C99-based-standards] (PRIdLEAST32): Likewise.
34477 [C99-based-standards] (PRIiLEAST32): Likewise.
34478 [C99-based-standards] (PRIoLEAST32): Likewise.
34479 [C99-based-standards] (PRIuLEAST32): Likewise.
34480 [C99-based-standards] (PRIxLEAST32): Likewise.
34481 [C99-based-standards] (PRIXLEAST32): Likewise.
34482 [C99-based-standards] (SCNdLEAST32): Likewise.
34483 [C99-based-standards] (SCNiLEAST32): Likewise.
34484 [C99-based-standards] (SCNoLEAST32): Likewise.
34485 [C99-based-standards] (SCNuLEAST32): Likewise.
34486 [C99-based-standards] (SCNxLEAST32): Likewise.
34487 [C99-based-standards] (PRIdFAST32): Likewise.
34488 [C99-based-standards] (PRIiFAST32): Likewise.
34489 [C99-based-standards] (PRIoFAST32): Likewise.
34490 [C99-based-standards] (PRIuFAST32): Likewise.
34491 [C99-based-standards] (PRIxFAST32): Likewise.
34492 [C99-based-standards] (PRIXFAST32): Likewise.
34493 [C99-based-standards] (SCNdFAST32): Likewise.
34494 [C99-based-standards] (SCNiFAST32): Likewise.
34495 [C99-based-standards] (SCNoFAST32): Likewise.
34496 [C99-based-standards] (SCNuFAST32): Likewise.
34497 [C99-based-standards] (SCNxFAST32): Likewise.
34498 [C99-based-standards] (PRId64): Likewise.
34499 [C99-based-standards] (PRIi64): Likewise.
34500 [C99-based-standards] (PRIo64): Likewise.
34501 [C99-based-standards] (PRIu64): Likewise.
34502 [C99-based-standards] (PRIx64): Likewise.
34503 [C99-based-standards] (PRIX64): Likewise.
34504 [C99-based-standards] (SCNd64): Likewise.
34505 [C99-based-standards] (SCNi64): Likewise.
34506 [C99-based-standards] (SCNo64): Likewise.
34507 [C99-based-standards] (SCNu64): Likewise.
34508 [C99-based-standards] (SCNx64): Likewise.
34509 [C99-based-standards] (PRIdLEAST64): Likewise.
34510 [C99-based-standards] (PRIiLEAST64): Likewise.
34511 [C99-based-standards] (PRIoLEAST64): Likewise.
34512 [C99-based-standards] (PRIuLEAST64): Likewise.
34513 [C99-based-standards] (PRIxLEAST64): Likewise.
34514 [C99-based-standards] (PRIXLEAST64): Likewise.
34515 [C99-based-standards] (SCNdLEAST64): Likewise.
34516 [C99-based-standards] (SCNiLEAST64): Likewise.
34517 [C99-based-standards] (SCNoLEAST64): Likewise.
34518 [C99-based-standards] (SCNuLEAST64): Likewise.
34519 [C99-based-standards] (SCNxLEAST64): Likewise.
34520 [C99-based-standards] (PRIdFAST64): Likewise.
34521 [C99-based-standards] (PRIiFAST64): Likewise.
34522 [C99-based-standards] (PRIoFAST64): Likewise.
34523 [C99-based-standards] (PRIuFAST64): Likewise.
34524 [C99-based-standards] (PRIxFAST64): Likewise.
34525 [C99-based-standards] (PRIXFAST64): Likewise.
34526 [C99-based-standards] (SCNdFAST64): Likewise.
34527 [C99-based-standards] (SCNiFAST64): Likewise.
34528 [C99-based-standards] (SCNoFAST64): Likewise.
34529 [C99-based-standards] (SCNuFAST64): Likewise.
34530 [C99-based-standards] (SCNxFAST64): Likewise.
34531 [C99-based-standards] (PRIdMAX): Likewise.
34532 [C99-based-standards] (PRIiMAX): Likewise.
34533 [C99-based-standards] (PRIoMAX): Likewise.
34534 [C99-based-standards] (PRIuMAX): Likewise.
34535 [C99-based-standards] (PRIxMAX): Likewise.
34536 [C99-based-standards] (PRIXMAX): Likewise.
34537 [C99-based-standards] (SCNdMAX): Likewise.
34538 [C99-based-standards] (SCNiMAX): Likewise.
34539 [C99-based-standards] (SCNoMAX): Likewise.
34540 [C99-based-standards] (SCNuMAX): Likewise.
34541 [C99-based-standards] (SCNxMAX): Likewise.
34542 [C99-based-standards] (PRIdPTR): Likewise.
34543 [C99-based-standards] (PRIiPTR): Likewise.
34544 [C99-based-standards] (PRIoPTR): Likewise.
34545 [C99-based-standards] (PRIuPTR): Likewise.
34546 [C99-based-standards] (PRIxPTR): Likewise.
34547 [C99-based-standards] (PRIXPTR): Likewise.
34548 [C99-based-standards] (SCNdPTR): Likewise.
34549 [C99-based-standards] (SCNiPTR): Likewise.
34550 [C99-based-standards] (SCNoPTR): Likewise.
34551 [C99-based-standards] (SCNuPTR): Likewise.
34552 [C99-based-standards] (SCNxPTR): Likewise.
34553 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34554 allow.
34555 * conform/data/stdint.h-data: Update comments to clarify
34556 requirements.
34557 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34558 type.
34559 [C99-based standards] (INT8_MAX): Likewise.
34560 [C99-based standards] (INT16_MIN): Likewise.
34561 [C99-based standards] (INT16_MAX): Likewise.
34562 [C99-based standards] (INT32_MIN): Likewise.
34563 [C99-based standards] (INT32_MAX): Likewise.
34564 [C99-based standards] (INT64_MIN): Likewise.
34565 [C99-based standards] (INT64_MAX): Likewise.
34566 [C99-based standards] (UINT8_MAX): Likewise.
34567 [C99-based standards] (UINT16_MAX): Likewise.
34568 [C99-based standards] (UINT32_MAX): Likewise.
34569 [C99-based standards] (UINT64_MAX): Likewise.
34570 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34571 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34572 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34573 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34574 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34575 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34576 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34577 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34578 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34579 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34580 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34581 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34582 [C99-based standards] (INT_FAST8_MIN): Likewise.
34583 [C99-based standards] (INT_FAST8_MAX): Likewise.
34584 [C99-based standards] (INT_FAST16_MIN): Likewise.
34585 [C99-based standards] (INT_FAST16_MAX): Likewise.
34586 [C99-based standards] (INT_FAST32_MIN): Likewise.
34587 [C99-based standards] (INT_FAST32_MAX): Likewise.
34588 [C99-based standards] (INT_FAST64_MIN): Likewise.
34589 [C99-based standards] (INT_FAST64_MAX): Likewise.
34590 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34591 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34592 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34593 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34594 [C99-based standards] (INTPTR_MIN): Likewise.
34595 [C99-based standards] (INTPTR_MAX): Likewise.
34596 [C99-based standards] (UINTPTR_MAX): Likewise.
34597 [C99-based standards] (INTMAX_MIN): Likewise.
34598 [C99-based standards] (INTMAX_MAX): Likewise.
34599 [C99-based standards] (UINTMAX_MAX): Likewise.
34600 [C99-based standards] (PTRDIFF_MIN): Likewise.
34601 [C99-based standards] (PTRDIFF_MAX): Likewise.
34602 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34603 [C99-based standards] (SIZE_MAX): Likewise.
34604 [C99-based standards] (WCHAR_MAX): Likewise.
34605 [C99-based standards] (WINT_MAX): Likewise.
34606 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34607 constraint on value.
34608 [C99-based standards] (WCHAR_MIN): Likewise.
34609 [C99-based standards] (WINT_MIN): Likewise.
34610 [C99-based standards] (*_t): Allow.
34611 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34612 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34613 Include math.h-data and complex.h-data. Remove all expectations
34614 of math.h and complex.h contents.
34615 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34616 at end of line.
34617 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34618 (struct tm): Expect tag.
34619 [C99-based-standards] (wcstof): Expect function.
34620 [C99-based-standards] (wcstold): Likewise.
34621 [C99-based-standards] (wcstoll): Likewise.
34622 [C99-based-standards] (wcstoull): Likewise.
34623 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34624 macro-int-constant. Specify type.
34625 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34626 constraint on value.
34627 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34628 Specify type.
34629 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34630 Specify value.
34631 [ISO C standards]: Do not allow headers.
34632 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34633 wcs[abcdefghijklmnopqrstuvwxyz]*.
34634 [ISO C standards] (*_t): Do not allow.
34635 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34636 Expect function.
34637 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34638 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34639 Specify type.
34640 [ISO C standards]: Do not allow headers.
34641 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34642 is[abcdefghijklmnopqrstuvwxyz]*.
34643 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34644 to[abcdefghijklmnopqrstuvwxyz]*.
34645 [ISO C standards] (*_t): Do not allow.
34646 * conform/data/stdalign.h-data: New file.
34647 * conform/data/stdbool.h-data: Likewise.
34648 * conform/data/stdnoreturn.h-data: Likewise.
34649
7514feb8
RM
346502012-11-07 Roland McGrath <roland@hack.frob.com>
34651
34652 [BZ #14815]
34653 * manual/filesys.texi (Directory Entries): Typo fix.
34654 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34655
19b2ecfc
MS
346562012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34657
34658 * elf/elf.h (EM_AARCH64): New macro.
34659 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34660 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34661 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34662 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34663 (R_AARCH64_TLSDESC): Likewise.
34664 (NT_ARM_TLS): Likewise.
34665 (NT_ARM_HW_BREAK): Likewise.
34666 (NT_ARM_HW_WATCH): Likewise.
34667
60e235ee
JM
346682012-11-07 Joseph Myers <joseph@codesourcery.com>
34669
34670 [BZ #14811]
34671 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34672 (__ieee754_powl): Saturate nonzero exponents with absolute value
34673 below 0x1p-79 to +/- 0x1p-79.
34674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34675 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34676 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34677 nonzero exponents with absolute value below 0x1p-32 to +/-
34678 0x1p-32.
34679 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34680 (__ieee754_powl): Saturate nonzero exponents with absolute value
34681 below 0x1p-79 to +/- 0x1p-79.
34682 * math/libm-test.inc (pow_test): Add more tests.
34683
0ab234b7
AK
346842012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34685
34686 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34687 _dl_s390_cap_flags with kernel. Increase string length.
34688 (_dl_s390_platforms): Add z196 and zEC12.
34689
45832f74
JM
346902012-11-07 Joseph Myers <joseph@codesourcery.com>
34691
34692 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34693 Change XOPEN21K to XOPEN2K.
34694
19218757
MK
346952012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34696
34697 * string/memmove.c: Use memcpy when possible.
34698
c5f45721
AJ
346992012-11-06 Andreas Jaeger <aj@suse.de>
34700
34701 * po/eo.po: Update from translation team.
34702
82477c28
JM
347032012-11-06 Joseph Myers <joseph@codesourcery.com>
34704
34705 [BZ #14793]
34706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34707 exponent and small x and y exponents, scale x or y up. Increase
34708 by 2 the exponent used in scaling up.
34709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34710 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34711 * math/libm-test.inc (fma_test): Add more tests.
34712 (fma_test_towardzero): Likewise.
34713 (fma_test_downward): Likewise.
34714 (fma_test_upward): Likewise.
34715
99252c8c
JM
347162012-11-05 Joseph Myers <joseph@codesourcery.com>
34717
acfa885f
JM
34718 [BZ #14805]
34719 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34720 fenv_t *.
34721
99252c8c
JM
34722 [BZ #14801]
34723 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34724 namespace for names of struct fields.
34725 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34726 fenv_t fields.
34727 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34728 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34729
d6d98dea
ST
347302012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34731
34732 [BZ #3665]
34733 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34734
e10bb107
TS
347352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34736
34737 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34738 PTR_DEMANGLE.
34739
34740 [BZ #5246]
34741 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34742 PTR_DEMANGLE.
34743
a0c2940d
JM
347442012-11-04 Joseph Myers <joseph@codesourcery.com>
34745
34746 [BZ #14797]
34747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34748 definitely overflow as x * y not x * y + z.
34749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34751 * math/libm-test.inc (fma_test): Add more tests.
34752 (fma_test_towardzero): Likewise.
34753 (fma_test_downward): Likewise.
34754 (fma_test_upward): Likewise.
34755
b830319d
TS
347562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34757
34758 [BZ #157]
34759
34760 * include/stub-tag.h: Remove file.
34761 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34762 '#include' of it.
34763 * manual/maint.texi (Porting): Don't reference it.
34764 * Makerules ($(objpfx)stubs): Likewise.
34765 * dirent/closedir.c: Don't include <stub-tag.h>.
34766 * dirent/dirfd.c: Likewise.
34767 * dirent/fdopendir.c: Likewise.
34768 * dirent/getdents.c: Likewise.
34769 * dirent/getdents64.c: Likewise.
34770 * dirent/opendir.c: Likewise.
34771 * dirent/readdir.c: Likewise.
34772 * dirent/readdir64.c: Likewise.
34773 * dirent/readdir64_r.c: Likewise.
34774 * dirent/readdir_r.c: Likewise.
34775 * dirent/rewinddir.c: Likewise.
34776 * dirent/seekdir.c: Likewise.
34777 * dirent/telldir.c: Likewise.
34778 * gmon/profil.c: Likewise.
34779 * grp/setgroups.c: Likewise.
34780 * inet/if_index.c: Likewise.
34781 * io/access.c: Likewise.
34782 * io/chdir.c: Likewise.
34783 * io/chmod.c: Likewise.
34784 * io/chown.c: Likewise.
34785 * io/close.c: Likewise.
34786 * io/dup.c: Likewise.
34787 * io/dup2.c: Likewise.
34788 * io/dup3.c: Likewise.
34789 * io/euidaccess.c: Likewise.
34790 * io/faccessat.c: Likewise.
34791 * io/fchdir.c: Likewise.
34792 * io/fchmod.c: Likewise.
34793 * io/fchmodat.c: Likewise.
34794 * io/fchown.c: Likewise.
34795 * io/fchownat.c: Likewise.
34796 * io/fcntl.c: Likewise.
34797 * io/flock.c: Likewise.
34798 * io/fstatfs.c: Likewise.
34799 * io/fstatfs64.c: Likewise.
34800 * io/fstatvfs.c: Likewise.
34801 * io/fstatvfs64.c: Likewise.
34802 * io/futimens.c: Likewise.
34803 * io/fxstat.c: Likewise.
34804 * io/fxstat64.c: Likewise.
34805 * io/fxstatat.c: Likewise.
34806 * io/fxstatat64.c: Likewise.
34807 * io/getcwd.c: Likewise.
34808 * io/isatty.c: Likewise.
34809 * io/lchmod.c: Likewise.
34810 * io/lchown.c: Likewise.
34811 * io/link.c: Likewise.
34812 * io/linkat.c: Likewise.
34813 * io/lseek.c: Likewise.
34814 * io/lseek64.c: Likewise.
34815 * io/lxstat64.c: Likewise.
34816 * io/mkdir.c: Likewise.
34817 * io/mkdirat.c: Likewise.
34818 * io/mkfifo.c: Likewise.
34819 * io/mkfifoat.c: Likewise.
34820 * io/open.c: Likewise.
34821 * io/open64.c: Likewise.
34822 * io/openat.c: Likewise.
34823 * io/openat64.c: Likewise.
34824 * io/pipe.c: Likewise.
34825 * io/pipe2.c: Likewise.
34826 * io/poll.c: Likewise.
34827 * io/posix_fadvise.c: Likewise.
34828 * io/posix_fadvise64.c: Likewise.
34829 * io/posix_fallocate.c: Likewise.
34830 * io/posix_fallocate64.c: Likewise.
34831 * io/read.c: Likewise.
34832 * io/readlink.c: Likewise.
34833 * io/readlinkat.c: Likewise.
34834 * io/rmdir.c: Likewise.
34835 * io/sendfile.c: Likewise.
34836 * io/sendfile64.c: Likewise.
34837 * io/statfs.c: Likewise.
34838 * io/statfs64.c: Likewise.
34839 * io/statvfs.c: Likewise.
34840 * io/statvfs64.c: Likewise.
34841 * io/symlink.c: Likewise.
34842 * io/symlinkat.c: Likewise.
34843 * io/ttyname.c: Likewise.
34844 * io/ttyname_r.c: Likewise.
34845 * io/umask.c: Likewise.
34846 * io/unlink.c: Likewise.
34847 * io/unlinkat.c: Likewise.
34848 * io/utime.c: Likewise.
34849 * io/utimensat.c: Likewise.
34850 * io/write.c: Likewise.
34851 * io/xmknod.c: Likewise.
34852 * io/xmknodat.c: Likewise.
34853 * io/xstat.c: Likewise.
34854 * io/xstat64.c: Likewise.
34855 * login/getpt.c: Likewise.
34856 * login/grantpt.c: Likewise.
34857 * login/unlockpt.c: Likewise.
34858 * math/e_acoshl.c: Likewise.
34859 * math/e_acosl.c: Likewise.
34860 * math/e_asinl.c: Likewise.
34861 * math/e_atan2l.c: Likewise.
34862 * math/e_atanhl.c: Likewise.
34863 * math/e_coshl.c: Likewise.
34864 * math/e_expl.c: Likewise.
34865 * math/e_fmodl.c: Likewise.
34866 * math/e_gammal_r.c: Likewise.
34867 * math/e_hypotl.c: Likewise.
34868 * math/e_j0l.c: Likewise.
34869 * math/e_j1l.c: Likewise.
34870 * math/e_jnl.c: Likewise.
34871 * math/e_lgammal_r.c: Likewise.
34872 * math/e_log10l.c: Likewise.
34873 * math/e_log2l.c: Likewise.
34874 * math/e_logl.c: Likewise.
34875 * math/e_powl.c: Likewise.
34876 * math/e_rem_pio2l.c: Likewise.
34877 * math/e_sinhl.c: Likewise.
34878 * math/e_sqrtl.c: Likewise.
34879 * math/fclrexcpt.c: Likewise.
34880 * math/fedisblxcpt.c: Likewise.
34881 * math/feenablxcpt.c: Likewise.
34882 * math/fegetenv.c: Likewise.
34883 * math/fegetexcept.c: Likewise.
34884 * math/fegetround.c: Likewise.
34885 * math/feholdexcpt.c: Likewise.
34886 * math/fesetenv.c: Likewise.
34887 * math/fesetround.c: Likewise.
34888 * math/feupdateenv.c: Likewise.
34889 * math/fgetexcptflg.c: Likewise.
34890 * math/fraiseexcpt.c: Likewise.
34891 * math/fsetexcptflg.c: Likewise.
34892 * math/ftestexcept.c: Likewise.
34893 * math/k_cosl.c: Likewise.
34894 * math/k_rem_pio2l.c: Likewise.
34895 * math/k_sinl.c: Likewise.
34896 * math/k_tanl.c: Likewise.
34897 * math/s_asinhl.c: Likewise.
34898 * math/s_atanl.c: Likewise.
34899 * math/s_cbrtl.c: Likewise.
34900 * math/s_erfl.c: Likewise.
34901 * math/s_expm1l.c: Likewise.
34902 * math/s_log1pl.c: Likewise.
34903 * math/s_tanhl.c: Likewise.
34904 * misc/acct.c: Likewise.
34905 * misc/brk.c: Likewise.
34906 * misc/chflags.c: Likewise.
34907 * misc/chroot.c: Likewise.
34908 * misc/fchflags.c: Likewise.
34909 * misc/fgetxattr.c: Likewise.
34910 * misc/flistxattr.c: Likewise.
34911 * misc/fremovexattr.c: Likewise.
34912 * misc/fsetxattr.c: Likewise.
34913 * misc/fsync.c: Likewise.
34914 * misc/ftruncate.c: Likewise.
34915 * misc/futimes.c: Likewise.
34916 * misc/futimesat.c: Likewise.
34917 * misc/getdomain.c: Likewise.
34918 * misc/getdtsz.c: Likewise.
34919 * misc/gethostid.c: Likewise.
34920 * misc/gethostname.c: Likewise.
34921 * misc/getloadavg.c: Likewise.
34922 * misc/getpagesize.c: Likewise.
34923 * misc/getsysstats.c: Likewise.
34924 * misc/getxattr.c: Likewise.
34925 * misc/gtty.c: Likewise.
34926 * misc/ioctl.c: Likewise.
34927 * misc/lgetxattr.c: Likewise.
34928 * misc/listxattr.c: Likewise.
34929 * misc/llistxattr.c: Likewise.
34930 * misc/lremovexattr.c: Likewise.
34931 * misc/lsetxattr.c: Likewise.
34932 * misc/lutimes.c: Likewise.
34933 * misc/madvise.c: Likewise.
34934 * misc/mincore.c: Likewise.
34935 * misc/mlock.c: Likewise.
34936 * misc/mlockall.c: Likewise.
34937 * misc/mmap.c: Likewise.
34938 * misc/mprotect.c: Likewise.
34939 * misc/msync.c: Likewise.
34940 * misc/munlock.c: Likewise.
34941 * misc/munlockall.c: Likewise.
34942 * misc/munmap.c: Likewise.
34943 * misc/preadv.c: Likewise.
34944 * misc/preadv64.c: Likewise.
34945 * misc/ptrace.c: Likewise.
34946 * misc/pwritev.c: Likewise.
34947 * misc/pwritev64.c: Likewise.
34948 * misc/readv.c: Likewise.
34949 * misc/reboot.c: Likewise.
34950 * misc/remap_file_pages.c: Likewise.
34951 * misc/removexattr.c: Likewise.
34952 * misc/revoke.c: Likewise.
34953 * misc/select.c: Likewise.
34954 * misc/setdomain.c: Likewise.
34955 * misc/setegid.c: Likewise.
34956 * misc/seteuid.c: Likewise.
34957 * misc/sethostid.c: Likewise.
34958 * misc/sethostname.c: Likewise.
34959 * misc/setregid.c: Likewise.
34960 * misc/setreuid.c: Likewise.
34961 * misc/setxattr.c: Likewise.
34962 * misc/sstk.c: Likewise.
34963 * misc/stty.c: Likewise.
34964 * misc/swapoff.c: Likewise.
34965 * misc/swapon.c: Likewise.
34966 * misc/sync.c: Likewise.
34967 * misc/syncfs.c: Likewise.
34968 * misc/syscall.c: Likewise.
34969 * misc/truncate.c: Likewise.
34970 * misc/ualarm.c: Likewise.
34971 * misc/usleep.c: Likewise.
34972 * misc/ustat.c: Likewise.
34973 * misc/utimes.c: Likewise.
34974 * misc/vhangup.c: Likewise.
34975 * misc/writev.c: Likewise.
34976 * posix/_exit.c: Likewise.
34977 * posix/alarm.c: Likewise.
34978 * posix/execve.c: Likewise.
34979 * posix/fexecve.c: Likewise.
34980 * posix/fork.c: Likewise.
34981 * posix/fpathconf.c: Likewise.
34982 * posix/getaddrinfo.c: Likewise.
34983 * posix/getegid.c: Likewise.
34984 * posix/geteuid.c: Likewise.
34985 * posix/getgid.c: Likewise.
34986 * posix/getgroups.c: Likewise.
34987 * posix/getlogin.c: Likewise.
34988 * posix/getlogin_r.c: Likewise.
34989 * posix/getpgid.c: Likewise.
34990 * posix/getpid.c: Likewise.
34991 * posix/getppid.c: Likewise.
34992 * posix/getresgid.c: Likewise.
34993 * posix/getresuid.c: Likewise.
34994 * posix/getsid.c: Likewise.
34995 * posix/getuid.c: Likewise.
34996 * posix/glob64.c: Likewise.
34997 * posix/nanosleep.c: Likewise.
34998 * posix/pathconf.c: Likewise.
34999 * posix/pause.c: Likewise.
35000 * posix/posix_madvise.c: Likewise.
35001 * posix/pread.c: Likewise.
35002 * posix/pread64.c: Likewise.
35003 * posix/pwrite.c: Likewise.
35004 * posix/pwrite64.c: Likewise.
35005 * posix/sched_getaffinity.c: Likewise.
35006 * posix/sched_getp.c: Likewise.
35007 * posix/sched_gets.c: Likewise.
35008 * posix/sched_primax.c: Likewise.
35009 * posix/sched_primin.c: Likewise.
35010 * posix/sched_rr_gi.c: Likewise.
35011 * posix/sched_setaffinity.c: Likewise.
35012 * posix/sched_setp.c: Likewise.
35013 * posix/sched_sets.c: Likewise.
35014 * posix/sched_yield.c: Likewise.
35015 * posix/setgid.c: Likewise.
35016 * posix/setlogin.c: Likewise.
35017 * posix/setpgid.c: Likewise.
35018 * posix/setresgid.c: Likewise.
35019 * posix/setresuid.c: Likewise.
35020 * posix/setsid.c: Likewise.
35021 * posix/setuid.c: Likewise.
35022 * posix/sleep.c: Likewise.
35023 * posix/spawni.c: Likewise.
35024 * posix/sysconf.c: Likewise.
35025 * posix/times.c: Likewise.
35026 * posix/wait.c: Likewise.
35027 * posix/wait3.c: Likewise.
35028 * posix/wait4.c: Likewise.
35029 * posix/waitpid.c: Likewise.
35030 * resolv/gai_sigqueue.c: Likewise.
35031 * resource/getpriority.c: Likewise.
35032 * resource/getrlimit.c: Likewise.
35033 * resource/getrusage.c: Likewise.
35034 * resource/nice.c: Likewise.
35035 * resource/setpriority.c: Likewise.
35036 * resource/setrlimit.c: Likewise.
35037 * resource/ulimit.c: Likewise.
35038 * rt/aio_cancel.c: Likewise.
35039 * rt/aio_fsync.c: Likewise.
35040 * rt/aio_read.c: Likewise.
35041 * rt/aio_sigqueue.c: Likewise.
35042 * rt/aio_suspend.c: Likewise.
35043 * rt/aio_write.c: Likewise.
35044 * rt/clock_getres.c: Likewise.
35045 * rt/clock_gettime.c: Likewise.
35046 * rt/clock_nanosleep.c: Likewise.
35047 * rt/clock_settime.c: Likewise.
35048 * rt/lio_listio.c: Likewise.
35049 * rt/mq_close.c: Likewise.
35050 * rt/mq_getattr.c: Likewise.
35051 * rt/mq_notify.c: Likewise.
35052 * rt/mq_open.c: Likewise.
35053 * rt/mq_receive.c: Likewise.
35054 * rt/mq_send.c: Likewise.
35055 * rt/mq_setattr.c: Likewise.
35056 * rt/mq_timedreceive.c: Likewise.
35057 * rt/mq_timedsend.c: Likewise.
35058 * rt/mq_unlink.c: Likewise.
35059 * rt/shm_open.c: Likewise.
35060 * rt/shm_unlink.c: Likewise.
35061 * rt/timer_create.c: Likewise.
35062 * rt/timer_delete.c: Likewise.
35063 * rt/timer_getoverr.c: Likewise.
35064 * rt/timer_gettime.c: Likewise.
35065 * rt/timer_settime.c: Likewise.
35066 * setjmp/__longjmp.c: Likewise.
35067 * setjmp/setjmp.c: Likewise.
35068 * signal/kill.c: Likewise.
35069 * signal/killpg.c: Likewise.
35070 * signal/raise.c: Likewise.
35071 * signal/sigaction.c: Likewise.
35072 * signal/sigaltstack.c: Likewise.
35073 * signal/sigblock.c: Likewise.
35074 * signal/sigignore.c: Likewise.
35075 * signal/sigintr.c: Likewise.
35076 * signal/signal.c: Likewise.
35077 * signal/sigpause.c: Likewise.
35078 * signal/sigpending.c: Likewise.
35079 * signal/sigqueue.c: Likewise.
35080 * signal/sigreturn.c: Likewise.
35081 * signal/sigset.c: Likewise.
35082 * signal/sigsetmask.c: Likewise.
35083 * signal/sigstack.c: Likewise.
35084 * signal/sigsuspend.c: Likewise.
35085 * signal/sigtimedwait.c: Likewise.
35086 * signal/sigvec.c: Likewise.
35087 * signal/sigwait.c: Likewise.
35088 * signal/sigwaitinfo.c: Likewise.
35089 * signal/sysv_signal.c: Likewise.
35090 * socket/accept.c: Likewise.
35091 * socket/accept4.c: Likewise.
35092 * socket/bind.c: Likewise.
35093 * socket/connect.c: Likewise.
35094 * socket/getpeername.c: Likewise.
35095 * socket/getsockname.c: Likewise.
35096 * socket/getsockopt.c: Likewise.
35097 * socket/isfdtype.c: Likewise.
35098 * socket/listen.c: Likewise.
35099 * socket/recv.c: Likewise.
35100 * socket/recvfrom.c: Likewise.
35101 * socket/recvmsg.c: Likewise.
35102 * socket/send.c: Likewise.
35103 * socket/sendmsg.c: Likewise.
35104 * socket/sendto.c: Likewise.
35105 * socket/setsockopt.c: Likewise.
35106 * socket/shutdown.c: Likewise.
35107 * socket/sockatmark.c: Likewise.
35108 * socket/socket.c: Likewise.
35109 * socket/socketpair.c: Likewise.
35110 * stdio-common/ctermid.c: Likewise.
35111 * stdio-common/cuserid.c: Likewise.
35112 * stdio-common/remove.c: Likewise.
35113 * stdio-common/rename.c: Likewise.
35114 * stdio-common/renameat.c: Likewise.
35115 * stdio-common/tempname.c: Likewise.
35116 * stdlib/getcontext.c: Likewise.
35117 * stdlib/makecontext.c: Likewise.
35118 * stdlib/setcontext.c: Likewise.
35119 * stdlib/swapcontext.c: Likewise.
35120 * stdlib/system.c: Likewise.
35121 * streams/fattach.c: Likewise.
35122 * streams/fdetach.c: Likewise.
35123 * streams/getmsg.c: Likewise.
35124 * streams/getpmsg.c: Likewise.
35125 * streams/putmsg.c: Likewise.
35126 * streams/putpmsg.c: Likewise.
35127 * sysdeps/unix/bsd/getpt.c: Likewise.
35128 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35129 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35130 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35132 Likewise.
35133 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35134 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35135 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35136 * sysvipc/msgctl.c: Likewise.
35137 * sysvipc/msgget.c: Likewise.
35138 * sysvipc/msgrcv.c: Likewise.
35139 * sysvipc/msgsnd.c: Likewise.
35140 * sysvipc/semctl.c: Likewise.
35141 * sysvipc/semget.c: Likewise.
35142 * sysvipc/semop.c: Likewise.
35143 * sysvipc/semtimedop.c: Likewise.
35144 * sysvipc/shmat.c: Likewise.
35145 * sysvipc/shmctl.c: Likewise.
35146 * sysvipc/shmdt.c: Likewise.
35147 * sysvipc/shmget.c: Likewise.
35148 * termios/tcdrain.c: Likewise.
35149 * termios/tcflow.c: Likewise.
35150 * termios/tcflush.c: Likewise.
35151 * termios/tcgetattr.c: Likewise.
35152 * termios/tcgetpgrp.c: Likewise.
35153 * termios/tcsendbrk.c: Likewise.
35154 * termios/tcsetattr.c: Likewise.
35155 * termios/tcsetpgrp.c: Likewise.
35156 * time/adjtime.c: Likewise.
35157 * time/clock.c: Likewise.
35158 * time/getitimer.c: Likewise.
35159 * time/gettimeofday.c: Likewise.
35160 * time/setitimer.c: Likewise.
35161 * time/settimeofday.c: Likewise.
35162 * time/stime.c: Likewise.
35163 * time/time.c: Likewise.
35164
351652012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35166
a20492cf
PT
35167 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35168 /usr/old/bin.
35169
72e182e3
PT
35170 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35171 instead of spaces.
35172 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35173
fbeafede
JM
351742012-11-03 Joseph Myers <joseph@codesourcery.com>
35175
5b5b04d6
JM
35176 [BZ #14796]
35177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35178 FE_TONEAREST before applying Dekker multiplication and Knuth
35179 addition. Clear inexact exceptions and check for exact zero
35180 results afterwards.
35181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35182 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35184 * math/libm-test.inc (fma_test): Add more tests.
35185 (fma_test_towardzero): Likewise.
35186 (fma_test_downward): Likewise.
35187 (fma_test_upward): Likewise.
35188 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35189 function.
35190 (libc_fesetround): New macro.
35191 (libc_fesetroundf): Likewise.
35192 (libc_fesetroundl): Likewise.
35193 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35194 function.
35195 (libc_fesetround_387): Likewise.
35196 (libc_fesetroundf): New macro.
35197 (libc_fesetround): Likewise.
35198 (libc_fesetroundl): Likewise.
35199 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35200 function.
35201 (libc_fesetroundf): New macro.
35202 (libc_fesetround): Likewise.
35203 (libc_fesetroundl): Likewise.
35204 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35205 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35206 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35207 libm_hidden_ver.
35208 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35209 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35210 libm_hidden_def.
35211 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35212 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35213 libm_hidden_ver.
35214 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35215 libm_hidden_def.
35216
fbeafede
JM
35217 [BZ #3439]
35218 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35219 integer constant usable in #if and use that to give value to enum
35220 constant.
35221 (FE_DIVBYZERO): Likewise.
35222 (FE_UNDERFLOW): Likewise.
35223 (FE_OVERFLOW): Likewise.
35224 (FE_INVALID): Likewise.
35225 (FE_INVALID_SNAN): Likewise.
35226 (FE_INVALID_ISI): Likewise.
35227 (FE_INVALID_IDI): Likewise.
35228 (FE_INVALID_ZDZ): Likewise.
35229 (FE_INVALID_IMZ): Likewise.
35230 (FE_INVALID_COMPARE): Likewise.
35231 (FE_INVALID_SOFTWARE): Likewise.
35232 (FE_INVALID_SQRT): Likewise.
35233 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35234 (FE_TONEAREST): Likewise.
35235 (FE_TOWARDZERO): Likewise.
35236 (FE_UPWARD): Likewise.
35237 (FE_DOWNWARD): Likewise.
35238 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35239 (FE_DIVBYZERO): Likewise.
35240 (FE_OVERFLOW): Likewise.
35241 (FE_UNDERFLOW): Likewise.
35242 (FE_INEXACT): Likewise.
35243 (FE_TONEAREST): Likewise.
35244 (FE_DOWNWARD): Likewise.
35245 (FE_UPWARD): Likewise.
35246 (FE_TOWARDZERO): Likewise.
35247 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35248 (FE_UNDERFLOW): Likewise.
35249 (FE_OVERFLOW): Likewise.
35250 (FE_DIVBYZERO): Likewise.
35251 (FE_INVALID): Likewise.
35252 (FE_TONEAREST): Likewise.
35253 (FE_TOWARDZERO): Likewise.
35254 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35255 (FE_OVERFLOW): Likewise.
35256 (FE_UNDERFLOW): Likewise.
35257 (FE_DIVBYZERO): Likewise.
35258 (FE_INEXACT): Likewise.
35259 (FE_TONEAREST): Likewise.
35260 (FE_TOWARDZERO): Likewise.
35261 (FE_UPWARD): Likewise.
35262 (FE_DOWNWARD): Likewise.
35263 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35264 (FE_DIVBYZERO): Likewise.
35265 (FE_OVERFLOW): Likewise.
35266 (FE_UNDERFLOW): Likewise.
35267 (FE_INEXACT): Likewise.
35268 (FE_TONEAREST): Likewise.
35269 (FE_DOWNWARD): Likewise.
35270 (FE_UPWARD): Likewise.
35271 (FE_TOWARDZERO): Likewise.
35272
105ca950
CM
352732012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35274
35275 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35276
a542b389
AS
352772012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35278
35279 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35280 commands. Quote $PWD.
35281 (blacklist_exports): Don't use remove_newlines. Replace "declare
35282 -x" by "export".
35283 (remove_newlines): Remove.
35284
f62c8abc
L
352852012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35286
35287 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35288 * stdlib/stdlib.h (atof): Moved to ...
35289 * include/bits/stdlib-float.h: Here. New file.
35290 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35291 * stdlib/bits/stdlib-float.h: New file.
35292 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35293 -mno-sse -mno-mmx.
35294 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35295 <xmmintrin.h>.
35296
0155d5b2
JM
352972012-11-02 Joseph Myers <joseph@codesourcery.com>
35298
a68d0680
JM
35299 * conform/conformtest.pl (@headers): Add fenv.h.
35300 * conform/data/fenv.h-data: New file.
35301 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35302 include of <math/fenv.h>.
35303
caf7f573
JM
35304 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35305 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35306 && !UNIX98]. Enables tests for XOPEN2K8.
35307 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35308 POSIX2008]: Likewise.
35309
6c073ad6
JM
35310 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35311 (struct rusage): Do not expect type or its members.
35312
0155d5b2
JM
35313 [BZ #3439]
35314 * math/math.h (FP_NAN): Define macro to integer constant usable in
35315 #if and use that to give value to enum constant.
35316 (FP_INFINITE): Likewise.
35317 (FP_ZERO): Likewise.
35318 (FP_SUBNORMAL): Likewise.
35319 (FP_NORMAL): Likewise.
35320
b5dcacb4
AS
353212012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35322
35323 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35324 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35325 arguments.
35326
f7934be8
RM
353272012-11-02 Roland McGrath <roland@hack.frob.com>
35328
35329 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35330 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35331 autoconf-time if not.
35332 * configure.in: Remove AC_PREREQ.
35333
d7d08bde
TMQMF
353342012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35335
35336 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35337 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35338 of the internal implementation.
35339
dcdae19a
JM
353402012-11-02 Joseph Myers <joseph@codesourcery.com>
35341
35342 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35343 except include of <misc/sys/syslog.h>.
35344
d6cffd3e
AS
353452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35346
35347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35348 function returns with a NULL context exit with zero.
35349
b3563932
TMQMF
353502012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35351
35352 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35353
b288a93d
L
353542012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35355
35356 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35357 (run_program_cmd): This.
35358 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35359 (tst_langinfo): New variable. Use it.
35360
a2421a68
SAS
353612012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35362
35363 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35364 floating point opcodes.
35365
6f796e1b
TS
353662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35367
7402596b
TS
35368 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35369 variable.
35370
d0d4f868
TS
35371 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35372
6f796e1b
TS
35373 * sysdeps/mach/hurd/powerpc: Remove directory.
35374 * sysdeps/mach/powerpc: Likewise.
35375
4da224a2
AS
353762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35377
35378 * scripts/check-local-headers.sh: Ignore c++ headers.
35379
341dd673
TS
353802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35381
35382 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35383 __libc_cleanup_region_start argument.
35384
473611b2
JM
353852012-11-01 Joseph Myers <joseph@codesourcery.com>
35386
35387 [BZ #14784]
35388 [BZ #14785]
35389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35390 x * y using scaling, not as x * y + z.
35391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35392 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35393 * math/libm-test.inc (fma_test): Add more tests.
35394 (fma_test_towardzero): Likewise.
35395 (fma_test_downward): Likewise.
35396 (fma_test_upward): Likewise.
35397
4078da3d
TS
353982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35399
35400 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35401
903252aa
JM
354022012-10-31 Joseph Myers <joseph@codesourcery.com>
35403
35404 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35405 New variable.
35406
cbc818d0
TS
354072012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35408
35409 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35410
5a03cb1e
AS
354112012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35412
35413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35414 Fix sort order.
35415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35416 Likewise.
35417
90aff2ff
TMQMF
354182012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35419
35420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35421 Fix the order of the list for glibc 2.17.
35422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35423 Likewise.
35424
1818fcb7
AS
354252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35426
35427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35428
ef82f4da
JM
354292012-10-31 Joseph Myers <joseph@codesourcery.com>
35430
16a0e2ec
JM
35431 [BZ #14610]
35432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35433 for low part of x being zero before using __atanl (y).
35434 * math/libm-test.inc (atan2_test): Add another test.
35435
0eb69512
JM
35436 * manual/install.texi (Configuring and compiling): Document
35437 general use of test-wrapper and test-wrapper-env.
35438 * INSTALL: Regenerated.
35439
ef82f4da
JM
35440 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35441 (__fma): Do not extract and scale down low bits on after-rounding
35442 systems when result rounded to normal precision would have normal
35443 exponent.
35444 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35445 (__fmal): Do not extract and scale down low bits on after-rounding
35446 systems when result rounded to normal precision would have normal
35447 exponent.
35448 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35449 (__fmal): Do not extract and scale down low bits on after-rounding
35450 systems when result rounded to normal precision would have normal
35451 exponent.
35452 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35453 macro.
35454 (fma_test): Add more tests.
35455 (fma_test_towardzero): Likewise.
35456 (fma_test_downward): Likewise.
35457 (fma_test_upward): Likewise.
35458
954ef0d9
L
354592012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35460
35461 * sysdeps/i386/tininess.h: Renamed to ...
35462 * sysdeps/x86/tininess.h: This.
35463 * sysdeps/x86_64/tininess.h: Removed.
35464
df61ffb2
JM
354652012-10-30 Joseph Myers <joseph@codesourcery.com>
35466
35467 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35468 input. Use $(build-program-cmd).
35469 ($(objpfx)tst-array1-static.out): Likewise.
35470 ($(objpfx)tst-array2.out): Likewise.
35471 ($(objpfx)tst-array3.out): Likewise.
35472 ($(objpfx)tst-array4.out): Likewise.
35473 ($(objpfx)tst-array5.out): Likewise.
35474 ($(objpfx)tst-array5-static.out): Likewise.
35475
01767843
CM
354762012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35477
47cc1490
CM
35478 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35479 if defined.
35480
01767843
CM
35481 * nss/nsswitch.h (nss_interface_function): Provide new
35482 macro for use with NSS functions.
35483 * grp/initgroups.c: Use new macro.
35484 * nss/getXXbyYY.c: Likewise.
35485 * nss/getXXbyYY_r.c: Likewise.
35486 * nss/getXXent.c: Likewise.
35487 * nss/getXXent_r.c: Likewise.
35488 * sysdeps/posix/getaddrinfo.c: Likewise.
35489
8321aa97
AJ
354902012-10-30 Andreas Jaeger <aj@suse.de>
35491
35492 * po/ru.po: Update Russion translation from translation project.
35493
2a27fd6d
JM
354942012-10-30 Joseph Myers <joseph@codesourcery.com>
35495
8627a232
JM
35496 [BZ #14152]
35497 [BZ #14783]
35498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35499 result and shift together with sticky bit instead of replicating
35500 round-to-nearest rounding.
35501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35502 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35503 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35504 missing underflow exceptions.
35505 (fma_test_towardzero): Add more tests.
35506 (fma_test_downward): Likewise.
35507 (fma_test_upward): Likewise.
35508
2a27fd6d
JM
35509 [BZ #14047]
35510 * sysdeps/generic/tininess.h: New file.
35511 * sysdeps/i386/tininess.h: Likewise.
35512 * sysdeps/sh/tininess.h: Likewise.
35513 * sysdeps/x86_64/tininess.h: Likewise.
35514 * stdlib/tst-strtod-underflow.c: Likewise.
35515 * stdlib/tst-tininess.c: Likewise.
35516 * stdlib/strtod_l.c: Include <tininess.h>.
35517 (round_and_return): Do not set errno for exact underflow cases.
35518 Force an underflow exception when setting errno for underflow.
35519 Determine underflow based on rounding to normal precision if
35520 TININESS_AFTER_ROUNDING.
35521 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35522 ERANGE for exact underflow cases.
35523 * stdlib/Makefile (tests): Add tst-tininess and
35524 tst-strtod-underflow.
35525 ($(objpfx)tst-tininess): Use $(link-libm).
35526 ($(objpfx)tst-strtod-underflow): Likewise.
35527
e7170363
AJ
355282012-10-30 Andreas Jaeger <aj@suse.de>
35529
e5088dc6
AJ
35530 [BZ#14767]
35531 * elf/Makefile (tests): Remove conditional for have-initfini-array
35532 since this is now always required and the variable does not exist
35533 anymore.
35534 (tests-static): Likewise.
35535 (modules-names): Likewise.
35536
e7170363 35537 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35538
35539 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35540 merged with constructor/destructor.
35541 (init_array): Likewise.
35542 * elf/tst-array2dep.c (fini_array): Likewise.
35543 (init_array): Likewise.
35544
60457d8a
MF
355452012-10-29 Mike Frysinger <vapier@gentoo.org>
35546
35547 * manual/message.texi: Delete @cartouche tags.
35548
8bece752
PT
355492012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35550
94ce799f
PT
35551 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35552 EOPNOTSUPP.
35553 * sysdeps/mach/hurd/fsync.c: Likewise.
35554
8bece752
PT
35555 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35556 [_POSIX_REALTIME_SIGNALS]: Change condition to
35557 [_POSIX_REALTIME_SIGNALS > 0].
35558
86ebe6b1
AJ
355592012-10-27 Andreas Jaeger <aj@suse.de>
35560
35561 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35562 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35563 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35564 [__WORDSIZE != 64]: Likewise.
35565
54399c08
L
355662012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35567
35568 * iconvdata/tst-table.sh: Remove ${SHELL}.
35569 * iconvdata/tst-tables.sh: Likewise.
35570
e2211bed
DM
355712012-10-25 David S. Miller <davem@davemloft.net>
35572
35573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35574 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35575 of strtoull.
35576
f303f97c
DM
35577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35578 ifunc-impl-list.c
35579 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35580 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35581 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35582 file.
35583
1e9d84cd
RM
355842012-10-25 Roland McGrath <roland@hack.frob.com>
35585
35586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35587 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35588 __getdirentries.
35589
df381762
JM
355902012-10-25 Joseph Myers <joseph@codesourcery.com>
35591 Jim Blandy <jimb@codesourcery.com>
35592
35593 * scripts/cross-test-ssh.sh: New file.
35594 * manual/install.texi (Configuring and compiling): Document use of
35595 cross-test-ssh.sh.
35596 * INSTALL: Regenerated.
35597
bff64913
PT
355982012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35599
35600 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35601 EOPNOTSUPP.
35602
25fe8932
JM
356032012-10-25 Joseph Myers <joseph@codesourcery.com>
35604
35605 * Makeconfig (run-program-prefix): Fix comment.
35606
cc1290d0
JM
356072012-10-24 Joseph Myers <joseph@codesourcery.com>
35608 Jim Blandy <jimb@codesourcery.com>
35609
35610 * Makeconfig (test-wrapper): New variable,
35611 (test-wrapper-env): Likewise.
35612 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35613 (run-built-tests): Define to yes.
35614 (run-program-prefix): Use $(test-wrapper).
35615 (built-program-cmd): Likewise.
35616 * Rules (make-test-out): Use $(test-wrapper-env) and
35617 $(host-built-program-cmd).
35618 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35619 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35620 tst-pathopt.sh.
35621 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35622 $(test-wrapper-env) to tst-rtld-load-self.sh.
35623 ($(objpfx)order2.out): Use $(test-wrapper).
35624 ($(objpfx)tst-initorder.out): Likewise.
35625 ($(objpfx)tst-initorder2.out): Likewise.
35626 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35627 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35628 (test_wrapper_env): New variable. Use it to run ld.so.
35629 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35630 Use it to run ld.so.
35631 (test_wrapper_env): Likewise.
35632 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35633 $(test-wrapper) to run-iconv-test.sh.
35634 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35635 (ICONV): Use $test_wrapper.
35636 * posix/Makefile ($(objpfx)globtest.out): Pass
35637 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35638 globtest.sh, not $(run-program-prefix).
35639 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35640 (test_wrapper): Likewise.
35641 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35642 set together with run_via_rtld_prefix.
35643 (run_program_prefix): Define in terms of test_wrapper and
35644 run_via_rtld_prefix.
35645
6e6249d0
RM
356462012-10-24 Roland McGrath <roland@hack.frob.com>
35647
35648 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35649 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35650 Targets removed.
35651
35652 [BZ #14743]
35653 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35654 Declare __clock_getres, __clock_gettime, __clock_settime,
35655 __clock_nanosleep, and __clock_getcpuclockid.
35656 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35657 Remove librt_hidden_def (clock_gettime).
35658 * sysdeps/unix/clock_gettime.c: Likewise.
35659 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35660 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35661 * rt/clock_getres.c: Define __clock_getres as an alias.
35662 * sysdeps/posix/clock_getres.c: Likewise.
35663 * rt/clock_settime.c: Define __clock_settime as an alias.
35664 * sysdeps/unix/clock_settime.c: Likewise.
35665 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35666 * sysdeps/unix/clock_nanosleep.c: Likewise.
35667 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35668 * rt/clock-compat.c: New file.
35669 * rt/Makefile (librt-routines): Add clock-compat and move
35670 $(clock-routines) to ...
35671 (routines): ... here, new variable.
35672 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35673 Don't add get_clockfreq here.
35674 * rt/Versions (libc: GLIBC_2.17): New version set.
35675 Add clock_* symbols here.
35676 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35677 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35678 (GLIBC_2.17): Add clock_* symbols.
35679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35683 Likewise.
35684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35685 Likewise.
35686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35690 * NEWS: Mention the move.
35691
35692 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35693 Use __open, __read, __close rather than their public counterparts.
35694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35695 (__get_clockfreq_via_cpuinfo): Likewise.
35696 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35697 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35698
35699 * config.h.in (HAVE_IFUNC): New #undef.
35700 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35701 was successful.
35702 * configure: Regenerated.
35703
0cae3f4b
MF
357042012-10-24 Mike Frysinger <vapier@gentoo.org>
35705
35706 * configure.in: Move READELF check to start of file.
35707 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35708 libc_cv_asm_gnu_indirect_function in the process.
35709 * configure: Regenerated.
35710
8175a253
MF
357112012-10-24 Mike Frysinger <vapier@gentoo.org>
35712
35713 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35714 send the output to /dev/null.
35715 (libc_cv_cc_with_libunwind): Likewise.
35716 (libc_cv_as_noexecstack): Likewise.
35717 * configure: Regenerate.
35718
0708a7d1
JM
357192012-10-24 Joseph Myers <joseph@codesourcery.com>
35720
10b40d85
JM
35721 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35722
0708a7d1
JM
35723 * posix/globtest.sh (TMPDIR): Do not set.
35724 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35725 (testout): Likewise.
35726
9fddec1a
AJ
357272012-10-24 Andreas Jaeger <aj@suse.de>
35728
3a8db22f
AJ
35729 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35730 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35731 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35732 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35733 posix_fadvise64, posix_fallocate64.
35734
9fddec1a
AJ
35735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35736 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35737 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35738 Likewise.
35739 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35740 Likewise.
35741 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35742
35743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35744 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35745 <bits/fcntl-linux.h>.
35746 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35747
35748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35749 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35750 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35751 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35752 [__WORDSIZE != 64]: Likewise.
35753
ebfd1bbd
JM
357542012-10-23 Joseph Myers <joseph@codesourcery.com>
35755
03ac099f
JM
35756 * Makeconfig (run-built-tests): New variable.
35757 * Rules [$(cross-compiling) = yes]: Change condition to
35758 [$(run-built-tests) = no].
35759 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35760 to [$(run-built-tests) = yes].
35761 * elf/Makefile [$(cross-compiling) = no]: Likewise
35762 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35763 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35764 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35765 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35766 * io/Makefile [$(cross-compiling) = no]: Likewise.
35767 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35768 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35769 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35770 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35771 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35772 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35773 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35774 * string/Makefile [$(cross-compiling) = no]: Likewise.
35775
ebfd1bbd
JM
35776 * posix/Makefile ($(objpfx)globtest.out): Pass
35777 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35778 $(rtld-installed-name).
35779 * posix/globtest.sh (elf_objpfx): Remove variable.
35780 (rtld_installed_name): Likewise.
35781 (library_path): Likewise.
35782 (run_program_prefix): New variable. Use for running globtest
35783 binary.
35784
166bca24
JB
357852012-10-23 Jim Blandy <jimb@codesourcery.com>
35786 Joseph Myers <joseph@codesourcery.com>
35787
35788 * Makeconfig (host-built-program-cmd): New variable.
35789 * elf/Makefile (tst-stackguard1-ARGS): Use
35790 $(host-built-program-cmd).
35791 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35792 (tst-spawn-ARGS): Likewise.
35793 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35794
88866099
JM
357952012-10-23 Joseph Myers <joseph@codesourcery.com>
35796 Jim Blandy <jimb@codesourcery.com>
35797
35798 * Makeconfig (run-via-rtld-prefix): New variable.
35799 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35800 (built-program-cmd): Likewise.
35801
b4b4c296
AJ
358022012-10-22 Andreas Jaeger <aj@suse.de>
35803
35804 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35805 __O_RSYNC if it exists, otherwise to O_SYNC.
35806
6fb54a22
JB
358072012-10-22 Jim Blandy <jimb@codesourcery.com>
35808 Joseph Myers <joseph@codesourcery.com>
35809
35810 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35811 /dev/null.
35812 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35813 from /dev/null
35814 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35815 /dev/null.
35816
481b90b9
AJ
358172012-10-22 Andreas Jaeger <aj@suse.de>
35818
2a0e2669
AJ
35819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35820 Define always.
35821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35822
76e38f9a
AJ
35823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35824 bits/fcntl-linux.h.
35825
7cd37b43
AJ
35826 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35827 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35828
481b90b9
AJ
35829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35830 to __O_LARGEFILE.
35831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35832 to __O_LARGEFILE.
35833
aba75984
JB
358342012-10-21 Jim Blandy <jimb@codesourcery.com>
35835 Joseph Myers <joseph@codesourcery.com>
35836
35837 * config.make.in (NM): New variable.
35838
88d4247f
AJ
358392012-10-21 Andreas Jaeger <aj@suse.de>
35840
35841 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35842 definitions and declarations that are provided by
35843 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35844
f2eed205
L
358452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35846
35847 [BZ #14683]
35848 * elf/Makefile (tests-static): Add tst-leaks1-static.
35849 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35850 ($(objpfx)tst-leaks1-static): New rule.
35851 ($(objpfx)tst-leaks1-static-mem): Likewise.
35852 (tst-leaks1-static-ENV): New macro.
35853 * elf/dl-open.c (dl_open_worker): Check the main application
35854 only if SHARED is defined.
35855 * elf/tst-leaks1-static.c: New file.
35856
335e6931
AJ
358572012-10-20 Andreas Jaeger <aj@suse.de>
35858
35859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35860 generic values for Linux.
35861 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35862 and declarations that are provided by <bits/fcntl-linux.h> and
35863 include <bits/fcntl-linux.h>.
35864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35866
ac5c94d3
RM
358672012-10-20 Roland McGrath <roland@hack.frob.com>
35868
35869 * io/fcntl.h: Move include of <bits/types.h> to the top and
35870 include it unconditionally.
35871
de54b33a
L
358722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35873
228cfb01
L
35874 * wcsmbs/Makefile (tests-ifunc): New variable.
35875 (tests): Add $(tests-ifunc).
35876 * wcsmbs/test-wcschr-ifunc.c: New file.
35877 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35878 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35879 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35880 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35881 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35882
69f07e5f
L
35883 * string/Makefile (tests-ifunc): New variable.
35884 (tests): Add $(tests-ifunc).
35885 * string/test-memccpy.c (TEST_NAME): New macro.
35886 * string/test-memchr.c (TEST_NAME): Likewise.
35887 * string/test-memcmp.c (TEST_NAME): Likewise.
35888 * string/test-memcpy.c (TEST_NAME): Likewise.
35889 * string/test-memmem.c (TEST_NAME): Likewise.
35890 * string/test-memmove.c (TEST_NAME): Likewise.
35891 * string/test-memset.c (TEST_NAME): Likewise.
35892 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35893 * string/test-stpcpy.c (TEST_NAME): Likewise.
35894 * string/test-stpncpy.c (TEST_NAME): Likewise.
35895 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35896 * string/test-strcasestr.c (TEST_NAME): Likewise.
35897 * string/test-strcat.c (TEST_NAME): Likewise.
35898 * string/test-strchr.c (TEST_NAME): Likewise.
35899 * string/test-strcmp.c(TEST_NAME): Likewise.
35900 * string/test-strcpy.c (TEST_NAME): Likewise.
35901 * string/test-strcspn.c (TEST_NAME): Likewise.
35902 * string/test-strlen.c (TEST_NAME): Likewise.
35903 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35904 * string/test-strncmp.c (TEST_NAME): Likewise.
35905 * string/test-strncpy.c (TEST_NAME): Likewise.
35906 * string/test-strnlen.c (TEST_NAME): Likewise.
35907 * string/test-strpbrk.c (TEST_NAME): Likewise.
35908 * string/test-strrchr.c (TEST_NAME): Likewise.
35909 * string/test-strspn.c (TEST_NAME): Likewise.
35910 * string/test-strstr.c (TEST_NAME): Likewise.
35911 * string/test-bcopy-ifunc.c: New file.
35912 * string/test-bzero-ifunc.c: Likewise.
35913 * string/test-memccpy-ifunc.c: Likewise.
35914 * string/test-memchr-ifunc.c: Likewise.
35915 * string/test-memcmp-ifunc.c: Likewise.
35916 * string/test-memcpy-ifunc.c: Likewise.
35917 * string/test-memmem-ifunc.c: Likewise.
35918 * string/test-memmove-ifunc.c: Likewise.
35919 * string/test-mempcpy-ifunc.c: Likewise.
35920 * string/test-memset-ifunc.c: Likewise.
35921 * string/test-rawmemchr-ifunc.c: Likewise.
35922 * string/test-stpcpy-ifunc.c: Likewise.
35923 * string/test-stpncpy-ifunc.c: Likewise.
35924 * string/test-strcasecmp-ifunc.c: Likewise.
35925 * string/test-strcasestr-ifunc.c: Likewise.
35926 * string/test-strcat-ifunc.c: Likewise.
35927 * string/test-strchr-ifunc.c: Likewise.
35928 * string/test-strchrnul-ifunc.c: Likewise.
35929 * string/test-strcmp-ifunc.c: Likewise.
35930 * string/test-strcpy-ifunc.c: Likewise.
35931 * string/test-strcspn-ifunc.c: Likewise.
35932 * string/test-strlen-ifunc.c: Likewise.
35933 * string/test-strncasecmp-ifunc.c: Likewise.
35934 * string/test-strncat-ifunc.c: Likewise.
35935 * string/test-strncmp-ifunc.c: Likewise.
35936 * string/test-strncpy-ifunc.c: Likewise.
35937 * string/test-strnlen-ifunc.c: Likewise.
35938 * string/test-strpbrk-ifunc.c: Likewise.
35939 * string/test-strrchr-ifunc.c: Likewise.
35940 * string/test-strspn-ifunc.c: Likewise.
35941 * string/test-strstr-ifunc.c: Likewise.
35942
de54b33a
L
35943 * debug/Makefile (tests-ifunc): New variable.
35944 (tests): Add $(tests-ifunc).
35945 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35946 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35947 * debug/test-stpcpy_chk-ifunc.c: New file.
35948 * debug/test-strcpy_chk-ifunc.c: Likewise.
35949
88481c16
SP
359502012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35951
35952 [BZ #13601]
35953 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35954 header is not read in.
35955
135948bd
JM
359562012-10-19 Joseph Myers <joseph@codesourcery.com>
35957
89f1c388
JM
35958 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35959 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35960 directly. Pass built executable to script as
35961 $(built-program-cmd).
35962 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35963 $testprogram without using LD_LIBRARY_PATH and $ldso.
35964
e40a0d21
JM
35965 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35966 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35967 $(rtld-installed-name).
35968 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35969 (rtld_installed_name): Likewise.
35970 (library_path): Likewise.
35971 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35972 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35973 $(run-program-prefix) to tst-tables.sh.
35974 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35975 it to run tst-table-from and tst-table-to.
35976 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35977 Pass it to tst-table.sh.
35978 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35979 $(run-program-prefix) to tst-gettext.sh.
35980 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35981 tst-translit.sh.
35982 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35983 tst-gettext2.sh.
35984 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35985 to run tst-gettext.
35986 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35987 to run tst-gettext2.
35988 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35989 to run tst-translit.
35990 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35991 $(run-program-prefix) to tst-mtrace.sh.
35992 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35993 to run tst-mtrace.
35994 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35995 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35996 $(rtld-installed-name).
35997 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35998 (rtld_installed_name): Likewise.
35999 (run_program_prefix): New variable. Use it to run wordexp-test.
36000
728e272a
JM
36001 * Makeconfig (ARCH): Remove all definitions.
36002 (machine): Likewise.
36003 [ARCH]: Remove conditional code.
36004 [!objdir]: Give error.
36005 [!objdir] (objpfx): Remove.
36006 [!objdir] (common-objpfx): Likewise.
36007 [!objdir] (common-objdir): Likewise.
36008 * configure.in (config_makefile): Remove. Hardcode Makefile in
36009 AC_CONFIG_FILES call.
36010 * configure: Regenerated.
36011
d528cdcf
JM
36012 [BZ #13888]
36013 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36014 or TMPDIR.
36015 (testout): Likewise.
36016
135948bd
JM
36017 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36018 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36019 $(rtld-installed-name).
36020 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36021 (rtld_installed_name): Likwise.
36022 (runit): Remove function.
36023 (run_getconf): New variable, Use it for running getconf binary.
36024
38c78296
L
360252012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36026
36027 [BZ #14716]
36028 * string/test-memmem.c (check_result): New function.
36029 (do_one_test): Use it.
36030 (check1): New function.
36031 (test_main): Use it.
36032
d077f65f
MT
360332012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36034
36035 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36036
ced52c71
JM
360372012-10-18 Joseph Myers <joseph@codesourcery.com>
36038
36039 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36040 (_G_LSEEK64): Likewise.
36041 (_G_MMAP64): Likewise.
36042 (_G_FSTAT64): Likewise.
36043 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36044 (_G_LSEEK64): Likewise.
36045 (_G_MMAP64): Likewise.
36046 (_G_FSTAT64): Likewise.
36047 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36048 unconditional. Call __mmap64 directly.
36049 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36050 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36051 __lseek64 directly.
36052 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36053 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36054 __mmap64 directly.
36055 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36056 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36057 __lseek64 directly.
36058 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36059 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36060 __lseek64 directly.
36061 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36062 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36063 __lseek64 directly.
36064 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36065 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36066 __fxstat64 directly.
36067 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36068 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36069 unconditional.
36070 (freopen64) [!_G_OPEN64]: Remove conditional code.
36071 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36072 unconditional.
36073 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36074 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36075 unconditional.
36076 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36077 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36078 unconditional.
36079 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36080 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36081 unconditional.
36082 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36083 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36084 unconditional.
36085 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36086 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36087 unconditional.
36088 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36089 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36090 unconditional.
36091 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36092
b741de23
SP
360932012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36094
36095 [BZ #12140]
36096 * manual/memory.texi (Malloc Tunable Parameters): Add note
36097 about free list pointers overwriting some perturb bytes.
36098 Wording suggested by Roland McGrath.
36099
f9b9d9c9
JM
361002012-10-17 Joseph Myers <joseph@codesourcery.com>
36101
36102 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36103 (lgamma_test): Likewise.
36104 (tgamma_test): Likewise.
36105
172a631a
FW
361062012-10-16 Florian Weimer <fweimer@redhat.com>
36107
36108 [BZ #14700]
36109 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36110 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36111
e9f37252
MK
361122012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36113
36114 * NEWS: Mention BZ #14716.
36115 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36116 when removing AVAILABLE1_USES_J macro.
36117
d394eb74
L
361182012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36119
36120 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36121 (__bswap_64): __uint64_t for unsigned 64-bit int.
36122
ca38dc17
AS
361232012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36124
36125 * include/string.h (memmem): Declare libc hidden alias.
36126 * string/memmem.c (memmem): Define libc hidden alias.
36127 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36128 __read, __close instead of open, read, close.
36129
9a387d1f
L
361302012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36131
ac49ecaf
L
36132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36133 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36134 global and hidden.
36135 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36136 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36137 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36138 Likewise.
36139 (__rawmemchr_sse2): Likewise.
36140 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36141 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36142 (__strchr_sse2): Likewise.
36143 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36144 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36145 (__strcasecmp_sse2): Likewise.
36146 (__strncasecmp_sse2): Likewise.
36147 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36148 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36149 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36150 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36151 (__strrchr_sse2): Likewise.
36152 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36153 ifunc-impl-list.c.
36154 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36155 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36156 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36157 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36158 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36159 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36160 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36161 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36162 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36163 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36164 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36165 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36166 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36167 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36168 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36169 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36170 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36171 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36172 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36173 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36174 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36175 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36176 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36177 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36178 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36179 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36180 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36181 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36182 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36183 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36184
b090e8ea
L
36185 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36186 global and hidden.
36187 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36188 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36189 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36190 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36191 Likewise.
36192 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36193 Likewise.
36194 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36195 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36196 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36197 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36198 ifunc-impl-list.c.
36199 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36200 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36201 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36202 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36203 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36204 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36205 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36206 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36207 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36208 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36209 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36210 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36211 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36212 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36213 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36214 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36215 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36216 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36217 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36218 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36219 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36220 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36221 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36222 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36223 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36224 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36225 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36226 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36227 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36228 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36229 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36230 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36231 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36232 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36233 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36234 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36235 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36236 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36237 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36238 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36239 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36240
11dd4af6
L
36241 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36242 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36243 * include/ifunc-impl-list.h: New file.
36244 * misc/ifunc-impl-list.c: Likewise.
36245 * misc/Makefile (routines): Add ifunc-impl-list.
36246 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36247 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36248 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36249 TEST_NAME]: New variables.
11dd4af6
L
36250 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36251 are defined.
36252 (test_init): Call __libc_ifunc_impl_list to initialize
36253 func_list if TEST_IFUNC and TEST_NAME are defined.
36254
9a387d1f
L
36255 * string/Makefile (strop-tests): Add bcopy and bzero.
36256 * string/test-bcopy.c: New file.
36257 * string/test-bzero.c: Likewise.
36258 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36259 defined.
36260 * string/test-memset.c: Support bzero test if TEST_BZERO is
36261 defined.
36262 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36263 __libc_memmove.
36264 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36265 __libc_memset.
36266 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36267 of memset.
36268
472371b9
JM
362692012-10-10 Joseph Myers <joseph@codesourcery.com>
36270
1e4a9536
JM
36271 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36272 * configure: Regenerated.
36273
d173d12e
JM
36274 * Makeconfig (+link-static-before-libc): Don't include
36275 $(link-static-libc).
36276
472371b9
JM
36277 * libio/libio.h (_IO_pos_t): Remove.
36278
89a3ad0b
AO
362792012-10-10 Alexandre Oliva <aoliva@redhat.com>
36280
36281 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36282 McGrath.
36283
e7451425
AO
362842012-10-10 Alexandre Oliva <aoliva@redhat.com>
36285
36286 * crypt/crypt-entry.c: Include fips-private.h.
36287 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36288 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36289 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36290 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36291
4ba74a35
AO
362922012-10-10 Alexandre Oliva <aoliva@redhat.com>
36293
36294 * crypt/crypt-private.h: Include stdbool.h.
36295 (_ufc_setup_salt_r): Return bool.
36296 * crypt/crypt-entry.c: Include errno.h.
36297 (__crypt_r): Return NULL with EINVAL for bad salt.
36298 * crypt/crypt_util.c (bad_for_salt): New.
36299 (_ufc_setup_salt_r): Check that salt is long enough and within
36300 the specified alphabet.
36301 * crypt/badsalttest.c: New file.
36302 * crypt/Makefile (tests): Add it.
36303 ($(objpfx)badsalttest): New.
36304
f96f1242
MK
363052012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36306
36307 * NEWS: Add entry for BZ #14602.
36308
0e8e0c1c
JM
363092012-10-09 Joseph Myers <joseph@codesourcery.com>
36310
36311 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36312 type-generic.
36313 * math/libm-test.inc: Update comment listing what functions and
36314 macros are tested.
36315 (isgreater_test): New function.
36316 (isgreaterequal_test): Likewise.
36317 (isless_test): Likewise.
36318 (islessequal_test): Likewise.
36319 (islessgreater_test): Likewise.
36320 (isunordered_test): Likewise.
36321 (main): Call the new functions.
36322
273edc5e
RM
363232012-10-09 Roland McGrath <roland@hack.frob.com>
36324
b8493de0
RM
36325 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36326 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36327 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36328 * sysdeps/i386/configure: Regenerated.
36329 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36330 * sysdeps/mach/configure: Regenerated.
36331 * sysdeps/mach/hurd/configure: Regenerated.
36332 * sysdeps/powerpc/configure: Regenerated.
36333 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36334 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36335 * sysdeps/s390/s390-32/configure: Regenerated.
36336 * sysdeps/s390/s390-64/configure: Regenerated.
36337 * sysdeps/sh/configure: Regenerated.
36338 * sysdeps/sparc/configure: Regenerated.
36339 * sysdeps/unix/sysv/linux/configure: Regenerated.
36340 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36341 * sysdeps/x86_64/configure: Regenerated.
36342
273edc5e
RM
36343 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36344 defined. Don't check if MAP is NULL.
36345
c8450f70
JM
363462012-10-09 Joseph Myers <joseph@codesourcery.com>
36347
36348 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36349 (_G_stat64): Likewise.
36350 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36351 (_G_stat64): Likewise.
36352 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36353 instead of struct _G_stat64.
36354 * libio/fileops.c (mmap_remap_check): Likewise.
36355 (decide_maybe_mmap): Likewise.
36356 (_IO_new_file_seekoff): Likewise.
36357 (_IO_file_stat): Likewise.
36358 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36359 _G_off64_t.
36360 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36361 instead of struct _G_stat64.
36362 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36363
57e605ba
MK
363642012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36365
36366 [BZ #14602]
36367 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36368 Replace with ...
36369 (CHECK_EOL): New macro.
36370 (two_way_short_needle): Check beginning of haystack for EOL. Use
36371 CHECK_EOL.
36372 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36373 Replace with CHECK_EOL.
36374 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36375 Replace with CHECK_EOL.
36376
ef1bb361
JM
363772012-10-08 Joseph Myers <joseph@codesourcery.com>
36378
36379 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36380 type-generic.
36381 * math/libm-test.inc: Update comment listing what functions and
36382 macros are tested.
36383 (finite_test): New function.
36384 (isinf_test): Likewise.
36385 (isnan_test): Likewise.
36386 (fpclassify_test): Test subnormal input.
36387 (isfinite_test): Likewise.
36388 (isnormal_test): Likewise.
36389 (main): Call the new functions.
36390
55f11534
JN
363912012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36392
36393 [BZ #14660]
36394 * Makerules (%.dynsym): Force C locale when running
36395 $(OBJDUMP) --dynamic-syms.
36396
1ab29350
AS
363972012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36398
36399 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36400 <stdint.h>.
36401
f1ecb7ef
DM
364022012-10-06 David S. Miller <davem@davemloft.net>
36403
36404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36405 upper 32-bits of the length value in %o2 since we use branch-on-register
36406 tests which consider the entire 64-bit register.
36407
5d41d91a
L
364082012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36409
36410 * string/test-strstr.c (check2): Add a test for page boundary.
36411
3baddb72
DM
364122012-10-05 David S. Miller <davem@davemloft.net>
36413
36414 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36415 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36416 file.
36417 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36418 sysdep_routines.
36419 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36420 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36421 and bzero when HWCAP_SPARC_CRYPTO is present.
36422
9cee5585
L
364232012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36424
d7e0dab9
L
36425 [BZ #14602]
36426 * string/test-strstr.c (check2): New function.
36427 (test_main): Call check2.
36428
03759f47
L
36429 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36430 and bug-strchr1.
36431 * string/bug-strcasestr1.c (do_test): Moved to ...
36432 * string/test-strcasestr.c (check1): Here. New function.
36433 (do_one_test): Break out result checking code into ...
36434 (check_result): This. New function.
36435 (do_one_test): Call check_result.
36436 (test_main): Call check1.
36437 * string/bug-strchr1.c (do_test): Moved to ...
36438 * string/test-strchr.c (check1): Here. New function.
36439 (do_one_test): Break out result checking code into ...
36440 (check_result): This. New function.
36441 (do_one_test): Call check_result.
36442 (test_main): Call check1.
36443 * string/bug-strstr1.c (main): Moved to ...
046f153e 36444 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36445 (do_one_test): Break out result checking code into ...
36446 (check_result): This. New function.
36447 (do_one_test): Call check_result.
36448 (test_main): Call check1.
36449 * string/bug-strcasestr1.c: Removed.
36450 * string/bug-strchr1.c: Likewise.
36451 * string/bug-strstr1.c: Likewise.
36452
53cea63e
L
36453 * elf/Makefile (dl-routines): Add hwcaps.
36454 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36455 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36456 (_dl_important_hwcaps): Moved to ...
36457 * elf/dl-hwcaps.c: Here. New file.
36458 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36459
9cee5585 36460 [BZ #14557]
bb859b06
L
36461 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36462 if IS_IN_rtld isn't defined.
36463
9cee5585
L
36464 * elf/dl-support.c (_dl_sysinfo_map): New.
36465 Include "get-dynamic-info.h" and "setup-vdso.h".
36466 (_dl_non_dynamic_init): Call setup_vdso.
36467 * elf/dynamic-link.h: Don't include <assert.h>.
36468 (elf_get_dynamic_info): Moved to ...
36469 * elf/get-dynamic-info.h: Here. New file.
36470 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36471 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36472 * elf/setup-vdso.h: Here. New file.
36473 * elf/rtld.c: Include "setup-vdso.h".
36474 (dl_main): Call setup_vdso.
36475
23c31b76
JM
364762012-10-05 Joseph Myers <joseph@codesourcery.com>
36477
28234b07
JM
36478 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36479 creal in comment listing functions tested. List finite, isinf,
36480 isnan, isless, islessequal, isgreater, isgreaterequal,
36481 islessgreater, isunordered, lgamma_r and pow10 as functions and
36482 macros not tested. Mention which functions not tested are aliases
36483 for other functions. Fix typo. Note that signs of NaNs are not
36484 tested.
36485
23c31b76
JM
36486 * scripts/config.guess: Update from config.git.
36487 * scripts/config.sub: Likewise.
36488
9043e228
RM
364892012-10-04 Roland McGrath <roland@hack.frob.com>
36490
36491 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36492 * misc/madvise.c (madvise): Renamed to __madvise.
36493 Make madvise a weak alias.
36494 * include/sys/mman.h: Declare __madvise.
36495 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36496 * sysdeps/unix/syscalls.list
36497 (madvise): Make __madvise the strong name, and madvise a weak alias.
36498 * sysdeps/unix/sysv/linux/syscalls.list
36499 (madvise, mmap): Remove redundant entries.
36500 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36501 * malloc/malloc.c (mtrim): Likewise.
36502 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36503
f57f8055
RM
365042012-10-03 Roland McGrath <roland@hack.frob.com>
36505
36506 * sysdeps/mach/hurd/dl-cache.c: File removed.
36507 * config.h.in (USE_LDCONFIG): New #undef.
36508 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36509 * configure: Regenerated.
36510 * elf/Makefile (dl-routines): Add dl-cache only under
36511 [$(use-ldconfig) = yes].
36512 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36513 cache on [USE_LDCONFIG].
36514 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36515 [USE_LDCONFIG].
36516 * elf/rtld.c (dl_main): Likewise.
36517
5bb0c10a
PT
365182012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36519
36520 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36521 _SC_LEVEL4_CACHE_LINESIZE.
36522
010188c6
RM
365232012-10-03 Roland McGrath <roland@hack.frob.com>
36524
36525 * sysdeps/unix/bsd/confstr.h: File removed.
36526
b6c5ec07
AO
365272012-10-02 Alexandre Oliva <aoliva@redhat.com>
36528
36529 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36530 sys/sdt-config.h.
36531
408223d4
RM
365322012-10-02 Roland McGrath <roland@hack.frob.com>
36533
36534 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36535 Make 'mapoff' field ElfW(Off) rather than off_t.
36536
bb9510dc
DL
365372012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36538
fc997c6e
DL
36539 * nscd/Makefile: Remove nscd-cflags and all its users.
36540 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36541 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36542
bb9510dc
DL
36543 [BZ #10631]
36544 * malloc.c (malloc_printerr): Clarify error message.
36545
05699367
L
365462012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36547
36548 [BZ #14648]
36549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36550 Set bit_FMA_Usable if FMA is supported.
36551 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36552 macro.
36553 (bit_FMA4_Usable): Updated.
36554 (index_FMA_Usable): New macro.
36555 (CPUID_FMA): Likewise
36556 (HAS_FMA): Defined with bit_FMA_Usable.
36557
51367701
RM
365582012-10-01 Roland McGrath <roland@hack.frob.com>
36559
36560 * bits/types.h (__swblk_t): Type removed.
36561 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36562 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36563 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36564 (__SWBLK_T_TYPE): Likewise.
36565 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36566 (__SWBLK_T_TYPE): Likewise.
36567 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36568 (__SWBLK_T_TYPE): Likewise.
36569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36570 (__SWBLK_T_TYPE): Likewise.
36571
4d57bf63 365722012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36573 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36574
36575 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36576 (xdr_mapname): Use YPMAXMAP as maxsize.
36577 (xdr_peername): Use YPMAXPEER as maxsize.
36578 (xdr_keydat): Use YPAXRECORD as maxsize.
36579 (xdr_valdat): Use YPMAXRECORD as maxsize.
36580
93c65d43
RM
365812012-10-01 Roland McGrath <roland@hack.frob.com>
36582
497a03d6
RM
36583 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36584
93c65d43
RM
36585 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36586 * csu/init-first.c: ... here.
36587 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36588 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36589 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36590 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36591 * sysdeps/i386/init-first.c: File removed.
36592 * sysdeps/sh/init-first.c: File removed.
36593
bec749fd
JM
365942012-10-01 Joseph Myers <joseph@codesourcery.com>
36595
36596 [BZ #14645]
36597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36598 if x * y might underflow to zero and z is zero.
36599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36601 * math/libm-test.inc (min_subnorm_value): New variable.
36602 (fma_test): Add more tests.
36603 (fma_test_towardzero): Likewise.
36604 (fma_test_downward): Likewise
36605 (fma_test_upward): Likewise.
36606 (initialize): Set min_subnorm_value.
36607
8ec5b013
JM
366082012-09-29 Joseph Myers <joseph@codesourcery.com>
36609
36610 [BZ #14638]
36611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36612 0 + 0.
36613 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36614 mode for addition resulting in exact zero.
36615 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36617 exact 0 + 0.
36618 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36620 * math/libm-test.inc (fma_test): Add more tests.
36621 (fma_test_towardzero): New function.
36622 (fma_test_downward): Likewise.
36623 (fma_test_upward): Likewise.
36624 (main): Call the new functions.
36625
b1fa802e
DM
366262012-09-28 David S. Miller <davem@davemloft.net>
36627
36628 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36629
d3b9fd9e
RM
366302012-09-28 Roland McGrath <roland@hack.frob.com>
36631
ea4d37b3
RM
36632 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36633 instead of SIGALRM.
36634
ac51c949
RM
36635 * sysdeps/gnu/_G_config.h: Moved to ...
36636 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36637 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36638 * sysdeps/generic/_G_config.h: ... here.
36639
28c195f7
RM
36640 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36641
848917f9
RM
36642 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36643
6bacf05b
RM
36644 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36645 Conditionalize target on [libnss_test1.so-version].
36646
91363dbb
RM
36647 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36648
cc87f7d8
RM
36649 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36650 (elfobjdir): Move out of conditionals.
36651
b1c608fe
RM
36652 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36653 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36654 (__nss_lookup_function): Conditionalize label remove_from_tree on
36655 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36656
1d9a6d96
DM
366572012-09-28 David S. Miller <davem@davemloft.net>
36658
36659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36660 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36661 file.
36662 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36663 sysdep_routines.
36664 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36666 when HWCAP_SPARC_CRYPTO is present.
36667
72581615
PT
366682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36669
36670 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36671
715a900c
JL
366722012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36673
36674 [BZ #6530]
36675 * stdio-common/vfprintf.c (process_string_arg): Revert
36676 2000-07-22 change.
36677
366782011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36679
36680 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36681 for testcase.
36682 * stdio-common/tst-sprintf.c: Include <locale.h>
36683 (main): Test sprintf's handling of incomplete multibyte
36684 characters.
36685
9bac1d86
L
366862012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36687
36688 * elf/dl-runtime.c (VERSYMIDX): Removed.
36689 * elf/dl-version.c (VERSYMIDX): Likewise.
36690 * elf/do-rel.h (VERSYMIDX): Likewise.
36691 (VALIDX): Likewise.
36692 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36693 * elf/rtld.c (VALIDX): Likewise.
36694 (ADDRIDX): Likewise.
9bac1d86
L
36695 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36696 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36697 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36698 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36699 (VALIDX): Likewise.
36700 (ADDRIDX): Likewise.
9bac1d86 36701
b31606c0
PT
367022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36703
36704 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36705
11541177
JL
367062012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36707
36708 [BZ #11438]
36709 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36710 to global scope.
36711 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36712 addresses are in the same scope as 192.0.2/24.
36713 * posix/gai.conf: Document new scope table defaults.
36714
adb26fae
SP
367152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36716
36717 [BZ #5298]
36718 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36719 for ftell. Compute offsets from write pointers instead.
36720 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36721
4573c6b0
SP
367222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36723
36724 [BZ #14543]
36725 * libio/Makefile (tests): New test case tst-fseek.
36726 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36727 combination works in wide mode.
36728 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36729 state when the external buffer state changes.
36730
aa9bbfe6
DM
367312012-09-27 David S. Miller <davem@davemloft.net>
36732
36733 [BZ #14376]
36734 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36735 pass reloc->r_addend in as the 'high' argument to
36736 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36737
784421e7
DM
36738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36739
c39bc8b8
PT
367402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36741
36742 * rt/tst-aio2.c: Include <pthread.h>.
36743 * rt/tst-aio3.c: Likewise.
36744
1ccc2399
SE
367452012-09-27 Steve Ellcey <sellcey@mips.com>
36746
36747 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36748
31ed4153
L
367492012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36750
25f5f885
L
36751 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36752 contents on [SHARED].
31ed4153 36753
b7bfe116
MP
367542012-09-26 Marek Polacek <polacek@redhat.com>
36755
36756 [BZ #14530]
36757 [BZ #13741]
36758 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36759 for C++ and GCC <4.3 as well as for non GCC compilers.
36760
43c4edba
MT
367612012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36762
36763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36764
6a1bf82f
RM
367652012-09-25 Roland McGrath <roland@hack.frob.com>
36766
36767 * Makefile.in (all, install): Declare with .PHONY.
36768 Reported by Michael Hope <michael.hope@linaro.org>.
36769
8ad11b9a
TMQMF
367702012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36771
36772 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36773 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36774 system header.
36775 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36776 Likewise.
36777 (sydep_routines): Add the new and the internal functions.
36778 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36779 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36781 (GLIBC_2.17): Add the new function.
36782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36783 (GLIBC_2.17): Likewise.
36784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36785 (GLIBC_2.17): Likewise.
36786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36787 (GLIBC_2.17): Likewise.
36788 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36789
7e2fca8d
AM
367902012-09-25 Alan Modra <amodra@gmail.com>
36791
36792 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36793 Add release barrier before setting once_control to say
36794 initialisation is done. Add hints on lwarx. Use macro in
36795 place of isync.
36796 (clear_once_control): Add release barrier.
36797
b87c4b24
JM
367982012-09-25 Joseph Myers <joseph@codesourcery.com>
36799
d032e0d2
JM
36800 [BZ #13629]
36801 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36802 specially.
36803 * math/s_clog10.c (__clog10): Likewise.
36804 * math/s_clog10f.c (__clog10f): Likewise.
36805 * math/s_clog10l.c (__clog10l): Likewise.
36806 * math/s_clogf.c (__clogf): Likewise.
36807 * math/s_clogl.c (__clogl): Likewise.
36808 * math/Makefile (libm-calls): Add x2y2m1.
36809 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36810 (__x2y2m1): Likewise.
36811 (__x2y2m1l): Likewise.
36812 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36813 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36814 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36815 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36816 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36817 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36818 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36819 * sysdeps/i386/fpu/libm-test-ulps: Update.
36820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36821
b87c4b24
JM
36822 [BZ #14621]
36823 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36824 int as type of variable DEPTH.
36825 (glob): Use size_t instead of int as type of variables NEWCOUNT
36826 and OLD_PATHC.
36827
6d3bf199
LD
368282012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36829
22bf5c17
LD
36830 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36831 Add s_sincosf-sse2.
36832 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36833 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36834 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36835 macros for using routine as __sincosf_ia32.
36836 Use macro for function declaration and weak_alias.
36837 * sysdeps/i386/fpu/libm-test-ulps: Update.
36838
36839 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36841
36842 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36843 subnormal argument.
36844 * math/s_cexpf.c (__cexpf): Likewise.
36845 * math/s_csinf.c (__csinf): Likewise.
36846 * math/s_csinhf.c (__csinhf): Likewise.
36847 * math/s_ctanf.c (__ctanf): Likewise.
36848 * math/s_ctanhf.c (__ctanhf): Likewise.
36849 * math/s_ccosh.c (__ccoshf): Likewise.
36850 * math/s_cexp.c (__cexpl): Likewise.
36851 * math/s_csin.c (__csin): Likewise.
36852 * math/s_csinh.c (__csinh): Likewise.
36853 * math/s_ctan.c (__ctan): Likewise.
36854 * math/s_ctanh.c (ctanh): Likewise.
36855 * math/s_ccoshl.c (__ccoshl): Likewise.
36856 * math/s_cexpl.c (__cexpl): Likewise.
36857 * math/s_csinl.c (__csinl): Likewise.
36858 * math/s_csinhl.c (__csinhl): Likewise.
36859 * math/s_ctanl.c (__ctanl): Likewise.
36860 * math/s_ctanhl.c (__ctanhl): Likewise.
36861
203e5603
JM
368622012-09-25 Joseph Myers <joseph@codesourcery.com>
36863
36864 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36865 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36866 (_IO_off_t): Define to __off_t, not _G_off_t.
36867 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36868 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36869 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36870 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36871 type of __dummy and __dummy2 fields.
36872 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36873 (_G_ssize_t): Likewise.
36874 (_G_off_t): Likewise.
36875 (_G_pid_t): Likewise.
36876 (_G_uid_t): Likewise.
36877 (_G_wchar_t): Likewise.
36878 (_G_wint_t): Likewise.
36879 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36880 (_G_ssize_t): Likewise.
36881 (_G_off_t): Likewise.
36882 (_G_pid_t): Likewise.
36883 (_G_uid_t): Likewise.
36884 (_G_wchar_t): Likewise.
36885 (_G_wint_t): Likewise.
36886 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36887 (_G_ssize_t): Likewise.
36888 (_G_off_t): Likewise.
36889 (_G_pid_t): Likewise.
36890 (_G_uid_t): Likewise.
36891 (_G_wchar_t): Likewise.
36892 (_G_wint_t): Likewise.
36893
9fab36eb
SP
368942012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36895
36896 * malloc/arena.c: Include malloc-sysdep.h.
36897 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36898 is sufficient to shrink the heap or an unmap is needed.
36899 * sysdeps/generic/malloc-sysdep.h: New file. Define
36900 new function check_may_shrink_heap.
36901 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36902 new function check_may_shrink_heap.
36903
2b4f00d1
SP
369042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36905
36906 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36907 comments.
36908
9a9028b1
DL
369092012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36910
57c69bef
DL
36911 * catgets/test-gencat.sh: Add "set -e".
36912 * elf/tst-pathopt.sh: Likewise.
36913 * grp/tst_fgetgrent.sh: Likewise.
36914 * iconvdata/run-iconv-test.sh: Likewise.
36915 * intl/tst-gettext.sh: Likewise.
36916 * intl/tst-gettext2.sh: Likewise.
36917 * intl/tst-gettext4.sh: Likewise.
36918 * intl/tst-gettext6.sh: Likewise.
36919 * intl/tst-translit.sh: Likewise.
36920 * io/ftwtest-sh: Likewise.
36921 * libio/test-freopen.sh: Likewise.
36922 * malloc/tst-mtrace.sh: Likewise.
36923 * posix/globtest.sh: Likewise.
36924 * posix/tst-getconf.sh: Likewise.
36925 * posix/wordexp-tst.sh: Likewise.
36926 * stdio-common/tst-printf.sh: Likewise.
36927 * stdio-common/tst-unbputc.sh: Likewise.
36928 * stdlib/tst-fmtmsg.sh: Likewise.
36929 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36930 * catgets/Makefile: Do not specify -e option when running
36931 testsuite shell scripts.
36932 * elf/Makefile: Likewise.
36933 * grp/Makefile: Likewise.
36934 * iconvdata/Makefile: Likewise.
36935 * intl/Makefile: Likewise.
36936 * io/Makefile: Likewise.
36937 * libio/Makefile: Likewise.
36938 * malloc/Makefile: Likewise.
36939 * posix/Makefile: Likewise.
36940 * stdio-common/Makefile: Likewise.
36941 * stdlib/Makefile: Likewise.
36942 * sysdeps/x86_64/Makefile: Likewise.
36943
9a9028b1
DL
36944 * io/ftwtest-sh: Add copyright header.
36945 * posix/globtest.sh: Likewise.
36946 * posix/tst-getconf.sh: Likewise.
36947 * posix/wordexp-tst.sh: Likewise.
36948 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36949
ced6f16e
L
369502012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36951
94b32c39
L
36952 [BZ #13679]
36953 * Makeconfig (+link): Defined as $(+link-static) if
36954 $(build-shared) isn't yes.
36955 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36956 isn't yes.
36957 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36958
189e935b
L
36959 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36960
ced6f16e
L
36961 [BZ #14562]
36962 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36963 new chunk size with MALLOC_ALIGN_MASK.
36964
a9f8e53a
JM
369652012-09-24 Joseph Myers <joseph@codesourcery.com>
36966
36967 [BZ #5044]
36968 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36969 <rounding-mode.h>.
36970 (__printf_fphex): Determine rounding using get_rounding_mode and
36971 round_away.
36972 * stdio-common/tst-printf-round.c (struct hex_test): New
36973 structure.
36974 (hex_tests): New variable.
36975 (test_hex_in_one_mode): New function.
36976 (do_test): Also run tests for hex float output.
36977
43153109
JM
369782012-09-21 Joseph Myers <joseph@codesourcery.com>
36979
36980 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36981 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36982 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36983 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36984 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36985 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36986 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36987 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36988
8a26625d
JM
369892012-09-20 Joseph Myers <joseph@codesourcery.com>
36990
36991 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36992 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36993 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36994 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36995
f3fd569c
DL
369962012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36997
36998 [BZ #14579]
36999 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37000 mode only.
37001 * elf/tst-rtld-load-self.sh: New test.
37002 * elf/Makefile: Run it.
37003
63bbedd4
JM
370042012-09-18 Joseph Myers <joseph@codesourcery.com>
37005
37006 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37007 (tst-writev-ENV): Remove.
37008 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37009
626f8b6a
CM
370102012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37011
37012 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37013
b7aaa4d6
JM
370142012-09-17 Joseph Myers <joseph@codesourcery.com>
37015
37016 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37017 unconditional.
37018 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37019 Likewise.
37020 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37021 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37022 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37023 Likewise.
37024
65513990
L
370252012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37026
37027 [BZ #14587]
37028 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37029 * config.make.in (have-cpp-asm-debuginfo): Removed.
37030 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37031 * configure: Regenerated.
37032
784761be
JM
370332012-09-14 Joseph Myers <joseph@codesourcery.com>
37034
37035 [BZ #5044]
37036 * stdio-common/printf_fp.c: Include <stdbool.h> and
37037 <rounding-mode.h>.
37038 (___printf_fp): Determine rounding using get_rounding_mode and
37039 round_away.
37040 * stdio-common/tst-printf-round.c: New file.
37041 * stdio-common/Makefile (tests): Add tst-printf-round.
37042 (link-libm): New variable.
37043 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37044
9503345f
L
370452012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37046
37047 [BZ #14576]
37048 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37049 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37050 Likewise.
37051 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37052 Likewise.
37053
ad35fc00
JM
370542012-09-13 Joseph Myers <joseph@codesourcery.com>
37055
37056 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37057 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37058 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37059 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37060
6c9b0f68
JM
370612012-09-12 Joseph Myers <joseph@codesourcery.com>
37062
37063 [BZ #14518]
37064 * include/rounding-mode.h: New file.
37065 * sysdeps/generic/get-rounding-mode.h: Likewise.
37066 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37067 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37068 (MAX_VALUE): New macro.
37069 (MIN_VALUE): Likewise.
37070 (overflow_value): New function.
37071 (underflow_value): Likewise.
37072 (round_and_return): Use overflow_value and underflow_value to
37073 determine return values in overflow and underflow cases. Use
37074 round_away to determine rounding depending on rounding mode.
37075 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37076 determine return values in overflow and underflow cases.
37077 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37078 (struct test_results): New structure.
37079 (struct test): Use struct test_results to store expected results
37080 for all rounding modes.
37081 (TEST): Include expected results for all rounding modes.
37082 (test_in_one_mode): New function.
37083 (do_test): Use test_in_one_mode to compute and check results.
37084 Check results for all rounding modes.
37085 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37086 $(link-libm).
37087
19fcedd5
AM
370882012-12-09 Allan McRae <allan@archlinux.org>
37089
1e9d84cd 37090 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37091
8bbfd2f1
JM
370922012-09-11 Joseph Myers <joseph@codesourcery.com>
37093
37094 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37095 (_G_int32_t): Likewise.
37096 (_G_uint16_t): Likewise.
37097 (_G_uint32_t): Likewise.
37098 (_G_HAVE_BOOL): Likewise.
37099 (_G_HAVE_ATEXIT): Likewise.
37100 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37101 (_G_HAVE_IO_FILE_OPEN): Likewise.
37102 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37103 (_G_int32_t): Likewise.
37104 (_G_uint16_t): Likewise.
37105 (_G_uint32_t): Likewise.
37106 (_G_HAVE_BOOL): Likewise.
37107 (_G_HAVE_ATEXIT): Likewise.
37108 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37109 (_G_HAVE_IO_FILE_OPEN): Likewise.
37110 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37111 (_G_int32_t): Likewise.
37112 (_G_uint16_t): Likewise.
37113 (_G_uint32_t): Likewise.
37114 (_G_HAVE_BOOL): Likewise.
37115 (_G_HAVE_ATEXIT): Likewise.
37116 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37117 (_G_HAVE_IO_FILE_OPEN): Likewise.
37118
b1dc5912
L
371192012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37120
37121 * csu/libc-tls.c: Update copyright years.
37122
0e886ef9
JM
371232012-09-10 Joseph Myers <joseph@codesourcery.com>
37124
28361c5e
JM
37125 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37126 [!_G_USING_THUNKS]: Remove conditional code.
37127 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37128 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37129
0e886ef9
JM
37130 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37131 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37132 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37133 (_G_VTABLE_LABEL_PREFIX): Likewise.
37134 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37135 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37136 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37137 (_G_VTABLE_LABEL_PREFIX): Likewise.
37138 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37139 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37140 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37141 (_G_VTABLE_LABEL_PREFIX): Likewise.
37142 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37143
bcba7aa2
L
371442012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37145
37146 * libio/Makefile: Include ../Makeconfig before tests.
37147 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37148 only if $(build-shared) is yes.
37149
06585ee8
L
37150 * iconv/gconv_db.c: Update copyright years.
37151
80ccd52c
LD
371522012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37153
37154 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37155 unwind info if defined PIC. Fix special cases description.
37156 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37157
37158 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37159 DP_HI_MASK entry.
37160 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37161
691bc9c1
L
371622012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37163
3d9b46b3
L
37164 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37165
de2139a9
L
37166 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37167 is NULL.
37168
5ca78dd0
L
37169 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37170 (LDLIBS-tst-chk4): This.
37171 (LDFLAGS-tst-chk5): Renamed to ...
37172 (LDLIBS-tst-chk5): This.
37173 (LDFLAGS-tst-chk6): Renamed to ...
37174 (LDLIBS-tst-chk6): This.
37175 (LDFLAGS-tst-lfschk4): Renamed to ...
37176 (LDLIBS-tst-lfschk4): This.
37177 (LDFLAGS-tst-lfschk5): Renamed to ...
37178 (LDLIBS-tst-lfschk5): This.
37179 (LDFLAGS-tst-lfschk6): Renamed to ...
37180 (LDLIBS-tst-lfschk6): This.
37181
691bc9c1
L
37182 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37183 on $(common-objpfx)soversions.mk.
37184
65cafb1c
JM
371852012-09-07 Joseph Myers <joseph@codesourcery.com>
37186
37187 [BZ #10014]
37188 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37189 example host name.
37190
c78ab094
SP
371912012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37192
37193 * malloc/arena.c (arena_get_retry): New function that gets
37194 another arena for the caller to try its request on.
37195 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37196 current arena cannot fulfill the request.
37197 (__libc_memalign): Likewise.
37198 (__libc_memalign): Likewise.
37199 (__libc_pvalloc): Likewise.
37200 (__libc_calloc): Likewise.
37201
01f49f59
JT
372022012-09-05 John Tobey <john.tobey@gmail.com>
37203
37204 [BZ #13542]
37205 * manual/arith.texi (Operations on Complex): Fix description
37206 of carg branch cut.
37207
4c23fed5
JM
372082012-09-06 Joseph Myers <joseph@codesourcery.com>
37209
1d3c8572
JM
37210 [BZ #10014]
37211 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37212 host name.
37213
4c23fed5
JM
37214 [BZ #10038]
37215 * manual/memory.texi (Memory): Make order of menu items match
37216 order of sections.
37217
04570aaa
L
372182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37219
37220 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37221 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37222 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37223
b80af2f4
L
372242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37225
37226 * csu/libc-tls.c (static_dtv): Renamed to ...
37227 (_dl_static_dtv): This. Make it global.
37228 (_dl_initial_dtv): Removed.
37229 (__libc_setup_tls): Updated.
37230 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37231 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37232 DL_INITIAL_DTV.
37233
2abe9f15
PM
372342012-09-06 Petr Machata <pmachata@redhat.com>
37235
37236 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37237 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37238 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37239 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37240
0948c3af
L
372412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37242
37243 [BZ #14545]
37244 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37245 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37246 freeing dtv[-1].
37247
a5055ad1
L
372482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37249
37250 [BZ #14544]
37251 * Makeconfig (link-static-before-libc): Replace $(+prector)
37252 with $(+prectorT).
37253 (link-static-after-libc): Replace $(+postctor) with
37254 $(+postctorT).
37255 (link-bounded): Replace $(+prector)/$(+postctor) with
37256 $(+prectorT)/$(+postctorT).
37257 (+prectorT): New macro.
37258 (+postctorT): Likewise.
37259
ed8c2ecd
JM
372602012-09-06 Joseph Myers <joseph@codesourcery.com>
37261
37262 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37263 (round_str): Handle values above the maximum for IBM long double
37264 as inexact.
37265 * stdlib/tst-strtod-round.c (tests): Regenerated.
37266
14c996c8
AK
372672012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37268
37269 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37270 assembler flag.
37271 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37272 zarch_nohighgprs around the zarch optimized routines.
37273 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37274 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37275 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37276 for zarch.
37277
430d6ce6
DM
372782012-09-05 David S. Miller <davem@davemloft.net>
37279
37280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37281
57f41c40
AS
37282 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37283 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37284 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37285 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37286 entries.
37287
24d4e01b
AO
372882012-09-05 Alexandre Oliva <aoliva@redhat.com>
37289
37290 * malloc/arena.c: Fold copyright years.
37291 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37292
61d58174
AO
372932012-09-05 Alexandre Oliva <aoliva@redhat.com>
37294
37295 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37296
20196a5e
AO
372972012-09-05 Alexandre Oliva <aoliva@redhat.com>
37298
37299 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37300
5c447383
AO
373012012-09-05 Alexandre Oliva <aoliva@redhat.com>
37302
37303 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37304 change internal state upon failure.
37305
fad64255
AO
373062012-09-05 Alexandre Oliva <aoliva@redhat.com>
37307
37308 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37309 * malloc/memusage.c (mmap): Likewise.
37310 (mmap64, mremap): Likewise. Adjust name in comment.
37311
1ffb8c90
SP
373122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37313
37314 * libio/fileops.c: Fix typos in comments.
37315 * libio/oldfileops.c: Likewise.
37316 * libio/wfileops.c: Likewise.
37317
6ef9cc37
SP
373182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37319
37320 [BZ #1349]
37321 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37322 (tst-malloc-usable-ENV): Set environment for test case.
37323 * malloc/hooks.c (malloc_check_get_size): New function to get
37324 requested size.
37325 * malloc/malloc.c (musable): Use malloc_check_get_size.
37326 * malloc/tst-malloc-usable.c: New test case.
37327
4d038ae3
AS
373282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37329
37330 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37331
c4e85184
AM
373322012-09-05 Allan McRae <allan@archlinux.org>
37333
b9dafc56 37334 [BZ #13966]
c4e85184
AM
37335 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37336 determine header location.
37337 * configure: Regenerated.
37338
e1343020
AS
373392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37340
37341 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37342 float format.
37343 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37344 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37345 format.
e1343020
AS
37346 (test): Regenerate.
37347
0a9f1987
DM
373482012-09-04 David S. Miller <davem@davemloft.net>
37349
37350 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37351 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37352 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37353
29237804
FW
373542012-09-04 Florian Weimer <fweimer@redhat.com>
37355
37356 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37357 failures.
37358
edb3cb88
FW
37359 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37360
60160d83
JM
373612012-09-04 Joseph Myers <joseph@codesourcery.com>
37362
37363 [BZ #9914]
37364 * libio/iogetdelim.c: Include <limits.h>.
37365 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37366 + len + 1 would overflow.
37367
bcd6c8dc
AJ
373682012-09-03 Andreas Jaeger <aj@suse.de>
37369
37370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37371 * sysdeps/i386/fpu/libm-test-ulps: Update.
37372
4ffffbd2
LD
373732012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37374
37375 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37376 Add s_sinf-sse2, s_conf-sse2.
37377
37378 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37379 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37380 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37381 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37382
37383 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37384 for using routine as __sinf_ia32.
37385 Use macro for function declaration and weak_alias.
37386 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37387 for using routine as __cosf_ia32.
37388 Use macro for function declaration and weak_alias.
37389
37390 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37391 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37392
37393 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37394 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37396
37397 * math/libm-test.inc (cos_test): Add more test cases.
37398 (sin_test): Likewise.
37399 (sincos_test): Likewise.
37400
511fa286
AK
374012012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37402
37403 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37404 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37405 hidden.
37406 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37407
5f30cfec
L
374082012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37409
37410 [BZ #14538]
37411 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37412 first element of the GOT.
37413 (elf_machine_load_address): Return the difference between
37414 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37415
0786794f
AM
374162012-09-01 Allan McRae <allan@archlinux.org>
37417
5f30cfec
L
37418 [BZ #13412]
37419 * configure.in (AWK): Require gawk version 3.0 or later.
37420 * configure: Regenerated.
0786794f 37421
26889eac
JM
374222012-09-01 Joseph Myers <joseph@codesourcery.com>
37423
37424 * sysdeps/unix/sysv/linux/kernel-features.h
37425 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37426 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37427 [__NR_clock_getres]: Make code unconditional.
37428 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37429 (clock_getcpuclockid): Remove code left unreachable by removal of
37430 conditionals.
37431 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37432 code unconditional.
37433 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37434 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37435 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37436 Make code unconditional.
37437 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37438 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37439 * sysdeps/unix/sysv/linux/clock_settime.c
37440 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37441 conditional code.
37442 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37443 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37444
d22e28b0
L
374452012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37446
37447 [BZ #14476]
37448 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37449 scripts/test-installation.pl.
37450
37451 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37452 and $ld_so_version if it is set.
37453
050af9c4
SP
374542012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37455
37456 [BZ #14516]
37457 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37458 failure if reading from procfs failed.
37459 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37460
ad845c0b
JM
374612012-08-27 Joseph Myers <joseph@codesourcery.com>
37462
37463 * sysdeps/unix/sysv/linux/kernel-features.h
37464 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37465 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37466 Remove conditional code.
37467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37468 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37469 Remove conditional code.
37470 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37471 * sysdeps/unix/sysv/linux/i386/fxstat.c
37472 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37473 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37474 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37475 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37476 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37477 * sysdeps/unix/sysv/linux/i386/lxstat.c
37478 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37480 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37481 Remove conditional code.
37482 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37483 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37484 Remove conditional code.
37485 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37486 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37487 <kernel-features.h>.
37488 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37489 Remove.
37490 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37491 Remove conditional code.
37492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37493 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37494 Remove conditional.
37495
5dbf56af
MF
374962012-08-27 Mike Frysinger <vapier@gentoo.org>
37497
37498 [BZ #5400]
37499 * NEWS: Add fixed bug number.
37500
d6e70f43
JM
375012012-08-27 Joseph Myers <joseph@codesourcery.com>
37502
7efb4737
JM
37503 [BZ #14519]
37504 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37505 underflowing exponent in case of negative sign.
37506 * stdlib/tst-strtod-round-data: Add more tests.
37507 * stdlib/tst-strtod-round.c (tests): Regenerated.
37508
af92131a
JM
37509 [BZ #3479]
37510 * stdlib/strtod_l.c (NDIG): Remove.
37511 (HEXNDIG): Likewise.
37512 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37513 smallest representable value.
37514 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37515 lie within an exact representation of 1/2 ulp of the result.
37516 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37517 unconditionally.
37518 (TENS_P9_IDX): Define unconditionally.
37519 (TENS_P9_SIZE): Likewise.
37520 (TENS_P10_IDX): Likewise.
37521 (TENS_P10_SIZE): Likewise.
37522 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37523 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37524 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37525 entries for 10^2^13 and 10^2^14.
37526 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37527 (TENS_P13_IDX): Define.
37528 (TENS_P13_SIZE): Likewise.
37529 (TENS_P14_IDX): Likewise.
37530 (TENS_P14_SIZE): Likewise.
37531 (_fpioconst_pow10): Change array size to
37532 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37533 unconditional.
37534 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37535 1024]: Add entries for 10^2^13 and 10^2^14.
37536 [LAST_POW10 > _LAST_POW10]: Remove #error.
37537 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37538 (_fpioconst_pow10): Change array size to
37539 FPIOCONST_POW10_ARRAY_SIZE.
37540 * stdlib/gen-fpioconst.c: New file.
37541 * stdlib/gen-tst-strtod-round.c: Likewise.
37542 * stdlib/tst-strtod-round-data: Likewise.
37543 * stdlib/tst-strtod-round.c: Likewise.
37544 * stdlib/Makefile (tests): Add tst-strtod-round.
37545
d6e70f43
JM
37546 [BZ #14459]
37547 * stdlib/strtod_l.c: Include <stdint.h>.
37548 (NDEBUG): Do not define.
37549 (round_and_return): Change EXPONENT parameter to type intmax_t.
37550 Rearrange calculations to avoid internal overflow possibilities.
37551 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37552 Rearrange calculations to avoid internal overflow possibilities.
37553 Assert that number fits inside MPNSIZE limbs.
37554 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37555 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37556 calculations and add assertions to avoid internal overflow
37557 possibilities. Add casts to avoid signed/unsigned operations.
37558 * stdlib/tst-strtod-overflow.c: New file.
37559 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37560
1f529f7d
MP
375612012-08-25 Marek Polacek <polacek@redhat.com>
37562
37563 * time/time.h: Fix some typos in comments.
37564
59a629f1
RM
375652012-08-23 Roland McGrath <roland@hack.frob.com>
37566
37567 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37568 * posix/tst-rfc3484-2.c: Likewise.
37569 * posix/tst-rfc3484-3.c: Likewise.
37570
d3bafbc9
SM
375712012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37572
37573 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37574 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37575
4efcc022
JM
375762012-08-23 Joseph Myers <joseph@codesourcery.com>
37577
37578 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37579 #include of fxstatat64.c.
37580
3cc3ef96
RM
375812012-08-22 Roland McGrath <roland@hack.frob.com>
37582
f04e2132
RM
37583 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37584 * shadow/getspent_r.c: Likewise.
37585 * shadow/getspnam.c: Likewise.
37586 * shadow/getspnam_r.c: Likewise.
37587 * gshadow/getsgent.c: Likewise.
37588 * gshadow/getsgent_r.c: Likewise.
37589 * gshadow/getsgnam.c: Likewise.
37590 * gshadow/getsgnam_r.c: Likewise.
37591 * inet/getnetbyad.c: Likewise.
37592 * inet/getnetbyad_r.c: Likewise.
37593 * inet/getnetbynm.c: Likewise.
37594 * inet/getnetbynm_r.c: Likewise.
37595 * inet/getnetent.c: Likewise.
37596 * inet/getnetent_r.c: Likewise.
37597 * inet/getproto.c: Likewise.
37598 * inet/getproto_r.c: Likewise.
37599 * inet/getprtent.c: Likewise.
37600 * inet/getprtent_r.c: Likewise.
37601 * inet/getprtname.c: Likewise.
37602 * inet/getprtname_r.c: Likewise.
37603 * inet/getrpcbyname.c: Likewise.
37604 * inet/getrpcbyname_r.c: Likewise.
37605 * inet/getrpcbynumber.c: Likewise.
37606 * inet/getrpcbynumber_r.c: Likewise.
37607 * inet/getrpcent.c: Likewise.
37608 * inet/getrpcent_r.c: Likewise.
37609 * inet/getaliasent.c: Likewise.
37610 * inet/getaliasent_r.c: Likewise.
37611 * inet/getaliasname.c: Likewise.
37612 * inet/getaliasname_r.c: Likewise.
37613 * nscd/getgrgid_r.c: Likewise.
37614 * nscd/getgrnam_r.c: Likewise.
37615 * nscd/gethstbyad_r.c: Likewise.
37616 * nscd/gethstbynm3_r.c: Likewise.
37617 * nscd/getpwnam_r.c: Likewise.
37618 * nscd/getpwuid_r.c: Likewise.
37619 * nscd/getsrvbynm_r.c: Likewise.
37620 * nscd/getsrvbypt_r.c: Likewise.
37621 * nscd/gai.c: Likewise.
37622
c53d909c
RM
37623 * configure.in (build_nscd): New substituted variable, set
37624 by --disable-build-nscd and defaults to $use_nscd.
37625 * configure: Regenerated.
37626 * config.make.in (build-nscd): New substituted variable.
37627 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37628 Change conditional to require [$(build-nscd) = yes] as well.
37629 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37630
3cc3ef96
RM
37631 [BZ# 13696]
37632 * configure.in (use_nscd): New substituted variable, set by
37633 --disable-nscd. If enabled, define USE_NSCD.
37634 * configure: Regenerated.
37635 * config.h.in: Add USE_NSCD.
37636 * config.make.in (use-nscd): New substituted variable.
37637 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37638 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37639 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37640 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37641 (CFLAGS-getgrnam_r.c): Likewise.
37642 (CFLAGS-initgroups.c): Likewise.
37643 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37644 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37645 Variables removed.
37646 * inet/getnetgrent_r.c
37647 (nscd_setnetgrent): New function, broken out of ...
37648 (setnetgrent): ... here. Call it.
37649 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37650 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37651 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37652 * nscd/Makefile (routines, aux): Move definitions after include of
37653 Makeconfig. Conditionalize on [$(use-nscd) != no].
37654 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37655 Conditionalize on [USE_NSCD].
37656 (is_nscd, nscd_init_cb): Likewise.
37657 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37658 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37659 * nss/nss_db/db-init.c: Likewise.
37660 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37661 [USE_NSCD].
37662 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37663 (make_request): Use it.
37664 (cache_valid_p): New function.
37665 (__check_pf): Use it.
37666 * NEWS: Add item for --disable-nscd.
37667
07e51550
DL
376682012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37669
37670 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37671 to support sed >= 4.2.1-20-ga9bf076.
37672 * configure: Regenerated.
37673
35a5b08b
RM
376742012-08-22 Roland McGrath <roland@hack.frob.com>
37675
37676 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37677 Conditionalize whole body on [IREL].
37678
8479f23a
JL
376792012-08-22 Jeff Law <law@redhat.com>
37680
37681 [BZ #14505]
37682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37683 if the family is PF_UNSPEC.
37684
48da0b21
MF
376852012-08-22 Mike Frysinger <vapier@gentoo.org>
37686
37687 * Makerules (lib-version): Rename from V.
37688 (install-lib-nosubdir): Change V to lib-version.
37689
15d0da8c
WS
376902012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37691
37692 [BZ #14252]
37693 * powerpc32/power6/wcschr.c: New file.
37694 * powerpc32/power6/wcscpy.c: New file.
37695 * powerpc32/power6/wcsrchr.c: New file.
37696 * powerpc64/power6/wcschr.c: New file.
37697 * powerpc64/power6/wcscpy.c: New file.
37698 * powerpc64/power6/wcsrchr.c: New file.
37699
bcca0895
MK
377002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37701
37702 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37703 (two_way_short_needle): Use it.
5a4aaa33
RM
37704 * string/strstr.c (AVAILABLE1_USES_J): Define.
37705 * string/strcasestr.c: Likewise.
99677e57
MK
37706
37707 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37708 array references.
37709 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37710
400726de
MK
37711 [BZ #11607]
37712 * NEWS: Add an entry.
37713 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37714 define their defaults.
37715 (two_way_short_needle): Detect end-of-string on-the-fly.
37716 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37717 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37718 * string/bug-strcasestr1.c: New test.
37719 * string/Makefile: Run it.
37720
20a71f2c
MK
377212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37722
37723 [BZ #11607]
37724 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37725 the first character.
37726
21ad0558
RM
377272012-08-21 Roland McGrath <roland@hack.frob.com>
37728
37729 * csu/elf-init.c (__libc_csu_irel): Function removed.
37730 * csu/libc-start.c (apply_irel): New function.
37731 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37732
0e1d9911
JM
377332012-08-21 Joseph Myers <joseph@codesourcery.com>
37734
37735 * sysdeps/unix/sysv/linux/kernel-features.h
37736 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37737 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37738 <kernel-features.h>.
37739 [__NR_fadvise64_64]: Make code unconditional.
37740 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37741 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37742 !__NR_fadvise64_64)]: Likewise.
37743 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37744 !__NR_fadvise64_64))]: Likewise.
37745 [__NR_fadvise64]: Make code unconditional.
37746 [!__NR_fadvise64]: Remove conditional code.
37747 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37748 <kernel-features.h>.
37749 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37750 unconditional.
37751 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37752 conditional code.
37753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37754 not include <kernel-features.h>.
37755 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37756 unconditional.
37757 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37758 conditional code.
37759 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37760 include <kernel-features.h>.
37761 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37762 unconditional.
37763 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37764 conditional code.
37765
14a50c9d
WS
377662012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37767
37768 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37769 slight instruction rearrangements per scrollpipe analysis.
37770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37771
c0f4faf0
RM
377722012-08-20 Roland McGrath <roland@hack.frob.com>
37773
696da859
RM
37774 * manual/syslog.texi (syslog; vsyslog, closelog):
37775 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37776 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37777
c0f4faf0
RM
37778 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37779 DSOCAPS to match condition on defining it.
37780
348363b2
JM
377812012-08-20 Joseph Myers <joseph@codesourcery.com>
37782
a35cbf28
JM
37783 * sysdeps/unix/sysv/linux/kernel-features.h
37784 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37786 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37787 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37789 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37790 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37792 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37793 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37794
445f7ecd
JM
37795 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37796 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37797
348363b2
JM
37798 * sysdeps/unix/sysv/linux/kernel-features.h
37799 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37800 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37801 unconditional.
37802 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37803 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37804 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37805 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37806 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37807 Make code unconditional.
37808 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37809 (__mmap64) [!__NR_mmap2]: Likewise.
37810 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37811 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37812 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37813 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37814 [__NR_mmap2]: Make code unconditional.
37815 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37816 (__mmap64) [!__NR_mmap2]: Likewise.
37817
bc5bc0e5
AK
378182012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37819
37820 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37821
88d506de
AJ
378222012-08-18 Andreas Jaeger <aj@suse.de>
37823
37824 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37825
493387d2
MF
378262012-08-18 Mike Frysinger <vapier@gentoo.org>
37827
37828 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37829 * include/unistd.h (__have_sock_cloexec): Likewise.
37830 (__have_pipe2): Likewise.
37831 (__have_dup3): Likewise.
37832
a277af22
MF
378332012-08-18 Mike Frysinger <vapier@gentoo.org>
37834
37835 [BZ #9685]
37836 * include/unistd.h (__have_pipe2): Change define into an extern int.
37837 (__have_dup3): Likewise.
37838 * socket/have_sock_cloexec.c: Include fcntl.h.
37839 (__have_pipe2): New variable.
37840 (__have_dup3): Likewise.
37841
fdab8fd3
MF
378422012-08-17 Mike Frysinger <vapier@gentoo.org>
37843
37844 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37845
31035e80
MP
378462012-08-17 Marek Polacek <polacek@redhat.com>
37847
37848 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37849 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37850
3bd9e993
RM
378512012-08-17 Roland McGrath <roland@hack.frob.com>
37852
c91c505f
RM
37853 * configure.in: Add AC_SUBST for sysheaders.
37854 * configure: Regenerated.
37855 * config.make.in (sysheaders): New substituted variable.
37856
7c6f9d53
RM
37857 * sysdeps/unix/mkfifo.c: Moved ...
37858 * sysdeps/posix/mkfifo.c: ... here.
37859 * sysdeps/unix/mkfifoat.c: Moved ...
37860 * sysdeps/posix/mkfifoat.c: ... here.
37861
37862 * sysdeps/unix/utime.c: Moved ...
37863 * sysdeps/posix/utime.c: ... here.
37864
37865 * sysdeps/unix/time.c: Moved ...
37866 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37867 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37868 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37869
37870 * sysdeps/unix/nice.c: Moved ...
37871 * sysdeps/posix/nice.c: ... here.
37872
37873 * sysdeps/unix/alarm.c: Moved ...
37874 * sysdeps/posix/alarm.c: ... here.
37875
3bd9e993
RM
37876 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37877
d1f09384
JL
378782012-08-17 Jeff Law <law@redhat.com>
37879
37880 * intl/Makefile (codeset_mo): New variable.
37881 ($(codeset_mo)): New target.
37882 (tst-codeset.out): Depend on that. Remove explicit rule.
37883 (tst-gettext3.out, tst-gettext5.out): Likewise.
37884 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37885 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37886 * intl/tst-codeset.sh: Remove.
37887 * intl/tst-gettext3.sh: Likewise.
37888 * intl/tst-gettext5.sh: Likewise.
37889
2ae1ae5c
RM
378902012-08-17 Roland McGrath <roland@hack.frob.com>
37891
c31fdb83
RM
37892 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37893 * sysdeps/unix/syscalls.list: ... here.
37894
a0844057
RM
37895 * sysdeps/posix/getaddrinfo.c
37896 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37897 (gaiconf_init, gaiconf_reload): Use them.
37898 [!_STATBUF_ST_NSEC]
37899 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37900 Define using time_t rather than struct timespec.
37901
750c1f2a
RM
37902 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37903 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37904 Macros removed.
37905 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37906 [!NO_THREADS].
37907 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37908 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37909 Likewise.
37910
2ae1ae5c
RM
37911 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37912 __libc_cleanup_push argument.
37913
e66a42f5
RM
37914 * bits/param.h: New file.
37915 * misc/sys/param.h: New file.
37916 * include/sys/param.h: New file.
37917 * misc/Makefile (headers): Add bits/param.h.
37918 * sysdeps/generic/sys/param.h: File removed.
37919 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37920 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37921 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37922 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37923
b7c08a66
RM
37924 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37925 last change.
37926
b2e1c562
RM
37927 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37928 [_IO_MTSAFE_IO].
37929 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37930 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37931 New macros.
37932
c75ccd4c
RM
37933 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37934 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37935 rather than -D_IO_MTSAFE_IO conditionally.
37936 * stdio-common/Makefile (CPPFLAGS): Likewise.
37937 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37938 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37939 Use $(libio-mtsafe).
37940 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37941 of -D_IO_MTSAFE_IO.
37942 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37943 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37944 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37945 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37946 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37947 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37948 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37949 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37950 (CFLAGS-fread_u_chk.c): Likewise.
37951 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37952 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37953 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37954 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37955 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37956 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37957 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37958 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37959 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37960
37961 * libio/Makefile: Test [$(libc-reentrant) = yes]
37962 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37963
37964 * Makeconfig
37965 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37966 * sysdeps/pthread/configure: File removed.
37967 * sysdeps/pthread/Makeconfig: New file.
37968 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37969 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37970
d9195db8
GB
379712012-08-16 Gary Benson <gbenson@redhat.com>
37972
37973 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37974 unmapping the first object in a namespace.
37975
86466cd9
RM
379762012-08-16 Roland McGrath <roland@hack.frob.com>
37977
37978 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37979 (__internal_setnetgrent): ... this. Add internal_function to
37980 definition. Add libc_hidden_def.
37981 (setnetgrent): Update caller.
37982 (internal_endnetgrent): Renamed to ...
37983 (__internal_endnetgrent): ... this. Add internal_function to
37984 definition. Add libc_hidden_def.
37985 (endnetgrent): Update caller.
37986 (internal_getnetgrent_r): Renamed to ...
37987 (__internal_getnetgrent_r): ... this. Add internal_function to
37988 definition. Add libc_hidden_def.
37989 (__getnetgrent_r): Update caller.
37990 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37991
c3c8283c
JM
379922012-08-16 Joseph Myers <joseph@codesourcery.com>
37993
37994 * stdlib/longlong.h: Update from GCC.
37995
db1ee0a8
RM
379962012-08-16 Roland McGrath <roland@hack.frob.com>
37997
37998 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37999 on _QL, which is set by umul_ppmm but never used.
38000 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38001 variables, which are set by GMP macros but never used.
38002 * stdio-common/_itowa.c (_itowa): Likewise.
38003 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38004 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38005
30f69637
CD
380062012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38007
38008 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38009 struct La_sh_regs is not constant.
38010 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38011 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38012 and struct La_sparc64_regs are not constant.
38013
93a78ac4
JM
380142012-08-16 Joseph Myers <joseph@codesourcery.com>
38015
38016 * sysdeps/unix/sysv/linux/kernel-features.h
38017 (__ASSUME_POSIX_TIMERS): Remove.
38018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38019 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38020 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38021 Make code unconditional.
38022 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38023 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38024 Make code unconditional.
38025 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38026 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38027 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38028 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38029 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38030 Make code unconditional.
38031 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38032 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38033 (__libc_missing_posix_timers): Remove.
38034
dd924cd7
RM
380352012-08-15 Roland McGrath <roland@hack.frob.com>
38036
4b4f2771
RM
38037 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38038 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38039
601c888b
RM
38040 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38041
176790a7
RM
38042 * elf/dl-sym.c: Include <stdlib.h>.
38043
329bc018
RM
38044 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38045 constants, which avoids warnings in 32-bit builds.
38046
e04e272d
RM
38047 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38048 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38049
952bf94a
RM
38050 * misc/lseek.c: File moved to ...
38051 * io/lseek.c: ... here.
38052
7c99b50a
RM
38053 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38054
dd924cd7
RM
38055 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38056 shifting LEN more than 31 bits at once.
38057
b3f479a8
LD
380582012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38059
38060 [BZ #14195]
8c4ae0d4
RM
38061 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38062 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38063 * string/test-strncasecmp.c (check1): Renamed to...
38064 (bz12205): ...this.
38065 (bz14195): Add new testcase for two empty input strings and N > 0.
38066 (test_main): Call new testcase, adapt for renamed function.
38067
9c55864e
AJ
380682012-08-15 Andreas Jaeger <aj@suse.de>
38069
38070 [BZ #14090]
38071 * crypt/md5test2.c: New test, based on test supplied by Serge
38072 Belyshev <belyshev@depni.sinp.msu.ru>.
38073 * crypt/Makefile (xtests): Add md5test-giant..
38074 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38075
02dcb6c5
PE
380762012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38077
38078 [BZ #14090]
38079 * crypt/md5.c (md5_process_block): Don't assume the buffer
38080 length is less than 2**32.
38081 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38082 length is less than 2**64.
38083
a3f95dcc
RM
380842012-08-15 Roland McGrath <roland@hack.frob.com>
38085
be75d758
RM
38086 * string/str-two-way.h: Include <sys/param.h>.
38087 (MAX): Macro removed.
38088
7312ca90
RM
38089 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38090 Move #define and #undef of memmove to just before and after
38091 including <string.h>.
38092
9a0a5486
RM
38093 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38094 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38095 and after including <string.h>. Move declarations of
38096 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38097 to before #include "string/memmove.c".
38098
67cc348d
RM
38099 * include/dirent.h: Declare __getdirentries.
38100
a3f95dcc
RM
38101 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38102 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38103
ca98e171
MF
381042012-08-14 Mike Frysinger <vapier@gentoo.org>
38105
38106 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38107 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38108 * sysdeps/i386/configure: Regenerated.
38109 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38110 STABS_CURRENT_FILE, and STABS_FUN.
38111 (END): Remove call to STABS_FUN_END.
38112 (STABS_CURRENT_FILE1): Delete.
38113 (STABS_CURRENT_FILE): Likewise.
38114 (STABS_FUN): Likewise.
38115 (STABS_FUN_END): Likewise.
38116 (STABS_FUN2): Likewise.
38117 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38118 * sysdeps/x86_64/configure: Regenerated.
38119
5908bf46
RM
381202012-08-14 Roland McGrath <roland@hack.frob.com>
38121
38122 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38123 * elf/dl-lookup.c: Likewise.
5908bf46 38124
f2c05b9e
JM
381252012-08-14 Joseph Myers <joseph@codesourcery.com>
38126
38127 * sysdeps/unix/sysv/linux/kernel-features.h
38128 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38129 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38130 unconditionally.
38131 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38132 unconditionally.
38133 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38134 condition on __ASSUME_CLONE_THREAD_FLAGS.
38135
e11f5155
AJ
381362012-08-14 Andreas Jaeger <aj@suse.de>
38137
38138 * sysdeps/i386/fpu/libm-test-ulps: Update.
38139
51a9ba86
MK
381402012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38141
2fdd4f78
AJ
38142 * include/atomic.h (atomic_exchange_and_add): Split into ...
38143 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38144 New atomic macros.
51a9ba86 38145
ba6cba9e
MT
381462012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38147
38148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38149
42443a47
JL
381502012-08-13 Jeff Law <law@redhat.com>
38151
38152 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38153 null byte in the output string.
38154
121dce05
JM
381552012-08-10 Joseph Myers <joseph@codesourcery.com>
38156
38157 * sysdeps/unix/sysv/linux/kernel-features.h
38158 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38159 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38160 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38161 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38162 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38163 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38164 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38165
bf51f568
JL
381662012-08-09 Jeff Law <law@redhat.com>
38167
38168 [BZ #13939]
38169 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38170 When avoid_arena is set, don't retry in the that arena. Pick the
38171 next one, whatever it might be.
38172 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38173 (arena_lock): Pass in new parameter to arena_get2.
38174 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38175 arena_get2.
38176 (__libc_malloc): Unify retrying after main arena failure with
38177 __libc_memalign version.
38178 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38179
f85fa270
L
381802012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38181
38182 [BZ #14166]
38183 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38184 to __redirect_strstr.
38185 (__strstr_sse42): Use typeof __redirect_strstr.
38186 (__strstr_ia32): Likewise.
38187 (__libc_strstr): New prototype.
38188 (strstr): Renamed to ...
38189 (__libc_strstr): This.
38190 (strstr): New strong alias of __libc_strstr.
38191 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38192 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38193 __redirect_time.
38194 Include <time.h>.
38195 (__libc_time): New prototype.
38196 (time_ifunc): Replace time with __libc_time.
38197 (time): New strong alias and hidden definition of __libc_time.
38198 (__GI_time): Remove strong alias.
38199 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38200 Include <stddef.h>.
38201 (memmove): Redefined to __redirect_memmove.
38202 (__memmove_sse2): Use typeof __redirect_memmove.
38203 (__memmove_ssse3): Likewise.
38204 (__memmove_ssse3_back): Likewise.
38205 (__libc_memmove): New prototype.
38206 (memmove): Renamed to ...
38207 (__libc_memmove): This.
38208 (memmove): New strong alias of __libc_memmove.
38209
33b4a91e
MS
382102012-08-08 Mark Salter <msalter@redhat.com>
38211
38212 * elf/elf.h
38213 (R_MN10300_TLS_GD): Define.
38214 (R_MN10300_TLS_LD): Likewise.
38215 (R_MN10300_TLS_LDO): Likewise.
38216 (R_MN10300_TLS_GOTIE): Likewise.
38217 (R_MN10300_TLS_IE): Likewise.
38218 (R_MN10300_TLS_LE): Likewise.
38219 (R_MN10300_TLS_DTPMOD): Likewise.
38220 (R_MN10300_TLS_DTPOFF): Likewise.
38221 (R_MN10300_TLS_TPOFF): Likewise.
38222 (R_MN10300_SYM_DIFF): Likewise.
38223 (R_MN10300_ALIGN): Likewise.
38224 (R_MN10300_NUM): Update.
38225
b36137f1
JM
382262012-08-08 Joseph Myers <joseph@codesourcery.com>
38227
38228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38229 Remove.
38230
cdd915fd
RM
382312012-08-08 Roland McGrath <roland@hack.frob.com>
38232
a2433aac
RM
38233 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38234
cdd915fd
RM
38235 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38236 sysdeps/unix -> sysdeps/posix move.
38237 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38238
bf9b740a
AM
382392012-08-07 Allan McRae <allan@archlinux.org>
38240
38241 [BZ #14303]
38242 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38243 (SUNOS_CPP): Likewise.
38244 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38245 not found.
38246 (open_input): Call CPP using execvp.
38247
93df14ee
JM
382482012-08-07 Joseph Myers <joseph@codesourcery.com>
38249
38250 * sysdeps/unix/sysv/linux/kernel-features.h
38251 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38252 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38253 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38254 (__ASSUME_WAITID_SYSCALL): Likewise.
38255 * sysdeps/unix/sysv/linux/dl-execstack.c
38256 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38257 code unconditional.
38258 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38259 conditional code.
38260 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38261 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38262 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38263 code.
38264 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38265 unconditional.
38266 [__ASSUME_WAITID_SYSCALL]: Likewise.
38267 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38268
d34689de
RM
382692012-08-07 Roland McGrath <roland@hack.frob.com>
38270
a281decc
RM
38271 * sysdeps/unix/closedir.c: Renamed to ...
38272 * sysdeps/posix/closedir.c: ... here.
38273 * sysdeps/unix/dirfd.c: Renamed to ...
38274 * sysdeps/posix/dirfd.c: ... here.
38275 * sysdeps/unix/dirstream.h: Renamed to ...
38276 * sysdeps/posix/dirstream.h: ... here.
38277 * sysdeps/unix/fdopendir.c: Renamed to ...
38278 * sysdeps/posix/fdopendir.c: ... here.
38279 * sysdeps/unix/opendir.c: Renamed to ...
38280 * sysdeps/posix/opendir.c: ... here.
38281 * sysdeps/unix/readdir.c: Renamed to ...
38282 * sysdeps/posix/readdir.c: ... here.
38283 * sysdeps/unix/readdir_r.c: Renamed to ...
38284 * sysdeps/posix/readdir_r.c: ... here.
38285 * sysdeps/unix/rewinddir.c: Renamed to ...
38286 * sysdeps/posix/rewinddir.c: ... here.
38287 * sysdeps/unix/seekdir.c: Renamed to ...
38288 * sysdeps/posix/seekdir.c: ... here.
38289 * sysdeps/unix/telldir.c: Renamed to ...
38290 * sysdeps/posix/telldir.c: ... here.
38291 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38292 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38293 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38294 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38295
22895b47
RM
38296 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38297 * bits/fcntl.h: ... here.
38298
707a53b6
RM
38299 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38300 not 0.
38301 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38302 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38303 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38304 (struct flock): Move l_start, l_len to the beginning.
38305 Use __pid_t for l_pid.
38306 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38307 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38308 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38309 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38310 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38311 [__USE_LARGEFILE64] (struct flock64): New type.
38312 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38313
f0bd3e25
RM
38314 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38315 * bits/dirent.h: ... here.
38316
d34689de
RM
38317 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38318 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38319
6dad2c06
JM
383202012-08-07 Joseph Myers <joseph@codesourcery.com>
38321
38322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38323 Change from 2.6.0 to 2.6.16.
38324 * sysdeps/unix/sysv/linux/configure: Regenerated.
38325 * sysdeps/unix/sysv/linux/kernel-features.h
38326 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38327 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38328 version.
38329 (__ASSUME_UTIMES): Likewise.
38330 (__ASSUME_CLONE_STOPPED): Remove.
38331 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38332 architectures, not kernel version.
38333 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38334 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38335 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38336 (__ASSUME_WAITID_SYSCALL): Likewise.
38337 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38338 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38339 * README: State 2.6.16 as minimum Linux kernel version. Do not
38340 refer to older versions.
38341
03af9520
RM
383422012-08-06 Roland McGrath <roland@hack.frob.com>
38343
8e49df1d
RM
38344 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38345 Define alphasort64 as an alias.
38346 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38347 Define versionsort64 as an alias.
38348 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38349 Define scandir64 as an alias.
38350 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38351 Define scandirat64 as an alias.
38352 * dirent/alphasort64.c (alphasort64):
38353 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38354 * dirent/versionsort64.c: Likewise.
38355 * dirent/scandir64.c: Likewise.
38356 * dirent/scandirat64.c: Likewise.
38357 * sysdeps/wordsize-64/alphasort.c: File removed.
38358 * sysdeps/wordsize-64/alphasort64.c: File removed.
38359 * sysdeps/wordsize-64/scandir.c: File removed.
38360 * sysdeps/wordsize-64/scandir64.c: File removed.
38361 * sysdeps/wordsize-64/scandirat.c: File removed.
38362 * sysdeps/wordsize-64/scandirat64.c: File removed.
38363 * sysdeps/wordsize-64/versionsort.c: File removed.
38364 * sysdeps/wordsize-64/versionsort64.c: File removed.
38365 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38366 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38367 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38368 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38369 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38370 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38371 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38372 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38373
38374 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38375 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38376 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38377 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38378 [defined __arch64__ || defined __sparcv9]
38379 (__INO_T_MATCHES_INO64_T): New macro.
38380 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38381 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38382 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38383 * sysdeps/unix/sysv/linux/bits/dirent.h
38384 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38385 (_DIRENT_MATCHES_DIRENT64): New macro.
38386
03af9520
RM
38387 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38388 Define lockf64 as an alias.
38389 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38390 Define fseeko64 as an alias.
38391 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38392 Define ftello64 as an alias.
38393 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38394 Define _IO_fgetpos64 and fgetpos64 as aliases.
38395 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38396 Define _IO_fsetpos64 and fsetpos64 as aliases.
38397 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38398 Conditionalize body on this.
38399 * libio/fseeko64.c: Likewise.
38400 * libio/ftello64.c: Likewise.
38401 * libio/iofgetpos64.c: Likewise.
38402 * libio/iofsetpos64.c: Likewise.
38403 * sysdeps/wordsize-64/lockf.c: File removed.
38404 * sysdeps/wordsize-64/lockf64.c: File removed.
38405 * sysdeps/wordsize-64/fseeko.c: File removed.
38406 * sysdeps/wordsize-64/fseeko64.c: File removed.
38407 * sysdeps/wordsize-64/ftello.c: File removed.
38408 * sysdeps/wordsize-64/ftello64.c: File removed.
38409 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38410 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38411 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38412 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38413 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38414 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38416 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38418 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38419 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38420 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38421 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38422 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38423
38424 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38426 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38428 [defined __arch64__ || defined __sparcv9]
38429 (__OFF_T_MATCHES_OFF64_T): New macro.
38430 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38431 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38432 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38433 (__OFF_T_MATCHES_OFF64_T): New macro.
38434
c5757acd
L
384352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38436
38437 * stdlib/secure-getenv.c (__secure_getenv): Replace
38438 GLIBC_2_16 with GLIBC_2_17.
38439
3a31811e
L
384402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38441
38442 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38443 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38444
faa2bccb
DM
384452012-08-03 David S. Miller <davem@davemloft.net>
38446
38447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38448
85fe1997
JM
384492012-08-03 Joseph Myers <joseph@codesourcery.com>
38450
38451 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38452 Remove.
38453 (__ASSUME_CORRECT_SI_PID): Likewise.
38454 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38455 (__ASSUME_TMPFS_NAME): Likewise.
38456 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38457 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38458 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38459 (HAVE_AUX_SECURE): Make definition unconditional.
38460 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38461 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38462
4f75b7a0
RM
384632012-08-03 Roland McGrath <roland@hack.frob.com>
38464
38465 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38466 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38467 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38468 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38469 __eloop_threshold instead of SYMLOOP_MAX.
38470
38471 * sysdeps/generic/eloop-threshold.h: New file.
38472 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38473 of MAXSYMLINKS.
38474 * elf/chroot_canon.c (chroot_canon): Likewise.
38475
7aab07e4
JM
384762012-08-03 Joseph Myers <joseph@codesourcery.com>
38477
38478 [BZ #13717]
38479 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38480 Change to 2.6.0 everywhere.
38481 * sysdeps/unix/sysv/linux/configure: Regenerated.
38482 * sysdeps/unix/sysv/linux/kernel-features.h
38483 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38484 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38485 kernel versions.
38486 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38487 (__ASSUME_FUTEX_REQUEUE): Remove.
38488 (__ASSUME_STATFS64): Define unconditionally.
38489 (__ASSUME_AT_SECURE): Likewise.
38490 (__ASSUME_CORRECT_SI_PID): Likewise.
38491 (__ASSUME_TGKILL): Define without depending on kernel version for
38492 i386.
38493 (__ASSUME_UTIMES): Likewise.
38494 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38495 kernel version.
38496 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38497 (__ASSUME_TMPFS_NAME): Likewise.
38498 * README: Update reference to Linux kernel versions.
38499
b67e9372
MP
385002012-08-02 Marek Polacek <polacek@redhat.com>
38501
1f529f7d 38502 [BZ# 14150]
b67e9372
MP
38503 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38504 libc_cv_asm_type_prefix with %.
38505 * configure: Regenerated.
d2441631
RM
38506 * include/libc-symbols.h: Remove comment about
38507 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38508 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38509 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38510 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38511 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38512 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38513 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38514 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38515 * elf/tst-unique2mod1.c: Likewise.
38516 * elf/tst-unique1mod2.c: Likewise.
38517 * elf/tst-unique1mod1.c: Likewise.
38518 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38519 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38520 Replace ASM_TYPE_DIRECTIVE with .type.
38521 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38522 * sysdeps/i386/sysdep.h: Likewise.
38523 * sysdeps/x86_64/sysdep.h: Likewise.
38524 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38526 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38527 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38528 * sysdeps/powerpc/powerpc32/sysdep.h:
38529 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38530 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38531 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38532 * sysdeps/i386/fpu/e_powf.S: Likewise.
38533 * sysdeps/i386/fpu/e_expl.S: Likewise.
38534 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38535 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38536 * sysdeps/i386/fpu/e_pow.S: Likewise.
38537 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38538 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38539 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38540 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38541 * sysdeps/i386/fpu/e_log2.S: Likewise.
38542 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38543 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38544 * sysdeps/i386/fpu/e_powl.S: Likewise.
38545 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38546 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38547 * sysdeps/i386/fpu/e_logl.S: Likewise.
38548 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38549 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38550 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38553 * sysdeps/i386/fpu/e_log.S: Likewise.
38554 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38555 * sysdeps/i386/fpu/e_logf.S: Likewise.
38556 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38557 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38558 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38559 * sysdeps/i386/fpu/e_log10.S: Likewise.
38560 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38561 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38562 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38563 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38564 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38565 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38566 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38567 * sysdeps/i386/i686/strtok.S: Likewise.
38568 * sysdeps/i386/i386-mcount.S: Likewise.
38569 * sysdeps/i386/strtok.S: Likewise.
38570 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38571 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38572 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38573 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38574 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38575 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38576 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38577 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38578 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38579 * sysdeps/x86_64/_mcount.S: Likewise.
38580 * sysdeps/x86_64/strtok.S: Likewise.
38581 * sysdeps/sh/_mcount.S: Likewise.
38582
2747bf9a
RM
385832012-08-01 Roland McGrath <roland@hack.frob.com>
38584
38585 * libio/iofopen.c: Include <fcntl.h>.
38586 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38587 (_IO_fopen64, fopen64): Define as aliases.
38588 * libio/iofopen64.c: Include <fcntl.h>.
38589 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38590 Conditionalize body on this.
38591 * sysdeps/wordsize-64/iofopen.c: File removed.
38592 * sysdeps/wordsize-64/iofopen64.c: File removed.
38593
3fb791b8
MP
385942012-08-01 Marek Polacek <polacek@redhat.com>
38595
38596 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38597 Use dlfcn directly instead of a variable.
38598 (binfmt-subdir): Do not define.
38599 (dlfcn): Likewise.
38600
a9f1039f
JM
386012012-08-01 Joseph Myers <joseph@codesourcery.com>
38602
23bddc06
JM
38603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38604 Remove all definitions.
38605 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38606 <kernel-features.h>.
38607 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38608 (miss_F_GETOWN_EX): Remove all definitions.
38609 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38610 macro definition.
38611 [!__ASSUME_FCNTL64]: Remove conditional code.
38612 [__ASSUME_FCNTL64]: Make code unconditional.
38613 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38614 <kernel-features.h>.
38615 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38616 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38617 (lockf64) [__NR_fcntl64]: Make code unconditional.
38618 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38619
a9f1039f
JM
38620 * sysdeps/unix/sysv/linux/kernel-features.h
38621 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38622 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38623 Make code unconditional.
38624 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38625 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38627 [__NR_vfork]: Make code unconditional.
38628 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38629 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38631 [__NR_vfork]: Make code unconditional.
38632 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38633 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38634
09c0ee5f
RM
386352012-08-01 Roland McGrath <roland@hack.frob.com>
38636
48aec5b9
RM
38637 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38638 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38639
cd97c966
RM
38640 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38641 Define mkstemp64 as an alias.
3f55550c
RM
38642 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38643 Define mkstemps64 as an alias.
cd97c966
RM
38644 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38645 Define mkostemp64 as an alias.
b8625cfc
RM
38646 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38647 Define mkostemps64 as an alias.
cd97c966
RM
38648 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38649 Conditionalize body on this.
38650 * misc/mkostemp64.c: Likewise.
b8625cfc 38651 * misc/mkostemps64.c: Likewise.
3f55550c 38652 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38653 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38654 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38655 * sysdeps/wordsize-64/mkostemp.c: File removed.
38656 * sysdeps/wordsize-64/mkstemp.c: File removed.
38657 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38658 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38659 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38660 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38661
09c0ee5f
RM
38662 [BZ #14138]
38663 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38664 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38665 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38666 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38667
38668 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38669 compat_symbol macros from <shlib-compat.h> rather than the underlying
38670 default_symbol_version and symbol_version macros, so that DEFAULT
38671 lines in shlib-versions are respected.
38672 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38673
7e66ee51
FW
386742012-08-01 Florian Weimer <fweimer@redhat.com>
38675
38676 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38677 Declare with warn_unused_result.
38678 (setgid, setregid, setegid, setresgid): Likewise.
38679 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38680 Likewise.
38681 * WUR-REPORT: Remove set*id functions.
38682
d2a54255
PT
386832012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38684
38685 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38686
7ecdb005
RM
386872012-07-31 Roland McGrath <roland@hack.frob.com>
38688
b4180a5e 38689 [BZ #10191]
789bd351
RM
38690 * include/sys/socket.h (__libc_accept, __libc_accept4):
38691 Add attribute_hidden.
38692 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38693
40ce302d
RM
38694 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38695 use of PTR_MANGLE.
38696 * inet/getnetgrent_r.c (setup): Likewise.
38697
7ecdb005
RM
38698 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38699
e2eabb2c
DM
387002012-07-31 David S. Miller <davem@davemloft.net>
38701
38702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38703
d0419dbf
JM
387042012-07-31 Joseph Myers <joseph@codesourcery.com>
38705
38706 [BZ #13629]
38707 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38708 value between 1.0 and 2.0 and smaller part has absolute value less
38709 than 1.0.
38710 * math/s_clog10.c (__clog10): Likewise.
38711 * math/s_clog10f.c (__clog10f): Likewise.
38712 * math/s_clog10l.c (__clog10l): Likewise.
38713 * math/s_clogf.c (__clogf): Likewise.
38714 * math/s_clogl.c (__clogl): Likewise.
38715 * math/libm-test.inc (clog_test): Add more tests.
38716 (clog10_test): Likewise.
38717 * sysdeps/i386/fpu/libm-test-ulps: Update.
38718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38719
2bc13872
FW
387202012-07-31 Florian Weimer <fweimer@redhat.com>
38721
38722 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38723 Exit with zero in case no suitable GID is found, and write a
38724 message to standard error.
38725
bea9b193
RM
387262012-07-30 Roland McGrath <roland@hack.frob.com>
38727
38728 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38729 rather than to 1.
38730 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38731 (MAXPATHLEN): Removed.
38732 (NOGROUP, NODEV): New macros.
38733 (setbit, clrbit, isset, isclr): New macros.
38734 (howmany, roundup, powerof2): New macros.
38735 (DEV_BSIZE): New macro.
38736
38737 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38738 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38739
38740 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38741 definition on [!__NO_LONG_DOUBLE_MATH].
38742
38743 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38744 PTR_MANGLE and PTR_DEMANGLE.
38745
38746 * socket/accept4.c (accept4): Rename to __libc_accept4.
38747 Define accept4 as a weak alias.
38748
38749 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38750 on [_DIRENT_HAVE_D_TYPE].
38751 * io/ftw.c (ftw_dir): Likewise.
38752
38753 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38754
38755 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38756
38757 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38758 Use the BSD numbers rather than the arbitrary ones we had.
38759 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38760 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38761 (SIGXCPU, SIGXFSZ): New macros.
38762 (_NSIG): Now 32.
38763
38764 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38765 initializer on [_LIBC_REENTRANT].
38766
38767 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38768 definitions inside [_POSIX_MAPPED_FILES].
38769
38770 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38771
38772 * dirent/opendir.c: Include <fcntl.h>.
38773
38774 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38775 (__libc_getspecific): Likewise.
38776 (__libc_key_create): Likewise.
38777
38778 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38779 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38780 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38781 (tmpfile64): Define as alias.
38782 * sysdeps/wordsize-64/tmpfile.c: File removed.
38783 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38784 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38786
38787 * stdio-common/vfscanf.c: Include <stdbool.h>.
38788 * nss/makedb.c: Likewise.
38789 * stdio-common/_i18n_number.h: Likewise.
38790 * argp/argp-help.c: Likewise.
38791 * posix/wordexp.c: Likewise.
38792 * sysdeps/posix/spawni.c: Likewise.
38793 * nss/nss_files/files-initgroups.c: Likewise.
38794 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38795 * nss/nss_files/files-initgroups.c: Likewise.
38796 * nss/nss_db/db-netgrp.c: Likewise.
38797 * nss/nss_db/db-initgroups.c: Likewise.
38798 * io/fchmodat.c: Include <sys/stat.h>.
38799
38800 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38801 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38802
38803 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38804 [HAVE_MMAP].
38805
38806 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38807 Add multiple inclusion protection.
38808
e5abc686
DM
388092012-07-27 David S. Miller <davem@davemloft.net>
38810
38811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38812
815e6fa3
GB
388132012-07-27 Gary Benson <gbenson@redhat.com>
38814
38815 [BZ #14298]
38816 * elf/rtld.c: Include <stap-probe.h>.
38817 (dl_main): Added static probes "init_start" and "init_complete".
38818 * elf/dl-load.c: Include <stap-probe.h>.
38819 (lose): Take new parameter "nsid".
38820 Added static probe "map_failed".
38821 (_dl_map_object_from_fd): Pass namespace id to lose.
38822 Added static probe "map_start".
38823 (open_verify): Pass namespace id to lose.
38824 * elf/dl-open.c: Include <stap-probe.h>.
38825 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38826 and "reloc_complete".
38827 * elf/dl-close.c: Include <stap-probe.h>.
38828 (_dl_close_worker): Added static probes "unmap_start" and
38829 "unmap_complete".
38830 * elf/rtld-debugger-interface.txt: New file documenting the above.
38831
9f98c16c
RM
388322012-07-26 Roland McGrath <roland@hack.frob.com>
38833
38834 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38835 rather than a string variable.
38836 * sunrpc/rpc_main.c (h_output): Likewise.
38837 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38838
f3c22df3
PT
388392012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38840
38841 * inet/check_native.c: New file.
38842
3129cfc6
JM
388432012-07-26 Joseph Myers <joseph@codesourcery.com>
38844
da865e95
JM
38845 [BZ #13629]
38846 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38847 if larger part has absolute value 1.0.
38848 * math/s_clog10.c (__clog10): Likewise.
38849 * math/s_clog10f.c (__clog10f): Likewise.
38850 * math/s_clog10l.c (__clog10l): Likewise.
38851 * math/s_clogf.c (__clogf): Likewise.
38852 * math/s_clogl.c (__clogl): Likewise.
38853 * math/libm-test.inc (clog_test): Add more tests.
38854 (clog10_test): Likewise.
38855 * sysdeps/i386/fpu/libm-test-ulps: Update.
38856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38857
3129cfc6
JM
38858 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38859 (pltexit): Likewise.
38860 (La_regs): Likewise.
38861 (La_retval): Likewise.
38862 (int_retval): Likewise.
38863 Update #error for removed macros to refer only to definitions in
38864 tst-audit.h.
38865 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38866 macro.
38867 (pltexit): Likewise.
38868 (La_regs): Likewise.
38869 (La_retval): Likewise.
38870 (int_retval): Likewise.
38871 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38872 macro.
38873 (pltexit): Likewise.
38874 (La_regs): Likewise.
38875 (La_retval): Likewise.
38876 (int_retval): Likewise.
38877 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38878 macro.
38879 (pltexit): Likewise.
38880 (La_regs): Likewise.
38881 (La_retval): Likewise.
38882 (int_retval): Likewise.
38883 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38884 macro.
38885 (pltexit): Likewise.
38886 (La_regs): Likewise.
38887 (La_retval): Likewise.
38888 (int_retval): Likewise.
38889 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38890 macro.
38891 (pltexit): Likewise.
38892 (La_regs): Likewise.
38893 (La_retval): Likewise.
38894 (int_retval): Likewise.
38895 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38896 macro.
38897 (pltexit): Likewise.
38898 (La_regs): Likewise.
38899 (La_retval): Likewise.
38900 (int_retval): Likewise.
38901 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38902 macro definitions in tst-audit.h.
38903 * sysdeps/i386/tst-audit.h: New file.
38904 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38905 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38906 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38907 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38908 * sysdeps/sh/tst-audit.h: Likewise.
38909 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38910 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38911 * sysdeps/x86_64/tst-audit.h: Likewise.
38912
bfc07087
AJ
389132012-07-26 Andreas Jaeger <aj@suse.de>
38914
b1b2aaf8
AJ
38915 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38916 ptrace.
38917
38918 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38919 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38920 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38921 PTRACE_O_MASK.
38922 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38923 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38924 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38925
bfc07087
AJ
38926 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38927 value.
38928
38929 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38930 _sigsys.
38931 (si_call_addr, si_syscall, si_arch): Define new macro.
38932 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38933 _sigsys.
38934 (si_call_addr, si_syscall, si_arch): Define new marcro.
38935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38936 _sigsys.
38937 (si_call_addr, si_syscall, si_arch): Define new macro.
38938 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38939 _sigsys.
38940 (si_call_addr, si_syscall, si_arch): Define new macro.
38941
89b4b02f
JM
389422012-07-25 Joseph Myers <joseph@codesourcery.com>
38943
38944 [BZ #13717]
38945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38946 Change to 2.4.21 where previously 2.4.1.
38947 * sysdeps/unix/sysv/linux/configure: Regenerated.
38948 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38949 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38950 Linux kernel version.
38951 (__ASSUME_STD_AUXV): Remove.
38952 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38953 kernel version.
38954 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38955 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38956 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38957 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38958 (__ASSUME_NETLINK_SUPPORT): Likewise.
38959 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38960 (__no_netlink_support): Remove conditional definition.
38961 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38962 Remove.
38963 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38964 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38965 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38966 (if_nameindex_ioctl): Remove.
38967 (if_nameindex_netlink): Do not handle __no_netlink_support.
38968 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38969 code.
38970 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38971 Remove conditional code.
38972 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38973 code.
38974 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38975 unconditional.
38976 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38977 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38978 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38979 Remove.
38980 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38981 [!__ASSUME_STD_AUXV]: Remove conditional code.
38982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38983 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38984 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38986 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38987 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38988 code.
38989 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38991 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38992 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38993 conditional code.
38994 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38996 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38997 code.
38998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38999 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39000 conditional code.
39001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39002 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39003 code unconditional.
39004 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39005 conditional code.
39006 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39007 unconditional.
39008 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39009 conditional code.
39010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39011 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39012 unconditional.
39013 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39014 conditional code.
39015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39016 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39017 code unconditional.
39018 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39019 conditional code.
39020 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39021 unconditional.
39022 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39023 conditional code.
39024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39025 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39026 code unconditional.
39027 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39028 conditional code.
39029 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39030 unconditional.
39031 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39032 conditional code.
39033
842a39cd
AS
390342012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39035
39036 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39037 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39038 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39039 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39040 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39041 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39042 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39043 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39044 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39045 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39046 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39047 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39048 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39049 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39050 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39051 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39052 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39053 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39054 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39056 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39057 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39058 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39059
84b3fd84
FW
390602012-07-25 Florian Weimer <fweimer@redhat.com>
39061
39062 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39063 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39064 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39065 Introduce __libc_secure_getenv.
0c7936d5
FW
39066 * stdlib/Versions (2.17): Add secure_getenv
39067 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39068 * stdlib/secure-getenv.c: Rename __secure_getenv to
39069 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39070 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39071 * stdlib/tst-secure-getenv.c: New.
39072 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39073 * manual/startup.texi (Environment Access): Document
39074 secure_getenv.
84b3fd84
FW
39075 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39076 __libc_secure_getenv.
39077 * inet/ruserpass.c (ruserpass): Likewise.
39078 * malloc/mtrace.c (mtrace): Likewise.
39079 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39080 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39081 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39082 * sysdeps/posix/tempname.c: Likewise. Evaluate
39083 HAVE_SECURE_GETENV.
39084 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39085 __secure_getenv to __libc_secure_getenv.
84b3fd84 39086 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39088 Likewise.
39089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39090 Likewise.
39091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39098
56e49b71
JM
390992012-07-25 Joseph Myers <joseph@codesourcery.com>
39100
39101 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39102 (struct La_i86_retval): Likewise.
39103 (struct La_x86_64_regs): Likewise.
39104 (struct La_x86_64_retval): Likewise.
39105 (struct La_x32_regs): Likewise.
39106 (struct La_x32_retval): Likewise.
39107 (struct La_ppc32_regs): Likewise.
39108 (struct La_ppc32_retval): Likewise.
39109 (struct La_ppc64_regs): Likewise.
39110 (struct La_ppc64_retval): Likewise.
39111 (struct La_sh_regs): Likewise.
39112 (struct La_sh_retval): Likewise.
39113 (struct La_s390_32_regs): Likewise.
39114 (struct La_s390_32_retval): Likewise.
39115 (struct La_s390_64_regs): Likewise.
39116 (struct La_s390_64_retval): Likewise.
39117 (struct La_sparc32_regs): Likewise.
39118 (struct La_sparc32_retval): Likewise.
39119 (struct La_sparc64_regs): Likewise.
39120 (struct La_sparc64_retval): Likewise.
39121 (struct audit_ifaces): Remove architecture-specific pltenter and
39122 pltexit members.
39123 * sysdeps/i386/ldsodefs.h: New file.
39124 * sysdeps/powerpc/ldsodefs.h: Likewise.
39125 * sysdeps/s390/ldsodefs.h: Likewise.
39126 * sysdeps/sh/ldsodefs.h: Likewise.
39127 * sysdeps/sparc/ldsodefs.h: Likewise.
39128 * sysdeps/x86_64/ldsodefs.h: Likewise.
39129
354691b7
MP
391302012-07-25 Marek Polacek <polacek@redhat.com>
39131
39132 [BZ #6808]
39133 * math/libm-test.inc (yn_test): Add another test.
39134 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39135 to ERANGE when the result is +-Inf.
39136 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39137 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39138 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39139 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39140
bf9e2071
JM
391412012-07-24 Joseph Myers <joseph@codesourcery.com>
39142
39143 * conform/data/time.h-data (NULL): Use macro-constant. Require
39144 equal to 0.
39145 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39146 clock_t.
39147 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39148
57633811
TS
391492012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39150
39151 * configure.in <sysdeps resolving>: Correct printing
39152 Implies_before.
39153 * configure: Regenerate.
39154
c23c33b0
TS
391552012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39156
39157 * math/w_ilogb.c: Include <limits.h>.
39158 * math/w_ilogbl.c: Likewise.
39159
b5982523
JM
391602012-07-20 Joseph Myers <joseph@codesourcery.com>
39161
39162 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39163 va_copy. Document allowing for unavailable va_copy only as
39164 pre-C99 compatibility.
39165 * manual/string.texi (Copying and Concatenation): Use va_copy
39166 instead of __va_copy in concat example.
39167
ac4ea442
PT
391682012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39169
39170 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39171 (__sendto): Use create_address_port. Initialize APORT and deallocate
39172 it if not null.
39173
f98eafbd
PT
39174 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39175 with O_NOLINK passed to __file_name_lookup.
39176
898c7aab
PT
39177 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39178 with O_NOLINK passed to __file_name_lookup.
39179
0ced335a
PT
39180 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39181 negative N or less than NGIDS.
39182
b3404dbd
PT
39183 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39184 type to string_t. Set ERANGE as errno and return it if NAME is not big
39185 enough. Use memcpy instead of strncpy.
39186
0f48659e
JM
391872012-07-20 Joseph Myers <joseph@codesourcery.com>
39188
39189 * elf/Makefile (check-data): Remove.
39190 (localplt.data): New vpath directive.
39191 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39192 instead of $(check-data).
39193 * scripts/data/localplt-generic.data: Move to ...
39194 * sysdeps/generic/localplt.data: ... here.
39195 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39196 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39197 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39199 ... here.
39200 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39202 ... here.
39203 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39205 ... here.
39206 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39208 ... here.
39209 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39211 ... here.
39212 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39214 ... here.
39215
d37cbdaa
AZ
392162012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39217
39218 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39219 PPC32 and PPC64 files.
39220 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39221 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39222
46f85fc2
AK
392232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39224
39225 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39226 __makecontext_ret to ...
39227 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39228 ... here and call exit if uc_link is NULL. New file.
39229 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39230 __makecontext_ret.S.
39231 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39232 __makecontext_ret to ...
39233 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39234 ... here and call exit if uc_link is NULL. New file.
39235 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39236 __makecontext_ret.S.
39237
08f43f9b
AK
392382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39239
39240 * elf/elf.h (R_390_IRELATIVE): New definition.
39241 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39242 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39243 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39244 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39245 (elf_machine_lazy_rel): Likewise.
39246 * sysdeps/s390/dl-irel.h: New file.
39247 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39248 * sysdeps/s390/s390-64/memset.S: New asm code.
39249 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39250 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39251 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39252 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39253 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39254 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39255 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39256 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39257 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39258 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39259 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39260 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39261 * sysdeps/s390/s390-32/memset.S: New asm code.
39262 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39263
3b05db33
MP
392642012-07-17 Marek Polacek <polacek@redhat.com>
39265
39266 [BZ #14349]
39267 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39268 * sysdeps/s390/s390-64/configure.in: Likewise.
39269 * sysdeps/sparc/configure.in: Likewise.
39270 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39271 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39272 * sysdeps/i386/configure.in: Likewise.
39273 * sysdeps/x86_64/configure.in: Likewise.
39274 * sysdeps/sh/configure.in: Likewise.
39275 * sysdeps/s390/s390-32/configure: Regenerated.
39276 * sysdeps/s390/s390-64/configure: Likewise.
39277 * sysdeps/x86_64/configure: Likewise.
39278 * sysdeps/sh/configure: Likewise.
39279 * sysdeps/powerpc/powerpc64/configure: Likewise.
39280 * sysdeps/powerpc/powerpc32/configure: Likewise.
39281 * sysdeps/sparc/configure: Likwise.
39282 * sysdeps/i386/configure: Likewise.
39283
a66877c6
MP
39284 * elf/dl-open.c: Comment fixes.
39285
cfc82fd8
JM
392862012-07-17 Joseph Myers <joseph@codesourcery.com>
39287
bd29910a
JM
39288 * Makefile [CXX] (check-data): Remove.
39289 [CXX] (c++-types.data): New vpath directive.
39290 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39291 vpath. Do not allow for C++ type data being missing.
39292 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39293 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39294 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39295 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39296 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39297 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39298 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39300 ... here.
39301 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39303 ... here.
39304 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39306 ... here.
39307 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39309 ... here.
39310 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39312 ... here.
39313 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39315 ... here.
39316 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39318 ... here.
39319 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39321
cfc82fd8
JM
39322 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39323 definitions to architecture-specific files.
39324 (TLS_IE): Likewise.
39325 (TLS_LD): Likewise.
39326 (TLS_GD): Likewise.
39327 * sysdeps/i386/tls-macros.h: New file.
39328 * sysdeps/powerpc/tls-macros.h: Likewise.
39329 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39330 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39331 * sysdeps/sh/tls-macros.h: Likewise.
39332 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39333 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39334 * sysdeps/x86_64/tls-macros.h: Likewise.
39335
f7db3170
TS
393362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39337
07cbfc23
TS
39338 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39339 zero value for regular exit case.
39340
f7db3170
TS
39341 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39342 (__start_context): Preserve zero value for regular exit case.
39343
dc97c227
TS
393442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39345 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39346
39347 * manual/setjmp.texi (setcontext): Clarify normal process
39348 termination when uc_link is the null pointer.
39349 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39350 exit call.
39351
d0cd7d02
AS
393522012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39353
39354 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39355 preprocessor. Test for each exception mask separately.
39356
dd318934
AJ
393572012-07-16 Andreas Jaeger <aj@suse.de>
39358
39359 * po/ru.po: Update from translation team.
39360
8048311a
JM
393612012-07-15 Joseph Myers <joseph@codesourcery.com>
39362
39363 * conform/data/string.h-data (NULL): Use macro-constant. Require
39364 equal to 0.
39365 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39366 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39367 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39368 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39370
b637d46e
AJ
393712012-07-13 Andreas Jaeger <aj@suse.de>
39372
39373 * po/fr.po: Update from translation team.
39374
541428fe
MP
393752012-07-12 Marek Polacek <polacek@redhat.com>
39376
39377 [BZ #14173]
39378 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39379 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39380 loop condition.
39381
ec332e94
JM
393822012-07-12 Joseph Myers <joseph@codesourcery.com>
39383
39384 [BZ #13717]
39385 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39386 Change to 2.4.1 where previously 2.4.0.
39387 * sysdeps/unix/sysv/linux/configure: Regenerated.
39388 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39389 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39390 version.
39391 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39392 (__ASSUME_AT_CLKTCK): Remove.
39393 (__ASSUME_AT_PAGESIZE): Likewise.
39394 (__ASSUME_AT_XID): Likewise.
39395 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39396 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39397 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39398 unconditionally.
39399 (HAVE_AUX_PAGESIZE): Likewise.
39400 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39401 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39402 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39403
7b6e99be
JB
394042012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39405
39406 [BZ #14307]
39407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39408 the temporary buffer used to invoke __gethostbyname2_r,
39409 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39410 host_data / struct gaih_addrtuple.
39411 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39412 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39413 header file nss/nsswitch.h.
39414 * nss/nsswitch.h (global scope): Add definition of implementation
39415 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39416 resolv/nss_dns/dns-host.c).
39417
608404eb
AJ
394182012-07-11 Andreas Jaeger <aj@suse.de>
39419
39420 * po/fr.po: Update from translation team.
39421
71220aca
AJ
39422 * po/sv.po: Update from translation team
39423 * po/fr.po: Another update from translation team.
39424
28cfe843
AZ
394252012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39426
39427 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39428 for subnormals or multiply small sinh result by itself.
39429 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39431
6b90f981
DM
394322012-07-11 David S. Miller <davem@davemloft.net>
39433
39434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39435
c6825772
AS
394362012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39437
39438 [BZ #14347]
39439 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39440 (INTERNAL_MARK): Shift it here.
39441
7b8e0d49
MP
394422012-07-10 Marek Polacek <polacek@redhat.com>
39443
39444 [BZ #14151]
39445 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39446 libc_cv_asm_global_directive with .globl.
39447 * configure: Regenerated.
39448 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39449 with .globl.
39450 * sysdeps/i386/configure: Regenerated.
39451 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39452 with .globl.
39453 * sysdeps/x86_64/configure: Regenerated.
39454 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39455 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39456 * elf/tst-unique2mod2.c: Likewise.
39457 * elf/tst-unique2mod1.c: Likewise.
39458 * elf/tst-unique1mod2.c: Likewise.
39459 * elf/tst-unique1mod1.c: Likewise.
39460 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39461 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39462 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39463 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39464 * sysdeps/mach/sysdep.h: Likewise.
39465 * sysdeps/i386/sysdep.h: Likewise.
39466 * sysdeps/i386/i386-mcount.S: Likewise.
39467 * sysdeps/x86_64/_mcount.S: Likewise.
39468 * sysdeps/x86_64/sysdep.h: Likewise.
39469 * sysdeps/sh/_mcount.S: Likewise.
39470 * sysdeps/sh/sysdep.h: Likewise.
39471 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39472 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39473 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39474 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39475 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39476 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39477 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39478 * locale/localeinfo.h: Likewise.
39479 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39480 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39481
6c55cda3
RM
394822012-07-09 Roland McGrath <roland@hack.frob.com>
39483
39484 [BZ #14336]
39485 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39486 system".
39487 * manual/message.texi (The Uniforum approach): Likewise.
39488 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39489 (glibc iconv Implementation): Likewise.
39490
638a572e
JM
394912012-07-09 Joseph Myers <joseph@codesourcery.com>
39492
39493 [BZ #14337]
39494 * math/s_clog.c (__clog): Avoid scaling a value down where that
39495 could result in underflow.
39496 * math/s_clog10.c (__clog10): Likewise.
39497 * math/s_clog10f.c (__clog10f): Likewise.
39498 * math/s_clog10l.c (__clog10l): Likewise.
39499 * math/s_clogf.c (__clogf): Likewise.
39500 * math/s_clogl.c (__clogl): Likewise.
39501 * math/libm-test.inc (clog_test): Add more tests.
39502 (clog10_test): Likewise.
39503 * sysdeps/i386/fpu/libm-test-ulps: Update.
39504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39505
261f4859
AS
395062012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39507
0abaf3e4
AS
39508 [BZ #14283]
39509 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39510 by 7 not 8 to examine high bit of fractional part.
39511
261f4859
AS
39512 [BZ #14042]
39513 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39514 for call to __mcount_internal.
39515 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39516 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39517 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39518
f17ac40d
JM
395192012-07-06 Joseph Myers <joseph@codesourcery.com>
39520
9ad63c23
JM
39521 [BZ #14154]
39522 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39523 approximation for values within 0x1p-13f of an odd multiple of
39524 pi/4.
39525 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39526 exception. Add more tests.
39527 * sysdeps/i386/fpu/libm-test-ulps: Update.
39528
f17ac40d
JM
39529 [BZ #6778]
39530 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39531 inputs and return -1 for them. Do not check for +Inf in case not
39532 reachable for +Inf.
39533 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39534 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39535 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39536 and return -1 for them. Do not check for +Inf in case not
39537 reachable for +Inf.
39538 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39539 define.
39540 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39541 and return -1 for them. Do not check for +Inf in case not
39542 reachable for +Inf.
39543 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39544 spurious underflow.
39545 * sysdeps/i386/fpu/libm-test-ulps: Update.
39546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39547
fb21f89b
MF
395482012-07-06 Mike Frysinger <vapier@gentoo.org>
39549
39550 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39551
cdfe2c5e
JM
395522012-07-05 Joseph Myers <joseph@codesourcery.com>
39553
39554 [BZ #14157]
39555 [BZ #14331]
39556 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39557 could result in spurious underflow. Scale down values above
39558 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39559 * math/s_csqrtf.c (__csqrtf): Likewise.
39560 * math/s_csqrtl.c (__csqrtl): Likewise.
39561 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39562 spurious underflow.
39563 * sysdeps/i386/fpu/libm-test-ulps: Update.
39564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39565
70d35b67
AS
395662012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39567
704bc459
AS
39568 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39569 xopen-msg.sed.
39570 * catgets/xopen-msg.awk: New file.
39571 * catgets/xopen-msg.sed: Removed.
39572
70d35b67
AS
39573 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39574 po2text.sed.
39575 * intl/po2test.awk: New file.
39576 * intl/po2test.sed: Removed.
39577
ca61cf32
JM
395782012-07-04 Joseph Myers <joseph@codesourcery.com>
39579
39580 [BZ #14328]
39581 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39582 or multiply small sinh result by itself.
39583 * math/s_ctanf.c (__ctanf): Likewise.
39584 * math/s_ctanh.c (__ctanh): Likewise.
39585 * math/s_ctanhf.c (__ctanhf): Likewise.
39586 * math/s_ctanhl.c (__ctanhl): Likewise.
39587 * math/s_ctanl.c (__ctanl): Likewise.
39588 * math/libm-test.inc (ctan_test_tonearest): New function.
39589 (ctan_test_towardzero): Likewise.
39590 (ctan_test_downward): Likewise.
39591 (ctan_test_upward): Likewise.
39592 (ctanh_test_tonearest): Likewise.
39593 (ctanh_test_towardzero): Likewise.
39594 (ctanh_test_downward): Likewise.
39595 (ctanh_test_upward): Likewise.
39596 (main): Call these new functions.
39597 * sysdeps/i386/fpu/libm-test-ulps: Update.
39598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39599
ca48a46a
MF
396002012-07-03 Mike Frysinger <vapier@gentoo.org>
39601
39602 * .gitignore: Delete /ports entry.
39603
9d63d37d
AJ
396042012-07-03 Andreas Jaeger <aj@suse.de>
39605
39606 * po/bg.po: Update from translation team.
39607 * po/cs.po: Likewise.
39608 * po/de.po: Likewise.
39609 * po/hr.po: Likewise.
39610 * po/nl.pl: Likewise.
39611 * po/pl.po: Likewise.
39612 * po/vi.po: Likewise.
39613
370ca3d2
JM
396142012-07-03 Joseph Myers <joseph@codesourcery.com>
39615
95f5a9a8
JM
39616 * Makeconfig [!+link] (+link-before-libc): New variable.
39617 [!+link] (+link-after-libc): Likewise.
39618 [!+link] (+link-tests): Likewise.
39619 [!+link] (+link): Define in terms of $(+link-before-libc) and
39620 $(+link-after-libc).
39621 [!+link-static] (+link-static-before-libc): New variable.
39622 [!+link-static] (+link-static-after-libc): Likewise.
39623 [!+link-static] (+link-static-tests): Likewise.
39624 [!+link-static] (+link-static): Define in terms of
39625 $(+link-static-before-libc) and $(+link-static-after-libc).
39626 [build-shared] (link-libc-before-gnulib): New variable.
39627 [build-shared] (link-libc-tests): Likewise.
39628 [build-shared] (link-libc): Define in terms of
39629 $(link-libc-before-gnulib).
39630 [!build-shared] (link-libc-tests): New variable.
39631 (link-libc-static-tests): New variable.
39632 [!gnulib] (gnulib-arch): New variable.
39633 [!gnulib] (gnulib-tests): Likewise.
39634 [!gnulib] (static-gnulib-arch): Likewise.
39635 [!gnulib] (static-gnulib-tests): Likewise.
39636 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39637 Define with "=" instead of ":=".
39638 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39639 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39640 * Rules (binaries-all-notests): New variable.
39641 (binaries-all-tests): Likewise.
39642 (binaries-static-notests): Likewise.
39643 (binaries-static-tests): Likewise.
39644 (binaries-all): Define using $(binaries-all-notests) and
39645 $(binaries-all-tests).
39646 (binaries-static): Define using $(binaries-static-notests) and
39647 $(binaries-static-tests).
39648 (binaries-shared-tests): New variable.
39649 (binaries-shared-notests): Likewise.
39650 (binaries-shared): Remove variable.
39651 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39652 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39653 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39654 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39655 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39656 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39657 * elf/Makefile (sln-modules): New variable.
39658 (extra-objs): Add $(sln-modules:=.o).
39659 (ldconfig-modules): Add static-stubs.
39660 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39661 * elf/static-stubs.c: New file.
39662
7a845b2c
JM
39663 [BZ #14283]
39664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39665 by 7 not 8 to examine high bit of fractional part. Use volatile
39666 variables when splitting into final array of floats if
39667 __FLT_EVAL_METHOD__ != 0.
39668 * math/libm-test.inc (cos_test): Add another test.
39669 (sin_test): Likewise.
39670 * sysdeps/i386/fpu/libm-test-ulps: Update.
39671
e2283f38
JM
39672 [BZ #14273]
39673 * math/libm-test.inc (cosh_test): Add more tests.
39674
370ca3d2
JM
39675 * version.h (RELEASE): Set to "development".
39676 (VERSION): Set to "2.16.90".
39677
ee9247c3
CD
396782012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39679
39680 * NEWS: Update copyright. Remove last-updated date.
39681 Mention math library bug fixes and timezone data changes.
39682 * README: Mention GNU/Hurd, x32, and HPPA support status.
39683
4648c381
TS
396842012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39685
39686 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39687
aac78a43
AJ
396882012-06-27 Andreas Jaeger <aj@suse.de>
39689
39690 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39691
ed3dbfad
AJ
396922012-06-25 Andreas Jaeger <aj@suse.de>
39693
39694 * sysdeps/s390/fpu/libm-test-ulps: Update.
39695
4d0ee855
AS
396962012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39697 Thomas Schwinge <thomas@codesourcery.com>
39698
39699 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39700 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39701 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39702 fanotify_mark.
39703
af1bce34
TS
397042012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39705
a9fa33ba
TS
39706 * sysdeps/mach/start.c: Remove file.
39707 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39708 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39709 * sysdeps/sh/init-first.c: Likewise.
39710
58f902b8
TS
39711 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39712 registers for frame unwinding purposes, add CFI directives.
39713 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39714 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39715 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39716 Likewise.
39717
1518f58b
TS
39718 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39719 __fortify_fail returning.
39720 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39721
db9b5059
TS
39722 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39723 sysdeps/sh/____longjmp_chk.S.
39724 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39725 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39726 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39727 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39728
967705fe
TS
39729 * sysdeps/sh/abort-instr.h: New file.
39730 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39731 process in case exit returns.
39732
a9def8c4
TS
39733 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39734 initialize the GOT register before use.
39735
2a649725
TS
39736 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39737 calculation of ARGC > 4.
39738
af1bce34
TS
39739 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39740 meaningful names to some local labels.
39741
d230f50a
KK
397422012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39743 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39744
39745 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39746 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39747 (__arch_compare_and_exchange_val_16_acq): Likewise.
39748 (__arch_compare_and_exchange_val_32_acq): Likewise.
39749 (atomic_exchange_and_add): Fix gUSA sequence.
39750 (atomic_add): Likewise.
39751 (atomic_add_negative): Likewise.
39752 (atomic_add_zero): Likewise.
39753 (atomic_bit_test_set): Likewise.
39754
0479b305
AS
397552012-06-22 Andreas Schwab <schwab@redhat.com>
39756
39757 [BZ #13579]
39758 * include/link.h (struct link_map): Add l_free_initfini.
39759 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39760 l_initfini.
39761 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39762 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39763 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39764 set.
39765
0e3933b9
CD
397662012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39767
39768 * configure.in: Use AC_LANG_SOURCE.
39769 * configure: Regenerate.
39770
4248b1b1
RM
397712012-06-22 Roland McGrath <roland@hack.frob.com>
39772
39773 * configure.in (libc_cv_localstatedir): New substituted variable.
39774 * configure: Regenerated.
39775 * config.make.in (localstatedir): New variable, substituted from
39776 libc_cv_localstatedir.
39777 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39778 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39779 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39780 * sysdeps/gnu/configure: Regenerated.
39781
006dd861
JL
397822012-06-21 Jeff Law <law@redhat.com>
39783
39784 [BZ #14277]
39785 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39786 free. Simplify list management for _LIBC case.
39787
79662d42
JM
397882012-06-21 Joseph Myers <joseph@codesourcery.com>
39789
b7abb4bf
JM
39790 [BZ #14273]
39791 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39792 Clear sign bit of 64-bit integer value before comparing against
39793 overflow value.
39794
79662d42
JM
39795 * sysdeps/mach/configure: Regenerated.
39796
1f150908
L
397972012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39798
39799 [BZ #14278]
39800 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39801
28363bbf
JL
398022012-06-21 Jeff Law <law@redhat.com>
39803
39804 [BZ #13882]
39805 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39806 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39807 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39808 * elf/dl-open.c (dl_open_worker): Likewise.
39809
09615db4
CD
398102012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39811
39812 * scripts/list-sources.sh: Scan PORTS for translations.
39813 * po/libc.pot: Regenerated.
39814
2174c6dd
AJ
398152012-06-21 Andreas Jaeger <aj@suse.de>
39816
39817 [BZ #12194]
39818 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39819 warning.
39820 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39821 * bits/byteswap-16.h (__bswap_16): Likewise.
39822 * bits/byteswap.h (__bswap_constant_16): Likewise.
39823
3ee947b1
L
398242012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39825
39826 [BZ #14117]
a2f34833
L
39827 * sysdeps/i386/fpu_control.h: Removed.
39828 * sysdeps/x86_64/fpu_control.h: Moved to ...
39829 * sysdeps/x86/fpu_control.h: Here.
39830
3ee947b1
L
39831 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39832 (_FPU_SETCW): Likewise.
39833
ed1825f8
L
398342012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39835
25f1282a
L
39836 [BZ #14117]
39837 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39838 * sysdeps/x86/fpu/bits/mathinline.h: This.
39839 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39840
ed1825f8
L
39841 [BZ #14050]
39842 [BZ #14117]
39843 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39844 functions if __x86_64__ is defined.
39845
36d54b74
CLT
398462012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39847
39848 * string/endian.h: Add !__ASSEMBLER__ condition for including
39849 conversion interfaces.
39850
10285c21
JM
398512012-06-15 Joseph Myers <joseph@codesourcery.com>
39852
39853 [BZ #14241]
39854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39855 of ABS(x) in calculating zero to negative powers other than odd
39856 integers.
39857 * math/libm-test.inc (pow_test): Add more tests.
39858
06c5abbd
AJ
398592012-06-15 Andreas Jaeger <aj@suse.de>
39860
39861 * manual/contrib.texi (Contributors): Update entry of Liubov
39862 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39863 Machado Filho.
39864
a3aeac40
CH
398652012-06-15 Cyril Hrubis <metan@ucw.cz>
39866
39867 * string/string.h: Add __wur to GNU version of strerror_r.
39868
49bdf4c1
L
398692012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39870
39871 [BZ #14229]
39872 * string/Makefile (tests): Add tst-strtok_r.
39873 * string/tst-strtok_r.c: New file.
39874 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39875 RAX_LP/RDX_LP on SAVE_PTR.
39876
834f9b8d
RM
398772012-06-14 Roland McGrath <roland@hack.frob.com>
39878
39879 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39880
75fa1921
JM
398812012-06-14 Joseph Myers <joseph@codesourcery.com>
39882
39883 * libm_test.inc (csqrt_test): Allow more spurious underflow
39884 exceptions.
39885 (j0_test): Likewise.
39886 (j1_test): Likewise.
39887 (y0_test): Likewise.
39888 (y1_test): Likewise.
39889
771766df
CD
398902012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39891
39892 * po/Makefile (libc.pot): Use UTF-8 charset.
39893
ceb9e56b
PP
398942012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39895
39896 [BZ #14210]
39897 Suppress sign-conversion warning from FD_SET.
39898 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39899 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39900 not unsigned long int.
39901 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39902
ddb28975
L
399032012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39904
39905 [BZ #14050]
39906 [BZ #14117]
39907 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39908 __extern_always_inline instead of __extern_inline.
39909 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39910 (__signbit): Likewise.
39911 (__signbitl): Support C++ namespace.
39912 (lrintf): New inline function.
39913 (lrint): Likewise.
39914 (llrintf): Likewise.
39915 (llrint): Likewise.
39916 (fmaxf): Likewise.
39917 (fmax): Likewise.
39918 (fminf): Likewise.
39919 (fmin): Likewise.
39920 (rint): Likewise.
39921 (rintf): Likewise.
39922 (ceil): Likewise.
39923 (ceilf): Likewise.
39924 (floor): Likewise.
39925 (floorf): Likewise.
39926 (nearbyint): Likewise.
39927 (nearbyintf): Likewise.
39928
d7b4fb26
TS
399292012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39930
39931 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39932 non-default versions.
39933
eb55f5c2
RM
399342012-06-11 Roland McGrath <roland@hack.frob.com>
39935
39936 [BZ #14218]
39937 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39938
366af02c
TS
399392012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39940
99ff6e5c
TS
39941 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39942 (FE_UPWARD, FE_DOWNWARD): Don't define.
39943 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39944 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39945
366af02c
TS
39946 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39947 reading it.
39948 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39949 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39950
793ea851
KK
399512012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39952
39953 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39955 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39956 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39957
a728a38f
L
399582012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39959
39960 [BZ #14117]
c08010c7
L
39961 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39962 * sysdeps/i386/fpu/Implies: New file.
39963 * sysdeps/x86_64/fpu/Implies: Likewise.
39964 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39965 * sysdeps/x86/fpu/bits/fenv.h: This.
39966
a728a38f
L
39967 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39968 __SSE_MATH__.
39969
6e230d11
SP
399702012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39971
39972 [BZ #14134]
39973 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39974 character 0xffff that matches the last element of the
39975 conversion table.
39976
1b671feb
AZ
399772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39978
39979 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39980 fmodl commit.
39981
6043738b
AZ
399822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39983
39984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39985 values higher than 25.6283.
39986
34ae0b32
AZ
399872012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39988
39989 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39990 subnormal exponent extraction and add some __builtin_expect.
39991 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39992 Fix for subnormal mantissa calculation.
39993
1214ec8f
MF
399942012-06-04 Mike Frysinger <vapier@gentoo.org>
39995
39996 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39997 cpu2 is -1 and errno is not ENOSYS.
39998
f3d1f93c
L
399992012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40000
40001 [BZ #14117]
0e4a3cd7
L
40002 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40003 * sysdeps/x86/bits/string.h: This.
40004 * sysdeps/x86_64/bits/string.h: Removed.
40005
6704c645
L
40006 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40007 if not compiling for x86-64, but compiling for >= i486.
40008
48495318
L
40009 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40010 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40011
14adcbfc
L
40012 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40013 New macro from Linux kernel 3.4.0.
40014 (FP_XSTATE_MAGIC2): Likewise.
40015 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40016 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40017 (struct _fpx_sw_bytes): New struct.
40018 (struct _xsave_hdr): Likewise.
40019 (struct _ymmh_state): Likewise.
40020 (struct _xstate): Likewise.
40021
68e408ab
L
40022 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40023 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40024 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40025 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40026 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40027 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40028
f3d1f93c
L
40029 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40030 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40031 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40032 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40033 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40034 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40035
d9dc34cd
TMQMF
400362012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40037
40038 [BZ #13743]
40039 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40040 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40041 (sysdep_headers): Include sys/platform/ppc.h.
40042 * sysdeps/powerpc/test-gettimebase.c: Test for
40043 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40044 * manual/Makefile (appendices): Include platform.texi.
40045 * manual/contrib.texi (Contributors): Update @node pointers.
40046 * manual/maint.texi (Maintenance): Likewise.
40047 (Platform): New node.
40048 * manual/platform.texi: New file. Document the new features.
40049
4af3879c
SP
400502012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40051 Jakub Jelinek <jakub@redhat.com>
40052
40053 [BZ #14188]
40054 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40055 where __builtin_expect is unavailable.
40056
2fd6ff13
DM
400572012-06-03 David S. Miller <davem@davemloft.net>
40058
40059 * stdlib/longlong.h: Updated from GCC.
40060
173f7220
AS
400612012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40062
40063 [BZ #14042]
40064 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40065 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40066 __mcount_internal.
40067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40068 (GLIBC_2.16): Likewise.
40069
f34a1c6f
L
400702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40071
40072 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40073
88a4576f
JM
400742012-06-01 Joseph Myers <joseph@codesourcery.com>
40075
ea32bcdd
JM
40076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40077 (default-abi): New variable.
40078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40079 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40080 variable.
40081 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40082 Likewise.
40083 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40084 Likewise.
40085 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40086 Likewise.
40087
88a4576f
JM
40088 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40089 definition. Document in comment.
40090
402fe938
DM
400912012-06-01 David S. Miller <davem@davemloft.net>
40092
40093 * stdlib/longlong.h: Updated from GCC.
40094
3553723f
L
400952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40096
40097 [BZ #14117]
3bd872c4
L
40098 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40099 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40100 sys/debugreg.h sys/io.h here.
40101 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40102 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40103 sys/io.h.
40104 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40105 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40106 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40107 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40108 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40109 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40110
3553723f
L
40111 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40112 Define only if __x86_64__ is defined.
40113
4842e4fe
JM
401142012-06-01 Joseph Myers <joseph@codesourcery.com>
40115
c5bfe3d5
JM
40116 [BZ #14048]
40117 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40118 Use int64_t for variable i.
40119 * math/libm-test.inc (fmod_test): Add more tests.
40120
4842e4fe
JM
40121 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40122 z computation is not scheduled after fetestexcept.
40123 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40124 Use math_force_eval instead of asm to ensure calculation scheduled
40125 before exception test.
40126 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40127 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40128
efb73488
AJ
401292012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40130
40131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40132 computation is not scheduled after fetestexcept.
40133
29bcce7c
L
401342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40135
40136 [BZ #14117]
40137 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40138 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40139
73a68f94
AZ
401402012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40141
40142 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40143 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40144
67b6df78
L
401452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40146
edf2933a 40147 [BZ #14117]
ebc64a18
L
40148 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40149 <bits/wordsize.h>.
40150 (__WCHAR_MIN): Support __WORDSIZE == 64.
40151 (__WCHAR_MAX): Likewise.
40152
edf2933a
L
40153 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40154 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40155
57c6cf40
L
40156 [BZ #14183]
40157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40158 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40159
67b6df78 40160 [BZ #14117]
8eb6281e
L
40161 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40162 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40163
aac639f4
L
40164 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40165 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40166
67b6df78
L
40167 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40168 Defined to 1 if __x86_64__ isn't defined.
40169 (_STAT_VER_LINUX_OLD): New.
40170 (st_atime): Remove duplicate.
40171 (st_mtime): Likewise.
40172 (st_ctime): Likewise.
40173
1c2cfe81
DM
401742012-05-31 David S. Miller <davem@davemloft.net>
40175
40176 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40177 entries.
40178
5be8418c
AS
401792012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40180
e7725326
AS
40181 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40182 gen-libm-test.pl.
40183
5be8418c
AS
40184 [BZ #14132]
40185 * elf/dl-reloc.c: Include <_itoa.h>.
40186 (_dl_reloc_bad_type): Remove use of INTUSE.
40187 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40188 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40189 * stdio-common/psiginfo.c (psiginfo): Likewise.
40190 * stdio-common/psignal.c (psignal): Likewise.
40191 * string/strsignal.c (strsignal): Likewise.
40192 * include/signal.h (_sys_siglist): Declare hidden proto.
40193 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40194 INTVARDEF with libc_hidden_data_def.
40195 * stdio-common/itoa-udigits.c: Likewise.
40196 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40197 (_itoa_lower_digits_internal): Remove declaration.
40198 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40199 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40200 (_sys_sigabbrev_internal): Remove aliases.
40201 (_sys_siglist): Define hidden alias.
40202
507352f1
MT
402032012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40204
40205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40206 bits/sysctl.h.
40207
42bbb1c3
L
402082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40209
40210 [BZ #14117]
6bd784b6
L
40211 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40212 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40213
8bca20f0
L
40214 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40215 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40216 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40217 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40218 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40219 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40220
f9e890a9
L
40221 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40222 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40223 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40224
471101a1
L
40225 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40226 with __addr.
40227 (insw): Likewise.
40228 (insl): Likewise.
40229 (outsb): Likewise.
40230 (outsw): Likewise.
40231 (outsl): Likewise.
40232
6451c862
L
40233 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40234 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40235 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40236
a254b8c9
L
40237 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40238 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40239 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40240 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40241 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40242 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40243
b8dfdd92
L
40244 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40245 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40246
578cd270
L
40247 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40248 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40249
de662f5f
L
40250 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40252 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40253
25653439
L
40254 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40255 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40256 to ...
40257 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40258
6bad24a0
L
40259 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40260 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40261 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40262
42bbb1c3
L
40263 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40264 for x86-64.
40265 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40266
2d10d547
JM
402672012-05-31 Joseph Myers <joseph@codesourcery.com>
40268
40269 * math/math.h (M_El): Use two more decimal places.
40270 (M_LOG2El): Likewise.
40271 (M_LOG10El): Likewise.
40272 (M_LN2l): Likewise.
40273 (M_LN10l): Likewise.
40274 (M_PIl): Likewise.
40275 (M_PI_2l): Likewise.
40276 (M_PI_4l): Likewise.
40277 (M_1_PIl): Likewise.
40278 (M_2_PIl): Likewise.
40279 (M_2_SQRTPIl): Likewise.
40280 (M_SQRT2l): Likewise.
40281 (M_SQRT1_2l): Likewise.
40282
f230c29b
DM
402832012-05-31 David S. Miller <davem@davemloft.net>
40284
40285 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40286 values between float registers.
40287 * sysdeps/sparc/sparc64/memset.S: Likewise.
40288 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40289
fed806c3
MF
402902012-05-31 Mike Frysinger <vapier@gentoo.org>
40291
40292 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40293 -D_FORTIFY_SOURCE=1.
40294 (CPPFLAGS-tst-longjmp_chk.c): Define.
40295 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40296 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40297 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40298 CFLAGS-tst-wchar-h.c.
40299
30917259
MP
403002012-05-31 Marek Polacek <polacek@redhat.com>
40301
40302 [BZ #14132]
40303 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40304 __endmntent_internal): Remove declaration.
40305 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40306 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40307 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40308
1c58d5dc
DM
403092012-05-30 David S. Miller <davem@davemloft.net>
40310
40311 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40312 (___Q_simulate_exceptions): Use real FP ops rather than writing
40313 into the %fsr.
40314 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40315 Likewise.
40316
7dc00e0d
L
403172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40318
40319 [BZ #14117]
0bd53985
L
40320 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40321 * sysdeps/x86/bits/xtitypes.h: This.
40322
3a257e66
L
40323 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40324 * sysdeps/x86/bits/wordsize.h: This.
40325
62f62904
L
40326 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40327 * sysdeps/x86/bits/huge_vall.h: This.
40328
404fe9d9
L
40329 * sysdeps/i386/bits/select.h: Removed.
40330 * sysdeps/x86_64/bits/select.h: Renamed to ...
40331 * sysdeps/x86/bits/select.h: This.
40332
d48d0446
L
40333 * sysdeps/i386/bits/setjmp.h: Removed.
40334 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40335 * sysdeps/x86/bits/setjmp.h: This.
40336
7dc00e0d
L
40337 * sysdeps/i386/bits/mathdef.h: Removed.
40338 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40339 * sysdeps/x86/bits/mathdef.h: This.
40340
03277f8f
AS
403412012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40342
40343 [BZ #14132]
40344 * include/sys/socket.h (__connect_internal)
40345 (__libc_sa_len_internal): Remove declaration.
40346 (__connect, __libc_sa_len): Declare hidden_proto.
40347 (SA_LEN): Remove use of INTUSE.
40348 * socket/connect.c: Add libc_hidden_def.
40349 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40350 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40351 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40352 alias.
40353 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40355 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40356 of adding _internal alias.
40357
13764867
L
403582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40359
40360 [BZ #14117]
6bd97696
L
40361 * sysdeps/i386/bits/link.h: Removed.
40362 * sysdeps/i386/bits/linkmap.h: Likewise.
40363 * sysdeps/x86_64/bits/link.h: Renamed to ...
40364 * sysdeps/x86/bits/link.h: This.
40365 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40366 * sysdeps/x86/bits/linkmap.h: This.
40367
f726f0bb
L
40368 * sysdeps/i386/bits/endian.h: Removed.
40369 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40370 * sysdeps/x86/bits/endian.h: This.
40371
13764867
L
40372 * sysdeps/i386/bits/byteswap.h: Removed.
40373 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40374 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40375 * sysdeps/x86/bits/byteswap.h: This.
40376 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40377 * sysdeps/x86/bits/byteswap-16.h: This.
40378 * sysdeps/i386/Implies: Add x86.
40379 * sysdeps/x86_64/Implies: Likewise.
40380
ae251b0b
DM
403812012-05-30 David S. Miller <davem@davemloft.net>
40382
40383 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40384 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40385 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40386 (FP_TRAPPING_EXCEPTIONS): Define.
40387 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40388 (FP_TRAPPING_EXCEPTIONS): Define.
40389 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40390 subnormals only when inexact has been signalled or underflow
40391 exceptions are enabled.
40392 (_FP_PACK_CANONICAL): Likewise.
40393
d5c90867
L
403942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40395
40396 [BZ #14183]
40397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40398 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40399
63f1549e
RH
404002012-05-30 Richard Henderson <rth@twiddle.net>
40401
8d8f2279
RH
40402 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40403 with #ifndef NOT_IN_libc.
40404
63f1549e
RH
40405 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40406 marked to avoid plt entry.
40407
0ab0291b
L
404082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40409
40410 [BZ #14112]
40411 * Makeconfig (default-abi): New macro.
40412 (abi-includes): Likewise.
40413 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40414 $(abi-$(default-abi)-lib-soname) for soname if defined.
40415 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40416 abi-variants.
40417 * Makefile (installed-stubs): Likewise.
40418 * include/stubs-biarch.h: Removed.
40419 * scripts/lib-names.awk: Only handle one library at a time.
40420 * scripts/soversions.awk: Remove WORDSIZE support.
40421 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40422 entries.
40423 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40424 Removed.
40425 (syscall-list-default-condition): Likewise.
40426 (syscall-list-default-condition): Likewise.
40427 (syscall-list-includes): Likewise.
40428 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40429 syscall-list-* with abi-*. Handle undefined abi-variants.
40430 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40431 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40432 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40433 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40434 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40435 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40436 Removed.
40437 (syscall-list-32-options): Likewise.
40438 (syscall-list-32-condition): Likewise.
40439 (syscall-list-64-options): Likewise.
40440 (syscall-list-64-condition): Likewise.
40441 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40442 macro.
40443 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40444 Renamed to ...
40445 (abi-*): This.
40446 (abi-64-ld-soname): New macro.
40447 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40448 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40449 Renamed to ...
40450 (abi-*): This.
40451 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40452 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40453
4da0431d
JM
404542012-05-30 Joseph Myers <joseph@codesourcery.com>
40455
3a85279c
JM
40456 * sysdeps/unix/sysv/linux/kernel-features.h
40457 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40458 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40459 include <kernel-features.h>.
40460 [!__NR_ftruncate64]: Remove conditional code.
40461 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40462 [__NR_ftruncate64]: Make code unconditional.
40463 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40464 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40465 include <kernel-features.h>.
40466 [!__NR_ftruncate64]: Remove conditional code.
40467 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40468 [__NR_ftruncate64]: Make code unconditional.
40469 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40471 include <kernel-features.h>.
40472 [!__NR_ftruncate64]: Remove conditional code.
40473 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40474 [__NR_ftruncate64]: Make code unconditional.
40475 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40477 include <kernel-features.h>.
40478 [!__NR_ftruncate64]: Remove conditional code.
40479 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40480 [__NR_ftruncate64]: Make code unconditional.
40481 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40482
4da0431d
JM
40483 * configure.in (libc_cv_fpie): Weaken to a compile test using
40484 LIBC_TRY_CC_OPTION.
40485 * configure: Regenerated.
40486
11ef492c
AK
404872012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40488
40489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40493 Refreshed.
40494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40500 Refreshed.
40501
d66ef399
DM
405022012-05-27 David S. Miller <davem@davemloft.net>
40503
40504 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40505 (___Q_zero): New.
40506 (__Q_simulate_exceptions): Return void. Change to simulate
40507 exceptions by writing into the %fsr.
40508 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40509 (__Qp_handle_exceptions): Likewise.
40510 (numbers): Delete.
40511 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40512 __Qp_handle_exceptions.
40513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40514 __Qp_handle_exceptions.
40515 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40516 as unused and give dummy FP_RND_NEAREST initializer.
40517 (FP_INHIBIT_RESULTS): Define.
40518 (___Q_simulate_exceptions): Update declaration.
40519 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40520 formatting.
40521 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40522 as unused and give dummy FP_RND_NEAREST initializer.
40523 (__Qp_handle_exceptions): Update declaration.
40524 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40525 formatting.
40526
04fb54b5
TS
405272012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40528
40529 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40530 the temporary FPU control word.
40531 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40532 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40533 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40534 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40535 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40536 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40537 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40538 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40539 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40540 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40541 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40542
3f99608f
KK
405432012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40544
40545 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40546 fields.
40547
65a4de4e
CLT
405482012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40549
40550 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40551 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40552 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40553 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40554 Likewise.
40555 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40556 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40557 Likewise.
40558
15749d40
UD
405592012-05-27 Ulrich Drepper <drepper@gmail.com>
40560
40561 * po/h.po: Update from translation team.
40562
25dbcb27
AS
405632012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40564
3d3f8e55
AS
40565 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40566
25dbcb27
AS
40567 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40568 handling of denormals.
40569 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40570 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40571 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40572 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40576 Likewise.
40577
7ad47a80 405782012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40579
40580 [BZ #14152]
40581 * math/libm-test.inc (fma_test): Don't always expect underflow
40582 exception.
40583
9c6ea9fa
SP
405842012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40585
40586 [BZ #12416]
40587 * elf/tst-execstack.c: Include stackinfo.h.
40588 (do_test): Adjust test case to ensure that pthread_getattr_np
40589 behaviour remains the same after marking stack executable.
40590
a8239222
JM
405912012-05-25 Joseph Myers <joseph@codesourcery.com>
40592
40593 * sysdeps/unix/sysv/linux/kernel-features.h
40594 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40595 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40596 kernel-features.h.
40597 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40598 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40599 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40600 kernel-features.h.
40601 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40602 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40603
918b5606
L
406042012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40605
40606 * configure.in: Define the default includes to being none.
40607 * configure: Regenerated.
40608
3a097cc7
RM
406092012-05-25 Roland McGrath <roland@hack.frob.com>
40610
8422c9a5
RM
40611 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40612 * sysdeps/x86_64/setjmp.S: Likewise.
40613 * sysdeps/i386/bsd-setjmp.S: Likewise.
40614 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40615 * sysdeps/i386/setjmp.S: Likewise.
40616 * sysdeps/i386/__longjmp.S: Likewise.
40617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40618 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40619
3a097cc7
RM
40620 * include/stap-probe.h: New file.
40621 * configure.in: Handle --enable-systemtap.
40622 * configure: Regenerated.
40623 * config.h.in (USE_STAP_PROBE): New #undef.
40624 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40625 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40626 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40627
21708942
JM
406282012-05-25 Joseph Myers <joseph@codesourcery.com>
40629
40630 [BZ #13717]
40631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40632 to 2.4.0 where earlier.
40633 * sysdeps/unix/sysv/linux/configure: Regenerated.
40634 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40635 <kernel-features.h>.
40636 [__ASSUME_32BITUIDS]: Make code unconditional.
40637 [!__ASSUME_32BITUIDS]: Remove conditional code.
40638 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40639 <kernel-features.h>.
40640 [__ASSUME_32BITUIDS]: Make code unconditional.
40641 [!__ASSUME_32BITUIDS]: Remove conditional code.
40642 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40643 [__ASSUME_32BITUIDS]: Make code unconditional.
40644 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40645 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40646 <kernel-features.h>.
40647 [__ASSUME_32BITUIDS]: Make code unconditional.
40648 [!__ASSUME_32BITUIDS]: Remove conditional code.
40649 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40650 <kernel-features.h>.
40651 [__ASSUME_32BITUIDS]: Make code unconditional.
40652 [!__ASSUME_32BITUIDS]: Remove conditional code.
40653 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40654 <kernel-features.h>.
40655 [__ASSUME_32BITUIDS]: Make code unconditional.
40656 [!__ASSUME_32BITUIDS]: Remove conditional code.
40657 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40658 <kernel-features.h>.
40659 [__ASSUME_32BITUIDS]: Make code unconditional.
40660 [!__ASSUME_32BITUIDS]: Remove conditional code.
40661 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40662 <kernel-features.h>.
40663 [__ASSUME_32BITUIDS]: Make code unconditional.
40664 [!__ASSUME_32BITUIDS]: Remove conditional code.
40665 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40666 <kernel-features.h>.
40667 [__ASSUME_32BITUIDS]: Make code unconditional.
40668 [!__ASSUME_32BITUIDS]: Remove conditional code.
40669 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40670 <kernel-features.h>.
40671 [__ASSUME_32BITUIDS]: Make code unconditional.
40672 [!__ASSUME_32BITUIDS]: Remove conditional code.
40673 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40674 <kernel-features.h>.
40675 [__ASSUME_32BITUIDS]: Make code unconditional.
40676 [!__ASSUME_32BITUIDS]: Remove conditional code.
40677 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40678 <kernel-features.h>.
40679 [__ASSUME_32BITUIDS]: Make code unconditional.
40680 [!__ASSUME_32BITUIDS]: Remove conditional code.
40681 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40682 <kernel-features.h>.
40683 [__ASSUME_32BITUIDS]: Make code unconditional.
40684 [!__ASSUME_32BITUIDS]: Remove conditional code.
40685 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40686 <kernel-features.h>.
40687 [__NR_setresgid] (__setresgid): Do not declare.
40688 [__ASSUME_32BITUIDS]: Make code unconditional.
40689 [!__ASSUME_32BITUIDS]: Remove conditional code.
40690 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40691 <kernel-features.h>.
40692 [__NR_setresuid] (__setresuid): Do not declare.
40693 [__ASSUME_32BITUIDS]: Make code unconditional.
40694 [!__ASSUME_32BITUIDS]: Remove conditional code.
40695 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40696 <kernel-features.h>.
40697 [__ASSUME_32BITUIDS]: Make code unconditional.
40698 [!__ASSUME_32BITUIDS]: Remove conditional code.
40699 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40700 <kernel-features.h>.
40701 [__ASSUME_32BITUIDS]: Make code unconditional.
40702 [!__ASSUME_32BITUIDS]: Remove conditional code.
40703 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40704 <kernel-features.h>.
40705 [__ASSUME_32BITUIDS]: Make code unconditional.
40706 [!__ASSUME_32BITUIDS]: Remove conditional code.
40707 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40708 <kernel-features.h>.
40709 [__ASSUME_32BITUIDS]: Make code unconditional.
40710 [!__ASSUME_32BITUIDS]: Remove conditional code.
40711 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40712 <kernel-features.h>.
40713 [__ASSUME_32BITUIDS]: Make code unconditional.
40714 [!__ASSUME_32BITUIDS]: Remove conditional code.
40715 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40716 <kernel-features.h>.
40717 [__ASSUME_32BITUIDS]: Make code unconditional.
40718 [!__ASSUME_32BITUIDS]: Remove conditional code.
40719 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40720 <kernel-features.h>.
40721 [__ASSUME_32BITUIDS]: Make code unconditional.
40722 [!__ASSUME_32BITUIDS]: Remove conditional code.
40723 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40724 <kernel-features.h>.
40725 [__ASSUME_32BITUIDS]: Make code unconditional.
40726 [!__ASSUME_32BITUIDS]: Remove conditional code.
40727 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40728 <kernel-features.h>.
40729 [__ASSUME_32BITUIDS]: Make code unconditional.
40730 [!__ASSUME_32BITUIDS]: Remove conditional code.
40731 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40732 <kernel-features.h>.
40733 [__ASSUME_32BITUIDS]: Make code unconditional.
40734 [!__ASSUME_32BITUIDS]: Remove conditional code.
40735 * sysdeps/unix/sysv/linux/kernel-features.h
40736 (__ASSUME_SETRESUID_SYSCALL): Remove.
40737 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40738 (__ASSUME_32BITUIDS): Likewise.
40739 (__ASSUME_LDT_WORKS): Likewise.
40740 (__ASSUME_O_DIRECTORY): Likewise.
40741 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40742 architecture but not kernel version.
40743 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40744 (__ASSUME_MMAP2_SYSCALL): Likewise.
40745 (__ASSUME_STAT64_SYSCALL): Likewise.
40746 (__ASSUME_IPC64): Likewise.
40747 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40748 <kernel-features.h>.
40749 [__ASSUME_32BITUIDS]: Make code unconditional.
40750 [!__ASSUME_32BITUIDS]: Remove conditional code.
40751 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40752 <kernel-features.h>.
40753 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40754 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40755 132096]: Remove conditional code.
40756 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40757 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40758 <kernel-features.h>.
40759 [__ASSUME_32BITUIDS]: Make code unconditional.
40760 [!__ASSUME_32BITUIDS]: Remove conditional code.
40761 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40762 <kernel-features.h>.
40763 [__ASSUME_32BITUIDS]: Make code unconditional.
40764 [!__ASSUME_32BITUIDS]: Remove conditional code.
40765 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40766 <kernel-features.h>.
40767 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40768 unconditional.
40769 (__setresgid): Do not declare.
40770 [__ASSUME_32BITUIDS]: Make code unconditional.
40771 [!__ASSUME_32BITUIDS]: Remove conditional code.
40772 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40773 <kernel-features.h>.
40774 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40775 unconditional.
40776 (__setresuid): Do not declare.
40777 [__ASSUME_32BITUIDS]: Make code unconditional.
40778 [!__ASSUME_32BITUIDS]: Remove conditional code.
40779 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40780 <kernel-features.h>.
40781 [__ASSUME_32BITUIDS]: Make code unconditional.
40782 [!__ASSUME_32BITUIDS]: Remove conditional code.
40783 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40784 <kernel-features.h>.
40785 [__ASSUME_32BITUIDS]: Make code unconditional.
40786 [!__ASSUME_32BITUIDS]: Remove conditional code.
40787
a386f1cc
RH
407882012-05-25 Richard Henderson <rth@twiddle.net>
40789
40790 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40791 dl_hwcap to ifunc resolver.
40792 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40793 elf_ifunc_invoke.
40794 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40795 dl_hwcap to ifunc resolver.
40796 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40797
b6550497
JM
407982012-05-24 Joseph Myers <joseph@codesourcery.com>
40799
40800 [BZ #14153]
40801 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40802 for |x| <= 2**-26, not 2**-57.
40803 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40804 exception.
40805
b0bc23a1
JL
408062012-05-24 Jeff Law <law@redhat.com>
40807
40808 * stdio-common/Makefile (tests): Add bug25.
40809 * stdio-common/bug25.c: New test.
40810
347c92e9
L
408112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40812
40813 [BZ #13576]
40814 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40815 multiple of MALLOC_ALIGNMENT in size.
40816 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40817
6bcc8b3f
JM
408182012-05-24 Joseph Myers <joseph@codesourcery.com>
40819
40820 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40821 Require >= 256.
40822 (FILENAME_MAX): Use macro-int-constant.
40823 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40824 (_IOFBF): Use macro-int-constant.
40825 (_IOLBF): Likewise.
40826 (_IONBF): Likewise.
40827 (SEEK_CUR): Likewise.
40828 (SEEK_END): Likewise.
40829 (SEEK_SET): Likewise.
40830 (TMP_MAX): Likewise.
40831 (EOF): Use macro-int-constant. Require < 0.
40832 (NULL): Use macro-constant. Require == 0.
40833 (stdin): Require type to be FILE *.
40834 (stdout): Likewise.
40835 (stderr): Likewise.
40836 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40837 macro-int-constant.
40838 (EXIT_SUCCESS): Likewise.
40839 (NULL): Use macro-constant. Require == 0.
40840 (RAND_MAX): Use macro-int-constant.
40841 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40842 [C99-based standards] (strtof): Require function.
40843 [C99-based standards] (strtold): Likewise.
40844 [C99-based standards] (strtoll): Likewise.
40845 [C99-based standards] (strtoull): Likewise.
40846 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40847 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40848 [ISO || ISO99 || ISO11] (math.h): Likewise.
40849 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40850 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40852
d18ea0c5
AS
408532012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40854
40855 [BZ #14132]
56d25bb8
AS
40856 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40857 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40858 * intl/dgettext.c (DCGETTEXT): Likewise.
40859 * intl/gettext.c (DCGETTEXT): Likewise.
40860 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40861 * posix/regex_internal.h (gettext): Likewise.
40862 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40863 Remove declaration.
40864 * include/argz.h (__argz_count_internal)
40865 (__argz_stringify_internal): Remove declaration.
40866 (__argz_count, __argz_stringify): Declare hidden proto.
40867 * intl/dcgettext.c: Remove use of INTDEF.
40868 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40869 * string/argz-stringify.c: Likewise.
40870 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40871 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40872 Declare hidden proto.
d18ea0c5
AS
40873 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40874 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40875 Declare hidden proto.
40876 * include/stdio.h (__asprintf_internal): Don't declare.
40877 (__asprintf): Don't define as macro. Declare hidden proto.
40878 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40879 (__fsetlocking): Declare hidden proto.
40880 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40881 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40882 hidden proto.
40883 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40884 (_IO_setlinebuf): Remove use of INTUSE.
40885 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40886 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40887 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40888 Remove declaration.
40889 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40890 (_IO_do_flush): Remove use of INTUSE.
40891 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40892 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40893 (_IO_adjust_column, _IO_least_wmarker)
40894 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40895 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40896 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40897 (_IO_default_doallocate, _IO_wdefault_doallocate)
40898 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40899 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40900 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40901 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40902 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40903 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40904 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40905 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40906 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40907 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40908 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40909 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40910 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40911 proto.
40912 (_IO_flush_all_internal, _IO_adjust_column_internal)
40913 (_IO_default_uflow_internal, _IO_default_finish_internal)
40914 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40915 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40916 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40917 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40918 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40919 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40920 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40921 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40922 (_IO_file_close_internal, _IO_file_close_it_internal)
40923 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40924 (_IO_file_init_internal, _IO_file_attach_internal)
40925 (_IO_file_fopen_internal, _IO_file_read_internal)
40926 (_IO_file_sync_internal, _IO_file_seek_internal)
40927 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40928 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40929 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40930 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40931 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40932 (_IO_list_all_internal, _IO_link_in_internal)
40933 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40934 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40935 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40936 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40937 (_IO_do_write_internal, _IO_padn_internal)
40938 (_IO_getline_info_internal, _IO_getline_internal)
40939 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40940 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40941 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40942 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40943 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40944 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40945 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40946 with libc_hidden_ver, remove use of INTUSE.
40947 * libio/genops.c: Likewise.
40948 * libio/freopen.c: Likewise.
40949 * libio/freopen64.c: Likewise.
40950 * libio/iofclose.c: Likewise.
40951 * libio/iofdopen.c: Likewise.
40952 * libio/iofflush.c: Likewise.
40953 * libio/iofflush_u.c: Likewise.
40954 * libio/iofgets.c: Likewise.
40955 * libio/iofgets_u.c: Likewise.
40956 * libio/iofopen.c: Likewise.
40957 * libio/iofopncook.c: Likewise.
40958 * libio/iofread.c: Likewise.
40959 * libio/iofread_u.c: Likewise.
40960 * libio/ioftell.c: Likewise.
40961 * libio/iofwrite.c: Likewise.
40962 * libio/iogetline.c: Likewise.
40963 * libio/iogets.c: Likewise.
40964 * libio/iogetwline.c: Likewise.
40965 * libio/iopadn.c: Likewise.
40966 * libio/iopopen.c: Likewise.
40967 * libio/ioseekoff.c: Likewise.
40968 * libio/ioseekpos.c: Likewise.
40969 * libio/iosetbuffer.c: Likewise.
40970 * libio/iosetvbuf.c: Likewise.
40971 * libio/ioungetc.c: Likewise.
40972 * libio/ioungetwc.c: Likewise.
40973 * libio/iovdprintf.c: Likewise.
40974 * libio/iovsprintf.c: Likewise.
40975 * libio/iovsscanf.c: Likewise.
40976 * libio/memstream.c: Likewise.
40977 * libio/obprintf.c: Likewise.
40978 * libio/oldfileops.c: Likewise.
40979 * libio/oldiofclose.c: Likewise.
40980 * libio/oldiofdopen.c: Likewise.
40981 * libio/oldiofopen.c: Likewise.
40982 * libio/oldiopopen.c: Likewise.
40983 * libio/oldstdfiles.c: Likewise.
40984 * libio/putc.c: Likewise.
40985 * libio/setbuf.c: Likewise.
40986 * libio/setlinebuf.c: Likewise.
40987 * libio/stdfiles.c: Likewise.
40988 * libio/strops.c: Likewise.
40989 * libio/vasprintf.c: Likewise.
40990 * libio/vscanf.c: Likewise.
40991 * libio/vsnprintf.c: Likewise.
40992 * libio/vswprintf.c: Likewise.
40993 * libio/wfiledoalloc.c: Likewise.
40994 * libio/wfileops.c: Likewise.
40995 * libio/wgenops.c: Likewise.
40996 * libio/wmemstream.c: Likewise.
40997 * libio/wstrops.c: Likewise.
40998 * libio/__fpurge.c: Likewise.
40999 * libio/__fsetlocking.c: Likewise.
41000 * assert/assert.c: Likewise.
41001 * debug/fgets_chk.c: Likewise.
41002 * debug/fgets_u_chk.c: Likewise.
41003 * debug/fread_chk.c: Likewise.
41004 * debug/fread_u_chk.c: Likewise.
41005 * debug/gets_chk.c: Likewise.
41006 * debug/obprintf_chk.c: Likewise.
41007 * debug/vasprintf_chk.c: Likewise.
41008 * debug/vdprintf_chk.c: Likewise.
41009 * debug/vsnprintf_chk.c: Likewise.
41010 * debug/vsprintf_chk.c: Likewise.
41011 * malloc/mtrace.c: Likewise.
41012 * misc/error.c: Likewise.
41013 * misc/syslog.c: Likewise.
41014 * stdio-common/asprintf.c: Likewise.
41015 * stdio-common/fxprintf.c: Likewise.
41016 * stdio-common/getw.c: Likewise.
41017 * stdio-common/isoc99_fscanf.c: Likewise.
41018 * stdio-common/isoc99_scanf.c: Likewise.
41019 * stdio-common/isoc99_vfscanf.c: Likewise.
41020 * stdio-common/isoc99_vscanf.c: Likewise.
41021 * stdio-common/isoc99_vsscanf.c: Likewise.
41022 * stdio-common/printf-prs.c: Likewise.
41023 * stdio-common/printf_fp.c: Likewise.
41024 * stdio-common/printf_fphex.c: Likewise.
41025 * stdio-common/printf_size.c: Likewise.
41026 * stdio-common/putw.c: Likewise.
41027 * stdio-common/scanf.c: Likewise.
41028 * stdio-common/sprintf.c: Likewise.
41029 * stdio-common/tmpfile.c: Likewise.
41030 * stdio-common/vfprintf.c: Likewise.
41031 * stdio-common/vfscanf.c: Likewise.
41032 * stdlib/strfmon_l.c: Likewise.
41033 * sunrpc/openchild.c: Likewise.
41034 * sunrpc/xdr_stdio.c: Likewise.
41035 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41036 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41037
d6c33fda
RM
410382012-05-24 Roland McGrath <roland@hack.frob.com>
41039
c1487492
RM
41040 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41041
41042 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41043 in the third column, to generate for the shared library an IFUNC
41044 that uses _dl_vdso_vsym.
41045 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41046 * Makeconfig (object-suffixes-noshared): New variable.
41047
41048 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41049 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41050 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41051 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41052
d6c33fda
RM
41053 [BZ #14132]
41054 * include/sys/time.h (__gettimeofday): Remove macro.
41055 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41056 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41057 Remove INTDEF.
41058 (__gettimeofday): Add libc_hidden_def.
41059 (gettimeofday): Add libc_hidden_weak.
41060 * sysdeps/mach/gettimeofday.c: Likewise.
41061 * sysdeps/posix/gettimeofday.c: Likewise.
41062 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41063 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41065 (__gettimeofday_internal): Remove strong_alias.
41066 (__gettimeofday): Add libc_hidden_def.
41067 (gettimeofday): Add libc_hidden_weak.
41068 * sysdeps/unix/syscalls.list (gettimeofday):
41069 Remove __gettimeofday_internal alias.
41070
b5a2bbe6
L
410712012-05-24 Daniel Jacobowitz <drow@false.org>
41072 H.J. Lu <hongjiu.lu@intel.com>
41073
41074 [BZ #12495]
41075 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41076 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41077 (largebin_index_32_big): New.
41078 (largebin_index): Use it for 16-byte alignment.
41079 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41080 correction with front_misalign.
41081
cfba4fda
L
410822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41083
7f907421
L
41084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41086 Likewise.
41087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41088 Likewise.
41089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41090 Likewise.
41091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41092 Likewise.
41093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41094 Likewise.
41095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41096 Likewise.
41097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41098 Likewise.
41099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41100 Likewise.
41101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41102 Likewise.
41103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41104 Likewise.
41105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41106 Likewise.
41107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41108 Likewise.
41109
cfba4fda
L
41110 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41111 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41112
80bad0cc
JM
411132012-05-24 Joseph Myers <joseph@codesourcery.com>
41114
7a25eb06
JM
41115 [BZ #10846]
41116 [BZ #14036]
41117 * math/libm-test.inc (exp_test): Add test from bug 14036.
41118 (pow_test): Add test from bug 10846.
41119
795405f9
JM
41120 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41121 and other flags.
41122 (special_function): Do not include flags in test name.
41123 (parse_args): Likewise.
41124 * sysdeps/i386/fpu/libm-test-ulps: Update.
41125 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41126 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41127 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41129
80bad0cc
JM
41130 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41131 exceptions.
41132 * math/libm-test.inc ("Philosophy"): Update comment about
41133 exception testing.
41134 (UNDERFLOW_EXCEPTION): New macro.
41135 (UNDERFLOW_EXCEPTION_OK): Likewise.
41136 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41137 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41138 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41139 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41140 (INVALID_EXCEPTION_OK): Update value.
41141 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41142 (OVERFLOW_EXCEPTION_OK): Likewise.
41143 (IGNORE_ZERO_INF_SIGN): Likewise.
41144 (test_exceptions): Handle underflow exceptions.
41145 (acos_test): Update for underflow exception expectations.
41146 (cexp_test): Likewise.
41147 (clog_test): Likewise.
41148 (clog10_test): Likewise.
41149 (csqrt_test): Likewise.
41150 (ctan_test): Likewise.
41151 (ctanh_test): Likewise.
41152 (exp_test): Likewise.
41153 (exp10_test): Likewise.
41154 (exp2_test): Likewise.
41155 (expm1_test): Likewise.
41156 (fma_test): Likewise.
41157 (j0_test): Likewise.
41158 (jn_test): Likewise.
41159 (nexttoward_test): Likewise.
41160 (pow_test): Likewise.
41161 (scalbn_test): Likewise.
41162 (scalbln_test): Likewise.
41163 (tan_test): Likewise.
41164 (y1_test): Likewise.
41165 * sysdeps/i386/fpu/libm-test-ulps: Update.
41166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41167
9e0e3d0b
DM
411682012-05-23 David S. Miller <davem@davemloft.net>
41169
41170 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41171 (__libc_sigaction): Remove unused local variables.
41172
ccd0a08f
L
411732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41174
41175 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41176
62bdf9a6
PE
411772012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41178
f8591f80
PE
41179 mktime: avoid signed integer overflow
41180 * time/mktime.c (__mktime_internal): Do not mishandle the case
41181 where diff == INT_MIN.
41182
94c7d826
PE
41183 mktime: simplify computation of average
41184 * time/mktime.c (ranged_convert): Use new time_t_avg function
41185 instead of rolling our own (probably-slower) code.
41186
ce73d683
PE
41187 mktime: do not assume signed right shift propagates sign bit
41188 * time/mktime.c (isdst_differ): New static function.
41189 (__mktime_internal): No need to normalize tm_isdst now.
41190 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41191 tm_isdst values.
41192
72a22e59
PE
41193 mktime: merge another wrapv change from gnulib
41194 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41195 from some compilers.
41196
68605433
PE
41197 mktime: remove incorrect attempt at unusual arithmetics
41198 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41199 The code didn't really work on such machines anyway.
41200 (TYPE_MINIMUM): Assume two's complement.
41201 (twos_complement_arithmetic): Verify that long_int and time_t
41202 are two's complement (or unsigned, in the latter case).
41203
03cf7fe3
PE
41204 mktime: check signed shifts on long_int and time_t, too
41205 * time/mktime.c (SHR): Check that shifts work as desired
41206 on the types long_int and time_t too, as SHR is used on
41207 such types.
41208
f04dfbc2
PE
41209 mktime: do not assume 'long' is wide enough
41210 * time/mktime.c (verify): Move decl up.
41211 (long_int): New type.
41212 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41213 to remove assumption in the code that 'long' is wide enough to
41214 store year values. This assumption is not true on x32 and on
41215 some non-glibc platforms.
41216
62bdf9a6
PE
41217 mktime: merge wrapv change from gnulib
41218 * time/mktime.c (WRAPV): New macro.
41219 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41220 (guess_time_tm, __mktime_internal): Do not assume that signed
41221 integer overflow wraps around; modern compilers generate code
41222 where this assumption is no longer valid.
41223
5e292e4f
L
412242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41225
41226 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41227 Replace "jmp L(pseudo_end)" with "ret".
41228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41229 Likewise.
41230
8caf8c87
AJ
412312012-05-23 Andreas Jaeger <aj@suse.de>
41232
41233 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41234 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41235
1a09dc56
AJ
412362012-05-23 Andreas Jaeger <aj@suse.de>
41237 Maximilian Attems <max@stro.at>
41238
41239 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41240 New macros.
41241
1c87aba0
L
412422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41243
41244 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41245 code so that pseudo_end is just ret and the stack pointer is
41246 correct also for static library in error case.
41247
40e45bd5
JM
412482012-05-23 Joseph Myers <joseph@codesourcery.com>
41249
c2670533
JM
41250 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41251 move to syscalls.list.
41252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41256
40e45bd5
JM
41257 * manual/install.texi (Running make install): Do not mention Linux
41258 kernel version for which pt_chown is not needed.
41259 (Linux): Do not mention problems with nscd with 2.0 kernels.
41260 * INSTALL: Regenerated.
41261
be08eda5
AJ
412622012-05-23 Andreas Jaeger <aj@suse.de>
41263
41264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41265 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41266 macro.
41267 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41268 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41269 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41270 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41271 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41272 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41273 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41274 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41275 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41276 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41277 * sysdeps/unix/sysv/linux/bits/in.h
41278 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41279
a6a056bb
RM
412802012-05-22 Roland McGrath <roland@hack.frob.com>
41281
41282 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41283 (PREPARE_VERSION): Just use assert instead, it will be elided
41284 under [NDEBUG] anyway.
41285
c9009328
L
412862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41287
41288 * sysdeps/unix/sysv/linux/Makefile: Include
41289 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41290 (sysdep_routines): Remove sysctl.
c9009328
L
41291 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41292 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41293 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41294 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41295 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41296
73338355
AJ
412972012-05-22 Andreas Jaeger <aj@suse.de>
41298
41299 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41300 that pseudo_end is just ret and the stack pointer is correct also
41301 for static library in error case.
41302
d44638b0
PP
413032012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41304
41305 [BZ #14122]
41306 * nss/nsswitch.c (defconfig_entries): New variable.
41307 (__nss_database_lookup): Don't leak defconfig entries.
41308 (nss_parse_service_list): Don't leak on error paths.
41309 (free_database_entries): New function.
41310 (free_defconfig): New function.
41311 (free_mem): Move common code to free_database_entries.
41312
31a39bd8
L
413132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41314
da0331a8
L
41315 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41316 Add arch_prctl.
41317 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41318
31a39bd8
L
41319 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41320 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41322 New macro.
41323 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41324 (INTERNAL_SYSCALL_TYPES): Likewise.
41325 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41326 (LOAD_REGS_TYPES_[1-6]): Likewise.
41327 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41328 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41329
45470df3
AZ
413302012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41331
41332 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41333 copysignl for GLIBC_2_0.
41334 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41335 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41336 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41337 logbl for GLIBC_2_0.
41338 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41339 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41340
98a61bcb
L
413412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41342
a4f6e481
L
41343 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41344 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41345
f63d5db6
L
41346 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41347 Use "neg %eax".
41348
98a61bcb
L
41349 * time/mktime.c: Update copyright years.
41350
95770f14
PE
413512012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41352
6226efbd
PE
41353 mktime: merge comment-quoting-style change from gnulib
41354 * time/mktime.c: Quote 'like this' in comments.
41355 The GNU coding standards suggest that we no longer quote `like this',
41356 as "`" and "'" are typically rendered asymmetrically nowadays.
41357 The typical gnulib style is to quote 'like this' when quoting
41358 code, and "like this" when quoting English.
41359
b99e4f78
PE
41360 * time/mktime.c (compile-command): Add "-I.".
41361
643e01e6
PE
41362 mktime: merge mktime-internal.h change from gnulib
41363 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41364
2554247d
PE
41365 mktime: merge time_r change from gnulib
41366 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41367
826dd0ab
PE
41368 mktime: merge DEBUG change from gnulib
41369 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41370 case system <time.h> has a #define.
41371
bd83aabe
PE
41372 mktime: merge <sys/types.h> change from gnulib
41373 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41374 since <time.t> is now guaranteed to define time_t.
41375
95770f14
PE
41376 mktime: merge HAVE_CONFIG_H change from gnulib
41377 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41378
5e1a27a9
L
413792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41380
0e44a77e
L
41381 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41382 Use "neg %eax".
41383
5e1a27a9
L
41384 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41385 __rlim_t cast.
41386 (struct rusage): Use anonymous union to pad each field to
41387 __syscall_slong_t.
41388
46259bec
DM
413892012-05-21 David S. Miller <davem@davemloft.net>
41390
41391 * Makefules (o-iterator): Remove .s cases.
41392 (compile-command.s): Delete.
41393 (COMPILE.s): Delete.
41394 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41395
59f0c22e
JM
413962012-05-21 Joseph Myers <joseph@codesourcery.com>
41397
41398 * configure.in (libc_cv_predef_stack_protector): Only consider
41399 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41400 * configure: Regenerated.
41401
20c07380
L
414022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41403
bbb3154b
L
41404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41405 New macro. Use R*LP on int and pointer.
41406 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41407 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41408 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41409 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41410
20c07380
L
41411 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41412 [__WORDSIZE_TIME64_COMPAT32] instead of
41413 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41414 (struct utmp): Likewise.
41415 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41416 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41417 Renamed to ...
41418 (__WORDSIZE_TIME64_COMPAT32): This.
41419 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41420 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41421 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41422 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41423 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41424 (__WORDSIZE_TIME64_COMPAT32): New macro.
41425
d8d1017e
AJ
414262012-05-21 Andreas Jaeger <aj@suse.de>
41427
41428 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41429 only if [SHARED]. Add prototype for __wcschr_ia32.
41430
6c7fb145
RM
414312012-05-21 Roland McGrath <roland@hack.frob.com>
41432
41433 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41434 of %rbp unmolested in the jmp_buf while mangling the low bits.
41435 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41436 unmolested high bits of %rbp while demangling the low bits.
41437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41438
66274218
AJ
414392012-05-21 Andreas Jaeger <aj@suse.de>
41440
07c58f8f
AJ
41441 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41442 * sunrpc/svc_simple.c: Use it for registerrpc.
41443 * sunrpc/xcrypt.c: Use it for passwd2des.
41444
66274218
AJ
41445 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41446
61f65140
L
414472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41448
41449 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41450 Don't define if [__SYSCALL_WORDSIZE != 32].
41451 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41452 New macro.
41453
5fefb436
AJ
414542012-05-21 Bruno Haible <bruno@clisp.org>
41455 Andreas Jaeger <aj@suse.de>
41456
41457 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41458 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41459 inptr and inend for must_buffer_ch.
41460 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41461 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41462 * stdio-common/Makefile (tests): Remove bug15.
41463 (bug15-ENV): Remove macro.
41464 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41465 anymore.
41466
d8e272ab
AJ
414672012-05-19 Andreas Jaeger <aj@suse.de>
41468 Roland McGrath <roland@hack.frob.com>
41469
41470 * manual/contrib.texi: Completely rewritten. It contains now an
41471 alphabetical list of contributors and their contributions.
41472
4a56a162
RH
414732012-05-21 Richard Henderson <rth@twiddle.net>
41474
41475 * misc/getauxval.c (__getauxval): Use unsigned long int.
41476 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41477 (getauxval): Use unsigned long int.
41478
d024d23c
L
414792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41480
41481 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41482
cbc00a03
RM
414832012-05-21 Roland McGrath <roland@hack.frob.com>
41484
41485 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41486 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41487 __alignof__ (long double).
41488
478143fa
AZ
414892012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41490
41491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41492
c7683a6d
RH
414932012-05-20 Richard Henderson <rth@twiddle.net>
41494
41495 * misc/getauxval.c: New file.
41496 * misc/sys/auxv.h: New file.
41497 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41498 (routines): Add getauxval.
41499 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41500 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41501 * elf/dl-sysdep.c (_dl_auxv): Remove.
41502 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41503 * elf/dl-support.c (_dl_auxv): New variable.
41504 (_dl_aux_init): Initialize it.
41505 * manual/startup.texi (Auxiliary Vector): New node.
41506 * sysdeps/generic/bits/hwcap.h: New file.
41507 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41508 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41509 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41510 * sysdeps/sparc/sysdep.h: ... here. Include it.
41511 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41514 Update.
c7683a6d
RH
41515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41523
a6f1845d
AZ
415242012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41525
41526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41527
cbcbe830
DM
415282012-05-19 David S. Miller <davem@davemloft.net>
41529
41530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41531
e0b16cc2
JM
415322012-05-19 Joseph Myers <joseph@codesourcery.com>
41533
41534 [BZ #14123]
41535 * math/s_ccosh.c: Include <float.h>
41536 (__ccosh): Avoid internal overflow calculating sinh and cosh
41537 values before multiplying by sin and cos values.
41538 * math/s_ccoshf.c: Likewise.
41539 * math/s_ccoshl.c: Likewise.
41540 * math/s_csin.c: Likewise.
41541 * math/s_csinf.c: Likewise.
41542 * math/s_csinl.c: Likewise.
41543 * math/s_csinh.c: Likewise.
41544 * math/s_csinhf.c: Likewise.
41545 * math/s_csinhl.c: Likewise.
41546 * math/libm-test.inc (ccos_test): Add more tests.
41547 (ccosh_test): Likewise.
41548 (csin_test): Likewise.
41549 (csinh_test): Likewise.
41550 * sysdeps/i386/fpu/libm-test-ulps: Update.
41551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41552
6ad13e08
L
415532012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41554
f66f0ce8
L
41555 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41556 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41557
6ad13e08
L
41558 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41559
b1d072a7
JM
415602012-05-19 Joseph Myers <joseph@codesourcery.com>
41561
41562 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41563 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41564 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41565 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41566 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41567 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41568 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41569 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41570 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41571 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41572 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41573 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41574 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41575 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41576 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41577 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41578 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41579 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41580 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41581 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41582 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41583 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41584 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41585 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41586 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41587 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41588 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41589 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41590 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41591 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41592 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41593
9eae47cb
AJ
415942012-05-18 Andreas Jaeger <aj@suse.de>
41595
41596 * csu/.gitignore: Delete.
41597
bb07f69f
L
415982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41599
41600 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41601 (timex): Use __syscall_slong_t.
41602
e6bdb741
AJ
416032012-05-18 Andreas Jaeger <aj@suse.de>
41604 Carlos O'Donell <carlos_odonell@mentor.com>
41605
41606 * manual/install.texi (Configuring and compiling): Update
41607 description about files modified in the source directory.
d6c33fda 41608 * INSTALL: Regenerated.
e6bdb741 41609
1b74487e
L
416102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41611
41612 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41613 value. Use "or" to set return value to -1.
41614 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41615 negate return value.
41616
a88b64b9
TMQMF
416172012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41618
57f41c40
AS
41619 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41620 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41621 failure if the compiler has Graphite support disabled.
41622 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41623 Likewise.
57f41c40
AS
41624 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41625 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41626 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41627 Likewise.
41628
3707636e
L
416292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41630
610b8622
L
41631 * sysdeps/x86_64/x32/_itoa.h: New file.
41632
7cd195df
L
41633 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41634 getdents system call only if kernel and user dirents have the
41635 same d_ino and d_off.
41636
94b07d20
L
41637 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41638 LLONG_MAX != LONG_MAX.
41639 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41640 (_fitoa_word): Likewise.
41641
18298070
L
41642 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41643 years.
41644 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41645 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41646 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41647
553c7ea4
L
41648 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41649 include <bits/wordsize.h>. Check __x86_64__ instead of
41650 __WORDSIZE.
41651 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41652 if __x86_64__ is defined. Use anonymous union on fpstate.
41653
3707636e
L
41654 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41655 anonymous union.
41656
b53ef01a
AS
416572012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41658
37fb1dc0
AS
41659 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41660 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41661 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41662 Refer to _rtld_local_ro instead of _rtld_global_ro.
41663 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41664 Likewise.
41665 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41666 Likewise.
41667 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41668 Likewise.
41669 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41670 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41671 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41672
b53ef01a
AS
41673 * sysdeps/powerpc/powerpc32/dl-machine.c
41674 (__elf_machine_runtime_setup) [PROF]: Don't reference
41675 _dl_prof_resolve.
41676
7a185db2
AJ
416772012-05-18 Andreas Jaeger <aj@suse.de>
41678
41679 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41680 function only available for GCCs before 3.4 since GCC 3.4
41681 introduced a builtin.
41682 (lrint): Likewise.
41683 (llrintf): Likewise.
41684 (llrint): Likewise.
41685 (fmaxf): Likewise.
41686 (fmax): Likewise.
41687 (fminf): Likewise.
41688 (fmin): Likewise.
41689 (rint): Likewise.
41690 (rintf): Likewise.
41691 (nearbyint): Likewise.
41692 (nearbyintf): Likewise.
41693 (ceil): Likewise.
41694 (ceilf): Likewise.
41695 (floor): Likewise.
41696 (floorf): Likewise.
41697
3e5aef87
L
416982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41699
428bd707
L
41700 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41701 on both fields and cast pointer to __syscall_ulong_t.
41702
3e5aef87
L
41703 * bits/types.h (__fsword_t): New type.
41704 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41705 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41706 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41707 (__FSWORD_T_TYPE): Likewise.
41708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41709 (__FSWORD_T_TYPE): Likewise.
41710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41711 (__FSWORD_T_TYPE): Likewise.
41712 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41713 (__FSWORD_T_TYPE): Likewise.
41714 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41715 __SWORD_TYPE with __fsword_t.
41716 (statfs64): Likewise.
41717
1ba7c3dc
DM
417182012-05-17 David S. Miller <davem@davemloft.net>
41719
41720 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41721
59910343
AJ
417222012-05-17 Andreas Jaeger <aj@suse.de>
41723
41724 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41725 warning.
41726
2e4c1e9e
L
417272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41728
41729 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41730
de7f5ce7
AJ
417312012-05-17 Andreas Jaeger <aj@suse.de>
41732
41733 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41734 when it is used.
41735
286abc3d
CM
417362012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41737
41738 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41739
477cc68e
L
417402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41741
41742 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41743 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41744
1a0994f5
CD
417452012-05-17 Andreas Jaeger <aj@suse.de>
41746 Carlos O'Donell <carlos_odonell@mentor.com>
41747
41748 [BZ #14059]
41749 * sysdeps/x86_64/multiarch/init-arch.h
41750 (bit_YMM_Usable): Rename to...
41751 (bit_AVX_Usable): ... this.
41752 (bit_FMA4_Usable): New macro.
41753 (bit_XMM_state): New macro.
41754 (bit_YMM_state): New macro.
41755 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41756 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41757 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41758 (CPUID_OSXSAVE): New macro.
41759 (CPUID_AVX): New macro.
41760 (CPUID_FMA4): New macro.
41761 (index_YMM_Usable): Rename to...
41762 (index_AVX_Usable): ... this.
41763 (HAS_AVX): Use HAS_ARCH_FEATURE.
41764 (HAS_FMA4): Likewise.
41765 (HAS_YMM_USABLE): Remove.
41766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41767 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41768 are present.
41769 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41770 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41771 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41772 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41773 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41774
0af797de
CM
417752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41776
41777 * math/libm-test.c: Support platforms without multiple rounding modes.
41778 * math/bug-nextafter.c: Support platforms without FP exceptions.
41779 * math/bug-nexttoward.c: Likewise.
41780 * math/test-fenv.c: Likewise.
41781 * math/test-misc.c: Likewise.
41782 * stdlib/bug-getcontext.c: Likewise.
41783
e39745ff
AJ
417842012-05-17 Andreas Jaeger <aj@suse.de>
41785
41786 * manual/examples/search.c (critter_cmp): Change signature to
41787 avoid warnings.
41788 * manual/string.texi (Collation Functions): Likewise.
41789
48970aba
L
417902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41791
41792 * bits/types.h: Fold copyright years.
41793 * bits/typesizes.h: Likewise.
41794 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41795 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41798 * time/time.h: Likewise.
41799
bedee953
PP
418002012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41801
41802 [BZ #208]
41803 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41804 in instead of returning them. Return void.
41805 (__libc_mallinfo): Accumulate over all arenas.
41806 (__malloc_stats): Adjust for change in int_mallinfo interface.
41807
61653dfb
RM
418082012-05-16 Roland McGrath <roland@hack.frob.com>
41809
30b99d79
RM
41810 [BZ #10375]
41811 * configure.in (NM): Add AC_CHECK_TOOL for it.
41812 (libc_extra_cflags): New substituted variable.
41813 Check for -fstack-protector being used implicitly.
41814 * configure: Regenerated.
41815 * config.make.in (config-extra-cflags): New variable,
41816 gets @libc_extra_cflags@.
41817 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41818
61653dfb
RM
41819 [BZ #10375]
41820 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41821 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41822 * configure: Regenerated.
41823 * config.make.in (CPPUNDEFS): New substituted variable.
41824 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41825 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41826 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41827
661768bb
L
418282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41829
41830 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41831 (mq_attr): Use __syscall_slong_t.
41832
d4261567
L
418332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41834
41835 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41836 Check __x86_64__ instead of __WORDSIZE.
41837 (_STAT_VER_LINUX): Likewise.
41838 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41839 __syscall_ulong_t and __syscall_slong_t.
41840 (stat64): Likewise.
41841
cf3ff365
L
418422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41843
41844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41845
76cf3e4d
L
418462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41847
41848 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41849
a637753a
L
418502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41851
41852 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41853 __syscall_ulong_t.
41854
d5e05119
L
41855 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41856 include <bits/wordsize.h>. Check __x86_64__ instead of
41857 __WORDSIZE.
41858 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41859 defined.
41860 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41861
f62ee380
L
41862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41863 include <bits/wordsize.h>. Check __x86_64__ instead of
41864 __WORDSIZE.
41865 (user_regs_struct): Use "__extension__ unsigned long long"
41866 instead of "unsigned long" if __x86_64__ is defined.
41867 (user): Likewise. Pad after pointer field if __ILP32__ is
41868 defined.
41869
4e124ced
JM
418702012-05-16 Joseph Myers <joseph@codesourcery.com>
41871
6a3951a0
JM
41872 * configure.in (makeinfo): Require version 4.5 or later. Allow
41873 versions 5 to 9.
41874 * configure: Regenerated.
41875 * manual/install.texi (texinfo): Increase version requirement to
41876 4.5 or later.
41877 * INSTALL: Regenerated.
41878
4e124ced
JM
41879 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41880
953ca31a
L
418812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41882
41883 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41884
617aca05
L
41885 * sysdeps/x86_64/x32/ffs.c: New file.
41886
5762f7ae
L
41887 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41888 __syscall_ulong_t.
41889 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41890 defined. Use __syscall_ulong_t.
41891 (shminfo): Use __syscall_ulong_t.
41892 (shm_info): Likewise.
41893
a26b6856
L
41894 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41895 __syscall_ulong_t.
41896
cb2b9ef7
L
41897 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41898 <bits/wordsize.h>.
41899 (msgqnum_t): Use __syscall_ulong_t.
41900 (msglen_t): Likewise.
41901 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41902 __syscall_ulong_t.
41903
34683bb0
L
41904 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41905 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41906
84a68786
L
41907 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41908
48baa5f1
L
41909 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41910 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41911
180be88b
L
41912 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41913 __syscall_slong_t.
41914
5e90c8ad
L
41915 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41916 include <bits/wordsize.h>. Check __x86_64__ instead of
41917 __WORDSIZE.
41918
23dfb58b
L
41919 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41920 "unsigned long long int" if __x86_64__ is defined.
41921 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41922
ce5d54b0
L
41923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41924 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41925 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41926
13dc9eac
L
41927 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41928 <stdint.h>.
41929 (GET_PC): Cast to uintptr_t first.
41930 (GET_FRAME): Likewise.
41931 (GET_STACK): Likewise.
41932
a7895d15
L
41933 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41934 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41935 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41936 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41937 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41938 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41939 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41940 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41941 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41942 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41943 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41944 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41945 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41946 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41947 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41948 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41949 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41950 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41951 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41952 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41953 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41954 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41955 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41956 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41957 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41958 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41959 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41960 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41961 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41962
656416c9
AS
419632012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41964
5bd66283
AS
41965 * Makerules (+depfiles): Also collect depfiles from .oS in
41966 $(extra-objs).
41967 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41968 .oS, $(libnldbl-routines)).
41969
656416c9
AS
41970 * Makerules (native-compile-mkdep-flags): Define.
41971 * sunrpc/Makefile (extra-objs): Add $(addprefix
41972 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41973 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41974 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41975 calling $(make-target-directory).
41976
a46f2169
L
419772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41978
41979 * bits/types.h (__snseconds_t): Removed.
41980 * time/time.h (struct timespec): Replace __snseconds_t with
41981 __syscall_slong_t.
41982 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41983 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41984 Likewise.
41985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41986 (__SNSECONDS_T_TYPE): Likewise.
41987 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41988 (__SNSECONDS_T_TYPE): Likewise.
41989 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41990 (__SNSECONDS_T_TYPE): Likewise.
41991
6af6528b
L
419922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41993
41994 * sysdeps/mach/hurd/bits/typesizes.h
41995 (__SYSCALL_SLONG_TYPE): New macro.
41996 (__SYSCALL_ULONG_TYPE): Likewise.
41997
de986b56
L
419982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41999
42000 * bits/types.h (__syscall_slong_t): New type.
42001 (__syscall_ulong_t): Likewise.
42002
42003 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42004 (__SYSCALL_ULONG_TYPE): Likewise.
42005 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42006 (__SYSCALL_SLONG_TYPE): Likewise.
42007 (__SYSCALL_ULONG_TYPE): Likewise.
42008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42009 (__SYSCALL_SLONG_TYPE): Likewise.
42010 (__SYSCALL_ULONG_TYPE): Likewise.
42011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42012 (__SYSCALL_SLONG_TYPE): Likewise.
42013 (__SYSCALL_ULONG_TYPE): Likewise.
42014
85736dc7
L
420152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42016
42017 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42018 Add sigaltstack-offsets.sym.
42019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42020 <sigaltstack-offsets.h>.
42021 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42022 longjmp_msg pointer.
42023 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42024 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42025 signal stack.
42026 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42027
cc03b296
JM
420282012-05-15 Joseph Myers <joseph@codesourcery.com>
42029
a9538892
JM
42030 * elf/stackguard-macros.h: Remove file.
42031 * sysdeps/generic/stackguard-macros.h: New file.
42032 * sysdeps/i386/stackguard-macros.h: Likewise.
42033 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42034 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42035 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42036 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42037 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42038 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42039 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42040 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42041 <elf/stackguard-macros.h>.
42042
cc03b296
JM
42043 [BZ #14109]
42044 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42045 __aligned__ in attribute.
42046 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42047 (gregset_t): Likewise.
42048
93171016
L
420492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42050
42051 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42052 * sysdeps/x86_64/64/Implies-after: Here. New file.
42053 * sysdeps/x86_64/x32/Implies-after: New file.
42054
d86813a0
L
420552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42056
42057 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42058 and access return value for _dl_profile_fixup. Use R10_LP to
42059 load frame size.
42060
2953ec75
L
420612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42062
42063 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42064
3b550e9e
L
420652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42066
42067 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42068 * sysdeps/x86_64/x32/sysdep.h: New file.
42069
eda41706
L
420702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42071
42072 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42073 * sysdeps/x86_64/setjmp.S: Likewise.
42074
9ea01d93
AZ
420752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42076
42077 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42078 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42079 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42081 remove unused global constant.
42082
02a91938
CM
420832012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42084
42085 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42086 include of <not-cancel.h>.
42087
6540185f
RM
420882012-05-15 Roland McGrath <roland@hack.frob.com>
42089
42090 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42091
509072a0
AJ
420922012-05-15 Jeff Law <law@redhat.com>
42093 Andreas Jaeger <aj@suse.de>
42094
42095 [BZ #13594]
42096 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42097 out from...
42098 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42099 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42100 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42101 code changing __hst_map_handle.map.
42102
ba75122d
RM
421032012-05-15 Roland McGrath <roland@hack.frob.com>
42104
42105 * configure.in (sysnames): Look for Implies-before and Implies-after
42106 files.
42107 * configure: Regenerated.
42108
890d8bd8
L
421092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42110
42111 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42112 8-byte data alignment with LP_SIZE alignment.
42113
f6ee6623
L
421142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42115
42116 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42117 into R10_LP.
42118
ea2626f6
L
421192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42120
42121 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42122
085f715e
L
421232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42124
42125 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42126 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42127 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42128 Likewise.
42129 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42130
be8498fc
L
421312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42132
42133 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42134 (stackinfo_sub_sp): Likewise.
42135
70bc83b9
L
421362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42137
42138 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42139 RAX_LP.
42140
9bc0b730
L
421412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42142
42143 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42144 into R*_LP.
42145
6d2850e7
L
421462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42147
42148 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42149 sizes into R*_LP.
42150
3cb84561
L
421512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42152
42153 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42154
54e2ed81
L
421552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42156
42157 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42158 into R11_LP and load __x86_64_shared_cache_size_half into
42159 R8_LP.
42160
8a17f349
L
421612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42162
42163 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42164 R8_LP.
42165
777b1eea
AZ
421662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42167
42168 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42169 logb for POWER7.
42170 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42171 logbf for POWER7.
42172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42173 logbl for POWER7.
42174 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42175 powerpc32/power7/fpu/s_logb.c via #include.
42176 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42177 powerpc32/power7/fpu/s_logbf.c via #include.
42178 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42179 powerpc32/power7/fpu/s_logbl.c via #include.
42180
d20d4ac2
JM
421812012-05-15 Joseph Myers <joseph@codesourcery.com>
42182
42183 * README.libm: Remove file.
42184
6cdef1ab
L
421852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42186
42187 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42188 count for x32. Use R*_LP and omit operand-size suffix.
42189
0b254d8f
L
421902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42191
42192 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42193 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42194 * sysdeps/x86_64/x32/shlib-versions: New file.
42195
ceb809dc
RM
421962012-05-14 Roland McGrath <roland@hack.frob.com>
42197
42198 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42199 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42200 Use _dl_fatal_printf instead.
42201
37f1abd4
JM
422022012-05-14 Joseph Myers <joseph@codesourcery.com>
42203
42204 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42205 set if not set by the user. Do not allow for being unset.
42206 * sysdeps/unix/sysv/linux/configure: Regenerated.
42207
11de3a33
L
422082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42209
42210 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42211 the `q' suffix from lea and replace .quad with ASM_ADDR.
42212
e02f153a
L
422132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42214
42215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42216 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42217 instead of $17.
42218 (PTR_DEMANGLE): Likewise.
42219
520ae0fd
L
422202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42221
42222 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42223 (LP_OP): Likewise.
42224 (ASM_ADDR): Likewise.
42225 (RAX_LP): Likewise.
42226 (RBP_LP): Likewise.
42227 (RBX_LP): Likewise.
42228 (RCX_LP): Likewise.
42229 (RDI_LP): Likewise.
42230 (RSI_LP): Likewise.
42231 (RSP_LP): Likewise.
42232 (R8_LP): Likewise.
42233 (R9_LP): Likewise.
42234 (R10_LP): Likewise.
42235 (R10_LP): Likewise.
42236 (R11_LP): Likewise.
42237 (R12_LP): Likewise.
42238 (R13_LP): Likewise.
42239 (R14_LP): Likewise.
42240 (R15_LP): Likewise.
42241
b985be81
L
422422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42243
42244 * sysdeps/x86_64/x32/dl-machine.h: New file.
42245
6a4888ff
AJ
422462012-05-14 Andreas Jaeger <aj@suse.de>
42247
42248 * manual/Makefile (subdir): Remove export of subdir.
42249 (all): Remove target.
42250 (.PHONY): Remove all from list.
42251 (mkinstalldirs): Remove.
42252 (.PHONY): Remove installdirs from list.
42253 ($(inst_infodir)/libc.info): Use make-target-directory.
42254 (installdirs): Remove.
42255 (subdir_%): Remove.
42256 (glibc-targets): Remove.
42257 (lib): Remove.
42258 (stubs): Remove.
42259 ($(objpfx)stubs ../po/manual.pot): Remove.
42260 ($(objpfx)stamp%): Remove.
42261 (make-target-directory): Remove.
42262 (subdir_install): Remove.
42263 (routines): Remove.
42264 (aux): Remove.
42265 (sources): Remove.
42266 (objects): Remove.
42267 (headers): Remove.
42268
42269 [BZ #13750]
42270 * manual/.gitignore: Remove, it's not needed anymore.
42271 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42272 all files in it.
42273 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42274 directory.
42275 (texis): Renamed to $(objpfx)texis.
42276 (texis-path): New, contains path to generated files.
42277 (chapters.%): Use texis-path for complete path, add extra argument
42278 libc-texinfo.sh.
42279 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42280 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42281 (summary,texi, stamp-summary): Use complete path of
42282 files. Generate files in build dir.
42283 (dir-add.texi): Build in build dir.
42284 (libm-err.texi,stamp-libm-err): Likewise.
42285 (version.texi, stamp-version): Likewise.
42286 (.%c.texi): Likewise.
42287 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42288 (mostlyclean): Remove target.
42289 (realclean): Remove target.
42290 (generated): Add new variable with contents from mostlyclean and
42291 realclean, remove entries duplicated in common-mostlyclean, add
42292 stamp-libm-err and stamp-version.
42293 (generated-dirs): Add libc directory.
42294 ($(inst_infodir)/libc.info): Install files from build dir.
42295
42296 * manual/install.texi (Configuring and compiling): Adjust since
42297 the info files are not part of the tar ball anymore.
42298
7ac77294
AJ
422992012-05-14 Andreas Jaeger <aj@suse.de>
42300
42301 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42302 variable.
42303
ffb7875d
JM
423042012-05-14 Joseph Myers <joseph@codesourcery.com>
42305
42306 [BZ #13717]
42307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42308 to 2.2.0 where earlier.
42309 * sysdeps/unix/sysv/linux/configure: Regenerated.
42310 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42311 Remove conditional code.
42312 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42313 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42314 Remove conditional code.
42315 [!__NR_lchown]: Likewise.
42316 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42317 [__NR_lchown]: Likewise.
42318 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42319 comment referencing __ASSUME_LCHOWN_SYSCALL.
42320 * sysdeps/unix/sysv/linux/i386/sigaction.c
42321 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42322 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42323 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42324 Remove conditional code.
42325 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42326 (__protocol_available): Remove #if 0 code.
42327 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42328 conditional code.
42329 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42330 * sysdeps/unix/sysv/linux/kernel-features.h
42331 (__ASSUME_GETCWD_SYSCALL): Don't define.
42332 (__ASSUME_REALTIME_SIGNALS): Likewise.
42333 (__ASSUME_PREAD_SYSCALL): Likewise.
42334 (__ASSUME_PWRITE_SYSCALL): Likewise.
42335 (__ASSUME_POLL_SYSCALL): Likewise.
42336 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42337 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42338 non-SPARC.
42339 (__ASSUME_SIOCGIFNAME): Don't define.
42340 (__ASSUME_MSG_NOSIGNAL): Likewise.
42341 (__ASSUME_SENDFILE): Define unconditionally.
42342 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42343 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42344 conditional code.
42345 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42346 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42347 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42348 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42349 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42350 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42351 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42353 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42354 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42356 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42357 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42359 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42362 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42365 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42368 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42369 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42371 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42374 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42376 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42377 Remove conditional code.
42378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42379 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42380 Remove conditional code.
42381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42382 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42383 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42384 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42385 Remove conditional code.
42386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42387 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42388 Remove conditional code.
42389 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42390 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42391 Remove conditional code.
42392 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42393 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42394 Remove conditional code.
42395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42396 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42397 Remove conditional code.
42398 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42399 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42400 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42401 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42402 * sysdeps/unix/sysv/linux/sigaction.c
42403 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42404 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42405 * sysdeps/unix/sysv/linux/sigpending.c
42406 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42407 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42408 * sysdeps/unix/sysv/linux/sigprocmask.c
42409 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42410 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42411 * sysdeps/unix/sysv/linux/sigsuspend.c
42412 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42413 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42414 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42415 (__libc_missing_rt_sigs): Remove.
42416 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42417 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42418 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42419 Remove conditional code.
42420 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42421 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42422 return 1.
42423 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42424 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42425 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42426 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42427
1bfb7291
AJ
424282012-05-14 Andreas Jaeger <aj@suse.de>
42429
caae5a81
AJ
42430 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42431 it's not used in glibc.
42432 (__coshm1): Likewise.
42433 (__acosh1p): Likewise.
42434 (__sgn): Likewise.
42435
1bfb7291
AJ
42436 * manual/string.texi (Copying and Concatenation): Add missing
42437 variable in concat example.
42438 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42439
c044d724
L
424402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42441
144c5467 42442 [BZ #14103]
c044d724
L
42443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42444 __builtin_clzl with __builtin_clzll.
42445
2523c62b
L
424462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42447
42448 [BZ #14104]
42449 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42450 libc_freeres_ptr.
42451
d7bb4c42
LD
424522012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42453
42454 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42455 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42456 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42457 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42458
9dc4e1fb
MF
424592012-05-14 Mike Frysinger <vapier@gentoo.org>
42460
42461 * NEWS: Update ia64 info.
42462
c7df0112
AS
424632012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42464
42465 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42466 used as bcopy.
42467
dc70356c
TS
424682012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42469
42470 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42471 * sysdeps/unix/syscalls.list (dup3): Likewise.
42472 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42473 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42474
9fb1a21f
L
424752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42476
42477 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42478 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42479
4822a2a5
L
424802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42481
42482 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42483 thread pointer.
42484 (TLS_IE): Use mov/add instead of movq/addq to load thread
42485 pointer.
42486 (TLS_GD_PREFIX): New.
42487 (TLS_GD): Use it.
42488
842b81d6
DM
424892012-05-11 David S. Miller <davem@davemloft.net>
42490
42491 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42492 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42493 (_FPU_SETCW): Likewise.
42494
1cf463cd
L
424952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42496
42497 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42498 is 32-byte aligned.
42499
60cc4a18
AS
425002012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42501
42502 [BZ #11837]
42503 * iconvdata/gb18030.c: Update tables.
42504 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42505 characters specially.
42506 (BODY for TO_LOOP): Add encoding of missing ranges.
42507
febb44a4
TS
425082012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42509
42510 [BZ #13673]
42511 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42512 * sysdeps/mach/hurd/dup3.c: Likewise.
42513 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42514 * sysdeps/powerpc/memmove.c:: Likewise.
42515
0a10fb9e
L
425162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42517
42518 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42519 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42520
df8a552f
L
425212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42522
42523 * elf/elf.h (R_X86_64_RELATIVE64): New.
42524 (R_X86_64_NUM): Updated.
42525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42526 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42527 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42528 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42529 tst-quad1pie tst-quad2pie
42530 (modules-names): Add tst-quadmod1 tst-quadmod2.
42531 ($(objpfx)tst-quad1): New dependency.
42532 ($(objpfx)tst-quad2): Likewise.
42533 ($(objpfx)tst-quad1pie): Likewise.
42534 ($(objpfx)tst-quad2pie): Likewise.
42535 * sysdeps/x86_64/tst-quad1.c: New file.
42536 * sysdeps/x86_64/tst-quad1pie.c: New file.
42537 * sysdeps/x86_64/tst-quad2.c: Likewise.
42538 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42539 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42540 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42541 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42542 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42543
f34d6f84
ST
425442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42545
f42d41d1
ST
42546 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42547 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42548 * streams/stropts.h (t_scalar_t): Define type.
42549
3c3571fc
ST
42550 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42551 (_PATH_PRESERVE): Set to "/var/lib".
42552 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42553
61f06bd3
ST
42554 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42555 instead of int.
42556
918d4d71
ST
42557 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42558 if __dir_mkfile succeeded.
42559
f34d6f84
ST
42560 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42561 checking for _hurd_dtablesize. Unlock it right after having
42562 finished _hurd_dtable allocation.
42563
10589b4a
TS
425642012-05-10 Thomas Schwinge <thomas@schwinge.name>
42565
674cdbc7
TS
42566 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42567 * sysdeps/mach/hurd/configure: Regenerated.
42568 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42569 special-casing to...
42570 * sysdeps/gnu/configure.in: ... this new file.
42571 * sysdeps/unix/sysv/linux/configure: Regenerated.
42572 * sysdeps/gnu/configure: New generated file.
42573
8e41b99f
TS
42574 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42575 for Linux: use nsec instead of usec, as well as:
42576 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42577 members of type struct timespec.
42578 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42579 New macros.
42580 (struct stat64): Likewise.
42581 (_STATBUF_ST_NSEC): New macro.
42582 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42583
10589b4a
TS
42584 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42585 __strtoul_internal rather than strtoul.
42586
63643c85
PT
425872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42588
42589 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42590 and reject them.
42591
3faebe6a
ST
425922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42593
42594 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42595 which preserves existing values.
42596 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42597
c6474b07
PT
425982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42599
42600 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42601 TIMEOUT values. Return EINVAL for NFDS values either negative or
42602 greater than FD_SETSIZE.
42603
1043890b
ST
426042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42605
42606 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42607 allocated, call __vm_protect to finish enabling the existing space, and
42608 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42609 allocate the remainder.
42610
37ed8b9b
PT
426112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42612
42613 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42614 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42615
db653660
ST
426162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42617
37ed8b9b
PT
42618 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42619 sysdeps/mach/hurd/readlink.c.
b29d4053 42620
db653660
ST
42621 * posix/tst-sysconf.c (posix_options): Only use
42622 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42623 _POSIX_SYNCHRONIZED_IO when they are defined
42624 * sysdeps/mach/hurd/bits/posix_opt.h:
42625 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42626 (_XOPEN_REALTIME): Undefine macro.
42627 (_XOPEN_REALTIME_THREADS): Undefine macro.
42628 (_XOPEN_SHM): Undefine macro.
42629 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42630 macro to -1.
42631 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42632 macro to -1.
42633 (_POSIX_ASYNC_IO): Undefine macro.
42634 (_POSIX_PRIORITIZED_IO): Undefine macro.
42635 (_POSIX_SPIN_LOCKS): Define macro to -1.
42636
ee16e894
ST
42637 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42638 SA_NODEFER, SA_RESETHAND.
42639 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42640 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42641 F_DUPFD_CLOEXEC.
42642
6103ae3b
TS
426432012-05-10 Thomas Schwinge <thomas@schwinge.name>
42644
42645 * elf/Makefile (pldd-modules): Define unconditionally.
42646
80b4e5f3
TS
426472012-05-10 Thomas Schwinge <thomas@schwinge.name>
42648
42649 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42650
edadcbd6
ST
426512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42652
42653 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42654 Return ENOENT when name is empty.
42655 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42656
80694780
TS
426572012-05-10 Thomas Schwinge <thomas@schwinge.name>
42658
1792c087
TS
42659 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42660
80694780
TS
42661 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42662
6b645f0d
ST
426632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42664
80694780
TS
42665 Fix mlock in all cases except non-readable pages.
42666 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42667 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42668
6b645f0d
ST
42669 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42670 (__mkdir): When path is `/', just fail with EEXIST.
42671 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42672
e468f8a3
TS
426732012-05-10 Thomas Schwinge <thomas@schwinge.name>
42674
42675 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42676 <sys/uio.h> (for writev).
42677 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42678 and <sys/param.h> (for MIN).
42679
a4186cff
PT
426802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42681
42682 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42683 REQUESTED_TIME. Properly set the remaining time and return EINTR
42684 if interrupted.
42685
510bbf14
TS
426862012-05-10 Thomas Schwinge <thomas@schwinge.name>
42687
42688 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42689 Depend on against $(link-rpcuserlibs).
42690
5d5722e8
ST
426912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42692
a4186cff
PT
42693 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42694 (__libc_stack_end): Do not use attribute_relro.
42695 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42696 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42697 to libthread-provided value.
a4186cff
PT
42698 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42699 attribute_relro.
5d5722e8 42700
37233df9
TS
427012012-05-10 Thomas Schwinge <thomas@schwinge.name>
42702
be971a2b
TS
42703 [BZ #3748]
42704 * bits/libc-lock.h (__libc_once_get): New macro.
42705 * sysdeps/mach/bits/libc-lock.h: Likewise.
42706 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42708 instead of using implementation details.
42709
37233df9
TS
42710 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42711 * libio/freopen.c: Likewise.
42712 * libio/freopen64.c: Likewise.
42713 * misc/syslog.c: Likewise.
42714 * nscd/connections.c: Likewise.
42715 * nscd/netgroupcache.c: Likewise.
42716 * sysdeps/posix/getcwd.c: Likewise.
42717
38de94a5
RM
427182012-05-10 Roland McGrath <roland@hack.frob.com>
42719
42720 * math/w_ilogbf.c: Add #include <limits.h>.
42721
67530489
ST
427222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42723
a4186cff 42724 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42725 path instead of returning without unlocking.
42726
67530489
ST
42727 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42728 immediate-write ioctls.
42729 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42730
5aa3a74a
TS
427312012-05-10 Thomas Schwinge <thomas@schwinge.name>
42732
18bad2ae
TS
42733 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42734 __builtin_frame_address instead of making assumptions about the
42735 location of the return address relative to DATA. Force early load of
42736 the return address.
42737 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42738 __builtin_frame_address.
42739
5aa3a74a
TS
42740 dup3 for GNU Hurd.
42741 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42742 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42743 implement dup3 and do some further code clean-ups.
42744 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42745 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42746
ecd0de9a
ST
427472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42748
cd9fa985
ST
42749 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42750
a4186cff
PT
42751 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42752 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42753 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42754 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42755 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42756 d->port.lock.
802ca5a5 42757
a4186cff
PT
42758 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42759 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42760 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42761
bcf55240
TS
427622012-05-10 Thomas Schwinge <thomas@schwinge.name>
42763
6960eb42
TS
42764 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42765 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42766 definitions.
42767
eb43375f
TS
42768 accept4 for GNU Hurd.
42769 * include/sys/socket.h (__libc_accept4): New prototype.
42770 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42771 to implement __libc_accept4.
42772 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42773 __libc_accept4.
42774 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42775
bcf55240
TS
42776 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42777 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42778 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42779 signal-defines.sym.
42780
6178c55b
ST
427812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42782
a4186cff 42783 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 42784
6f080c2f
TS
427852012-05-10 Thomas Schwinge <thomas@schwinge.name>
42786
42787 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42788 assertion on O_CLOEXEC flag.
42789 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42790 * hurd/intern-fd.c: Likewise.
42791 * hurd/port2fd.c: Likewise.
42792
bcfe3a54
ST
427932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42794
42795 [BZ #3906]
42796 * bits/in.h (IPV6_PKTINFO): Define new macro.
42797 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42798
89c9aa49
AZ
427992012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42800
42801 [BZ #13954]
42802 [BZ #13955]
42803 [BZ #13956]
42804 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42805 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42806 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42807 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42808 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42809 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42810 * math/libm-test.inc (logb_test) : Additional logb tests.
42811
021db4be
AJ
428122012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42813 Andreas Jaeger <aj@suse.de>
42814
42815 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42816 * configure: Regenerated.
42817 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42818 * config.make.in (link-obsolete-rpc): New substituted variable.
42819 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42820 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42821 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42822 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42823 so that libc.a contains the symbols.
42824 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42825 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42826 * sunrpc/auth_none.c: Likewise.
42827 * sunrpc/auth_unix.c: Likewise.
42828 * sunrpc/authdes_prot.c: Likewise.
42829 * sunrpc/authuxprot.c: Likewise.
42830 * sunrpc/clnt_gen.c: Likewise.
42831 * sunrpc/clnt_perr.c: Likewise.
42832 * sunrpc/clnt_raw.c: Likewise.
42833 * sunrpc/clnt_simp.c: Likewise.
42834 * sunrpc/clnt_tcp.c: Likewise.
42835 * sunrpc/clnt_udp.c: Likewise.
42836 * sunrpc/clnt_unix.c: Likewise.
42837 * sunrpc/des_crypt.c: Likewise.
42838 * sunrpc/des_soft.c: Likewise.
42839 * sunrpc/get_myaddr.c: Likewise.
42840 * sunrpc/key_call.c: Likewise.
42841 * sunrpc/key_prot.c: Likewise.
42842 * sunrpc/netname.c: Likewise.
42843 * sunrpc/pm_getmaps.c: Likewise.
42844 * sunrpc/pm_getport.c: Likewise.
42845 * sunrpc/pmap_clnt.c: Likewise.
42846 * sunrpc/pmap_prot.c: Likewise.
42847 * sunrpc/pmap_prot2.c: Likewise.
42848 * sunrpc/pmap_rmt.c: Likewise.
42849 * sunrpc/publickey.c: Likewise.
42850 * sunrpc/rpc_cmsg.c: Likewise.
42851 * sunrpc/rpc_common.c: Likewise.
42852 * sunrpc/rpc_dtable.c: Likewise.
42853 * sunrpc/rpc_prot.c: Likewise.
42854 * sunrpc/rpc_thread.c: Likewise.
42855 * sunrpc/rtime.c: Likewise.
42856 * sunrpc/svc.c: Likewise.
42857 * sunrpc/svc_auth.c: Likewise.
42858 * sunrpc/svc_raw.c: Likewise.
42859 * sunrpc/svc_run.c: Likewise.
42860 * sunrpc/svc_tcp.c: Likewise.
42861 * sunrpc/svc_udp.c: Likewise.
42862 * sunrpc/svc_unix.c: Likewise.
42863 * sunrpc/svcauth_des.c: Likewise.
42864 * sunrpc/xcrypt.c: Likewise.
42865 * sunrpc/xdr.c: Likewise.
42866 * sunrpc/xdr_array.c: Likewise.
42867 * sunrpc/xdr_float.c: Likewise.
42868 * sunrpc/xdr_intXX_t.c: Likewise.
42869 * sunrpc/xdr_mem.c: Likewise.
42870 * sunrpc/xdr_rec.c: Likewise.
42871 * sunrpc/xdr_ref.c: Likewise.
42872 * sunrpc/xdr_sizeof.c: Likewise.
42873 * sunrpc/xdr_stdio.c: Likewise.
42874
b5c086a2
RM
428752012-05-10 Roland McGrath <roland@hack.frob.com>
42876
42877 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42878 change. Update copyright years.
42879
6d74dd09
JM
428802012-05-10 Joseph Myers <joseph@codesourcery.com>
42881
42882 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42883
28e72501
MK
428842012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42885 Joseph Myers <joseph@codesourcery.com>
42886 Paul Pluzhnikov <ppluzhnikov@google.com>
42887
42888 [BZ #14012]
42889 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42890 requiring rpcgen.
42891 [cross-compiling] (extra-libs): Likewise.
42892 [cross-compiling] (extra-libs-others): Likewise.
42893 [cross-compiling] (librpcsvc-routines): Likewise.
42894 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42895 [cross-compiling] (omit-deps): Likewise.
42896 (sunrpc-CPPFLAGS): New variable.
42897 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42898 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42899 (cross-rpcgen-objs): New variable.
42900 (extra-objs): Append $(cross-rpcgen-objs).
42901 ($(cross-rpcgen-objs)): New rule.
42902 ($(objpfx)cross-rpcgen): Likewise.
42903 (rpcgen-cmd): Define to use $(built-program-file). Expand
42904 comment.
42905 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42906 ($(objpfx)x%.stmp): Likewise.
42907 * sunrpc/proto.h [IS_IN_build] (_): Define.
42908 [IS_IN_build] (_libc_intl_domainname): Likewise.
42909
c8c59454
L
429102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42911
42912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42913 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42914 and R_X86_64_TPOFF64.
42915
6f27cd16
JM
429162012-05-10 Joseph Myers <joseph@codesourcery.com>
42917
42918 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42919 sysdeps/unix/sysv/syscalls.list.
42920 (stime): Likewise.
42921 (utime): Likewise.
42922 * sysdeps/unix/sysv/syscalls.list: Remove file.
42923
02467e1c
PE
429242012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42925
42926 [BZ #3440]
42927 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42928 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42929 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42930 (__LC_IDENTIFICATION): Make these macros useful in #if
42931 expressions, as required by C99.
42932
da392631
AS
429332012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42934
42935 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42936 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42937 after this.
42938
8115f29b
L
429392012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42940
42941 * stdlib/longlong.h: Updated from GCC.
42942
bdd74070
AJ
429432012-05-09 Andreas Jaeger <aj@suse.de>
42944
edfe0dbe
AJ
42945 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42946 default is first entry.
42947 (run_mode): Set type.
42948 (main): Remove informal message about syslog.
42949 (options): Fix typo.
42950
bcfe3a54
ST
42951 [BZ #14053]
42952 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42953 to asm.
bcfe3a54
ST
42954 (lrint): Likewise.
42955 (llrintf): Likewise.
42956 (llrint): Likewise.
42957 (rint): Likewise.
42958 (rintf): Likewise.
42959 (nearbyint): Likewise.
42960 (nearbyintf): Likewise.
bdd74070 42961
91d8d69e
AJ
429622012-05-09 Andreas Jaeger <aj@suse.de>
42963 Pedro Alves <palves@redhat.com>
42964
42965 * nscd/nscd.c (run_mode): Use enum.
42966 (main): Cleanup coding style issue.
42967
bb90b80b
AJ
429682012-05-09 Alexandre Oliva <aoliva@redhat.com>
42969 Andreas Jaeger <aj@suse.de>
42970
bcfe3a54
ST
42971 * nscd/nscd.c (go_background): Replaced with...
42972 (run_mode): ... this.
bb90b80b 42973 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42974 (options): Add -F --foreground.
42975 (main): Implement it.
42976 (parse_opt): Parse it.
bb90b80b 42977
1a4b75a1
AJ
429782012-05-09 Andreas Jaeger <aj@suse.de>
42979
42980 [BZ #14083]
42981 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42982 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42983 -Wconversion warning.
42984 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42985 Likewise.
42986
b1cc2472
JM
429872012-05-09 Joseph Myers <joseph@codesourcery.com>
42988
42989 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42990 == 0.
42991 (LC_ALL): Use macro-int-constant.
42992 (LC_COLLATE): Likewise.
42993 (LC_CTYPE): Likewise.
42994 (LC_MESSAGES): Likewise.
42995 (LC_MONETARY): Likewise.
42996 (LC_NUMERIC): Likewise.
42997 (LC_TIME): Likewise.
42998 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42999 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43001 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43002 Specify type.
43003 [C99-based standards] (float_t): Expect type.
43004 [C99-based standards] (double_t): Expect type.
43005 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43006 type.
43007 [C99-based standards] (HUGE_VALL): Likewise.
43008 [C99-based standards] (INFINITY): Likewise.
43009 [C99-based standards] (NAN): Likewise.
43010 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43011 [C99-based standards] (FP_NAN): Likewise.
43012 [C99-based standards] (FP_NORMAL): Likewise.
43013 [C99-based standards] (FP_SUBNORMAL): Likewise.
43014 [C99-based standards] (FP_ZERO): Likewise.
43015 [C99-based standards] (FP_FAST_FMA): Use
43016 optional-macro-int-constant. Specify type. Require == 1.
43017 [C99-based standards] (FP_FAST_FMAF): Likewise.
43018 [C99-based standards] (FP_FAST_FMAL): Likewise.
43019 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43020 [C99-based standards] (FP_ILOGBNAN): Likewise.
43021 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43022 Specify type.
43023 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43024 [C99-based standards] (math_errhandling): Specify type.
43025 [ISO99 || ISO11] (signgam): Do not allow.
43026 [non-C99-based standards] (copysignf): Do not allow.
43027 [non-C99-based standards] (exp2f): Likewise.
43028 [non-C99-based standards] (log2f): Likewise.
43029 [non-C99-based standards] (modff): Allow.
43030 [non-C99-based standards] (erff): Do not allow.
43031 [non-C99-based standards] (erfcf): Likewise.
43032 [non-C99-based standards] (gammaf): Likewise.
43033 [non-C99-based standards] (hypotf): Likewise.
43034 [non-C99-based standards] (j0f): Likewise.
43035 [non-C99-based standards] (j1f): Likewise.
43036 [non-C99-based standards] (jnf): Likewise.
43037 [non-C99-based standards] (lgammaf): Likewise.
43038 [non-C99-based standards] (tgammaf): Likewise.
43039 [non-C99-based standards] (y0f): Likewise.
43040 [non-C99-based standards] (y1f): Likewise.
43041 [non-C99-based standards] (ynf): Likewise.
43042 [non-C99-based standards] (isnanf): Likewise.
43043 [non-C99-based standards] (acoshf): Likewise.
43044 [non-C99-based standards] (asinhf): Likewise.
43045 [non-C99-based standards] (atanhf): Likewise.
43046 [non-C99-based standards] (cbrtf): Likewise.
43047 [non-C99-based standards] (expm1f): Likewise.
43048 [non-C99-based standards] (ilogbf): Likewise.
43049 [non-C99-based standards] (log1pf): Likewise.
43050 [non-C99-based standards] (logbf): Likewise.
43051 [non-C99-based standards] (nextafterf): Likewise.
43052 [non-C99-based standards] (remainderf): Likewise.
43053 [non-C99-based standards] (rintf): Likewise.
43054 [non-C99-based standards] (scalbf): Likewise.
43055 [non-C99-based standards] (copysignl): Likewise.
43056 [non-C99-based standards] (exp2l): Likewise.
43057 [non-C99-based standards] (log2l): Likewise.
43058 [non-C99-based standards] (modfl): Allow.
43059 [non-C99-based standards] (erfl): Do not allow.
43060 [non-C99-based standards] (erfcl): Likewise.
43061 [non-C99-based standards] (gammal): Likewise.
43062 [non-C99-based standards] (hypotl): Likewise.
43063 [non-C99-based standards] (j0l): Likewise.
43064 [non-C99-based standards] (j1l): Likewise.
43065 [non-C99-based standards] (jnl): Likewise.
43066 [non-C99-based standards] (lgammal): Likewise.
43067 [non-C99-based standards] (tgammal): Likewise.
43068 [non-C99-based standards] (y0l): Likewise.
43069 [non-C99-based standards] (y1l): Likewise.
43070 [non-C99-based standards] (ynl): Likewise.
43071 [non-C99-based standards] (isnanl): Likewise.
43072 [non-C99-based standards] (acoshl): Likewise.
43073 [non-C99-based standards] (asinhl): Likewise.
43074 [non-C99-based standards] (atanhl): Likewise.
43075 [non-C99-based standards] (cbrtl): Likewise.
43076 [non-C99-based standards] (expm1l): Likewise.
43077 [non-C99-based standards] (ilogbl): Likewise.
43078 [non-C99-based standards] (log1pl): Likewise.
43079 [non-C99-based standards] (logbl): Likewise.
43080 [non-C99-based standards] (nextafterl): Likewise.
43081 [non-C99-based standards] (remainderl): Likewise.
43082 [non-C99-based standards] (rintl): Likewise.
43083 [non-C99-based standards] (scalbl): Likewise.
43084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43085 [non-C99-based standards] (FP_*): Do not allow.
43086 [C99-based standards] (FP_*): Change to
43087 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43088 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43089 allow.
43090 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43091 (SIG_ERR): Likewise.
43092 [X/Open-based standards] (SIG_HOLD): Likewise.
43093 (SIG_IGN): Likewise.
43094 (SIGABRT): Use macro-int-constant. Specify type. Require
43095 positive value.
43096 (SIGFPE): Likewise.
43097 (SIGILL): Likewise.
43098 (SIGINT): Likewise.
43099 (SIGSEGV): Likewise.
43100 (SIGTER): Likewise.
43101 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43102 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43103 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43104 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43105 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43106 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43107 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43108 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43109 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43110 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43111 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43112 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43113 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43114 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43115 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43116 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43117 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43118 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43119 [X/Open-based standards] (SIGTRAP): Likewise.
43120 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43121 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43122 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43123 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43124 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43125 allow.
43126
b9f1922d
IW
431272012-05-08 Ian Wienand <ianw@vmware.com>
43128
43129 [BZ #14080]
43130 * time/tzset.c (__tzset_parse_tz): Update default rules for
43131 daylight time changes in the Energy Policy Act of 2005.
43132
1db86e88
AJ
431332012-05-09 Andreas Jaeger <aj@suse.de>
43134
43135 [BZ #13983]
43136 * elf/ldconfig.c (parse_conf): Change string to make clear that
43137 ldconfig only issued a warning if ld.so.conf does not exist.
43138
dee4a4e3
DM
431392012-05-08 David S. Miller <davem@davemloft.net>
43140
ee0db190
DM
43141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43142 movxtod instead of popping the value on the stack.
43143
dee4a4e3
DM
43144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43145
6a43ec98
CD
431462012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43147
43148 * config.h.in: Add HAVE_ARM_PCS_VFP.
43149
05c2c961
RMG
431502012-05-08 Roland Mc Grath <roland@hack.frob.com>
43151
bcfe3a54
ST
43152 [BZ #13979]
43153 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43154 checking but the checks are disabled for any reason.
05c2c961 43155
4b30f61a
L
431562012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43157
43158 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43159 and ELF64_R_TYPE with ELFW(R_TYPE).
43160
eee2bc67
JM
431612012-05-08 Joseph Myers <joseph@codesourcery.com>
43162
7ea5391a
JM
43163 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43164 (ulimit): Likewise.
43165
eee2bc67
JM
43166 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43167 (settimeofday): Likewise.
43168
abb66a67
MF
431692012-05-08 Mike Frysinger <vapier@gentoo.org>
43170
43171 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43172 a struct th_u2 inside the union, and move tu_block/tu_code into
43173 a new th_u3 union of tu_block/tu_code inside of that. Move
43174 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43175 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43176 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43177 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43178 (th_stuff): Change to th_u1.tu_stuff.
43179 (th_data): Define.
43180 (th_msg): Change to th_u1.th_u2.tu_data.
43181
7f18b530
DM
431822012-05-07 David S. Miller <davem@davemloft.net>
43183
05760585
DM
43184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43185
7f18b530
DM
43186 [BZ #14074]
43187 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43188 (SETUP_PIC_REG): Use it.
43189 (SETUP_PIC_REG_LEAF): Use it.
43190
495fd99f
JM
431912012-05-07 Joseph Myers <joseph@codesourcery.com>
43192
43193 [BZ #13885]
43194 [BZ #13923]
43195 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43196 USE_AS_EXPM1L.
43197 (EXPL_FINITE): Likewise.
43198 (FLDLOG): Likewise.
43199 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43200 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43201 e_expl.S.
43202 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43203 USE_AS_EXPM1L.
43204 (EXPL_FINITE): Likewise.
43205 (FLDLOG): Likewise.
43206 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43207 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43208 e_expl.S.
43209 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43210 test of -max_value argument for long double.
43211 * sysdeps/i386/fpu/libm-test-ulps: Update.
43212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43213
6693d694
DM
432142012-05-06 David S. Miller <davem@davemloft.net>
43215
43216 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43217 quad soft-float symbols whose references which are compiler
43218 generated.
43219 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43220
6c23e11c
JM
432212012-05-06 Joseph Myers <joseph@codesourcery.com>
43222
d8b82cad
JM
43223 [BZ #13884]
43224 [BZ #13914]
43225 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43226 USE_AS_EXP10L.
43227 (EXPL_FINITE): Likewise.
43228 (FLDLOG): Likewise.
43229 (c0): Likewise.
43230 (c1): Likewise.
43231 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43232 Adjust comments for base varying.
43233 (__expl_finite): Change alias to EXPL_FINITE.
43234 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43235 e_expl.S.
43236 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43237 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43239 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43240 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43241 USE_AS_EXP10L.
43242 (EXPL_FINITE): Likewise.
43243 (FLDLOG): Likewise.
43244 (c0): Likewise.
43245 (c1): Likewise.
43246 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43247 Adjust comments for base varying.
43248 (__expl_finite): Change alias to EXPL_FINITE.
43249 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43250 tests for bugs.
43251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43252
6c23e11c
JM
43253 [BZ #14064]
43254 * math/libm-test.inc (check_float_internal): Correct ulp
43255 calculation for subnormal expected results.
43256
29ba805c
AJ
432572012-05-06 Andreas Jaeger <aj@suse.de>
43258
43259 * Makeconfig (+math-flags): New, set to -frounding-math.
43260 (+cflags): Add +math-flags so that all of glibc gets compiled with
43261 it.
43262
43263 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43264
7b17aeda
JM
432652012-05-05 Joseph Myers <joseph@codesourcery.com>
43266
5779f134
JM
43267 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43268 Disable one test.
43269
41498f4d
JM
43270 [BZ #13787]
43271 [BZ #13922]
43272 [BZ #14036]
43273 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43274 (__ieee754_expl): Allow for and saturate large arguments.
43275 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43276 (u_threshold): Likewise.
43277 (__exp): Call __ieee754_exp before checking for overflow and
43278 underflow.
43279 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43280 (u_threshold): Likewise.
43281 (__expf): Call __ieee754_expf before checking for overflow and
43282 underflow.
43283 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43284 (u_threshold): Likewise.
43285 (__expl): Call __ieee754_expl before checking for overflow and
43286 underflow.
43287 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43288 (__ieee754_expl): Allow for and saturate large arguments.
43289 * math/libm-test.inc (exp_test): Add another test. Do not allow
43290 missing overflow exception on overflow.
43291 (expm1_test): Do not allow missing overflow exception on overflow.
43292
6698b8bf
JM
43293 * sysdeps/i386/fpu/e_expl.c: Move to ...
43294 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43295 rather than using inline asm.
43296 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43297 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43298 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43299
7b17aeda
JM
43300 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43301 (nice): Likewise.
43302 (poll): Likewise.
43303 (signal): Likewise.
43304 (time): Likewise.
43305 (times): Likewise.
43306
f7c85819
JM
433072012-05-04 Joseph Myers <joseph@codesourcery.com>
43308
43309 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43310 sysdeps/unix/common/syscalls.list.
43311 (fchmod): Likewise.
43312 (fchown): Likewise.
43313 (ftruncate): Likewise.
43314 (getrusage): Likewise.
43315 (gettimeofday): Likewise.
43316 (setpgid): Likewise.
43317 (setregid): Likewise.
43318 (setreuid): Likewise.
43319 (sigaction): Likewise.
43320 (truncate): Likewise.
43321 (vhangup): Likewise.
43322 * sysdeps/unix/common/syscalls.list: Remove file.
43323 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43324 * sysdeps/unix/sysv/linux/Implies: Likewise.
43325
336270d0
L
433262012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43327
43328 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43330 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43331 Moved to ...
43332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43333 Here.
43334 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43335 to ...
43336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43337 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43338 to ...
43339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43340 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43341 to ...
43342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43343 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43344 to ...
43345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43346 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43347 to ...
43348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43349 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43350 to ...
43351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43352 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43353 to ...
43354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43355 Here.
43356 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43357 to ...
43358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43359 Here.
43360 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43361 to ...
43362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43363 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43364 Moved to ...
43365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43366 Here.
43367 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43368 to ...
43369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43370
d128e450
JM
433712012-05-04 Joseph Myers <joseph@codesourcery.com>
43372
fa8ee516
JM
43373 * sysdeps/unix/common/bits/dirent.h: Remove file.
43374 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43375
d128e450
JM
43376 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43377 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43378 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43379 * sysdeps/unix/bsd/isatty.c: Likewise.
43380 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43381 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43382 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43383
ff8faaf0 433842012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43385
62881be4 43386 [BZ #13563]
31dc8730
AZ
43387 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43388 long double comparison inaccuracies.
43389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43391
6fef930c
AS
433922012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43393
43394 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43396
8f203e6c
JM
433972012-05-04 Joseph Myers <joseph@codesourcery.com>
43398
43399 [BZ #14049]
43400 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43401 nonzero digits before rounding a hex value.
43402 * stdlib/tst-strtod.c (tests): Add another test.
43403
5197d9c2
AK
434042012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43405
43406 * sysdeps/s390/fpu/libm-test-ulps: Update.
43407
f0c1dedf
AJ
434082012-05-03 Andreas Jaeger <aj@suse.de>
43409
43410 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43411 does not get optimized out.
43412 (malloc_opt_barrier): New.
43413
a65ef2ae 434142012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43415 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43416
2b942cb7 43417 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43418 intermediate file deletion.
2b942cb7 43419 (generated): Add .symlist files.
a65ef2ae 43420
54b71e02
JM
434212012-05-03 Joseph Myers <joseph@codesourcery.com>
43422
43423 [BZ #13775]
43424 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43425 Redirect under this condition.
43426 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43427 [__USE_GNU] (__dprintf_chk): Not under this condition.
43428 [__USE_GNU] (__vdprintf_chk): Likewise.
43429 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43430 under this condition.
43431 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43432 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43433 [__USE_XOPEN2K8] (vdprintf): Likewise.
43434 [__USE_GNU] (__dprintf_chk): Not under this condition.
43435 [__USE_GNU] (__vdprintf_chk): Likewise.
43436 [__USE_GNU] (dprintf): Likewise.
43437 [__USE_GNU] (vdprintf): Likewise.
43438
d3dfcc41
RM
434392012-05-03 Roland McGrath <roland@hack.frob.com>
43440
43441 * elf/Makefile (common-generated): Set this instead of generated for
43442 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43443 $(all-built-dso)-derived lists.
43444
7ac30cc5
AJ
434452012-05-03 Andreas Jaeger <aj@suse.de>
43446
0c51e550
AJ
43447 * sysdeps/i386/fpu/libm-test-ulps: Update.
43448
7ac30cc5
AJ
43449 * FAQ: Removed.
43450 * FAQ.in: Likewise.
43451 * scripts/gen-FAQ.pl: Likewise.
43452 * manual/install.texi (Installation): Point to online location of
43453 FAQ.
43454 * Makefile (files-for-dist): Remove FAQ.
43455 (FAQ): Remove.
43456
d4c2917f
AM
434572012-05-02 Allan McRae <allan@archlinux.org>
43458
43459 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43460 (LDFLAGS-reldepmod5.so): Likewise.
43461 (LDFLAGS-reldep6mod1.so): Likewise.
43462 (LDFLAGS-reldep6mod4.so): Likewise.
43463 (LDFLAGS-reldep8mod3.so): Likewise.
43464 (LDFLAGS-unload4mod1.so): Likewise.
43465 (LDFLAGS-unload4mod2.so): Likewise.
43466 (LDFLAGS-tst-initorder): Likewise.
43467 (LDFLAGS-tst-initordera2.so): Likewise.
43468 (LDFLAGS-tst-initordera3.so): Likewise.
43469 (LDFLAGS-tst-initordera4.so): Likewise.
43470 (LDFLAGS-tst-initorderb2.so): Likewise.
43471 (LDFLAGS-noload): Likewise.
43472 (LDFLAGS-next): Likewise.
43473 (LDFLAGS-order2mod1.so): Likewise.
43474 (LDFLAGS-order2mod2.so): Likewise.
43475 (LDFLAGS-tst-initorder2): Likewise.
43476 (LDFLAGS-tst-initorder2a.so): Likewise.
43477 (LDFLAGS-tst-initorder2b.so): Likewise.
43478 (LDFLAGS-tst-initorder2c.so): Likewise.
43479 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43480
d77f993f
DM
434812012-05-02 David S. Miller <davem@davemloft.net>
43482
43483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43484
171a70b4
PP
434852012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43486
43487 [BZ #14055]
43488 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43489
0be196ad
AJ
434902012-05-02 Andreas Jaeger <aj@suse.de>
43491
43492 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43493 since we manipulate rounding mode.
43494 (CPPFLAGS-test-idouble.c): Likewise.
43495 (CPPFLAGS-test-ifloat.c): Likewise.
43496 (CFLAGS-test-ldouble.c): Likewise.
43497 (CFLAGS-test-double.c): Likewise.
43498 (CFLAGS-test-float.c): Likewise.
43499 (CFLAGS-test-misc.c): Likewise.
43500 (CFLAGS-test-test-fenv.c): Likewise.
43501
4f9d04aa
AZ
435022012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43503
2b942cb7
RM
43504 [BZ #2550]
43505 [BZ #2570]
43506 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43507 comparisons to determine direction to adjust input.
4f9d04aa 43508
82a79e7d
RM
435092012-05-01 Roland McGrath <roland@hack.frob.com>
43510
f5a01ca9
RM
43511 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43512 output to the target.
43513
90fe4186
RM
43514 * scripts/localplt.awk: New file.
43515 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43516 (check-localplt-CFLAGS): Variable removed.
43517 ($(all-built-dso:=.jmprel)): New static pattern rule.
43518 (generated): Add those targets.
43519 (localplt-built-dso): New variable.
43520 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43521
43522 * elf/check-localplt.c: File removed.
43523
82397ed6
RM
43524 * scripts/check-execstack.awk: New file.
43525 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43526 (check-execstack-CFLAGS): Variable removed.
43527 ($(objpfx)check-execstack.h): Target removed.
43528 ($(objpfx)execstack-default): New target.
43529 (generated): Add that instead of check-execstack.h.
43530 ($(all-built-dso:=.phdr)): New static pattern rule.
43531 (generated): Add those targets.
43532 * elf/check-execstack.c: File removed.
43533
82a79e7d
RM
43534 * scripts/check-textrel.awk: New file.
43535 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43536 (check-textrel-CFLAGS): Variable removed.
43537 (all-built-dso): Use := to define.o
43538 ($(all-built-dso:=.dyn)): New static pattern rule.
43539 (generated): Add those targets.
43540 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43541 * config.make.in (READELF): New substituted variable.
43542 * elf/check-textrel.c: File removed.
43543
62fde54f 435442012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43545
615605c9
JM
43546 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43547 allow.
43548 * conform/data/ctype.h-data [C99-based standards] (isblank):
43549 Expect function.
43550 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43551 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43553 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43554 Specify type. Require positive value.
43555 (EILSEQ): Likewise.
43556 (ERANGE): Likewise.
43557 [ISO || POSIX] (EILSEQ): Do not expect.
43558 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43559 Specify type. Require positive value.
43560 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43561 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43562 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43563 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43564 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43565 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43566 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43567 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43568 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43569 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43570 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43571 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43572 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43573 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43574 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43575 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43576 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43577 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43578 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43579 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43580 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43581 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43582 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43583 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43584 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43585 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43586 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43587 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43588 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43589 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43590 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43591 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43592 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43593 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43594 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43595 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43596 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43597 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43598 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43599 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43600 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43601 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43602 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43603 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43604 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43605 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43606 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43607 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43608 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43609 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43610 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43611 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43612 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43613 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43614 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43615 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43616 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43617 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43618 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43619 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43620 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43621 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43622 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43623 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43624 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43625 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43626 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43627 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43628 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43629 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43630 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43631 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43632 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43633 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43634 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43635 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43636 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43637 Require >= 2.
43638 (FLT_ROUNDS): Expect as macro, not constant.
43639 (FLT_MANT_DIG): Use macro-int-constant.
43640 (DBL_MANT_DIG): Likewise.
43641 (LDBL_MANT_DIG): Likewise.
43642 (FLT_DIG): Likewise.
43643 (DBL_DIG): Likewise.
43644 (LDBL_DIG): Likewise.
43645 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43646 (DBL_MIN_EXP): Likewise.
43647 (LDBL_MIN_EXP): Likewise.
43648 (FLT_MAX_EXP): Use macro-int-constant.
43649 (DBL_MAX_EXP): Likewise.
43650 (LDBL_MAX_EXP): Likewise.
43651 (FLT_MAX_10_EXP): Likewise.
43652 (DBL_MAX_10_EXP): Likewise.
43653 (LDBL_MAX_10_EXP): Likewise.
43654 (FLT_MAX): Use macro-constant.
43655 (DBL_MAX): Likewise.
43656 (LDBL_MAX): Likewise.
43657 (FLT_EPSILON): Use macro-constant. Give upper bound.
43658 (DBL_EPSILON): Likewise.
43659 (LDBL_EPSILON): Likewise.
43660 (FLT_MIN): Likewise.
43661 (DBL_MIN): Likewise.
43662 (LDBL_MIN): Likewise.
43663 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43664 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43665 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43666 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43667 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43668 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43669 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43670 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43671 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43672 [ISO11] (FLT_TRUE_MIN): Likewise.
43673 [ISO11] (LDBL_TRUE_MIN): Likewise.
43674 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43675 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43676 (SCHAR_MIN): Use macro-int-constant. Specify type.
43677 (SCHAR_MAX): Likewise.
43678 (UCHAR_MAX): Likewise.
43679 (CHAR_MIN): Likewise.
43680 (CHAR_MAX): Likewise.
43681 (MB_LEN_MAX): Use macro-int-constant.
43682 (SHRT_MIN): Use macro-int-constant. Specify type.
43683 (SHRT_MAX): Likewise.
43684 (USHRT_MAX): Likewise.
43685 (INT_MAX): Likewise.
43686 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43687 bound negative.
43688 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43689 bound with "U".
43690 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43691 bound with "L".
43692 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43693 bound negative. Suffix upper bound with "L".
43694 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43695 bound with "UL".
43696 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43697 Specify type.
43698 [C99-based standards] (LLONG_MAX): Likewise.
43699 [C99-based standards] (ULLONG_MAX): Likewise.
43700 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43701 == 0.
43702 [ISO11] (max_align_t): Require type.
43703 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43704
c9140a62
JM
43705 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43706 from $CFLAGS, without defining away __attribute__ calls.
43707 (checknamespace): Use $CFLAGS_namespace.
43708
9af0bf29
JM
43709 * conform/conformtest.pl (@keywords): Only include C99 keywords
43710 for standards based on C99 or C11.
43711
343222a2
JM
43712 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43713 Disable tests.
43714 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43715 UNIX98]: Likewise.
43716
661f8cf0
JM
43717 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43718 usability of symbols in #if.
43719
ee74b9cb
JM
43720 * conform/conformtest.pl: If macro or constant types start
43721 "promoted:", expect the symbol to be of the following type
43722 promoted by the integer promotions.
62fde54f 43723
aafc49b3
JM
43724 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43725 in one place. Also handle "macro-constant".
43726
fefdf574
JM
43727 * conform/conformtest.pl: Only accept expected macro values with
43728 "==". Parse all "macro" lines in one place.
43729 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43730
f2d922fe
JM
43731 * conform/conformtest.pl: Handle braced types on "constant" lines
43732 instead of handling "typed-constant".
43733 * conform/data/signal.h-data: Use "constant" instead of
43734 "typed-constant".
43735
d22956c9
JM
43736 * conform/conformtest.pl: Handle "optional-" at start of lines in
43737 one place rather than duplicating several cases. Handle each
43738 format of "macro" line with initial "optional-".
43739
028e2e38
JM
43740 * conform/conformtest.pl: Only accept expected constant or
43741 optional-constant values with "==". Parse all "constant" lines in
43742 one place. Parse all "optional-constant" lines in one place.
43743 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43744 * conform/data/fmtmsg.h-data: Likewise.
43745 * conform/data/netinet/in.h-data: Likewise.
43746 * conform/data/tar.h-data: Likewise.
43747 * conform/data/limits.h-data: Use "==" form on "constant" and
43748 "optional-constant" lines.
43749
1b8f2850
JM
43750 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43751 Use -std=c99 for XOPEN2K.
43752 (@knownproblems): Remove.
43753 (newtoken): Don't check %isknown.
43754
a05a144b
JM
43755 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43756 Do not expect macro.
43757 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43758 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43759 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43760 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43761 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43762 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43763 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43764 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43765 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43766 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43767 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43768 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43769 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43770 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43771 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43772 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43773 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43774 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43775 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43776 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43777 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43778 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43779 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43780 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43781 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43782 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43783 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43784 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43785 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43786 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43787 [XPG3] (acosh): Likewise.
43788 [XPG3] (asinh): Likewise.
43789 [XPG3] (atanh): Likewise.
43790 [XPG3] (cbrt): Likewise.
43791 [XPG3] (expm1): Likewise.
43792 [XPG3] (ilogb): Likewise.
43793 [XPG3] (log1p): Likewise.
43794 [XPG3] (logb): Likewise.
43795 [XPG3] (nextafter): Likewise.
43796 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43797 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43798 [XPG3] (remainder): Likewise.
43799 [XPG3] (rint): Likewise.
43800 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43801 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43802 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43803 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43804 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43805 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43806 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43807 [UNIX98 || XOPEN2K] (scalb): Expect.
43808 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43809 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43810 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43811 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43812 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43813 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43814 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43815 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43816 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43817 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43818 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43819 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43820 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43821 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43822 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43823 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43824 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43825 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43826 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43827 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43828 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43829 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43830 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43831 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43832 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43833 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43834 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43835 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43836 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43837 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43838 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43839 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43840 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43841 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43842 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43843 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43844 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43845 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43846 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43847 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43848 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43849 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43850 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43851 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43852 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43853 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43854 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43855 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43856 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43857 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43858 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43859 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43860 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43861 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43862 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43863 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43864 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43865 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43866 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43867 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43868 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43869 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43870 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43871 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43872 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43873 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43874 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43875 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43876 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43877 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43878 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43879 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43880 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43881 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43882 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43883 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43884 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43885 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43886 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43887 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43888 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43889 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43890 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43891 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43892 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43893 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43894 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43895 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43896 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43897 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43898 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43899 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43900 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43901 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43902 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43903 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43904 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43905 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43906 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43907 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43908 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43909 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43910 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43911 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43912 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43913 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43914 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43915 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43916 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43917 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43918 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43919 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43920 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43921 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43922 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43923 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43924 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43925 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43926 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43927 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43928 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43929 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43930 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43931 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43932 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43933 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43934 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43935 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43936 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43937 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43938 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43939 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43940 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43941 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43942 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43943 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43944 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43945
73c5ebe3
JM
43946 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43947 _XOPEN_SOURCE_EXTENDED for XPG4.
43948
39c33b6c
JM
43949 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43950
62fde54f
JM
43951 * Makeconfig (localtime): Remove variable.
43952 (inst_localtime-file): Likewise.
43953
0741d64c
AS
439542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43955
43956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43957 Update.
43958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43959 Update.
43960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43961 Update.
43962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43963 Update.
43964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43965 Update.
43966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43967 Update.
43968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43969 Update.
43970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43971 Update.
43972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43973 Update.
43974
7cb029ee
JM
439752012-05-01 Joseph Myers <joseph@codesourcery.com>
43976
43977 [BZ #2550]
43978 [BZ #2570]
43979 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43980 comparisons to determine direction to adjust input.
43981 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43982 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43984 Likewise.
43985 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43986 Likewise.
43987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43988 Likewise.
43989 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43990 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43991 Likewise.
43992 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43993 Likewise.
43994 * math/libm-test.inc (nexttoward_test): Add more tests.
43995
412bd966
AS
439962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43997
43998 [BZ #14040]
43999 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44000 in version GLIBC_2.1, not GLIBC_2.0.
44001 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44002 Likewise.
44003
9568c0c2
JM
440042012-04-30 Joseph Myers <joseph@codesourcery.com>
44005
adfbc8ac
JM
44006 [BZ #13942]
44007 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44008 (1 - x) * (1 + x).
44009 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44010 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44011 * math/libm-test.inc (acos_test): Add more tests.
44012 (asin_test): Likewise.
44013 * sysdeps/i386/fpu/libm-test-ulps: Update.
44014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44015
5ba3cc69
JM
44016 [BZ #14034]
44017 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44018 of square root.
44019 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44020 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44021 * math/libm-test.inc (acos_test_tonearest): New function.
44022 (acos_test_towardzero): Likewise.
44023 (acos_test_downward): Likewise.
44024 (acos_test_upward): Likewise.
44025 (asin_test_tonearest): Likewise.
44026 (asin_test_towardzero): Likewise.
44027 (asin_test_downward): Likewise.
44028 (asin_test_upward): Likewise.
44029 (main): Call the new functions.
44030 * sysdeps/i386/fpu/libm-test-ulps: Update.
44031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44032
9568c0c2
JM
44033 [BZ #13884]
44034 [BZ #13924]
44035 * math/e_exp10.c: Include <float.h>.
44036 (__ieee754_exp10): Handle underflow here rather than multiplying
44037 large negative argument by M_LN10.
44038 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44039 of __ieee754_expf.
44040 * math/e_exp10l.c: Include <float.h>.
44041 (__ieee754_exp10l): Handle underflow here rather than multiplying
44042 large negative argument by M_LN10l.
44043 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44044 spurious overflow exception on underflow.
44045
5ac3ea17
MP
440462012-04-29 Marek Polacek <polacek@redhat.com>
44047
44048 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44049 (__fortify_function): New macro.
44050 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44051 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44052 __extern_always_inline.
44053 * libio/bits/stdio2.h: Likewise.
44054 * libio/bits/stdio.h: Likewise.
44055 * string/string.h: Likewise.
44056 * string/bits/string3.h: Likewise.
44057 * include/stdio.h: Likewise.
44058 * stdlib/bits/stdlib.h: Likewise.
44059 * stdlib/stdlib.h: Likewise.
44060 * rt/bits/mqueue2.h: Likewise.
44061 * rt/mqueue.h: Likewise.
44062 * posix/bits/unistd.h: Likewise.
44063 * posix/unistd.h: Likewise.
44064 * io/bits/poll2.h: Likewise.
44065 * io/bits/fcntl2.h: Likewise.
44066 * io/fcntl.h: Likewise.
44067 * io/sys/poll.h: Likewise.
44068 * misc/bits/syslog.h: Likewise.
44069 * misc/bits/syslog-ldbl.h: Likewise.
44070 * misc/sys/syslog.h: Likewise.
44071 * socket/bits/socket2.h: Likewise.
44072 * socket/sys/socket.h: Likewise.
44073 * debug/tst-chk1.c: Likewise.
44074 * wcsmbs/bits/wchar2.h: Likewise.
44075 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44076 * wcsmbs/wchar.h: Likewise.
44077
ecf0ebfb
AJ
440782012-04-29 Andreas Jaeger <aj@suse.de>
44079
44080 * Makerules (tests): Remove enable-check-abi protection.
44081 (check-abi-warn): Remove.
44082 (check-abi-%): Remove check-abi-warn usage.
44083
44084 * configure.in: Remove check-abi configure option.
44085 * configure: Regenerated.
44086 * config.make.in (enable-check-abi): Remove.
44087
6d5c57fa
AS
440882012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44089
24c5d07e 44090 [BZ #14033]
ded5180a
AS
44091 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44092 double functions to double *_finite functions.
44093
7e0d315d
AS
44094 [BZ #13941]
44095 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44096 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44097 LDBL_MIN_EXP.
44098 * stdio-common/Makefile (tests): Add tst-sprintf3.
44099 * stdio-common/tst-sprintf3.c: New file.
44100
6d5c57fa
AS
44101 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44102 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44103
0749ff8b
JM
441042012-04-28 Joseph Myers <joseph@codesourcery.com>
44105
44106 * conform/conformtest.pl: Remove duplicate typed-constant
44107 handling.
44108
8dbd5d7b
DM
441092012-04-28 David S. Miller <davem@davemloft.net>
44110
44111 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44112 (check-abi-%): Remove AWK script prerequisite and explicit
44113 abilist directory.
44114 (check-abi): Rewrite to just diff the symlist with the abilist.
44115 (config-tls, config-abi-config): Delete, no longer used.
44116 (update-abi-%): Remove AWK script and explicit abilist directory.
44117 (update-abi): Rewrite to simply compare and conditionally copy the
44118 symlist and the sysdep abilist file. Remove update-abi-config
44119 checks.
44120 * abilist/ld.abilist: Remove.
44121 * abilist/libBrokenLocale.abilist: Remove.
44122 * abilist/libanl.abilist: Remove.
44123 * abilist/libcrypt.abilist: Remove.
44124 * abilist/libdl.abilist: Remove.
44125 * abilist/librt.abilist: Remove.
44126 * abilist/libthread_db.abilist: Remove.
44127 * abilist/libutil.abilist: Remove.
44128 * scripts/extract-abilist.awk: Remove.
44129 * scripts/merge-abilist.awk: Remove.
44130 * sysdeps/generic/libcidn.abilist: New file.
44131 * sysdeps/generic/libnss_compat.abilist: New file.
44132 * sysdeps/generic/libnss_db.abilist: New file.
44133 * sysdeps/generic/libnss_dns.abilist: New file.
44134 * sysdeps/generic/libnss_files.abilist: New file.
44135 * sysdeps/generic/libnss_hesiod.abilist: New file.
44136 * sysdeps/generic/libnss_nis.abilist: New file.
44137 * sysdeps/generic/libnss_nisplus.abilist: New file.
44138 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44139 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44140 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44141 file.
44142 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44143 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44144 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44145 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44146 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44147 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44148 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44149 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44150 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44151 file.
44152 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44153 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44154 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44155 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44156 file.
44157 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44158 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44159 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44160 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44161 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44162 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44163 file.
44164 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44165 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44166 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44167 file.
44168 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44170 New file.
44171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44172 New file.
44173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44174 New file.
44175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44176 New file.
44177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44178 New file.
44179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44180 New file.
44181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44182 New file.
44183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44184 New file.
44185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44186 New file.
44187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44188 New file.
44189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44190 New file.
44191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44192 New file.
44193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44194 New file.
44195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44196 file.
44197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44198 New file.
44199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44200 New file.
44201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44202 file.
44203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44204 New file.
44205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44206 New file.
44207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44208 file.
44209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44210 New file.
44211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44212 New file.
44213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44214 New file.
44215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44216 New file.
44217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44218 New file.
44219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44220 New file.
44221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44223 file.
44224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44225 New file.
44226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44227 file.
44228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44229 file.
44230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44231 file.
44232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44233 file.
44234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44235 file.
44236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44237 New file.
44238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44239 file.
44240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44241 file.
44242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44243 New file.
44244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44245 file.
44246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44248 file.
44249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44250 New file.
44251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44252 file.
44253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44254 file.
44255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44256 file.
44257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44258 file.
44259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44260 file.
44261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44262 New file.
44263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44264 file.
44265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44266 file.
44267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44268 New file.
44269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44270 file.
44271 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44272 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44273 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44274 file.
44275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44276 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44277 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44278 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44279 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44280 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44281 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44282 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44283 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44284 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44287 file.
44288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44289 New file.
44290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44291 file.
44292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44293 file.
44294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44295 file.
44296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44297 file.
44298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44299 file.
44300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44301 New file.
44302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44303 New file.
44304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44305 file.
44306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44307 New file.
44308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44309 file.
44310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44312 file.
44313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44314 New file.
44315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44316 file.
44317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44318 file.
44319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44320 file.
44321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44322 file.
44323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44324 file.
44325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44326 New file.
44327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44328 New file.
44329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44330 file.
44331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44332 New file.
44333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44334 file.
44335
41d73a1b
JM
443362012-04-28 Joseph Myers <joseph@codesourcery.com>
44337
44338 * conform/conformtest.pl: Fix typo in handling typed-constant from
44339 allow-header.
44340
28aeeda4
JM
443412012-04-27 Joseph Myers <joseph@codesourcery.com>
44342
adae8f5e
JM
44343 * README: Cut down references to pre-2.6 Linux kernels and
44344 Linuxthreads. Update lists of configurations in libc and ports
44345 and sort alphabetically. Say "or newer" with Linux kernel version
44346 requirements.
44347
28aeeda4
JM
44348 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44349
a462cb63
RA
443502012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44351
44352 [BZ #887]
44353 * math/libm-test.inc (logb_test_downward): New test to expose
44354 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44355 rounding mode.
44356
6ad3493e
JM
443572012-04-27 Joseph Myers <joseph@codesourcery.com>
44358
44359 [BZ #14027]
44360 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44361 to be done.
44362 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44363 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44364
2ce4f015
JM
443652012-04-26 Joseph Myers <joseph@codesourcery.com>
44366
5aeb141a
JM
44367 * sysdeps/unix/i386/brk.S: Remove file.
44368 * sysdeps/unix/i386/dl-brk.S: Likewise.
44369 * sysdeps/unix/i386/pipe.S: Likewise.
44370 * sysdeps/unix/i386/sigreturn.S: Likewise.
44371 * sysdeps/unix/i386/syscall.S: Likewise.
44372 * sysdeps/unix/i386/vfork.S: Likewise.
44373 * sysdeps/unix/i386/wait.S: Likewise.
44374
7143acae
JM
44375 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44376 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44377
2ce4f015
JM
44378 * configure.in (arm*-none*): Do not allow without
44379 --enable-hacker-mode.
44380 (netbsd*): Remove case setting base_os.
44381 (386bsd*): Likewise.
44382 (freebsd*): Likewise.
44383 (bsdi*): Likewise.
44384 (osf*): Likewise.
44385 (sunos*): Likewise.
44386 (ultrix*): Likewise.
44387 (newsos*): Likewise.
44388 (dynix*): Likewise.
44389 (*bsd*): Likewise.
44390 (sysv*): Likewise.
44391 (isc*): Likewise.
44392 (esix*): Likewise.
44393 (sco*): Likewise.
44394 (minix*): Likewise.
44395 (irix4*): Likewise.
44396 (irix6*): Likewise.
44397 (solaris[2-9]*): Likewise.
44398 (none): Likewise.
44399 * configure: Regenerated.
44400
0ac229c8
AZ
444012012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44402
44403 [BZ #11521]
44404 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44405 overflow or cancellation in calculating denominator.
44406 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44407 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44408 down expression to avoid unexpected rounding in newer GCCs.
44409 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44410
33f244f4
DM
444112012-04-26 David S. Miller <davem@davemloft.net>
44412
44413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44414 long-double compat symbols.
44415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44428
cfa1f3e8
DM
444292012-04-25 David S. Miller <davem@davemloft.net>
44430
44431 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44432 HWCAP_* values only after the memory barriers have been defined.
44433 (atomic_full_barrier): Define.
44434 (atomic_read_barrier): Define.
44435 (atomic_write_barrier): Define.
44436
6e236b92
SP
444372012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44438
44439 * shlib-versions: Add libgcc_s version information.
44440 * sysdeps/generic/libgcc_s.h: Remove.
44441 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44442 libgcc_s.h.
44443 * sysdeps/gnu/unwind-resume.c: Likewise.
44444 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44445
aab39a09
DM
444462012-04-25 David S. Miller <davem@davemloft.net>
44447
44448 * sysdeps/unix/sparc/brk.S: Delete.
44449 * sysdeps/unix/sparc/dl-brk.S: Delete.
44450 * sysdeps/unix/sparc/pipe.S: Delete.
44451 * sysdeps/unix/sparc/sysdep.S: Delete.
44452 * sysdeps/unix/sparc/sysdep.h: Delete.
44453 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44454 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44455 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44456 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44457 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44458 (JUMPTARGET): Remove.
44459 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44460 sysdeps/unix/sparc/sysdep.h
44461 (ENTRY, END): Remove.
44462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44463
a3cc4f48
JM
444642012-04-25 Joseph Myers <joseph@codesourcery.com>
44465
2ed8cda2
JM
44466 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44467 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44468 -DIS_IN_build.
44469
35d76d59
JM
44470 * timezone/README: Update upstream location and email address for
44471 tzcode and tzdata.
44472 * timezone/zdump.c: Update from tzcode 2012b.
44473 * timezone/zic.c: Likewise.
44474
a3cc4f48
JM
44475 * configure.in (libc_cv_as_needed): Remove test.
44476 * configure: Regenerated.
44477 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44478 conditional definition.
44479 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44480 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44481 * config.make.in (have-as-needed): Remove variable.
44482
ceab42c3
SP
444832012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44484 Paul Pluzhnikov <ppluzhnikov@google.com>
44485
44486 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44487 strings correctly.
44488
3ce2865f
CLT
444892012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44490
44491 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44492 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44493 * sysdeps/sh/strlen.S: Likewise.
44494
f37e0d68
JM
444952012-04-24 Joseph Myers <joseph@codesourcery.com>
44496
ae186e9a
JM
44497 * sysdeps/unix/fork.S: Remove file.
44498 * sysdeps/unix/i386/fork.S: Likewise.
44499 * sysdeps/unix/sparc/fork.S: Likewise.
44500
b96914af
JM
44501 * sysdeps/unix/system.c: Remove file.
44502 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44503
f37e0d68
JM
44504 * sysdeps/unix/getegid.S: Remove file.
44505 * sysdeps/unix/geteuid.S: Likewise.
44506
87ef29ca
RM
445072012-04-24 Roland McGrath <roland@hack.frob.com>
44508
83bcd236
RM
44509 * scripts/check-localplt.awk: New file.
44510 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44511 of diff.
44512 * scripts/data/localplt-generic.data: Add a comment.
44513
87ef29ca
RM
44514 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44515 NODE when __dir_mkfile failed.
44516 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44517 Reported by Ludovic Courtès <ludo@gnu.org>.
44518
e5a6e567
AJ
445192012-04-24 Andreas Jaeger <aj@suse.de>
44520
44521 * Makerules (common-clean): Also remove gen-as-const-headers
44522 files.
44523
c1820385
JM
445242012-04-24 Joseph Myers <joseph@codesourcery.com>
44525
44526 * Makerules (native-compile): Do not change working directory for
44527 build. Use $(OUTPUT_OPTION) in command.
44528 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44529
94e02fc4
AZ
445302012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44531
44532 [BZ #13886]
44533 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44534 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44535 * math/libm-test.inc (floor_test): Add more tests.
44536 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44537
3a533ca3
JM
445382012-04-24 Joseph Myers <joseph@codesourcery.com>
44539
940ab4b3
JM
44540 * sysdeps/unix/getdents.c: Remove file.
44541 * sysdeps/unix/sysv/getdents.c: Likewise.
44542 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44543
90e037bd
JM
44544 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44545 sysdeps/unix/mman/syscalls.list.
44546 (mmap): Likewise.
44547 (mprotect): Likewise.
44548 (msync): Likewise.
44549 (munmap): Likewise.
44550 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44551 * sysdeps/unix/mman/syscalls.list: Remove.
44552 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44553
3a533ca3
JM
44554 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44555 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44556 * configure: Regenerated.
44557 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44558 $(libgcc_s_suffix).
44559 * config.make.in (libgcc_s_suffix): Remove variable.
44560
1ad743de
JM
445612012-04-23 Joseph Myers <joseph@codesourcery.com>
44562
4ad451e2
JM
44563 * sysdeps/unix/sysv/gethostname.c: Move to ...
44564 * sysdeps/posix/gethostname.c: ... here.
44565
5e37ce39
JM
44566 * sysdeps/unix/execve.S: Remove file.
44567
1ad743de
JM
44568 * sysdeps/unix/_exit.S: Remove file.
44569
4e681b5b
AJ
445702012-04-23 Andreas Jaeger <aj@suse.de>
44571
44572 [BZ #13739]
44573 * manual/Makefile: Remove make dist support, there's no
44574 need for a stand-alone documentation tar ball.
44575 (TEXI2DVI): Define always, it's not in Makeconfig.
44576 (dist): Removed.
44577 (tar-it): Removed.
44578 (edition): Removed.
44579 (glibc-doc-$(edition).tar): Removed
44580 (%.Z): Removed.
44581 (%.gz): Removed.
44582 (%.uu): Removed.
44583 (ETAGS): Remove, it's in Makeconfig.
44584 (move-if-change): Remove, it's in Makeconfig.
44585
38686a03 445862012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44587
44588 [BZ #13970]
44589 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44590 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44591 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44592 (strtod_l, strtof_l, strtold_l): Remove __wur.
44593 It is not necessarily an error to ignore strtol's return value.
44594 One can reliably look at the stored endptr to decide whether
44595 the number had valid syntax.
44596
7c0616fa
AJ
445972012-04-21 Andreas Jaeger <aj@suse.de>
44598
803cb6b7 44599 [BZ #13739]
7c0616fa
AJ
44600 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44601
b0fe253f
JM
446022012-04-21 Joseph Myers <joseph@codesourcery.com>
44603
44604 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44605 * sysdeps/unix/sysv/Versions: Remove file.
44606
8280f22d
MT
446072012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44608
44609 [BZ #13927]
44610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44611
75ce411f 446122012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44613
44614 [BZ #7064]
44615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44616 version from __vm86.
44617
097d59fa
JM
446182012-04-20 Joseph Myers <joseph@codesourcery.com>
44619
a90f3bcb
JM
44620 * sysdeps/unix/common/lxstat.c: Remove file.
44621 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44622
edc7ea78
JM
44623 * sysdeps/unix/sysv/Makefile: Remove file.
44624
cb78c221
JM
44625 * sysdeps/unix/sysv/direct.h: Remove file.
44626
efa6a45f
JM
44627 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44628 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44629 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44630 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44631 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44632 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44633 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44634
9c9f2d0c
JM
44635 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44636
4541c83b
JM
44637 * sysdeps/unix/xmknod.c: Remove file.
44638 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44639
f5d153a0
JM
44640 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44641
aa746595
JM
44642 * sysdeps/unix/sysv/i386/time.S: Remove file.
44643
cce5905e
JM
44644 * sysdeps/unix/fxstat.c: Remove file.
44645 * sysdeps/unix/xstat.c: Likewise.
44646 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44647
37fa3841
JM
44648 * sysdeps/unix/sysv/sigaction.c: Remove file.
44649
ff1962a3
JM
44650 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44651 (sysdep_headers): Remove variable.
44652 [termio.h not in sysdep_headers] (generated): Likewise.
44653 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44654 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44655 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44656 * sysdeps/unix/sysv/tcflow.c: Likewise.
44657 * sysdeps/unix/sysv/tcflush.c: Likewise.
44658 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44659 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44660 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44661 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44662 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44663
e7740d31
JM
44664 * sysdeps/unix/siglist.c: Remove file.
44665
ee06f18b
JM
44666 * sysdeps/unix/getppid.S: Remove file.
44667
097d59fa
JM
44668 * sysdeps/unix/mkdir.c: Remove file.
44669 * sysdeps/unix/rmdir.c: Likewise.
44670
ff3d51ec
AS
446712012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44672
44673 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44674 ERR_MAX value.
44675 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44676 errlist-compat value.
44677
50f81fd7
DM
446782012-04-18 David S. Miller <davem@davemloft.net>
44679
44680 * sysdeps/generic/memcopy.h (reg_char): Delete.
44681 * debug/strcat_chk.c: Use char, not reg_char.
44682 * debug/strcpy_chk.c: Likewise.
44683 * debug/strncat_chk.c: Likewise.
44684 * debug/strncpy_chk.c: Likewise.
44685 * string/memchr.c: Likewise.
44686 * string/memrchr.c: Likewise.
44687 * string/rawmemchr.c: Likewise.
44688 * string/strcat.c: Likewise.
44689 * string/strchr.c: Likewise.
44690 * string/strchrnul.c: Likewise.
44691 * string/strcmp.c: Likewise.
44692 * string/strcpy.c: Likewise.
44693 * string/strncat.c: Likewise.
44694 * string/strncmp.c: Likewise.
44695 * string/strncpy.c: Likewise.
44696
8ff41c46
WS
446972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44698
44699 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44700 __builtin_memcopy is called when src and dest ranges are known to not
44701 overlap.
44702
6b652f46
WS
447032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44704
44705 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44706 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44707 fwd_align_merge macro call.
44708 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44709 bwd_align_merge macro call.
44710 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44711
b282631e
WS
447122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44713
44714 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44715 bwd_align_merge macros.
44716 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44717 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44718 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44719
95aa737c
DM
447202012-04-18 David S. Miller <davem@davemloft.net>
44721
44722 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44723
7a99a614
AJ
447242012-04-18 Andreas Jaeger <aj@suse.de>
44725
44726 [BZ# 6794]
44727 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44728 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44729 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44730
44731 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44732 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44733 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44734
44735 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44736 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44737 Adjust for changed ldbl-128 files.
44738
44739 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44740 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44741 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44742
e5270c23
DM
447432012-04-17 David S. Miller <davem@davemloft.net>
44744
44745 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44746
fb5e92c9
AS
447472012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44748
44749 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44750 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44751 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44752 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44753 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44754 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44755
76da7265
AZ
447562012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44757
44758 [BZ #6794]
44759 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44760 * math/libm-test.inc: Add ilogb errno and exception tests.
44761 * math/w_ilogb.c: New file: ilogb wrapper.
44762 * math/w_ilogbf.c: New file: ilogbf wrapper.
44763 * math/w_ilogbl.c: New file: ilogbl wrapper.
44764 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44765 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44766 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44767 exception being thrown with 0.0 as argument.
44768 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44769 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44770 exception being thrown with 0.0 as argument.
44771 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44772 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44773 exception being thrown with 0.0 as argument.
44774 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44775 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44776 exception being thrown with 0.0 as argument.
44777 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44778 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44779 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44780 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44781 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44782 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44783 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44784 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44785 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44786
0396e69d
PB
447872012-04-17 Petr Baudis <pasky@ucw.cz>
44788
44789 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44790 with altivec.
44791
750b5926
MP
447922012-04-16 Marek Polacek <polacek@redhat.com>
44793
44794 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44795
751728a1
MP
447962012-04-16 Marek Polacek <polacek@redhat.com>
44797
44798 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44799 operands of fdivp instruction.
44800
34a27407
L
448012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44802
44803 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44804 * elf/tst-auditmod3b.c: Likewise.
44805 * elf/tst-auditmod4b.c: Likewise.
44806 * elf/tst-auditmod5b.c: Likewise.
44807 * elf/tst-auditmod6b.c: Likewise.
44808 * elf/tst-auditmod6c.c: Likewise.
44809 * elf/tst-auditmod7b.c: Likewise.
44810 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44811 * sysdeps/x86_64/preconfigure.in: Likewise.
44812 * sysdeps/x86_64/preconfigure: Regenerated.
44813
7e73e17d
L
448142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44815
44816 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44817 __ILP32__.
44818
c7a6ab72
AB
448192012-04-13 Antoine Balestrat <merkil33@gmail.com>
44820
44821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44822 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44823
a9e8e0e0
CL
448242012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44825
44826 [BZ #13973]
44827 * locale/iso-639.def: Fix gl language name. Spotted by
44828 Yaron Shahrabani.
44829
ec98af7d
RM
448302012-04-12 Roland McGrath <roland@hack.frob.com>
44831
44832 [BZ #2074]
44833 * libio/libio.h (__io_write_fn): Update comment.
44834
247c3ede
PB
448352012-04-12 Petr Baudis <pasky@ucw.cz>
44836
44837 [BZ #2074]
44838 * stdio.texi (Hook Functions): The user provided writer function
44839 is not allowed to return -1.
44840
55939d6d
DM
448412012-04-11 David S. Miller <davem@davemloft.net>
44842
44843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44844
90020f5a
MF
448452012-04-11 Mike Frysinger <vapier@gentoo.org>
44846
44847 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44848 Add a leading slash to rtkaio.
44849
288f9098
JM
448502012-04-11 Jim Meyering <meyering@redhat.com>
44851
90020f5a
MF
44852 [BZ #11959]
44853 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44854 It is not necessarily an error to ignore fwrite's return
44855 value. One can reliably use ferror to test for errors after
44856 the fact.
288f9098 44857
4be2b570
L
448582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44859
44860 * bits/types.h (__snseconds_t): New type.
44861 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44862
44863 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44865 (__SNSECONDS_T_TYPE): Likewise.
44866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44867 (__SNSECONDS_T_TYPE): Likewise.
44868 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44869 (__SNSECONDS_T_TYPE): Likewise.
44870
288f9098 448712012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44872
44873 [BZ #2636]
44874 * manual/time.texi (Processor Time): Return type of times is
44875 elapsed real time since an arbitrary point in the past.
44876 (CPU Time): Move CLK_TCK from here...
44877 (Processor Time): ...to here. Correct description.
44878 * manual/conf.texi (Constants for Sysconf): Correct description of
44879 _SC_CLK_TCK.
44880
d7dd4413
DM
448812012-04-10 David S. Miller <davem@davemloft.net>
44882
44883 [BZ #13967]
44884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44885 where the is a gap between DT_REL(A) and DT_JMPREL.
44886
b46068fc
L
448872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44888
44889 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44890 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44891 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44892
73d65cc3
SP
448932012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44894
44895 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44896 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44897 (dl_main): Handle --inhibit-cache.
44898 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44899 _dl_inhibit_cache.
44900 * elf/dl-load.c (_dl_map_object): Use it.
44901 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44902
bcc8d661
JM
449032012-04-09 Joseph Myers <joseph@codesourcery.com>
44904
8f9a2fae
JM
44905 [BZ #13872]
44906 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44907 (__ieee754_powl): Saturate large exponents rather than testing for
44908 overflow of y*log2(x).
44909 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44910 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44911 exceptions.
44912
bcc8d661
JM
44913 [BZ #11521]
44914 * math/s_ctan.c: Include <float.h>.
44915 (__ctan): Avoid internal overflow or cancellation in calculating
44916 denominator.
44917 * math/s_ctanf.c: Likewise.
44918 * math/s_ctanl.c: Likewise.
44919 * math/s_ctanh.c: Likewise.
44920 * math/s_ctanhf.c: Likewise.
44921 * math/s_ctanhl.c: Likewise.
44922 * math/libm-test.inc (ctan_test): Add more tests.
44923 (ctanh_test): Likewise.
44924 * sysdeps/i386/fpu/libm-test-ulps: Update.
44925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44926
823fbbb4
AJ
449272012-04-09 Andreas Jaeger <aj@suse.de>
44928
03879793
AJ
44929 [BZ #6894]
44930 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44931 is an optional BSD extension.
44932
823fbbb4
AJ
44933 [BZ #10254]
44934 * manual/stdio.texi (Opening Streams): Document additional fopen
44935 parameters.
44936
8de131cb
RM
449372012-04-09 Roland McGrath <roland@hack.frob.com>
44938
44939 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44940 %eax without telling the compiler.
44941
c0ed9d7d
CD
449422012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44943
44944 [BZ # 13963]
44945 * manual/install.texi: Use sourceware.org.
44946
c483f6b4
JM
449472012-04-09 Joseph Myers <joseph@codesourcery.com>
44948
d7dd9453
JM
44949 [BZ #13873]
44950 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44951 (__ieee754_pow): Generate overflow and underflow using huge*huge
44952 and tiny*tiny rather than just returning constant infinity or zero
44953 for large exponents.
44954 * math/libm-test.inc (pow_test): Require overflow exceptions for
44955 applicable cases of large exponents.
44956
c483f6b4
JM
44957 [BZ #706]
44958 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44959 (__ieee754_pow): Use iterative multiplication algorithm only for
44960 integer exponents with absolute value below 1024. Check for odd
44961 integer exponents when using algorithm for real exponents.
44962 * math/libm-test.inc (pow_test): Add more tests.
44963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44964
d2de7579
JM
449652012-04-08 Joseph Myers <joseph@codesourcery.com>
44966
44967 [BZ #13705]
44968 * math/libm-test.inc (exp_test): Do not allow overflow exception
44969 on underflow test.
44970
f77f1232
AJ
449712012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44972
44973 [BZ #13705]
44974 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44975 instead of __kernel_standard_f.
44976
3884932b
MF
449772012-04-08 Mike Frysinger <vapier@gentoo.org>
44978
44979 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44980 * sysdeps/x86_64/memset_chk.S: Likewise.
44981
54472e9c
AJ
449822012-04-08 Andreas Jaeger <aj@suse.de>
44983
6ab0fbfc
AJ
44984 [BZ #10153]
44985 * manual/startup.texi (Environment Access): Describe return value
44986 for putenv and setenv.
44987
61efba8c
AJ
44988 [BZ #6895]
44989 * manual/filesys.texi (Directory Entries): Add description for
44990 DT_LNK.
44991
95c3f29a
AJ
44992 [BZ #6890]
44993 * manual/filesys.texi (Directory Entries): Clarify that it's file
44994 system not operating system in the description of DT_UNKNOWN.
44995
54472e9c
AJ
44996 [BZ #6578]
44997 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44998
624254b1
SC
449992012-04-08 Stephen Compall <s11@member.fsf.org>
45000
45001 [BZ #6649]
45002 * manual/llio.texi (Opening and Closing Files): Add cross
45003 reference to explain mode argument.
45004
1e4920e0
MF
450052012-04-07 Mike Frysinger <vapier@gentoo.org>
45006
45007 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45008 * sysdeps/x86_64/memset_chk.S: Likewise.
45009
5ed848f3
DM
450102012-04-07 David S. Miller <davem@davemloft.net>
45011
45012 * elf/elf.h (R_SPARC_WDISP10): Define.
45013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45014 R_SPARC_SIZE32.
45015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45016 R_SPARC_SIZE64 and R_SPARC_H34.
45017
96154cd8
CD
450182012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45019
45020 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45021 conditions and remove no longer applicable assertion.
45022
9904dc47
L
450232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45024
45025 * bits/byteswap.h: Include <features.h>.
45026 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45027 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45028
f8887d0a
L
450292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45030
45031 * bits/byteswap.h (__bswap_16): Removed.
45032 Include <bits/byteswap-16.h> to get __bswap_16.
45033 * sysdeps/i386/bits/byteswap.h: Likewise.
45034 * sysdeps/s390/bits/byteswap.h: Likewise.
45035 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45036 * bits/byteswap-16.h: New file.
45037 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45038 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45039 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45040 * string/Makefile (headers): Add bits/byteswap-16.h.
45041
62470f60
PP
450422012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45043
45044 [BZ #13895]
45045 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45046 extra indirection.
45047 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45048 * nss/tst-nss-static.c: New.
45049
4dad7bab
RM
450502012-04-06 Robert Millan <rmh@gnu.org>
45051
45052 [BZ #6486]
45053 * manual/llio.texi (File Position Primitive): lseek
45054 refers to WHENCE when it really means OFFSET.
45055
e9142a17
AJ
450562012-04-06 Andreas Jaeger <aj@suse.de>
45057
2c040eff
AJ
45058 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45059 strncmp declarations.
45060
e9142a17
AJ
45061 * abilist/libc.abilist: Add __poll and __ppoll.
45062
ff9f1c5f
DM
450632012-04-05 David S. Miller <davem@davemloft.net>
45064
dcd2ae90
DM
45065 * scripts/check-local-headers.sh: Accept a host triplet in the
45066 path matched by the exclude regexp.
45067
993eb054
DM
45068 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45069 definition.
45070 * sysdeps/powerpc/powerpc32/dl-machine.h
45071 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45072 * sysdeps/s390/s390-32/dl-machine.h
45073 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45074 * sysdeps/sparc/sparc32/dl-machine.h
45075 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45076 * sysdeps/sparc/sparc64/dl-machine.h
45077 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45078
ff9f1c5f
DM
45079 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45080 lazy binding.
48e2e132 45081 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45082 undefined symbol errors.
45083
48e2e132 45084 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45085 DT_NEEDED entries.
45086
e80d6f94
MM
450872012-04-05 Michael Matz <matz@suse.de>
45088
45089 [BZ #13592]
45090 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45091
349fa79f
AJ
450922012-04-05 Andreas Jaeger <aj@suse.de>
45093
45094 [BZ #13908]
45095 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45096 comment.
45097
f402708f
KK
450982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45099
45100 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45101 which ROUND is no valid rounding mode.
45102
2ecccfc9
KK
451032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45104
45105 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45106 read again.
45107 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45108
8a53f50f
KK
451092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45110
45111 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45112 an exception using FPU order intentionally.
45113
451142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45115
45116 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45117 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45118 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45119 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45120
d653abb7
SJ
451212012-04-05 Simon Josefsson <simon@josefsson.org>
45122
45123 [BZ #12340]
45124 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45125 EINVAL when BUFLEN is too smal.
45126
c3b1bf7d
TS
451272012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45128
45129 [BZ #13553]
45130 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45131 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45132
b1aa60f3
AJ
451332012-04-03 Andreas Jaeger <aj@suse.de>
45134
c3b1bf7d 45135 [BZ #13938]
67f60a26
AJ
45136 * manual/setjmp.texi (System V contexts): Fix sentence.
45137
b1aa60f3
AJ
45138 [BZ #13926]
45139 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45140 New macro for this case.
45141 [!__GNUC__] (__bswap_64): New inline function for this case.
45142 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45143 * bits/byteswap.h: Likewise.
45144 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45145 ull, guard with __GLIBC_HAVE_LONG_LONG.
45146
45147 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45148 __GLIBC_HAVE_LONG_LONG.
45149
45150 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45151 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45152
39c59c35
TMQMF
451532012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45154
45155 [BZ #13691]
45156 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45157 inptr and inend, rather than using last_ch.
45158
135ffda8
DM
451592012-04-02 David S. Miller <davem@davemloft.net>
45160
45161 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45162 * stdio-common/printf-parse.h (read_int): Change return type to
45163 'int', return -1 on INT_MAX overflow.
45164 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45165 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45166 overflows INT_MAX. Check for overflow of in-format-string precision
45167 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45168 SIZE_MAX not INT_MAX for integer overflow test.
45169 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45170 skip the construct in the format string but do not record anything.
45171 * stdio-common/bug22.c: Adjust to test both width/prevision
45172 INT_MAX overflow as well as total length INT_MAX overflow. Check
45173 explicitly for proper errno values.
45174
228c019e
TS
451752012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45176
302cadd3
TS
45177 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45178 CHAR_MAX.
45179 * string/test-strcmp.c [! WIDE]: Likewise.
45180 * time/tst-mktime2.c: Likewise for INT_MAX.
45181 * string/test-string.h: #include <sys/param.h> for MIN.
45182
228c019e
TS
45183 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45184 * sysdeps/i386/init-first.c (init): Likewise.
45185 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45186 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45187 * sysdeps/sh/init-first.c (init): Likewise.
45188
cfa633f5
UD
451892012-04-01 Ulrich Drepper <drepper@gmail.com>
45190
45191 * po/ru.po: Update from translation team.
d1635ef8 45192 * po/vi.po: Likewise.
cfa633f5 45193
6cd0a5ea
SP
451942012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45195
45196 * resolv/nss_dns/dns-host.c: Merge copyright years.
45197
4b43400f
LD
451982012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45199
45200 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45201 Optimize memcpy with prefetch if
45202 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45203 src, dst pointers have unequal 16 byte alignments.
45204
48c41d04
SP
452052012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45206
45207 [BZ #13928]
45208 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45209 from a CNAME entry and return the minimum ttl for the query.
45210 (gaih_getanswer_slice): Likewise.
45211
b8dc394d
JL
452122012-03-30 Jeff Law <law@redhat.com>
45213
45214 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45215 due to long keys.
45216 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45217 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45218
2f5a5ed0
JL
45219 * resolv/nss_dns/dns-host.c: Update copyright year.
45220
1d39e359
UD
452212012-03-30 Ulrich Drepper <drepper@gmail.com>
45222
c030f70c 45223 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45224 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45225
1d39e359
UD
45226 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45227 comments for sendmmsg.
45228
452292012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45230
45231 [BZ #13691]
45232 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45233 with only 1 character between 0x0041 and 0x01b0.
45234 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45235 * wcsmbs/tst-mbsnrtowcs.c: New file.
45236
20fde227
DM
452372012-03-29 David S. Miller <davem@davemloft.net>
45238
45239 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45240 small copies by hand.
45241
984a4237
JL
452422012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45243
45244 [BZ #13761]
57f41c40
AS
45245 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45246 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45247 group memberships.
984a4237 45248
18c9d62b
DM
452492012-03-28 David S. Miller <davem@davemloft.net>
45250
88d85d4f
DM
45251 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45252 that branches into memcpy.
45253 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45254 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45255 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45256 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45258 bits.
45259 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45260 implementation too.
45261 * sysdeps/sparc/mempcpy.S: New file.
45262
e5aa83e1
DM
45263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45264 the IFUNC routine in the libc case.
45265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45266
88570753
DM
45267 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45268 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45269 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45270 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45271 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45272 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45273 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45274 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45275
249d7567
DM
45276 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45277 loop to 256 bytes instead of 64 bytes and fix test signedness.
45278
18c9d62b
DM
45279 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45280 * sysdeps/sparc/sparc32/Makefile: rather than here...
45281 * sysdeps/sparc/sparc64/Makefile: and here.
45282
05f3d1f6
UD
452832012-03-28 Ulrich Drepper <drepper@gmail.com>
45284
45285 * malloc/mallocbug.c: Avoid warnings about unused variables.
45286
86ae07a8
JL
452872012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45288
45289 [BZ #13760]
45290 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45291 in the right place. Discard and retry query if response is
45292 larger than input buffer size.
45293
41bf21a1
JM
452942012-03-28 Joseph Myers <joseph@codesourcery.com>
45295
d6270972
JM
45296 [BZ #369]
45297 [BZ #2678]
45298 [BZ #3866]
45299 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45300 x for large integer exponent.
45301 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45302 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45303 sign of result as needed afterwards.
45304 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45305 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45306 result for underflowing pow the same as for overflow.
45307 (__kernel_standard_l): Handle powl overflow and underflow here
45308 rather than calling __kernel_standard.
45309 * math/libm-test.inc (pow_test): Add more tests.
45310
414fca03 45311 [BZ #3868]
41bf21a1
JM
45312 [BZ #13879]
45313 [BZ #13910]
45314 [BZ #13911]
45315 [BZ #13912]
45316 [BZ #13913]
45317 [BZ #13915]
45318 [BZ #13916]
45319 [BZ #13917]
45320 [BZ #13918]
45321 [BZ #13919]
45322 [BZ #13920]
45323 [BZ #13921]
45324 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45325 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45326 (__kernel_standard_l): New function.
45327 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45328 __kernel_standard.
45329 * math/w_acosl.c (__acosl): Likewise.
45330 * math/w_asinl.c (__asinl): Likewise.
45331 * math/w_atan2l.c (__atan2l): Likewise.
45332 * math/w_atanhl.c (__atanhl): Likewise.
45333 * math/w_coshl.c (__coshl): Likewise.
45334 * math/w_exp10l.c (__exp10l): Likewise.
45335 * math/w_exp2l.c (__exp2l): Likewise.
45336 * math/w_fmodl.c (__fmodl): Likewise.
45337 * math/w_hypotl.c (__hypotl): Likewise.
45338 * math/w_j0l.c (__j0l, __y0l): Likewise.
45339 * math/w_j1l.c (__j1l, __y1l): Likewise.
45340 * math/w_jnl.c (__jnl, __ynl): Likewise.
45341 * math/w_lgammal.c (__lgammal): Likewise.
45342 * math/w_log10l.c (__log10l): Likewise.
45343 * math/w_log2l.c (__log2l): Likewise.
45344 * math/w_logl.c (__logl): Likewise.
45345 * math/w_powl.c (__powl): Likewise.
45346 * math/w_remainderl.c (__remainderl): Likewise.
45347 * math/w_scalbl.c (sysv_scalbl): Likewise.
45348 * math/w_sinhl.c (__sinhl): Likewise.
45349 * math/w_sqrtl.c (__sqrtl): Likewise.
45350 * math/w_tgammal.c (__tgammal): Likewise.
45351 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45352 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45353 * math/libm-test.inc (acos_test): Add more tests.
45354 (acosh_test): Likewise.
45355 (asin_test): Likewise.
45356 (atanh_test): Likewise.
45357 (exp_test): Likewise.
45358 (exp10_test): Likewise.
45359 (exp2_test): Likewise.
45360 (expm1_test): Likewise.
45361 (lgamma_test): Likewise.
45362 (log_test): Likewise.
45363 (log10_test): Likewise.
45364 (log1p_test): Likewise.
45365 (log2_test): Likewise.
45366 (pow_test): Do not allow some spurious overflow exceptions.
45367 (sqrt_test): Add more tests.
45368 (tgamma_test): Likewise.
45369 (y0_test): Likewise.
45370 (y1_test): Likewise.
45371 (yn_test): Likewise.
45372
dd62fda6
AB
453732012-03-27 Anton Blanchard <anton@samba.org>
45374
45375 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45376 MAP_HUGETLB.
45377 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45378 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45379 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45380
1e3cdfda
AJ
453812012-03-27 David S. Miller <davem@davemloft.net>
45382
b855ab85
DM
45383 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45384
1e3cdfda
AJ
45385 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45386 have-as-vis3 check.
45387
453882012-03-27 Andreas Jaeger <aj@suse.de>
45389
45390 * sysdeps/x86_64/elf/configure.in: Moved to ...
45391 * sysdeps/x86_64/configure.in: ... here.
45392 * sysdeps/x86_64/elf/start.S: Moved to ...
45393 * sysdeps/x86_64/start.S: ... here.
45394 * sysdeps/x86_64/elf/configure: Delete.
45395
45396 * sysdeps/x86_64/configure.in: Merge contents from
45397 sysdeps/i386/configure.in (without i686 check).
45398
45399 * sysdeps/i386/elf/Versions: Merge into ...
45400 * sysdeps/i386/Versions: ... this.
45401 * sysdeps/i386/elf/Versions: Delete file.
45402 * sysdeps/i386/elf/start.S: Moved to ...
45403 * sysdeps/i386/start.S: ...here.
45404 * sysdeps/i386/elf/configure.in: Merge into...
45405 * sysdeps/i386/configure.in: ...here.
45406 * sysdeps/i386/elf/configure.in: Delete file.
45407 * sysdeps/i386/elf/configure: Delete file.
45408
45409 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45410 * debug/backtracesyms.c: ... here.
45411 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45412 * debug/backtracesymsfd.c: ... here.
45413 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45414 * sysdeps/generic/ifunc-sel.h: ... here.
45415
45416 * sysdeps/unix/i386/start.c: Delete file.
45417 * sysdeps/unix/sparc/start.c: Delete file.
45418 * sysdeps/unix/start.c: Delete file.
45419
45420 * sysdeps/sh/elf/configure.in: Moved to ...
45421 * sysdeps/sh/configure.in: ... here.
45422 * sysdeps/sh/elf/start.S: Moved to ...
45423 * sysdeps/sh/start.S: ... here.
45424 * sysdeps/sh/elf/configure: Delete file.
45425
45426 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45427 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45428 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45429 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45430 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45431 * sysdeps/powerpc/powerpc64/start.S: here.
45432 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45433 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45434 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45435 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45436 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45437
45438 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45439 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45440 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45441 * sysdeps/powerpc/powerpc32/start.S: ... here.
45442 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45443 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45444 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45445
45446 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45447 * sysdeps/powerpc/ifunc-sel.h: ... here.
45448 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45449 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45450
45451 * sysdeps/sparc/elf/configure.in: Moved to ...
45452 * sysdeps/sparc/configure.in: ... here.
45453 * sysdeps/sparc/elf/configure: Delete file.
45454 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45455 * sysdeps/sparc/sparc32/start.S: ... here.
45456 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45457 * sysdeps/sparc/sparc64/start.S: ... here.
45458 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45459 * sysdeps/sparc/sparc32/Makefile: ... this.
45460 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45461 * sysdeps/sparc/sparc64/Makefile: ... this.
45462
45463 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45464 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45465 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45466 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45467 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45468 * sysdeps/s390/s390-32/setjmp.S: ... here.
45469 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45470 * sysdeps/s390/s390-32/configure.in: ... here.
45471 * sysdeps/s390/s390-32/elf/configure: Delete file.
45472 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45473 * sysdeps/s390/s390-32/start.S: ... here.
45474
45475 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45476 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45477 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45478 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45479 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45480 * sysdeps/s390/s390-64/setjmp.S: ... here.
45481 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45482 * sysdeps/s390/s390-64/configure.in: ... here
45483 * sysdeps/s390/s390-64/elf/configure: Delete file.
45484 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45485 * sysdeps/s390/s390-64/start.S: ... here.
45486 * sysdeps/s390/s390-64/elf/configure: Delete.
45487
45488 * configure.in: Remove support for elf directories in sysdeps.
45489
45490 * configure: Regenerated.
45491 * sysdeps/i386/configure: Regenerated.
45492 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45493 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45494 * sysdeps/s390/s390-32/configure: Regenerated.
45495 * sysdeps/s390/s390-64/configure: Regenerated.
45496 * sysdeps/sh/configure: Regenerated.
45497 * sysdeps/sparc/configure: Regenerated.
45498 * sysdeps/x86_64/configure: Regenerated.
45499
a3f61311
AS
455002012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45501
c876e002
AS
45502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45503
a3f61311
AS
45504 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45505 denormal result into account.
45506
ac4c54f0
RM
455072012-03-25 Roland McGrath <roland@hack.frob.com>
45508
45509 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45510 Reported by Allan McRae <allan@archlinux.org>.
45511
6a9b9c02
JL
455122012-03-23 Jeff Law <law@redhat.com>
45513
45514 * nss/getnssent.c (__nss_getent): Fix typo.
45515
4c42a0c1
DM
455162012-03-23 David S. Miller <davem@davemloft.net>
45517
45518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45519
1532c7ac
L
455202012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45521
45522 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45523 to pad to uint64_t for each field.
45524 (dl_tls_index): Replace unsigned long with uint64_t.
45525
3ff42526
PP
455262012-03-23 Daniel Jacobowitz <dmj@google.com>
45527 Paul Pluzhnikov <ppluzhnikov@google.com>
45528
45529 [BZ #6528]
45530 * grp/Makefile (otherlibs): Don't set it.
45531 * inet/Makefile (otherlibs): Likewise.
45532 * login/Makefile (otherlibs): Likewise.
45533 * nscd/Makefile (otherlibs): Likewise.
45534 * posix/Makefile (otherlibs): Likewise.
45535 * pwd/Makefile (otherlibs): Likewise.
45536 * rt/Makefile (otherlibs): Likewise.
45537 * sunrpc/Makefile (otherlibs): Likewise.
45538 * nss/Makefile (otherlibs): Likewise.
45539 Add libnss_files to routines and static-only-routines.
45540 ($(objpfx)getent): Remove rule.
45541 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45542 static-only-routines.
45543
7c69cd14
JM
455442012-03-22 Joseph Myers <joseph@codesourcery.com>
45545
45546 [BZ #13892]
45547 * math/s_cexp.c: Include <float.h>.
45548 (__cexp): Handle exp result overflowing not necessarily
45549 overflowing both real and imaginary parts of result.
45550 * math/s_cexpf.c: Likewise.
45551 * math/s_cexpl.c: Likewise.
45552 * math/libm-test.inc (cexp_test): Add more tests.
45553 * sysdeps/i386/fpu/libm-test-ulps: Update.
45554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45555
81b035fe
L
455562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45557
45558 * include/link.h (ELFW): New macro.
45559 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45560 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45561
1da7940c
L
455622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45563
45564 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45565 with uint64_t.
45566
b749dbb9
L
455672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45568
45569 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45570 declaration.
45571 (struct La_x32_retval): Likewise.
45572
2ff87f3f
L
455732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45574
45575 * sysdeps/x86_64/preconfigure.in: New file.
45576 * sysdeps/x86_64/preconfigure: New generated file.
45577
c0df8e69
JM
455782012-03-22 Joseph Myers <joseph@codesourcery.com>
45579
48e44791
JM
45580 [BZ #13824]
45581 * math/e_exp2l.c: Include <float.h>.
45582 (__ieee754_exp2l): Handle overflow and underflow cases
45583 separately. Only pass fractional part of argument to
45584 __ieee754_expl.
45585 * math/libm-test.inc (exp2_test): Add more tests.
45586
c0df8e69
JM
45587 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45588 negating x to take absolute value.
45589 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45590 Likewise.
45591 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45592 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45593 Likewise.
45594 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45595 computing low part if x was negated.
45596 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45597
c8e43ba7
L
455982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45599
45600 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45601 la_x32_gnu_pltexit.
45602 (pltexit): Cast int_retval to ptrdiff_t.
45603 * elf/tst-auditmod3b.c: Likewise.
45604 * elf/tst-auditmod4b.c: Likewise.
45605 * elf/tst-auditmod5b.c: Likewise.
45606 * elf/tst-auditmod6b.c: Likewise.
45607 * elf/tst-auditmod6c.c: Likewise.
45608 * elf/tst-auditmod7b.c: Likewise.
45609
45610 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45611 and x32_gnu_pltexit.
45612
45613 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45614 __ELF_NATIVE_CLASS.
45615 (La_x32_regs): New macro.
45616 (La_x32_retval): Likewise.
45617 (la_x32_gnu_pltenter): New function prototype.
45618 (la_x32_gnu_pltexit): Likewise.
45619
7998fa78
AS
456202012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45621
dcb33988
AS
45622 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45623 exponent.
45624
233fc563
AS
45625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45626
7998fa78
AS
45627 * configure.in (libc_cv_cc_nofma): Check for option to disable
45628 generation of FMA instructions.
45629 * configure: Regenerate.
45630 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45631 * sysdeps/ieee754/dbl-64/Makefile: New file.
45632 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45633 Remove brandred-fma4.
45634 (CFLAGS-brandred-fma4.c): Remove.
45635 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45636 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45637 define.
45638 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45639 define.
45640
8e95c99a
L
456412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45642
45643 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45644 LLONG_MAX != LONG_MAX.
45645 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45646 (_fitoa_word): Likewise.
45647 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45648 LLONG_MAX != LONG_MAX.
45649 * stdio-common/_itowa.h: Include <_itoa.h>.
45650 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45651 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45652 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45653 only if not defined.
45654 (_ITOA_WORD_TYPE): Likewise.
45655 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45656 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45657
6f4db457
DM
456582012-03-21 David S. Miller <davem@davemloft.net>
45659
45660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45661
7785fe5a
L
456622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45663
45664 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45665 of x86_64 when setting libc_cv_slibdir, libdir and
45666 libc_cv_localedir.
45667 * sysdeps/unix/sysv/linux/configure: Regenerated.
45668
4535cd55
JM
456692012-03-21 Joseph Myers <joseph@codesourcery.com>
45670
45671 * manual/lang.texi (Old Varargs): Remove section.
45672 (How Variadic): Update menu.
45673 (va_start): Do not mention varargs.h.
45674
17228132
TS
456752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45676 Joseph Myers <joseph@codesourcery.com>
45677
45678 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45679 link test.
45680 * configure: Regenerated.
45681
8149f976
TS
456822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45683
05f3d1f6
UD
45684 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45685 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45686 conformtest.pl
8149f976 45687
1a4ac776
JM
456882012-03-21 Joseph Myers <joseph@codesourcery.com>
45689
be22ce65
JM
45690 * NOTES: Remove.
45691 * Makefile (files-for-dist): Remove NOTES.
45692 (NOTES): Remove rule.
45693 * README: Don't refer to NOTES.
45694 * manual/creature.texi: Don't include macros.texi.
45695 * manual/intro.texi (creature.texi): Remove comment referring to
45696 NOTES.
45697
40b601fb
JM
45698 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45699 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45700 * configure: Regenerated.
45701 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45702 LIBC_TRY_CC_OPTION.
45703 (libc_cv_as_i686): Likewise.
45704 (libc_cv_cc_avx): Likewise.
45705 (libc_cv_cc_sse2avx): Likewise.
45706 (libc_cv_cc_fma4): Likewise.
45707 (libc_cv_cc_novzeroupper): Likewise.
45708 * sysdeps/i386/configure: Regenerated.
45709
1a4ac776
JM
45710 [BZ #13883]
45711 * sysdeps/i386/fpu/s_cexp.S: Remove.
45712 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45713 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45714 * math/libm-test.inc (cexp_test): Add more tests.
45715 * sysdeps/i386/fpu/libm-test-ulps: Update.
45716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45717
a458e7fe
AM
457182012-03-21 Allan McRae <allan@archlinux.org>
45719
45720 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45721
0cb7efc5
JM
457222012-03-21 Joseph Myers <joseph@codesourcery.com>
45723
45724 [BZ #13871]
45725 * math/w_exp2.c: Do not include <float.h>.
45726 (o_threshold, u_threshold): Remove.
45727 (__exp2): Calculate result before checking finiteness and calling
45728 __kernel_standard.
45729 * math/w_exp2f.c: Likewise.
45730 * math/w_exp2l.c: Likewise.
45731 * math/libm-test.inc (exp2_test): Require overflow exception for
45732 1e6 input.
2460d3aa
JM
45733
45734 [BZ #3866]
45735 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45736 range of signed 64-bit integers before using fistpll. Remove
45737 checks for whether integers fit in mantissa bits.
45738 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45739 the range of signed 32-bit integers before using fistpl. Remove
45740 checks for whether integers fit in mantissa bits.
45741 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45742 (__ieee754_powl): Test for y outside the range of signed 64-bit
45743 integers before using fistpll. Reduce 64-bit values to 63-bit
45744 ones as needed.
45745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45746 divide-by-zero is raised for zero to large negative powers.
45747 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45748 (__ieee754_powl): Test for y outside the range of signed 64-bit
45749 integers before using fistpll. Reduce 64-bit values to 63-bit
45750 ones as needed.
45751 * math/libm-test.inc (pow_test): Add more tests.
45752
eb96ffb0
L
457532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45754
45755 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45756 <stdio-common/_itoa.h>.
45757 * debug/segfault.c: Likewise.
45758 * elf/dl-cache.c: Likewise.
45759 * elf/dl-minimal.c: Likewise.
45760 * elf/dl-misc.c: Likewise.
45761 * elf/dl-sysdep.c: Likewise.
45762 * elf/dl-version.c: Likewise.
45763 * elf/rtld.c: Likewise.
45764 * hurd/hurdsock.c: Likewise.
45765 * hurd/lookup-retry.c: Likewise.
45766 * malloc/malloc.c: Likewise.
45767 * malloc/mtrace.c: Likewise.
45768 * nscd/nscd_getgr_r.c: Likewise.
45769 * nscd/nscd_getpw_r.c: Likewise.
45770 * nscd/nscd_getserv_r.c: Likewise.
45771 * posix/getopt_init.c: Likewise.
45772 * posix/wordexp.c: Likewise.
45773 * stdio-common/_itoa.c: Likewise.
45774 * stdio-common/printf_fphex.c: Likewise.
45775 * stdio-common/vfprintf.c: Likewise.
45776 * string/_strerror.c: Likewise.
45777 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45778 * sysdeps/i386/i686/hp-timing.h: Likewise.
45779 * sysdeps/mach/_strerror.c: Likewise.
45780 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45781 * sysdeps/mach/hurd/sethostid.c: Likewise.
45782 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45783 * sysdeps/mach/xpg-strerror.c: Likewise.
45784 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45785 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45786 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45787 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45788 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45789 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45790 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45791 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45792 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45793 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45794 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45795 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45796 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45797 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45798 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45799 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45800 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45801 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45802 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45803 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45804 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45805
45806 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45807
45808 * stdio-common/_itoa.h: Moved to ...
45809 * sysdeps/generic/_itoa.h: Here.
45810
45811 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45812
45813 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45814 instead of "_itoa.h" and "_itowa.h".
45815 * stdio-common/vfprintf.: Likewise.
45816
d1af992d
L
458172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45818
45819 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45820 <bits/wordsize.h>.
45821 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45822 (__signbit): Likwise.
45823 (llrintf): Likwise.
45824 (llrint): Likwise.
45825
114883e0
L
458262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45827
45828 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45829 __WORDSIZE != 64.
45830
c135cc1b
JM
458312012-03-20 Joseph Myers <joseph@codesourcery.com>
45832
45833 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45834 OVERFLOW_EXCEPTION_OK.
45835 * math/libm-test.inc ("Philosophy"): Update comment about
45836 exception testing.
45837 (OVERFLOW_EXCEPTION): Define.
45838 (OVERFLOW_EXCEPTION_OK): Likewise.
45839 (INVALID_EXCEPTION_OK): Renumber.
45840 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45841 (IGNORE_ZERO_INF_SIGN): Likewise.
45842 (test_exceptions): Handle FE_OVERFLOW.
45843 (exp10_test): Expect overflow exceptions.
45844 (exp2_test): Likewise.
45845 (expm1_test): Likewise.
45846 (nextafter_test): Likewise.
45847 (pow_test): Likewise.
45848 (scalbn_test): Likewise.
45849 (scalbln_test): Likewise.
45850
95443d88
L
458512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45852
45853 * sysdeps/x86_64/bits/atomic.h
45854 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45855 64bit integer.
45856 (atomic_exchange_acq): Likewise.
45857 (__arch_exchange_and_add_body): Likewise.
45858 (__arch_add_body): Likewise.
45859 (atomic_add_negative): Likewise.
45860 (atomic_add_zero): Likewise.
45861
490df6c4
L
458622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45863
c2722551 45864 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45865 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45866
5e52b189
L
458672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45868
45869 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45870 Check __x86_64__ instead of __WORDSIZE.
45871
a9879d4c
L
458722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45873
45874 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45875
5df98260
DM
458762012-03-19 David S. Miller <davem@davemloft.net>
45877
e1497744
DM
45878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45879
5df98260
DM
45880 * sysdeps/sparc/fpu/fenv_private.h: New file.
45881 * sysdeps/sparc/fpu/math_private.h: Use it.
45882 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45883 Remove.
57f41c40 45884 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45885 (libc_feholdexcept_setroundl): Remove.
45886 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45887 Remove.
45888 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45889 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45890
b4c35121
L
458912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45892
45893 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45894 int64_t instead of long int.
45895 (INSERT_WORDS64): Likwise.
45896
56965fd7
L
458972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45898
45899 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45900 _Unwind_GetCFA return to _Unwind_Ptr first.
45901
83d1aec8
JM
459022012-03-19 Joseph Myers <joseph@codesourcery.com>
45903
1897ad44
JM
45904 [BZ #13629]
45905 * math/s_clog.c: Include <float.h>.
45906 (__clog): Scale large or subnormal inputs.
45907 * math/s_clogf.c: Likewise.
45908 * math/s_clogl.c: Likewise.
45909 * math/s_clog10.c: Include <float.h>.
45910 (M_LOG10_2): Define.
45911 (__clog10): Scale large or subnormal inputs.
45912 * math/s_clog10f.c: Likewise.
45913 * math/s_clog10l.c: Likewise.
45914 * math/libm-test.inc (clog_test): Add more tests.
45915 (clog10_test): Likewise.
45916 * sysdeps/i386/fpu/libm-test-ulps: Update.
45917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45918
7726d6a9
JM
45919 [BZ #11451]
45920 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45921 x and y.
45922 * math/libm-test.inc (atan2_test): Add another test.
45923
83d1aec8
JM
45924 * Makerules (common-objdir-compile): Remove.
45925 * sysdeps/unix/Makefile (config-generated): Do not add
45926 $(unix-generated) to variable.
45927 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45928 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45929 Remove rule.
45930 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45931 Likewise.
45932 [generic bits/local_lim.h] (before-compile): Do not append to
45933 variable.
45934 [generic bits/local_lim.h] (common-generated): Likewise.
45935 [generic sys/param.h] (before-compile): Do not append to variable.
45936 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45937 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45938 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45939 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45940 include.
45941 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45942 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45943 [generic sys/param.h] ($(addprefix
45944 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45945 [generic sys/param.h] (common-generated): Do not append to
45946 variable.
45947 [generic sys/param.h] (sysdep_headers): Likewise.
45948 [generic bits/errno.h] (before-compile): Do not append to
45949 variable.
45950 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45951 rule.
45952 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45953 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45954 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45955 [generic bits/errno.h] (common-generated): Do not append to
45956 variable.
45957 [generic bits/ioctls.h] (before-compile): Do not append to
45958 variable.
45959 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45960 rule.
45961 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45962 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45963 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45964 rule.
45965 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45966 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45967 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45968 [generic bits/ioctls.h] (common-generated): Do not append to
45969 variable.
45970 [generic sys/syscall.h] (syscall.h): Remove variable.
45971 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45972 rule.
45973 [generic sys/syscall.h] (before-compile): Do not append to
45974 variable.
45975 [generic sys/syscall.h] (common-generated): Likewise.
45976 * sysdeps/unix/errnos-tmpl.c: Remove file.
45977 * sysdeps/unix/errnos.awk: Likewise.
45978 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45979 * sysdeps/unix/ioctls.awk: Likewise.
45980 * sysdeps/unix/mk-local_lim.c: Likewise.
45981 * sysdeps/unix/snarf-ioctls: Likewise.
45982
4851a949
RH
459832012-03-19 Richard Henderson <rth@twiddle.net>
45984
bd37f2ee
RH
45985 * sysdeps/i386/fpu/fenv_private.h: New file.
45986 * sysdeps/i386/fpu/math_private.h: Use it.
45987 (math_opt_barrier, math_force_eval): Remove.
45988 (libc_feholdexcept_setround_53bit): Remove.
45989 (libc_feupdateenv_53bit): Remove.
45990 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45991 (math_opt_barrier, math_force_eval): Remove.
45992 (libc_feholdexcept): Remove.
45993 (libc_feholdexcept_setround): Remove.
45994 (libc_fetestexcept, libc_fesetenv): Remove.
45995 (libc_feupdateenv_test): Remove.
45996 (libc_feupdateenv, libc_feholdsetround): Remove.
45997 (libc_feresetround): Remove.
45998
d0adc922
RH
45999 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46000 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46001
0fe0f1f8
RH
46002 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46003 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46004 (libc_feupdateenv_testl): New.
46005 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46006 (libc_feupdateenv_testf): New.
46007 (libc_feupdateenv): Use libc_feupdateenv_test.
46008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46009 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46010
eb92c487
RH
46011 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46012 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46013 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46014 (libc_feresetround_noex): New.
46015 (libc_feresetround_noexf): New.
46016 (libc_feresetround_noexl): New.
46017 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46018 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46019 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46020 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46021 SET_RESTORE_ROUND.
46022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46023 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46024 (__cos): Likewise.
46025 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46026 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46027 SET_RESTORE_ROUND_NOEX.
46028 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46029 SET_RESTORE_ROUND_NOEXF.
46030 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46031 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46032 (libc_feholdsetroundf): New.
46033 (libc_feresetround, libc_feresetroundf): New.
46034
7d2e8012
RH
46035 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46036 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46037 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46038
b4dabbb4
RH
46039 * sysdeps/generic/math_private.h: Include <fenv.h>.
46040 (default_libc_feholdexcept): New.
46041 (default_libc_feholdexcept_setround): New.
46042 (default_libc_fesetenv, default_libc_feupdateenv): New.
46043 (libc_feholdexcept): Only define if undefined.
46044 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46045 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46046 (libc_feholdexcept_setroundl): Likewise.
46047 (libc_feholdexcept_setround_53bit): Likewise.
46048 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46049 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46050 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46051 (libc_feupdateenv_53bit): Likewise.
46052 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46053 (libc_feholdexcept): Convert from macro to inline function.
46054 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46055 (libc_fesetenv, libc_feupdateenv): Likewise.
46056
4851a949
RH
46057 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46058 not previously defined.
46059 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46060 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46061 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46062 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46063 * sysdeps/ieee754/flt-32/math_private.h: New file.
46064 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46065 math_private.h below SET_FLOAT_WORD.
46066 (__isnan, __isinf_ns, __finite): Remove.
46067 (__isnanf, __isinf_nsf, __finitef): Remove.
46068
e79d442e
AS
460692012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46070
46071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46072
90b80344
DM
460732012-03-17 David S. Miller <davem@davemloft.net>
46074
46075 [BZ #6471]
46076 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46077 for 2.16.
46078
edc21804
DM
460792012-03-16 David S. Miller <davem@davemloft.net>
46080
77e927af
DM
46081 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46082 warnings.
46083
374976dd
DM
46084 [BZ #6471]
46085 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46086 properly.
46087 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46088 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46089 sysdep_routines when subdir is sysvipc.
46090 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46091 __getshmlba helper.
46092
edc21804
DM
46093 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46094
473c3ef3
L
460952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46096
46097 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46098 [__LP64__].
46099
eb0f39b6
L
461002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46101
46102 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46103 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46104 (__lround): Renamed to ...
46105 (__llround): This. Replace long int with long long int.
46106 Define lround functions as aliases of llround functions.
46107 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46108
6b6cd74b
L
461092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46110
46111 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46112 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46113 adresses to uintptr_t. Replace "long int" and "unsigned long
46114 int" with "greg_t" on va_arg.
46115
f1a77b01
L
461162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46117
46118 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46119 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46120
46121 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46122 Move e_machine check before EI_CLASS check. Handle x32
46123 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46124 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46125 SKIP_EM_IA_64 and include
46126 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46127
46128 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46129 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46130 (add_system_dir): New macro.
46131
46132 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46133 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46134
11b90b9f
JM
461352012-03-16 Joseph Myers <joseph@codesourcery.com>
46136
c36e1d23
JM
46137 [BZ #2551]
46138 [BZ #2552]
46139 [BZ #2553]
46140 [BZ #2554]
46141 [BZ #2562]
46142 [BZ #2563]
46143 [BZ #2565]
46144 [BZ #2566]
46145 [BZ #2576]
46146 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46147 (y0): Likewise.
46148 * math/w_j0f.c (j0f): Likewise.
46149 (y0f): Likewise.
46150 * math/w_j0l.c (__j0l): Likewise.
46151 (__y0l): Likewise.
46152 * math/w_j1.c (j1): Likewise.
46153 (y1): Likewise.
46154 * math/w_j1f.c (j1f): Likewise.
46155 (y1f): Likewise.
46156 * math/w_j1l.c (__j1l): Likewise.
46157 (__y1l): Likewise.
46158 * math/w_jn.c (jn): Likewise.
46159 (yn): Likewise.
46160 * math/w_jnf.c (jnf): Likewise.
46161 (ynf): Likewise.
46162 * math/w_jnl.c (__jnl): Likewise.
46163 (__ynl): Likewise.
46164 * math/libm-test.inc (j0_test): Add more tests.
46165 (j1_test): Likewise.
46166 (jn_test): Likewise. Add trailing semicolon to existing test.
46167 (y0_test): Likewise.
46168 (y1_test): Likewise.
46169 * sysdeps/i386/fpu/libm-test-ulps: Update.
46170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46171
11b90b9f
JM
46172 [BZ #13851]
46173 [BZ #13854]
46174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46175 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46176 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46177 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46178 (__tanl): Set errno for infinite argument.
46179 * sysdeps/i386/fpu/mptan.c: Remove.
46180 * sysdeps/i386/fpu/s_tan.S: Likewise.
46181 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46182 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46183 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46184 * math/libm-test.inc (tan_test): Add more tests and enable more
46185 tests for double and long double.
46186 * sysdeps/i386/fpu/libm-test-ulps: Update.
46187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46188
6a1bd2a1
JK
461892012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46190
46191 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46192 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46193
10a803e0
RM
461942012-03-16 Roland McGrath <roland@hack.frob.com>
46195
46196 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46197 * configure.in: Use it for both main tree and add-ons.
46198 * configure: Regenerated.
46199
f196c7f7
L
462002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46201
46202 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46203
8848d99d
JM
462042012-03-16 Joseph Myers <joseph@codesourcery.com>
46205
96cbe7f4
JM
46206 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46207 in comment.
46208
8848d99d
JM
46209 [BZ #13851]
46210 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46211 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46212 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46213 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46215 infinite argument.
46216 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46217 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46218 != 0 for prec == 2.
46219 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46220 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46221 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46222 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46223 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46224 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46225 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46226 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46227 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46228 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46229 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46230 * math/libm-test.inc (cos_test): Add more tests and enable more
46231 tests for long double.
46232 (sin_test): Likewise.
46233 (sincos_test): Likewise.
46234 * sysdeps/i386/fpu/libm-test-ulps: Update.
46235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46236
dd7f4703
DM
462372012-03-16 David S. Miller <davem@davemloft.net>
46238
46239 * sysdeps/sparc/fpu/math_private.h: New file.
46240
006f1daa
DM
462412012-03-15 David S. Miller <davem@davemloft.net>
46242
c0c83bc8
DM
46243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46244 file.
e6a62e18 46245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46247 file.
e6a62e18
DM
46248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46254 sysdep routines.
46255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46256
88cb87d9
DM
46257 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46258 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46259
006f1daa 46260 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46262 sparc-ifunc.h
006f1daa 46263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46265 Likewise.
46266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46267 Likewise.
006f1daa
DM
46268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46272 Likewise.
006f1daa
DM
46273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46278 Likewise.
46279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46280 Likewise.
006f1daa
DM
46281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46305
11e0098e
AS
463062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46307
46308 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46309 scaling.
46310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46311
e85b09d0
AJ
463122012-03-15 Andreas Jaeger <aj@suse.de>
46313
46314 [BZ #13852]
46315 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46316 ieee754/flt-32 implementation for sin, cos and sincos.
46317 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46318 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46319 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46320 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46321 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46322 ieee754/flt-32 implementation for tan.
46323
46324 * math/libm-test.inc (cos_test): Enable some large input tests for
46325 float as well
46326 (sin_test): Likewise.
46327 (sincos_test): Likewise.
46328 (tan_test): Add tests for large input.
46329
46330 * sysdeps/i386/fpu/libm-test-ulps: Update.
46331
81c64153
AJ
463322012-03-15 Andreas Jaeger <aj@suse.de>
46333
46334 [BZ #13658]
46335 * math/libm-test.inc (cos_test): Add more test cases.
46336 (sin_test): Likewise.
46337 (sincos_test): Likewise.
46338
7bbfa5c6
AJ
463392012-03-15 Andreas Jaeger <aj@suse.de>
46340
46341 [BZ #13837]
46342 * math/libm-test.inc (cos_test): Add a test case for large input
46343 value.
46344 (sin_test): Likewise.
46345 (sincos_test): Likewise.
46346
57f41c40
AS
463472012-03-15 Andreas Jaeger <aj@suse.de>
46348 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46349
46350 [BZ #13658]
0671f479 46351 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46352 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46353 * sysdeps/i386/fpu/branred.c: Likewise.
46354 * sysdeps/i386/fpu/dosincos.c: Likewise.
46355 * sysdeps/i386/fpu/mpa.c: Likewise.
46356 * sysdeps/i386/fpu/s_cos.S: Likewise.
46357 * sysdeps/i386/fpu/s_sin.S: Likewise.
46358 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46359 * sysdeps/i386/fpu/sincos32.c: Likewise.
46360
46361 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46362 Define.
46363 (libc_feupdateenv_53bit): Define.
46364 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46365 Define.
46366 (libc_feupdateenv_53bit): Define.
46367
46368 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46369 53 bit (without extend i386 double precision).
46370
46371 * math/libm-test.inc (sincos_test): Add tests for large input.
46372 (sin): Likewise.
46373 (cos): Likewise.
46374
46375 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46376
9cad04ea
AS
463772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46378
46379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46380
f7062b9a
DM
463812012-03-15 David S. Miller <davem@davemloft.net>
46382
46383 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46384 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46385 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46386 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46399 file.
f7062b9a 46400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46402 file.
f7062b9a 46403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46405 file.
f7062b9a 46406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46408 file.
f7062b9a
DM
46409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46411 fmin/fmax sysdep routines.
46412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46413
7bd951ff
DM
464142012-03-14 David S. Miller <davem@davemloft.net>
46415
559398ab
DM
46416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46442 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46444 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46445 routines.
46446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46447 file.
559398ab 46448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46450 file.
559398ab 46451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46453 file.
559398ab 46454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46456 file.
559398ab 46457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46459 file.
559398ab 46460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46462 file.
46463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46464 file.
46465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46466 file.
46467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46468 file.
46469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46470 New file.
46471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46472 file.
46473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46474 file.
559398ab 46475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46477 file.
559398ab 46478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46480 file.
559398ab 46481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46483 file.
559398ab 46484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46486 VIS3 routines.
559398ab
DM
46487
46488 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46489 New file.
46490
5a1c1e32
DM
46491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46492
eae47a36
DM
46493 * sysdeps/sparc/configure.in: New file.
46494 * sysdeps/sparc/configure: Generate.
46495 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46496 * configure: Regenerate.
46497 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46498 * config.make.in (have-as-vis3): New.
46499 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46500 available use -Av9d instead of -Av9a.
46501 * sysdeps/sparc/sparc64/Makefile: Likewise.
46502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46504 New file.
46505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46506 file.
46507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46508 New file.
46509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46510 file.
eae47a36
DM
46511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46513 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46516
c0c83bc8
DM
46517 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46518 fzeros/fnegs to load 0x80000000 into a float register instead of
46519 using the stack.
7bd951ff
DM
46520 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46521
bd951ccb
JM
465222012-03-14 Joseph Myers <joseph@codesourcery.com>
46523
46524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46525 bits/syscall.h.
46526 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46527 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46528 ($(inst_includedir)/bits/syscall.h): Remove rule.
46529 ($(objpfx)bits/syscall.d): Include instead of
46530 $(objpfx)syscall-list.d.
46531 (generated): Change syscall-list.h and syscall-list.d to
46532 bits/syscall.h and bits/syscall.d.
46533
bb4e6db2
RM
465342012-03-14 Roland McGrath <roland@hack.frob.com>
46535
46536 [BZ #13846]
46537 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46538
aa4a2ae1
JM
465392012-03-14 Joseph Myers <joseph@codesourcery.com>
46540
e456826d
JM
46541 [BZ #13841]
46542 * math/s_csqrt.c: Include <float.h>.
46543 (__csqrt): Scale large or subnormal inputs.
46544 * math/s_csqrtf.c: Likewise.
46545 * math/s_csqrtl.c: Likewise.
46546 * math/libm-test.inc (csqrt_test): Add more tests.
46547 * sysdeps/i386/fpu/libm-test-ulps: Update.
46548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46549
aa4a2ae1
JM
46550 [BZ #13840]
46551 * math/libm-test.inc (hypot_test): Add more tests.
46552
7c10fd35
DM
465532012-03-13 David S. Miller <davem@davemloft.net>
46554
46555 [BZ #13840]
46556 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46557 double-precision for the calculation instead of scaling.
46558
f453b98b
JM
465592012-03-13 Joseph Myers <joseph@codesourcery.com>
46560
46561 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46562 manipulate bits before adding and subtracting TWO52[sx].
46563 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46564 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46565 Likewise.
46566 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46567
09a3453f
DM
465682012-03-13 David S. Miller <davem@davemloft.net>
46569
8e59da90
DM
46570 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46571 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46573 rtld-global-offsets.h
46574 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46575
2a8ab7f2
DM
46576 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46577 large parameters.
46578
10f62770
DM
46579 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46580
5f0bdb18
DM
46581 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46582 'err' in the ifdef scope in which it is actually used.
46583
09a3453f
DM
46584 * nss/nss_db/db-init.c: Include string.h
46585
b4b2eb5e
DM
465862012-03-12 David S. Miller <davem@davemloft.net>
46587
98bb2f1c
DM
46588 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46589 masking out of the most significant byte of random value used.
46590 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46591 Fix coding style in previous change.
46592
b4b2eb5e
DM
46593 * sysdeps/unix/sysv/linux/kernel-features.h
46594 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46595 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46596 expression.
46597 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46598 later.
46599
6e226b09
DM
466002012-03-11 David S. Miller <davem@davemloft.net>
46601
a1bcbd40
DM
46602 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46603 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46605 for 'resultvar' otherwise things get truncated on 64-bit.
46606
cb9d6174
DM
46607 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46608 Fix masking out of the most significant byte of random value used.
46609
6e226b09
DM
46610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46611
058c132d
AS
466122012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46613
46614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46615
2d2cd515
DM
466162012-03-09 David S. Miller <davem@davemloft.net>
46617
46618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46619 variables with appropriate CPP guards.
57f41c40
AS
46620 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46621 from the frame pointer, not the stack pointer. Correct layout
46622 comments. Fix test on resulting framesize and the management of
46623 the outregs buffer for pltexit. Preserve floating point return
46624 values across _dl_call_pltexit call.
2d2cd515
DM
46625 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46626 framesize and the management of the outregs buffer for pltexit.
46627 Preserve floating point return values across _dl_call_pltexit
46628 call.
57f41c40
AS
46629 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46630 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46631 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46632 (print_exit): Fix format string for return register value.
46633
9a07f9d0
JM
466342012-03-10 Joseph Myers <joseph@codesourcery.com>
46635
46636 * sunrpc/Makefile (others): Add rpcgen.
46637 ($(objpfx)rpcgen): Remove special build rule and dependency on
46638 libc.
46639 * sunrpc/rpcgen.c: New file.
46640
547b5e30
PE
466412012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46642
c524201a
PE
46643 [BZ #13673]
46644 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46645 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46646 * sysdeps/i386/crti.S: Likewise.
46647 * sysdeps/i386/crtn.S: Likewise.
46648 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46649 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46650 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46651 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46652 * sysdeps/sh/crti.S: Likewise.
46653 * sysdeps/sh/crtn.S: Likewise.
46654 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46655
7b6235f2
PE
46656 [BZ #13673]
46657 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46658 with URL.
46659 * locale/programs/locfile-kw.gperf: Likewise.
46660 * locale/programs/charmap-kw.h: Regenerated.
46661 * locale/programs/locfile-kw.h: Likewise.
46662
547b5e30
PE
46663 [BZ #13673]
46664 * intl/plural.y: Replace FSF snail mail address with URL.
46665 * intl/plural.c: Regenerated.
46666
5f0a5dae
RH
466672012-03-09 Richard Henderson <rth@twiddle.net>
46668
46669 * include/math_private.h: Remove file.
46670 * math/math_private.h: Move file ...
46671 * sysdeps/generic/math_private.h: ... here.
46672
b8c03620
RH
46673 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46674 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46675 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46676
4e234f5d 46677 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46678 and <math_private.h>.
46679 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46680 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46681 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46682 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46683 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46684 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46685 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46686 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46687 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46688 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46689 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46690 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46691 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46692 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46693 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46694 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46695 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46696 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46697 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46698 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46700 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46701 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46703 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46705 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46706 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46708 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46709 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46711 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46712 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46713 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46714 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46715 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46716 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46717 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46719 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46720 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46721 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46722 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46724 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46727 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46728 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46729 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46730 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46731 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46732 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46733 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46734 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46735 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46736 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46737 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46738 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46739 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46740 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46742 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46743 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46744 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46745 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46746 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46747 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46748 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46750 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46751 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46752 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46753 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46757 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46758 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46759 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46760 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46761 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46762 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46763 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46766 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46767 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46768 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46769 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46770 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46771 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46772 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46773 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46774 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46775 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46776 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46777 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46778 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46779 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46780 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46781 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46782 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46783 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46784 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46785 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46786 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46787 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46788 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46789 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46790 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46791 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46792 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46793 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46794 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46795 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46796 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46797 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46798 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46799 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46800 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46801 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46802 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46803 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46804 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46805 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46806 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46807 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46808 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46809 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46810 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46811 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46812 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46813 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46814 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46815 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46816 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46817 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46818 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46819 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46820 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46821 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46822 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46823 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46824 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46825 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46826 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46827 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46828 * sysdeps/ieee754/k_standard.c: Likewise.
46829 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46830 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46831 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46832 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46833 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46834 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46835 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46836 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46837 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46838 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46839 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46840 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46841 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46842 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46843 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46844 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46845 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46848 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46849 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46850 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46852 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46853 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46854 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46855 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46856 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46857 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46858 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46859 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46860 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46861 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46862 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46863 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46864 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46865 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46866 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46867 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46868 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46869 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46870 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46871 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46872 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46873 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46874 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46875 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46876 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46877 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46878 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46879 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46880 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46881 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46882 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46883 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46884 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46885 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46886 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46887 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46888 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46889 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46890 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46891 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46892 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46893 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46894 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46895 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46896 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46898 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46899 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46901 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46902 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46903 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46904 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46905 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46906 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46907 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46908 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46909 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46910 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46911 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46912 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46913 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46914 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46915 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46916 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46917 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46918 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46919 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46920 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46921 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46922 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46923 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46924 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46925 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46926 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46927 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46928 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46930 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46931 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46932 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46933 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46934 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46935 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46936 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46937 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46938 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46939 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46940 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46941 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46942 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46943 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46944 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46945 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46946 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46947 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46948 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46949 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46950 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46951 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46952 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46953 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46954 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46955 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46956 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46957 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46958 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46959 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46960 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46961 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46962 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46963 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46964 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46965 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46966 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46967 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46968 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46969 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46970 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46971 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46972 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46973 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46974 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46975 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46976 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46977 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46978 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46979 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46980 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46981 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46982 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46983 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46984 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46985 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46986 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46987 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46988 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46989 * sysdeps/ieee754/s_lib_version.c: Likewise.
46990 * sysdeps/ieee754/s_matherr.c: Likewise.
46991 * sysdeps/ieee754/s_signgam.c: Likewise.
46992 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46993 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46994 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46995 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46996 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46997 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46998 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46999 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47000 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47001 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47002 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47003 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47004 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47005 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47006 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47007 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47008 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47009 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47010 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47012 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47013
1991fa03
JM
470142012-03-09 Joseph Myers <joseph@codesourcery.com>
47015
47016 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47017 * sunrpc/rpc_main.c: Likewise.
47018 * sunrpc/rpc_svcout.c: Likewise.
47019
60d6f5a6
DM
470202012-03-09 David S. Miller <davem@davemloft.net>
47021
47022 * include/math_private.h: New file.
47023
4962050e
JM
470242012-03-09 Joseph Myers <joseph@codesourcery.com>
47025
02a6f887
JM
47026 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47027 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47028 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47029 from <bits/socket_type.h>.
47030 (enum __socket_type): Don't define here.
47031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47033 bits/socket_type.h.
47034
c6e013c1
JM
47035 [BZ #13566]
47036 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47037 checking __USE_GNU.
47038
4962050e
JM
47039 * Makerules ($(inst_includedir)/%.h): New rule.
47040 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47041 (install-others): Remove variable setting.
47042 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47043
38842f45
RH
470442012-03-08 Richard Henderson <rth@twiddle.net>
47045
67bb6da6
RH
47046 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47047 from macro to inline function; merge with the
47048 !__LIBC_INTERNAL_MATH_INLINES version.
47049 (__ieee754_sqrtf): Likewise.
47050
15194b4b
RH
47051 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47052 to inline function.
47053 (__rintf, __floor, __floorf): Likewise.
47054
64e21ede
RH
47055 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47056 macro to inline function.
47057 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47058
38842f45
RH
47059 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47060 not <math/math_private.h>.
47061
c64bf5fe
DM
470622012-03-08 David S. Miller <davem@davemloft.net>
47063
47064 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47065 copyright year.
47066 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47067
82d86f28
TS
470682012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47069
47070 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47071 normalization.
47072 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47073 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47074
aea5d727
UD
470752012-03-08 Ulrich Drepper <drepper@gmail.com>
47076
47077 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47078 be defined individually, they must be defined as a block. Define
47079 S for printing a string instead of hidint the different by using a
47080 macro for adding the 'l'.
47081 * stdio-common/tst-fphex-wide.c: Adjust.
47082
70bca0a3
MP
470832012-03-07 Marek Polacek <polacek@redhat.com>
47084
47085 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47086
65b81130
MP
470872012-03-08 Marek Polacek <polacek@redhat.com>
47088
47089 [BZ #13806]
47090 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47091 * stdio-common/tst-fphex.c: Define a few macros to make the
47092 test reusable. Use them.
47093 * stdio-common/tst-fphex-wide.c: New file.
47094
07037eeb
JM
470952012-03-08 Joseph Myers <joseph@codesourcery.com>
47096
a7a93d50
JM
47097 [BZ #6911]
47098 * manual/macros.texi (gnusystems): New macro.
47099 (nongnusystems): Likewise.
47100 (gnulinuxhurdsystems): Likewise.
47101 (gnuhurdsystems): Likewise..
47102 (gnulinuxsystems): Likewise.
47103 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47104 variants of the GNU system, not "GNU system".
47105 * manual/conf.texi: Likewise.
47106 * manual/errno.texi: Likewise. Update example of errno macro
47107 expansion.
47108 * manual/filesys.texi: Likewise.
47109 (getumask): Document as specific to GNU/Hurd.
47110 * manual/install.texi: Likewise. Reword some references to
47111 GNU/Linux.
47112 * manual/intro.texi: Likewise.
47113 * manual/io.texi: Likewise.
47114 (File Name Portability): Detail which constraints are inapplicable
47115 to all GNU systems and which are only inapplicable to GNU/Hurd.
47116 * manual/job.texi: Likewise.
47117 * manual/llio.texi: Likewise.
47118 (O_NOCTTY): Document as present on GNU/Linux.
47119 * manual/maint.texi: Likewise.
47120 * manual/memory.texi: Likewise.
47121 * manual/pattern.texi: Likewise.
47122 * manual/pipe.texi: Likewise.
47123 * manual/process.texi: Likewise.
47124 * manual/resource.texi: Likewise.
47125 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47126 child on GNU/Hurd.
47127 * manual/setjmp.texi: Likewise.
47128 * manual/signal.texi: Likewise.
47129 * manual/startup.texi: Likewise.
47130 * manual/stdio.texi: Likewise.
47131 * manual/terminal.texi: Likewise.
47132 (ONLCR): Document as POSIX.
47133 (OXTABS): Document availability on GNU/Linux as XTABS.
47134 (ONOEOT): Document availability separately from other bits.
47135 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47136 * manual/time.texi: Likewise.
47137 * manual/users.texi: Likewise.
47138 * INSTALL: Regenerated.
47139 * sysdeps/gnu/errlist.c: Regenerated.
47140
07037eeb
JM
47141 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47142 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47143 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47144 puts.
47145 * configure: Regenerated.
47146
d1d3431a
JM
471472012-03-07 Joseph Myers <joseph@codesourcery.com>
47148
af6a1e37
JM
47149 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47150 default includes instead of AC_HEADER_CHECK.
47151 * sysdeps/i386/configure: Regenerated.
47152
d1d3431a
JM
47153 [BZ #10716]
47154 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47155 * math/s_cacoshf.c (__cacoshf): Likewise.
47156 * math/s_cacoshl.c (__cacoshl): Likewise.
47157 * math/s_casinh.c (__casinh): Set signs of result from argument.
47158 * math/s_casinhf.c (__casinhf): Likewise.
47159 * math/s_casinhl.c (__casinhl): Likewise.
47160 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47161 (casinh_test): Add more tests.
47162 * sysdeps/i386/fpu/libm-test-ulps: Update.
47163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47164
482ff4da
UD
471652012-03-07 Ulrich Drepper <drepper@gmail.com>
47166
872fda05
UD
47167 * po/zh_TW.po: Update from translation team.
47168
a4300c7a
UD
47169 * login/Makefile (distribute): Remove variable.
47170 * catgets/Makefile: Likewise.
47171 * mach/Makefile: Likewise.
47172 * malloc/Makefile: Likewise.
47173 * misc/Makefile: Likewise.
47174 * iconv/Makefile: Likewise.
47175 * nscd/Makefile: Likewise.
47176 * hurd/Makefile: Likewise.
47177 * manual/Makefile: Likewise.
47178 * locale/Makefile: Likewise.
47179 * intl/Makefile: Likewise.
47180 * conform/Makefile: Likewise.
47181 * nss/Makefile: Likewise.
47182 * time/Makefile: Likewise.
47183 * soft-fp/Makefile: Likewise.
47184 * dirent/Makefile: Likewise.
47185 * gmon/Makefile: Likewise.
47186 * po/Makefile: Likewise.
47187 * rt/Makefile: Likewise.
47188 * socket/Makefile: Likewise.
47189 * math/Makefile: Likewise.
47190 * signal/Makefile: Likewise.
47191 * debug/Makefile: Likewise.
47192 * elf/Makefile: Likewise.
47193 * timezone/Makefile: Likewise.
47194 * stdlib/Makefile: Likewise.
47195 * iconvdata/Makefile: Likewise.
47196 * sunrpc/Makefile: Likewise.
47197 * io/Makefile: Likewise.
47198 * argp/Makefile: Likewise.
47199 * inet/Makefile: Likewise.
47200 * hesiod/Makefile: Likewise.
47201 * grp/Makefile: Likewise.
47202 * csu/Makefile: Likewise.
47203 * wctype/Makefile: Likewise.
47204 * crypt/Makefile: Likewise.
47205 * libio/Makefile: Likewise.
47206 * string/Makefile: Likewise.
47207 * nis/Makefile: Likewise.
47208 * resolv/Makefile: Likewise.
47209 * stdio-common/Makefile: Likewise.
47210 * wcsmbs/Makefile: Likewise.
47211 * dlfcn/Makefile: Likewise.
47212 * posix/Makefile: Likewise.
47213
3b7c4e74 47214 [BZ #6959]
482ff4da
UD
47215 * timezone/Makefile: Don't install timezone files, just the programs
47216 and scripts.
47217
f72ed77d
UD
472182012-03-06 Ulrich Drepper <drepper@gmail.com>
47219
a000466f
UD
47220 * nss/databases.def: Add missing gshadow entry.
47221
f72ed77d
UD
47222 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47223
a53b7a4e
MP
472242012-03-06 Marek Polacek <polacek@redhat.com>
47225
47226 [BZ #13726]
47227 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47228 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47229 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47230 * stdio-common/tst-long-dbl-fphex.c: New file.
47231
e9258400
DM
472322012-03-06 David S. Miller <davem@davemloft.net>
47233
47234 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47235 (set_obp_int): New function.
47236 (get_obp_int): New function.
47237 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47238 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47239 Avoid unused variable warnings on 'val' and use builtin_expect.
47240 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47241 __builtin_expect.
e9258400
DM
47242 (INLINE_CLONE_SYSCALL): Likewise.
47243
3bd2c723
DM
472442012-03-05 David S. Miller <davem@davemloft.net>
47245
47246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47247
bbb78d03
AS
472482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47249
884c5db4
AS
47250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47251
bbb78d03
AS
47252 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47253 only for |x| >= 40.
47254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47255
1c9f702a 472562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47257
47258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47259 Replace gettimeofday with __vdso_gettimeofday.
47260
7be16f82
RM
47261 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47262 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47263 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47264
47265 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47266 time with __vdso_time.
47267
ed58a00f
JM
472682012-03-05 Joseph Myers <joseph@codesourcery.com>
47269
47270 * manual/lang.texi (size_t): Note types to which size_t may be
47271 equivalent with the GNU C Library, but do not describe when
47272 differences between them are significant.
47273
30ee4ced
AJ
472742012-03-05 Andreas Jaeger <aj@suse.de>
47275
47276 * sysdeps/i386/fpu/libm-test-ulps: Update.
47277
b7cd39e8
JM
472782012-03-05 Joseph Myers <joseph@codesourcery.com>
47279
47280 [BZ #3976]
47281 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47282 (__ieee754_pow): Save and restore rounding mode and use
47283 round-to-nearest for main computations.
47284 * math/libm-test.inc (pow_test_tonearest): New function.
47285 (pow_test_towardzero): Likewise.
47286 (pow_test_downward): Likewise.
47287 (pow_test_upward): Likewise.
47288 (main): Call the new functions.
47289 * sysdeps/i386/fpu/libm-test-ulps: Update.
47290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47291
47292 [BZ #3976]
47293 * math/libm-test.inc (cosh_test_tonearest): New function.
47294 (cosh_test_towardzero): Likewise.
47295 (cosh_test_downward): Likewise.
47296 (cosh_test_upward): Likewise.
47297 (sinh_test_tonearest): Likewise.
47298 (sinh_test_towardzero): Likewise.
47299 (sinh_test_downward): Likewise.
47300 (sinh_test_upward): Likewise.
47301 (main): Call the new functions.
47302 * sysdeps/i386/fpu/libm-test-ulps: Update.
47303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47304
6c6a98c9
TV
473052012-03-05 Tom de Vries <tom@codesourcery.com>
47306
47307 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47308 default stack guard is set in last bytes.
47309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47310
21bb2d2e 473112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47312
21bb2d2e 47313 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47314
21bb2d2e
AJ
47315 [BZ #13656]
47316 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47317 possibly allocate from heap instead of stack.
47318 * stdio-common/bug-vfprintf-nargs.c: New file.
47319 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47320
c6922934
AS
473212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47322
47323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47324
bc957d53
MP
473252012-03-03 Marek Polacek <polacek@redhat.com>
47326
47327 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47328 * math/math_private.h: Likewise.
47329 * stdlib/tst-strtod.c: Likewise.
47330 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47331 * sysdeps/x86_64/bits/atomic.h: Likewise.
47332
6358490d
DM
473332012-03-02 David S. Miller <davem@davemloft.net>
47334
47335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47339 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47340 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47341 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47342 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47343
01ae168d
RM
473442012-03-02 Roland McGrath <roland@hack.frob.com>
47345
d9a17c07
RM
47346 [BZ #13792]
47347 * manual/examples/README: New file, says the example source files
47348 can be used under GPL>=2.
47349 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47350 line containing just "*/".
47351 * manual/examples/add.c: Add copyright header (GPL>=2).
47352 * manual/examples/argp-ex1.c: Likewise.
47353 * manual/examples/argp-ex2.c: Likewise.
47354 * manual/examples/argp-ex3.c: Likewise.
47355 * manual/examples/argp-ex4.c: Likewise.
47356 * manual/examples/atexit.c: Likewise.
47357 * manual/examples/db.c: Likewise.
47358 * manual/examples/dir.c: Likewise.
47359 * manual/examples/dir2.c: Likewise.
47360 * manual/examples/execinfo.c: Likewise.
47361 * manual/examples/filecli.c: Likewise.
47362 * manual/examples/filesrv.c: Likewise.
47363 * manual/examples/fmtmsgexpl.c: Likewise.
47364 * manual/examples/genpass.c: Likewise.
47365 * manual/examples/inetcli.c: Likewise.
47366 * manual/examples/inetsrv.c: Likewise.
47367 * manual/examples/isockad.c: Likewise.
47368 * manual/examples/longopt.c: Likewise.
47369 * manual/examples/memopen.c: Likewise.
47370 * manual/examples/memstrm.c: Likewise.
47371 * manual/examples/mkfsock.c: Likewise.
47372 * manual/examples/mkisock.c: Likewise.
47373 * manual/examples/mygetpass.c: Likewise.
47374 * manual/examples/pipe.c: Likewise.
47375 * manual/examples/popen.c: Likewise.
47376 * manual/examples/rprintf.c: Likewise.
47377 * manual/examples/search.c: Likewise.
47378 * manual/examples/select.c: Likewise.
47379 * manual/examples/setjmp.c: Likewise.
47380 * manual/examples/sigh1.c: Likewise.
47381 * manual/examples/sigusr.c: Likewise.
47382 * manual/examples/stpcpy.c: Likewise.
47383 * manual/examples/strdupa.c: Likewise.
47384 * manual/examples/strftim.c: Likewise.
47385 * manual/examples/strncat.c: Likewise.
47386 * manual/examples/subopt.c: Likewise.
47387 * manual/examples/swapcontext.c: Likewise.
47388 * manual/examples/termios.c: Likewise.
47389 * manual/examples/testopt.c: Likewise.
47390 * manual/examples/testpass.c: Likewise.
47391 * manual/examples/timeval_subtract.c: Likewise.
47392
01ae168d
RM
47393 [BZ #13792]
47394 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47395 function to ...
47396 * manual/timeval_subtract.c.texi: ... here, new file.
47397
49efa33d
DM
473982012-03-02 David S. Miller <davem@davemloft.net>
47399
47400 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47401
28afd92d
JM
474022012-03-02 Joseph Myers <joseph@codesourcery.com>
47403
804360ed
JM
47404 [BZ #3976]
47405 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47406 (__sin): Save and restore rounding mode and use round-to-nearest
47407 for all computations.
47408 (__cos): Save and restore rounding mode and use round-to-nearest
47409 for all computations.
47410 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47411 <fenv.h>.
47412 (tan): Save and restore rounding mode and use round-to-nearest for
47413 all computations.
47414 * math/libm-test.inc (cos_test_tonearest): New function.
47415 (cos_test_towardzero): Likewise.
47416 (cos_test_downward): Likewise.
47417 (cos_test_upward): Likewise.
47418 (sin_test_tonearest): Likewise.
47419 (sin_test_towardzero): Likewise.
47420 (sin_test_downward): Likewise.
47421 (sin_test_upward): Likewise.
47422 (tan_test_tonearest): Likewise.
47423 (tan_test_towardzero): Likewise.
47424 (tan_test_downward): Likewise.
47425 (tan_test_upward): Likewise.
47426 (main): Call the new functions.
47427 * sysdeps/i386/fpu/libm-test-ulps: Update.
47428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47429
a6d06d7b
JM
47430 [BZ #10135]
47431 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47432 small n, then large n, before computing and testing k+n.
47433 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47435 Likewise.
47436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47437 Likewise.
47438 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47439 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47440 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47441 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47442 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47443 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47444 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47445 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47446 * math/libm-test.inc (scalbn_test): Add more tests.
47447 (scalbln_test): Likewise.
47448
07e12bb3
JM
47449 * manual/filesys.texi (mode_t): Describe constraints on size and
47450 signedness, not exact equivalence to a particular type.
47451 (ino_t): Likewise.
47452 (ino64_t): Likewise.
47453 (dev_t): Likewise.
47454 (nlink_t): Likewise.
47455 (blkcnt_t): Likewise.
47456 (blkcnt64_t): Likewise.
47457 * manual/llio.texi (off_t): Likewise.
47458
28afd92d
JM
47459 [BZ #3976]
47460 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47461 (__ieee754_exp): Save and restore rounding mode and use
47462 round-to-nearest for all computations.
47463 * math/libm-test.inc (exp_test_tonearest): New function.
47464 (exp_test_towardzero): Likewise.
47465 (exp_test_downward): Likewise.
47466 (exp_test_upward): Likewise.
47467 (main): Call the new functions.
47468 * sysdeps/i386/fpu/libm-test-ulps: Update.
47469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47470
b1eeb65d
CD
474712012-03-01 Chris Demetriou <cgd@google.com>
47472
47473 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47474 have predictable order.
47475
53362a4b
DM
474762012-03-01 David S. Miller <davem@davemloft.net>
47477
3c969083
DM
47478 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47479
759707de
DM
47480 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47481 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47482 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47483 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47484
dfdb8ff2
DM
47485 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47486 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47487 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47489 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47490 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47491 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47492 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47493 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47494
ead89f96
DM
47495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47496
7f66bd07
DM
47497 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47498 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47499 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47500
53362a4b
DM
47501 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47502 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47503 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47504 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47505 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47507 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47508 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47509 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47510 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47511 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47514 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47515 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47517 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47518 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47519 * sysdeps/sparc/elf/configure: Regenerated.
47520
7b1902cb
JM
475212012-03-01 Joseph Myers <joseph@codesourcery.com>
47522
bec039bc
JM
47523 * configure.in (AS, LD): Require binutils 2.20 or later.
47524 * configure: Regenerated.
47525 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47526 as required minimum version.
47527 * INSTALL: Regenerated.
47528
7b1902cb
JM
47529 [BZ #2541]
47530 [BZ #4108]
47531 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47532 before squaring exponent.
47533 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47534 bottom long double and 27 bits of top long double before squaring
47535 exponent.
47536 * math/libm-test.inc (erfc_test): Add more tests.
47537 * sysdeps/i386/fpu/libm-test-ulps: Update.
47538 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47540
f775c276
KT
475412012-03-01 Kai Tietz <ktietz@redhat.com>
47542
47543 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47544 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47545 containing bit-fields.
47546 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47547 * soft-fp/single.h (_FP_UNION_S): Likewise.
47548 * soft-fp/double.h (_FP_UNION_D): Likewise.
47549
5b8a4d4a
JM
475502012-02-29 Joseph Myers <joseph@codesourcery.com>
47551
0bab47b6
JM
47552 [BZ #13786]
47553 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47554 not include ../strcmp.S.
47555 [USE_AS_STRNCASECMP_L]: Likewise.
47556 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47557 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47558 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47559 (__strncasecmp_l_ia32): Define as alias to
47560 __strncasecmp_l_nonascii.
47561
0fcad3e2
JM
47562 [BZ #5794]
47563 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47564 * sysdeps/i386/fpu/libm-test-ulps: Update.
47565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47566
5b8a4d4a
JM
47567 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47569
8fdceb2e
JL
475702012-02-29 Jeff Law <law@redhat.com>
47571
47572 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47573 out of bounds read.
47574
1f393a11
MP
475752012-02-29 Marek Polacek <polacek@redhat.com>
47576
47577 [BZ #13706]
47578 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47579 * elf/Makefile: Add rules to run tst-unused-dep.out.
47580
8847f037
DM
475812012-02-28 David S. Miller <davem@davemloft.net>
47582
47583 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47584 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47586 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47587 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47588 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47589
169d7f11
JM
475902012-02-29 Joseph Myers <joseph@codesourcery.com>
47591
47592 * math/libm-test.inc (llround_test): Move one test from
47593 lround_test. Use TEST_f_L in moved test.
47594 (lround_test): Move misplaced test to llround_test. Add testcase
47595 from bug 2561.
47596
39adf059
UD
475972012-02-28 Ulrich Drepper <drepper@gmail.com>
47598
47599 * sysdeps/x86_64/fpu/e_expf.S: New file.
47600 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47601
71b5d1c5
SB
476022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47603
47604 [BZ #13637]
47605 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47606 of remain_len that may cause incomplete multi-byte character and
47607 false match.
47608 * posix/bug-regex33.c: New file.
47609 * posix/Makefile (tests): Add bug-regex33.
47610
1f77f049
JM
476112012-02-28 Joseph Myers <joseph@codesourcery.com>
47612
47613 * manual/macros.texi: New file.
47614 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47615 * manual/libc.texinfo: Include macros.texi.
47616 * manual/creatute.texi: Likewise.
47617 * manual/install.texi: Likewise.
47618 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47619 @glibcadj{} in references to the GNU C Library.
47620 * manual/charset.texi: Likewise.
47621 * manual/conf.texi: Likewise.
47622 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47623 when not using those macros.
47624 * manual/creature.texi: Likewise.
47625 * manual/crypt.texi: Likewise.
47626 * manual/errno.texi: Likewise.
47627 * manual/filesys.texi: Likewise.
47628 * manual/header.texi: Likewise.
47629 * manual/install.texi: Likewise.
47630 * manual/intro.texi: Likewise.
47631 * manual/io.texi: Likewise.
47632 * manual/job.texi: Likewise.
47633 * manual/lang.texi: Likewise.
47634 * manual/libc.texiinfo: Likewise.
47635 * manual/llio.texi: Likewise.
47636 * manual/locale.texi: Likewise.
47637 * manual/maint.texi: Likewise.
47638 * manual/math.texi: Likewise.
47639 * manual/memory.texi: Likewise.
47640 * manual/message.texi: Likewise.
47641 * manual/nss.texi: Likewise.
47642 * manual/pattern.texi: Likewise.
47643 * manual/process.texi: Likewise.
47644 * manual/resource.texi: Likewise.
47645 * manual/search.texi: Likewise.
47646 * manual/setjmp.texi: Likewise.
47647 * manual/signal.texi: Likewise.
47648 * manual/socket.texi: Likewise.
47649 * manual/startup.texi: Likewise.
47650 * manual/stdio.texi: Likewise.
47651 * manual/string.texi: Likewise.
47652 * manual/sysinfo.texi: Likewise.
47653 * manual/syslog.texi: Likewise.
47654 * manual/terminal.texi: Likewise.
47655 * manual/time.texi: Likewise.
47656 * manual/users.texi: Likewise.
47657 * INSTALL: Regenerated.
47658 * NOTES: Regenerated.
d40c5d54 47659 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47660
450bf206
AS
476612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47662
47663 * include/dirent.h: Include <dirstream.h> before
47664 <dirent/dirent.h>.
47665
741a235b
DM
476662012-02-28 David S. Miller <davem@davemloft.net>
47667
47668 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47669 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47670 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47671 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47672
d6b5aa58
DM
476732012-02-27 David S. Miller <davem@davemloft.net>
47674
1aff59a3
DM
47675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47677 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47678 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47679
d6b5aa58
DM
47680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47681 frame pointer instead of stack pointer relative arg slot.
47682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47685
433f48bf
CD
476862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47687
47688 [BZ #3992]
47689 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47690
d674b76d
DM
476912012-02-27 David S. Miller <davem@davemloft.net>
47692
47693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47697 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47698 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47699 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47700 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47701
0e7727f7
JM
477022012-02-27 Joseph Myers <joseph@codesourcery.com>
47703
47704 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47705 later. Allow versions 5-9.
43be4ca2 47706 * configure: Regenerated.
0e7727f7
JM
47707 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47708 required minimum version and 4.6 as recommended version. Do not
47709 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47710 * INSTALL: Regenerated.
0e7727f7 47711
a78bc654
DM
477122012-02-27 David S. Miller <davem@davemloft.net>
47713
428d5830
DM
47714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47718 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47719 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47720 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47721 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47722
a78bc654
DM
47723 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47724 manipulate bits before adding and subtracting TWO112[sx].
47725 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47726
4579f81c
RM
477272012-02-27 Roland McGrath <roland@hack.frob.com>
47728
36c8acb4
RM
47729 [BZ #13775]
47730 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47731 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47732 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47733 being in POSIX, because they are in 1003.1-2008.
47734
84ad622b
RM
47735 * rt/tst-aio.c: Include <fcntl.h>.
47736 * rt/tst-aio7.c: Likewise.
47737 * rt/tst-aio64.c: Likewise.
47738
4579f81c
RM
47739 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47740
abd923db
JM
477412012-02-27 Joseph Myers <joseph@codesourcery.com>
47742
47743 * manual/install.texi (--with-headers): Describe headers as
47744 interface headers, not private headers.
47745 (Specific advice for GNU/Linux systems): Describe use of headers
47746 from "make headers_install", not private headers from older
47747 kernels.
43be4ca2 47748 * INSTALL: Regenerated.
abd923db
JM
47749 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47750 Change to 2.6.19.
47751 * sysdeps/unix/sysv/linux/configure: Regenerated.
47752
6664049b
JM
47753 * manual/llio.texi (fclean): Remove documentation.
47754
bb8b6697
JM
47755 * manual/Makefile (libc-texi-generated): New variable. Include
47756 version.texi.
47757 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47758 $(libc-texi-generated), not duplicated list of files.
47759 (version.texi, stamp-version): New rules.
47760 (realclean): Remove $(libc-texi-generated), not individual files
47761 from that list. Do not remove dir-add.texinfo.
47762 * manual/libc.texinfo: Comment out uses of edition numbers and
47763 references to printed manual. Remove last-updated dates.
47764 (EDITION): Comment out.
47765 (ISBN): Likewise.
47766 (VERSION, UPDATED): Remove.
47767 (version.texi): Include.
47768
12e5c3b9
AS
477692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47770
47771 * sysdeps/posix/spawni.c: Include <signal.h>.
47772 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47773 * sysdeps/pthread/aio_fsync.c: Likewise.
47774
4efeffc1 477752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47776
ba63ba08
UD
47777 * conform/Makefile (tests): Run only when not cross-compiling and
47778 when fast-check is not defined.
47779
d94a4670
UD
47780 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47781 * conform/data/limits.h-data: Fixes for POSIX2008.
47782 * conform/run-conformtest.sh: Run all tests.
47783 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47784 headers.
47785 * include/bits/dlfcn.h: Likewise.
47786 * include/langinfo.h: Likewise.
47787 * include/monetary.h: Likewise.
47788 * include/sys/poll.h: Likewise.
47789
47790 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47791 for __USE_GNU.
47792 * posix/spawn.h: Define __need_sigset_t.
47793 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47794 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47795 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47796 to get sigevent_t only.
47797 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47798 only for __USE_GNU.
47799 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47800 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47801 process_vm_writev only for __USE_GNU.
47802 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47803
47804 * conform/Makefile: For now ignore errors from run-conformtest.
47805 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47806 POSIX to avoid namespace pollution. Don't prepend headers.
47807 * conform/data/aio.h-data: Fixes for POSIX testing.
47808 * conform/data/fcntl.h-data: Likewise.
47809 * conform/data/glob.h-data: Likewise.
47810 * conform/data/grp.h-data: Likewise.
47811 * conform/data/pthread.h-data: Likewise.
47812 * conform/data/pwd.h-data: Likewise.
47813 * conform/data/signal.h-data: Likewise.
47814 * conform/data/spawn.h-data: Likewise.
47815 * conform/data/stdio.h-data: Likewise.
47816 * conform/data/stdlib.h-data: Likewise.
47817 * conform/data/stropts.h-data: Likewise.
47818 * conform/data/sys/mman.h-data: Likewise.
47819 * conform/data/sys/stat.h-data: Likewise.
47820 * conform/data/sys/types.h-data: Likewise.
47821 * conform/data/sys/wait.h-data: Likewise.
47822 * conform/data/time.h-data: Likewise.
47823 * conform/data/unistd.h-data: Likewise.
47824 * conform/data/utime.h-data: Likewise.
47825
47826 * io/sys/stat.h: fchmod was always in POSIX.
47827 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47828 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47829 * rt/aio.h: Define __need_timespec before including <time.h>.
47830 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47831 struct. Add forward declaration of pthread_attr_t and use it in
47832 sigevent.
47833 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47835 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47836 always remove CLK_TCK definition.
47837
c20105c3
AS
478382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47839
47840 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47841
7a270350
UD
478422012-02-25 Ulrich Drepper <drepper@gmail.com>
47843
31341567
UD
47844 * conform/run-conformtest.sh: New file.
47845 * conform/Makefile: Run run-conformtest for tests.
47846 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47847 support.
47848
47849 * conform/data/uchar.h-data: New file.
47850 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47851 * conform/data/arpa/inet.h-data: Likewise.
47852 * conform/data/assert.h-data: Likewise.
47853 * conform/data/complex.h-data: Likewise.
47854 * conform/data/cpio.h-data: Likewise.
47855 * conform/data/ctype.h-data: Likewise.
47856 * conform/data/dirent.h-data: Likewise.
47857 * conform/data/dlfcn.h-data: Likewise.
47858 * conform/data/errno.h-data: Likewise.
47859 * conform/data/fcntl.h-data: Likewise.
47860 * conform/data/float.h-data: Likewise.
47861 * conform/data/fmtmsg.h-data: Likewise.
47862 * conform/data/fnmatch.h-data: Likewise.
47863 * conform/data/ftw.h-data: Likewise.
47864 * conform/data/glob.h-data: Likewise.
47865 * conform/data/grp.h-data: Likewise.
47866 * conform/data/iconv.h-data: Likewise.
47867 * conform/data/inttypes.h-data: Likewise.
47868 * conform/data/langinfo.h-data: Likewise.
47869 * conform/data/libgen.h-data: Likewise.
47870 * conform/data/limits.h-data: Likewise.
47871 * conform/data/locale.h-data: Likewise.
47872 * conform/data/math.h-data: Likewise.
47873 * conform/data/monetary.h-data: Likewise.
47874 * conform/data/mqueue.h-data: Likewise.
47875 * conform/data/ndbm.h-data: Likewise.
47876 * conform/data/net/if.h-data: Likewise.
47877 * conform/data/netdb.h-data: Likewise.
47878 * conform/data/netinet/in.h-data: Likewise.
47879 * conform/data/nl_types.h-data: Likewise.
47880 * conform/data/poll.h-data: Likewise.
47881 * conform/data/pthread.h-data: Likewise.
47882 * conform/data/pwd.h-data: Likewise.
47883 * conform/data/regex.h-data: Likewise.
47884 * conform/data/sched.h-data: Likewise.
47885 * conform/data/search.h-data: Likewise.
47886 * conform/data/semaphore.h-data: Likewise.
47887 * conform/data/setjmp.h-data: Likewise.
47888 * conform/data/signal.h-data: Likewise.
47889 * conform/data/spawn.h-data: Likewise.
47890 * conform/data/stdarg.h-data: Likewise.
47891 * conform/data/stdio.h-data: Likewise.
47892 * conform/data/stdlib.h-data: Likewise.
47893 * conform/data/string.h-data: Likewise.
47894 * conform/data/strings.h-data: Likewise.
47895 * conform/data/stropts.h-data: Likewise.
47896 * conform/data/sys/ipc.h-data: Likewise.
47897 * conform/data/sys/mman.h-data: Likewise.
47898 * conform/data/sys/msg.h-data: Likewise.
47899 * conform/data/sys/resource.h-data: Likewise.
47900 * conform/data/sys/select.h-data: Likewise.
47901 * conform/data/sys/sem.h-data: Likewise.
47902 * conform/data/sys/shm.h-data: Likewise.
47903 * conform/data/sys/socket.h-data: Likewise.
47904 * conform/data/sys/stat.h-data: Likewise.
47905 * conform/data/sys/statvfs.h-data: Likewise.
47906 * conform/data/sys/time.h-data: Likewise.
47907 * conform/data/sys/timeb.h-data: Likewise.
47908 * conform/data/sys/times.h-data: Likewise.
47909 * conform/data/sys/types.h-data: Likewise.
47910 * conform/data/sys/uio.h-data: Likewise.
47911 * conform/data/sys/un.h-data: Likewise.
47912 * conform/data/sys/utsname.h-data: Likewise.
47913 * conform/data/sys/wait.h-data: Likewise.
47914 * conform/data/syslog.h-data: Likewise.
47915 * conform/data/tar.h-data: Likewise.
47916 * conform/data/termios.h-data: Likewise.
47917 * conform/data/utime.h-data: Likewise.
47918 * conform/data/utmpx.h-data: Likewise.
47919 * conform/data/varargs.h-data: Likewise.
47920 * conform/data/wchar.h-data: Likewise.
47921 * conform/data/wctype.h-data: Likewise.
47922 * conform/data/wordexp.h-data: Likewise.
47923
47924 * include/stropts.h: New file.
47925 * include/uchar.h: New file.
47926 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47927 * include/assert.h: Likewise.
47928 * include/ctype.h: Likewise.
47929 * include/dirent.h: Likewise.
47930 * include/dlfcn.h: Likewise.
47931 * include/fcntl.h: Likewise.
47932 * include/fnmatch.h: Likewise.
47933 * include/glob.h: Likewise.
47934 * include/grp.h: Likewise.
47935 * include/libio.h: Likewise.
47936 * include/locale.h: Likewise.
47937 * include/math.h: Likewise.
47938 * include/net/if.h: Likewise.
47939 * include/netdb.h: Likewise.
47940 * include/netinet/in.h: Likewise.
47941 * include/pthread.h: Likewise.
47942 * include/pwd.h: Likewise.
47943 * include/regex.h: Likewise.
47944 * include/sched.h: Likewise.
47945 * include/search.h: Likewise.
47946 * include/setjmp.h: Likewise.
47947 * include/signal.h: Likewise.
47948 * include/stdio.h: Likewise.
47949 * include/stdlib.h: Likewise.
47950 * include/string.h: Likewise.
47951 * include/sys/cdefs.h: Likewise.
47952 * include/sys/mman.h: Likewise.
47953 * include/sys/msg.h: Likewise.
47954 * include/sys/resource.h: Likewise.
47955 * include/sys/select.h: Likewise.
47956 * include/sys/socket.h: Likewise.
47957 * include/sys/stat.h: Likewise.
47958 * include/sys/statvfs.h: Likewise.
47959 * include/sys/time.h: Likewise.
47960 * include/sys/times.h: Likewise.
47961 * include/sys/uio.h: Likewise.
47962 * include/sys/utsname.h: Likewise.
47963 * include/sys/wait.h: Likewise.
47964 * include/termios.h: Likewise.
47965 * include/time.h: Likewise.
47966 * include/ulimit.h: Likewise.
47967 * include/unistd.h: Likewise.
47968 * include/utime.h: Likewise.
47969 * include/wchar.h: Likewise.
47970 * include/wctype.h: Likewise.
47971 * include/wordexp.h: Likewise.
47972
47973 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47974
7a270350
UD
47975 * time/time.h: TIME_UTC must be a macro.
47976 Make timespec_get available for ISO C11 only as well.
47977
7724defc
UD
479782012-02-24 Ulrich Drepper <drepper@gmail.com>
47979
47980 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47981 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47982
6b1d1d46
JM
479832012-02-24 Joseph Myers <joseph@codesourcery.com>
47984
47985 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47986
0f8bbd69
JM
479872012-02-24 Joseph Myers <joseph@codesourcery.com>
47988
47989 * manual/texinfo.tex: Update to version 2012-01-19.16.
47990
66ab80bc
JM
479912012-02-24 Joseph Myers <joseph@codesourcery.com>
47992
47993 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47994
74981cc5
RM
479952012-02-24 Roland McGrath <roland@hack.frob.com>
47996
ee968201
RM
47997 [BZ #13738]
47998 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47999 * manual/fdl-1.3.texi: New file.
48000 * manual/fdl-1.1.texi: File removed.
48001
74981cc5
RM
48002 [BZ #13738]
48003 * manual/libc.texinfo (FDL_VERSION): New @set.
48004 Use it for mention of FDL in cover text.
48005 (Documentation License): Use it in @include file name.
48006
7bb764bc
JM
480072012-02-22 Joseph Myers <joseph@codesourcery.com>
48008 Roland McGrath <roland@hack.frob.com>
48009
48010 [BZ #5461]
57f41c40
AS
48011 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48012 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48013 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48014 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48015 name.
48016 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48017
6cbeae47
JM
480182012-02-22 Joseph Myers <joseph@codesourcery.com>
48019
48020 [BZ #2547]
48021 [BZ #11365]
48022 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48023 manipulate bits before adding and subtracting TWO23[sx].
48024 * math/libm-test.inc (nearbyint_test): Add more tests.
48025
fe45ce09
JM
480262012-02-22 Joseph Myers <joseph@codesourcery.com>
48027
48028 [BZ #2548]
48029 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48030 bits before adding and subtracting TWO23[sx].
48031 * math/libm-test.inc (rint_test): Add more tests.
48032 (rint_test_tonearest): Likewise.
48033 (rint_test_towardzero): Likewise.
48034 (rint_test_downward): Likewise.
48035 (rint_test_upward: Likewise.
48036
ff3b3d82
JM
480372012-02-22 Joseph Myers <joseph@codesourcery.com>
48038
48039 [BZ #10110]
48040 * include/stdc-predef.h: New file. Extracted from features.h.
48041 * include/features.h: Include stdc-predef.h.
48042 * Makefile (headers): Add stdc-predef.h.
48043 * CONFORMANCE (Compiler limitations): Update.
48044
ef0aab35
JM
480452012-02-22 Joseph Myers <joseph@codesourcery.com>
48046
48047 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48048
58639409
DM
480492012-02-21 David S. Miller <davem@davemloft.net>
48050
48051 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48052 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48053
c0e70b25
DM
480542012-02-20 David S. Miller <davem@davemloft.net>
48055
48056 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48057 using a normal save/restore sequence, rather than allocating a
48058 dummy stack frame just to store a frame pointer and restore.
48059 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48060
fb06851d
JM
480612012-02-21 Joseph Myers <joseph@codesourcery.com>
48062
48063 * manual/install.texi: Fix stray word in line-wrapped comment.
48064
7a8b71c3
DM
480652012-02-20 David S. Miller <davem@davemloft.net>
48066
d510c123
DM
48067 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48068 both binutils and gcc support GOTDATA.
48069
0722d7c2
DM
48070 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48071 "rd %pc" in the PIC register setup sequences.
48072
3d2b3019
DM
48073 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48074 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48075 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48076 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48077 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48079 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48080 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48082 (SYSCALL_ERROR_HANDLER): Likewise.
48083 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48084 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48086 (SYSCALL_ERROR_HANDLER): Likewise.
48087
c80098a9
DM
48088 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48089 (HAVE_GCC_GOTDATA): New.
48090 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48091 relocation support in both binutils and gcc.
48092 * sysdeps/sparc/elf/configure: Regenerate.
48093
3a2545a0
DM
48094 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48095 * sysdeps/sparc/sparc32/elf/configure: Delete.
48096 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48097 * sysdeps/sparc/sparc64/elf/configure: Delete.
48098 * sysdeps/sparc/elf/configure.in: New file.
48099 * sysdeps/sparc/elf/configure: Generate.
48100
7a8b71c3
DM
48101 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48102 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48103 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48104 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48105 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48106
f1e86fca
JM
481072012-02-21 Joseph Myers <joseph@codesourcery.com>
48108
48109 * manual/install.texi: Do not mention specific glibc version
48110 numbers.
48111 * manual/libc.texinfo (VERSION, UPDATED): Update.
48112 (@copying): Use @copyright{} and range of years.
48113
0e7dfaef
JM
481142012-02-21 Joseph Myers <joseph@codesourcery.com>
48115
48116 [BZ #13695]
48117 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48118 [crti.S not in sysdirs] (generated): Do not append.
48119 [crti.S not in sysdirs] (omit-deps): Likewise.
48120 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48121 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48122 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48123 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48124 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48125 Likewise.
48126 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48127 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48128 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48129 * csu/defs.awk: Remove file.
48130 * sysdeps/generic/initfini.c: Likewise.
48131 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48132 variable.
48133 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48134 Likewise.
48135
599af3ca
JM
481362012-02-20 Joseph Myers <joseph@codesourcery.com>
48137
48138 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48139 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48140 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48141 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48142 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48143 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48144 <bits/epoll.h>.
48145 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48146 (__EPOLL_PACKED): Define to empty if not defined by
48147 <bits/epoll.h>.
48148 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48150 bits/epoll.h.
48151
0e499750
JM
481522012-02-20 Joseph Myers <joseph@codesourcery.com>
48153
48154 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48155 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48156 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48157 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48158 <bits/timerfd.h>.
48159 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48161 bits/timerfd.h.
48162
5ad91f6e
JM
481632012-02-20 Joseph Myers <joseph@codesourcery.com>
48164
48165 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48166 in C locale.
48167 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48168 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48169 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48171
06b99b02
AJ
481722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48173
48174 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48175 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48176
7638c0fd
AS
481772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48178
48179 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48180 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48181 defined.
48182 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48183 Likewise.
48184 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48185 entry for 2.16.
48186
92221550
AJ
481872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48188
48189 * math/w_acos.c: Use non-signaling floating-point comparisons.
48190 * math/w_acosf.c: Likewise.
48191 * math/w_acosh.c: Likewise.
48192 * math/w_acoshf.c: Likewise.
48193 * math/w_acoshl.c: Likewise.
48194 * math/w_acosl.c: Likewise.
48195 * math/w_asin.c: Likewise.
48196 * math/w_asinf.c: Likewise.
48197 * math/w_asinl.c: Likewise.
48198 * math/w_atanh.c: Likewise.
48199 * math/w_atanhf.c: Likewise.
48200 * math/w_atanhl.c: Likewise.
48201 * math/w_exp2.c: Likewise.
48202 * math/w_exp2f.c: Likewise.
48203 * math/w_exp2l.c: Likewise.
48204 * math/w_j0.c: Likewise.
48205 * math/w_j0f.c: Likewise.
48206 * math/w_j0l.c: Likewise.
48207 * math/w_j1.c: Likewise.
48208 * math/w_j1f.c: Likewise.
48209 * math/w_j1l.c: Likewise.
48210 * math/w_jn.c: Likewise.
48211 * math/w_jnf.c: Likewise.
48212 * math/w_log.c: Likewise.
48213 * math/w_log10.c: Likewise.
48214 * math/w_log10f.c: Likewise.
48215 * math/w_log10l.c: Likewise.
48216 * math/w_log2.c: Likewise.
48217 * math/w_log2f.c: Likewise.
48218 * math/w_log2l.c: Likewise.
48219 * math/w_logf.c: Likewise.
48220 * math/w_logl.c: Likewise.
48221 * math/w_sqrt.c: Likewise.
48222 * math/w_sqrtf.c: Likewise.
48223 * math/w_sqrtl.c: Likewise.
48224 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48225 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48226 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48227 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48228 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48229
ebaf36eb
JM
482302012-02-19 Joseph Myers <joseph@codesourcery.com>
48231
48232 [BZ #9739]
48233 * manual/string.texi (strnlen): Use correct parameter name in
48234 equivalent expression.
48235
71c254a6
JM
482362012-02-19 Joseph Myers <joseph@codesourcery.com>
48237
48238 [BZ #11174]
48239 * manual/users.texi (seteuid): Consistently use neweuid for
48240 argument name.
48241
16d2c631
JM
482422012-02-19 Joseph Myers <joseph@codesourcery.com>
48243
48244 [BZ #13704]
48245 * manual/nss.texi (Services in the NSS configuration): Correct
48246 list of services in example configuration file.
48247
cd837b09
NB
482482012-02-19 Nick Bowler <nbowler@draconx.ca>
48249
48250 [BZ #11322]
48251 * manual/arith.texi: Remove statements about negative zero
48252 behaving identically to zero.
48253
02c4bbad
JM
482542012-02-18 Joseph Myers <joseph@codesourcery.com>
48255
48256 [BZ #5993]
48257 * manual/install.texi: Do not document upgrading from libc5.
48258
366842e7
JM
482592012-02-18 Joseph Myers <joseph@codesourcery.com>
48260
48261 [BZ #4596]
48262 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48263
dd54084d
DM
482642012-02-18 David S. Miller <davem@davemloft.net>
48265
48266 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48267 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48268 %o7 across the call.
48269 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48270 instead.
48271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48272 SETUP_PIC_REG_LEAF.
48273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48274 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48275 * sysdeps/sparc/crtn.S: Likewise.
48276
2bcc53a3
UD
482772012-02-17 Ulrich Drepper <drepper@gmail.com>
48278
48279 * aout/Makefile: Remove.
48280
09c093b5
RK
482812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48282
48283 [BZ #13058]
48284 * manual/examples/argp-ex1.c (main): Format definition in GNU
48285 style.
48286 * manual/examples/argp-ex2.c (main): Likewise.
48287 * manual/examples/argp-ex3.c (main): Likewise.
48288 * manual/examples/argp-ex4.c (main): Likewise.
48289 * manual/examples/longopt.c (main): Use new-style prototype
48290 definition.
48291 * manual/examples/strncat.c (main): Specify return type and use
48292 (void) for arguments.
48293 * manual/examples/subopt.c (main): Use char **argv argument.
48294
2ee633a2
JM
482952012-02-17 Joseph Myers <joseph@codesourcery.com>
48296
48297 [BZ #5077]
48298 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48299 rounding modes.
48300
0520adde
FB
483012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48302
48303 [BZ #6907]
48304 * manual/string.texi (strchr): Change when strchrnul is
48305 recommended.
48306
3f4081cd
DGM
483072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48308
48309 [BZ #174]
48310 * manual/locale.texi (setlocale): Document LOCPATH.
48311
d1b10e78
JM
483122012-02-17 Joseph Myers <joseph@codesourcery.com>
48313
48314 [BZ #10210]
48315 * manual/process.texi (execle): Move @dots{} before last argument.
48316
79c6869c
PB
483172012-02-17 Paul Bolle <pebolle@tiscali.nl>
48318
48319 [BZ #12047]
48320 * manual/charset.texi (Generic Charset Conversion): Fix typo
48321 (LC_TYPE -> LC_CTYPE).
48322
cc6e48bc
NB
483232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48324
48325 [BZ #5805]
48326 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48327 (scalbnf): Likewise.
48328 (scalbnl): Likewise.
48329 (scalbln): Likewise.
48330 (scalblnf): Likewise.
48331 (scalblnl): Likewise.
48332 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48333 (vwarnx): Likewise.
48334 (verr): Likewise.
48335 (verrx): Likewise.
48336 * manual/filesys.texi (telldir): Use braces around return type.
48337 * manual/llio.texi (mmap): Add space after comma.
48338 (mmap64): Likewise.
48339 * manual/math.texi (jn): Use @var{} on parameter names.
48340 (jnf): Likewise.
48341 (jnl): Likewise.
48342 (yn): Likewise.
48343 (ynf): Likewise.
48344 (ynl): Likewise.
48345 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48346 line.
48347 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48348 "...".
48349 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48350 (sched_get_priority_max): Likewise.
48351 * manual/signal.texi (sigvec): Add space after comma.
48352 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48353 names.
48354 (if_indextoname): Likewise.
48355 (if_freenameindex): Likewise.
48356 (sendto): Use ',' instead of '.' in prototype.
48357 * manual/startup.texi (syscall): Use @dots{} instead of literal
48358 "...".
48359 * manual/stdio.texi (__fpending): Separate initial words of
48360 paragraph from @deftypefun line.
48361 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48362 "...".
48363 (vsyslog): Use @var{} on parameter names.
48364 * manual/terminal.texi (stty): Use @var{} on parameter names.
48365 * manual/users.texi (getutmp): Use @var{} on parameter names.
48366 (getutmpx): Likewise.
48367
5b23062f
JM
483682012-02-17 Joseph Myers <joseph@codesourcery.com>
48369
48370 [BZ #6884]
48371 * manual/stdio.texi (fopen): Fix typos in description of
48372 ",ccs=STRING".
48373
8dee4833
AJ
483742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48375
48376 [BZ #4026]
48377 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48378 get clock_id definition.
48379
9078ce93
TS
483802012-02-17 Thomas Schwinge <thomas@schwinge.name>
48381
48382 [BZ #4822]
48383 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48384 (madvise): Cast every argument to void on its own.
48385
3835c55f
JM
483862012-02-17 Joseph Myers <joseph@codesourcery.com>
48387
48388 [BZ #9902]
48389 * manual/startup.texi (Exit Status): Fix typo.
48390
35c47e37
JM
483912012-02-17 Joseph Myers <joseph@codesourcery.com>
48392
48393 [BZ #10140]
48394 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48395 * manual/examples/argp-ex2.c: Likewise.
48396 * manual/examples/argp-ex3.c: Likewise.
48397
e3b69ca7
RH
483982012-02-16 Richard Henderson <rth@redhat.com>
48399
48400 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48401 * sysdeps/s390/s390-32/initfini.c: Remove.
48402 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48403 * sysdeps/s390/s390-64/initfini.c: Remove.
48404
df83af67
KK
484052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48406
48407 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48408 compiler output for sysdeps/generic/initfini.c.
48409 * sysdeps/sh/elf/initfini.c: Remove file.
48410
f63f3380
DM
484112012-02-16 David S. Miller <davem@davemloft.net>
48412
fb59b3a4
DM
48413 [BZ #11494]
48414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48415
f63f3380
DM
48416 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48417 * sysdeps/sparc/crti.S: New file.
48418 * sysdeps/sparc/crtn.S: New file.
48419 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48420 * sysdeps/sparc/sparc64/Makefile: Likewise.
48421
df6a4a4a
MF
484222012-02-15 Mike Frysinger <vapier@gentoo.org>
48423
6dd8f3dc 48424 [BZ #3335]
df6a4a4a
MF
48425 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48426
1cac7236
RM
484272012-02-15 Roland McGrath <roland@hack.frob.com>
48428
d2c736f8
RM
48429 [BZ #4822]
48430 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48431
1cac7236
RM
48432 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48433 (write, read, close): Likewise.
48434 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48435
8e475601
JM
484362012-02-15 Joseph Myers <joseph@codesourcery.com>
48437
48438 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48439 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48440 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48441 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48442 <bits/signalfd.h>.
48443 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48445 bits/signalfd.h.
48446
ed656b40
MP
484472012-02-14 Marek Polacek <polacek@redhat.com>
48448
48449 * sysdeps/x86_64/crti.S: New file.
48450 * sysdeps/x86_64/crtn.S: New file.
48451 * sysdeps/x86_64/elf/initfini.c: Remove file.
48452
2a979d3a
JM
484532012-02-13 Joseph Myers <joseph@codesourcery.com>
48454
48455 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48456 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48457 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48458 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48459 <bits/inotify.h>.
48460 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48462 bits/inotify.h.
48463
2a418ac3
JM
484642012-02-13 Joseph Myers <joseph@codesourcery.com>
48465
48466 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48467 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48468 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48469 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48470 <bits/eventfd.h>.
48471 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48473 bits/eventfd.h.
48474
fb779be7
TS
484752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48476
e19e83c5
RM
48477 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48478 __feraiseexcept instead of feraiseexcept.
7c35ffed 48479
fb779be7
TS
48480 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48481 nanosleep invocations.
48482 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48483 strings, and add error checking for a nanosleep invocations.
48484
59ba27a6
PE
484852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48486
48487 Replace FSF snail mail address with URLs, as per GNU coding standards.
48488 Most of the snail mail addresses were wrong anyway, and omitting
48489 them makes the source code easier to maintain. Almost all of the
48490 changes are to license notices and to locale LC_IDENTIFICATION
48491 addresses, except for this one:
48492 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48493 not its snail mail address.
48494
57b957eb
RH
484952012-02-09 Richard Henderson <rth@twiddle.net>
48496
af850b1c
RH
48497 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48498 of kernel-features.h.
48499
57b957eb
RH
48500 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48501
6b73181a
MP
485022012-02-08 Marek Polacek <polacek@redhat.com>
48503
48504 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48505 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48506 * sysdeps/gnu/_G_config.h: Likewise.
48507 * sysdeps/generic/_G_config.h: Likewise.
48508
26ecc33a
AS
485092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48510
6c6dbc63
AS
48511 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48512 tests.
48513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48514
e216c012
AS
48515 * sysdeps/powerpc/powerpc32/crti.S: New file.
48516 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48517 * sysdeps/powerpc/powerpc64/crti.S: New file.
48518 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48519
26ecc33a
AS
48520 * Makeconfig (have-initfini): Don't set.
48521 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48522 * configure.in (nopic_initfini): Don't substitute.
48523 * config.h.in (HAVE_INITFINI): Don't #undef.
48524 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48525 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48526
3add8e13
JM
485272012-02-08 Joseph Myers <joseph@codesourcery.com>
48528
48529 Support crti.S and crtn.S provided directly by architectures.
48530 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48531 [crti.S in sysdirs] (omit-deps): Likewise.
48532 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48533 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48534 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48535 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48536 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48537 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48538 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48539 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48540 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48541 compiler output for sysdeps/generic/initfini.c.
48542 * sysdeps/i386/elf/Makefile: Remove file.
48543 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48544
a22f12b4
MP
485452012-02-07 Marek Polacek <polacek@redhat.com>
48546
48547 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48548 * sysdeps/gnu/_G_config.h: Likewise.
48549 * sysdeps/mach/hurd/_G_config.h: Likewise.
48550
148cf100
MP
485512012-02-07 Marek Polacek <polacek@redhat.com>
48552
48553 * math/Makefile (tests): Add tst-CMPLX2.
48554 * math/tst-CMPLX2.c: New file.
48555
cfdc0dd7
AS
485562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48557
84ba42c4
AS
48558 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48559
cfdc0dd7
AS
48560 * math/libm-test.inc (jn_test): Add missing L suffix.
48561
622c86f4
MP
485622012-02-06 Marek Polacek <polacek@redhat.com>
48563
48564 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48565 * sysdeps/i386/fpu/e_powf.S: Likewise.
48566 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48567 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48568 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48569 * sysdeps/i386/fpu/e_pow.S: Likewise.
48570 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48571 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48572 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48573 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48574 * sysdeps/i386/fpu/e_log2.S: Likewise.
48575 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48576 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48577 * sysdeps/i386/fpu/e_powl.S: Likewise.
48578 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48579 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48580 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48581 * sysdeps/i386/fpu/e_logl.S: Likewise.
48582 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48583 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48584 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48585 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48586 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48587 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48588 * sysdeps/i386/fpu/e_log.S: Likewise.
48589 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48590 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48591 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48592 * sysdeps/i386/fpu/e_logf.S: Likewise.
48593 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48594 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48595 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48596 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48597 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48598 * sysdeps/i386/fpu/e_log10.S: Likewise.
48599 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48600 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48601 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48602 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48603 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48604 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48605 * sysdeps/i386/asm-syntax.h: Likewise.
48606 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48607 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48608 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48609 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48610 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48611 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48612 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48613 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48614 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48615 * sysdeps/powerpc/sysdep.h: Likewise.
48616 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48617 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48618
d4a54ac6
JM
486192012-02-06 Joseph Myers <joseph@codesourcery.com>
48620
48621 [BZ #411]
48622 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48623
314054ea
JM
486242012-02-06 Joseph Myers <joseph@codesourcery.com>
48625
48626 * sysdeps/i386/sysdep.h: Include <features.h>.
48627 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48628 version.
48629
d8e0ca50
JM
486302012-02-05 Joseph Myers <joseph@codesourcery.com>
48631
48632 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48633 Define.
48634 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48635 LOAD_PIC_REG_STR.
48636
b1da7dd9
JM
486372012-02-03 Joseph Myers <joseph@codesourcery.com>
48638
48639 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48640 (SETUP_PIC_REG): Use GET_PC_THUNK.
48641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48642 macro.
48643
9a1d9254
JM
486442012-02-03 Joseph Myers <joseph@codesourcery.com>
48645
48646 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48647 for non-PIC compilation.
48648 (SETUP_PIC_REG): Add .p2align directive.
48649 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48650 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48651 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48652 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48653 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48654 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48655 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48656 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48657 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48658 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48659 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48660 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48661 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48662 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48663 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48664 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48665 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48666 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48667 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48668 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48669 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48670 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48671 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48672 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48675 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48676 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48677 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48678 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48679 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48680 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48681 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48682 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48683 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48684 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48685 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48686 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48687 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48688 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48689 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48690
65dc3b75
JM
486912012-02-03 Joseph Myers <joseph@codesourcery.com>
48692
48693 * math/tst-CMPLX.c: Include <stdio.h>.
48694
d55bf177
JM
486952012-01-31 Joseph Myers <joseph@codesourcery.com>
48696
48697 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48698 float.
48699 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48700 * sysdeps/sparc/bits/mathdef.h: Likewise.
48701
69db4f8f
MP
487022012-01-31 Marek Polacek <polacek@redhat.com>
48703
48704 * libio/libio.h: Don't define _PARAMS.
48705 * locale/programs/config.h: Don't define PARAMS.
48706 * stdlib/strtol_l.c: Likewise.
48707 (__strtol_l): Remove PARAMS from the prototype.
48708
41b81892
UD
487092012-01-31 Ulrich Drepper <drepper@gmail.com>
48710
3b49edc0
UD
48711 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48712 names. Just use the correct names. Remove unnecessary wrapper
48713 functions.
48714 * malloc/arena.c: Likewise.
48715 * malloc/hooks.c: Likewise.
48716
41b81892
UD
48717 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48718 ARENA_TEST says not to. Simplify test for creation of a new arena.
48719 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48720
27a25b6e
UD
487212012-01-30 Ulrich Drepper <drepper@gmail.com>
48722
48723 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48724 into tail calls.
48725 (update_get_addr): New function.
48726 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48727 GET_ADDR_MODULE parameter.
48728
c8a89e7d
JM
487292012-01-30 Joseph Myers <joseph@codesourcery.com>
48730
48731 * crypt/cert.c: Remove __STDC__ conditionals.
48732 * crypt/crypt-entry.c: Likewise.
48733 * crypt/crypt_util.c: Likewise.
48734 * libio/filedoalloc.c: Likewise.
48735 * libio/fileops.c: Likewise.
48736 * libio/genops.c: Likewise.
48737 * libio/iofclose.c: Likewise.
48738 * libio/iofdopen.c: Likewise.
48739 * libio/iofopen.c: Likewise.
48740 * libio/iofopen64.c: Likewise.
48741 * libio/iogetdelim.c: Likewise.
48742 * libio/iopopen.c: Likewise.
48743 * libio/obprintf.c: Likewise.
48744 * libio/oldfileops.c: Likewise.
48745 * libio/oldiofclose.c: Likewise.
48746 * libio/oldiofdopen.c: Likewise.
48747 * libio/oldiofopen.c: Likewise.
48748 * libio/oldiopopen.c: Likewise.
48749 * libio/wfiledoalloc.c: Likewise.
48750 * libio/wgenops.c: Likewise.
48751 * locale/programs/xmalloc.c: Likewise.
48752 * misc/syslog.c: Likewise.
48753 * stdio-common/xbug.c: Likewise.
48754 * string/memchr.c: Likewise.
48755 * string/memcmp.c: Likewise.
48756 * string/memrchr.c: Likewise.
48757 * string/rawmemchr.c: Likewise.
48758 * sysdeps/posix/getcwd.c: Likewise.
48759 * time/strftime_l.c: Likewise.
48760
3b100462
JM
487612012-01-30 Joseph Myers <joseph@codesourcery.com>
48762
48763 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48764 * config.make.in (config-cflags-sse2avx): Define.
48765 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48766 Fix typo.
48767
607998af
CM
487682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48769
48770 * scripts/config.guess: Update from upstream config git repository.
48771 * scripts/config.sub: Likewise.
48772
3601428f
CM
487732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48774
3ac8b282
CM
48775 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48776 (EM_NUM): Update.
48777 (R_TILEPRO_*, R_TILEGX_*): New macros.
48778
e034841e
CM
48779 * scripts/firstversions.awk: Fix bug in version range handling.
48780
540d7568
CM
48781 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48782
3601428f
CM
48783 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48784
463de862
CM
48785 * include/sys/epoll.h: New file.
48786 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48787 libc_hidden_def.
48788
73139a76
UD
487892012-01-28 Ulrich Drepper <drepper@gmail.com>
48790
96bc5b45
UD
48791 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48792 Avoid unnecessary __WORDSIZE == 64 test.
48793 (fmaxf): Use VEX format if possible.
48794 (fmax): Likewise.
48795 (fminf): Likewise.
48796 (fmin): Likewise.
48797
56f6f6a2
UD
48798 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48799 * math/math_private.h: Remove libc_fegetround* and
48800 libc_fesetround*.
48801 * sysdeps/i386/configure.in: Check for -msse2avx.
48802 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48803 also if SSE2AVX is defined.
48804 Remove libc_fegetround* and libc_fesetround*.
48805 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48806 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48807 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48808 of HAS_YMM_USABLE.
48809 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48810 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48812 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48813 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48814
73139a76
UD
48815 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48816
d73f93a4
AZ
488172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48818
48819 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48820 size is not set.
48821 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48822
6ee65ed6
UD
488232012-01-27 Ulrich Drepper <drepper@gmail.com>
48824
48825 [BZ #13618]
48826 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48827 relocation.
48828 * Makeconfig (libm): Define.
48829 * elf/Makefile: Add rules to build and run tst-relsort1.
48830 * elf/tst-relsort1.c: New file.
48831 * elf/tst-relsort1mod1.c: New file.
48832 * elf/tst-relsort1mod2.c: New file.
48833
8db21882
JM
488342012-01-27 Joseph Myers <joseph@codesourcery.com>
48835
48836 * math/s_ldexp.c: Remove __STDC__ conditionals.
48837 * math/s_ldexpf.c: Likewise.
48838 * math/s_ldexpl.c: Likewise.
48839 * math/s_nextafter.c: Likewise.
48840 * math/s_nexttowardf.c: Likewise.
48841 * math/s_significand.c: Likewise.
48842 * math/s_significandf.c: Likewise.
48843 * math/s_significandl.c: Likewise.
48844 * math/w_jnl.c: Likewise.
48845 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48846 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48847 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48848 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48849 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48850 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48851 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48852 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48853 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48854 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48855 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48856 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48857 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48858 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48859 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48860 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48861 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48862 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48864 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48865 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48866 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48867 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48868 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48869 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48870 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48871 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48872 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48873 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48874 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48875 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48876 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48877 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48878 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48879 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48880 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48881 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48882 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48883 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48884 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48885 * sysdeps/ieee754/k_standard.c: Likewise.
48886 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48887 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48888 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48889 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48890 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48891 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48892 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48893 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48894 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48895 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48896 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48897 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48898 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48899 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48900 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48901 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48902 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48903 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48904 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48905 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48906 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48907 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48908 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48909 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48910 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48911 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48912 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48915 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48916 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48917 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48918 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48919 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48921 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48922 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48923 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48924 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48925 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48926 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48927 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48928 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48929 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48930 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48931 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48932 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48934 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48935 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48936 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48937 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48938 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48939 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48940 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48941 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48942 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48943 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48944 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48945 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48946 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48947 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48948 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48949 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48950 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48951 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48952 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48953 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48954 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48955 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48956 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48957 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48958 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48959 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48960 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48961 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48962 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48963 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48964 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48965 * sysdeps/ieee754/s_matherr.c: Likewise.
48966 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48967 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48970
965a54a4
JM
489712012-01-26 Joseph Myers <joseph@codesourcery.com>
48972
48973 * crypt/md5.h: Remove __STDC__ conditionals.
48974 * libio/libioP.h: Likewise.
48975 * locale/programs/config.h: Likewise.
48976 * sysdeps/generic/sysdep.h: Likewise.
48977 * sysdeps/i386/asm-syntax.h: Likewise.
48978 * sysdeps/s390/asm-syntax.h: Likewise.
48979 * sysdeps/unix/sysdep.h: Likewise.
48980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48982
7071ad79
JM
489832012-01-26 Joseph Myers <joseph@codesourcery.com>
48984
48985 * libio/libio.h: Remove __STDC__ conditionals.
48986 * malloc/obstack.h: Likewise.
48987 * math/complex.h: Likewise.
48988 * math/math.h: Likewise.
48989 * sysdeps/generic/_G_config.h: Likewise.
48990 * sysdeps/gnu/_G_config.h: Likewise.
48991 * sysdeps/mach/hurd/_G_config.h: Likewise.
48992 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48993 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48994 * sysdeps/sparc/bits/mathdef.h: Likewise.
48995
afc5ed09
UD
489962012-01-26 Ulrich Drepper <drepper@gmail.com>
48997
48998 [BZ #13583]
48999 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49000 Clean up HAS_* macros.
afc5ed09 49001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49002 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49003 possible.
49004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49005 HAS_AVX.
49006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49011
bdb6de1d
JM
490122012-01-25 Joseph Myers <joseph@codesourcery.com>
49013
49014 * elf/tst-unique3.cc (gets): Remove declaration.
49015 * elf/tst-unique3lib.cc (gets): Likewise.
49016 * elf/tst-unique3lib2.cc (gets): Likewise.
49017 * elf/tst-unique4.cc (gets): Likewise.
49018
b15549e6
UD
490192012-01-24 Ulrich Drepper <drepper@gmail.com>
49020
49021 * include/stdio.h: Add C++ protection. Add gets declarations and
49022 definitions.
49023 * debug/tst-chk1.c: Don't declare gets here.
49024 * stdio-common/tst-gets.c: Likewise.
49025
a037381f
JM
490262012-01-24 Joseph Myers <joseph@codesourcery.com>
49027
49028 * posix/glob: Remove directory.
49029
f1d4aa75
JM
490302012-01-24 Joseph Myers <joseph@codesourcery.com>
49031
49032 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49033
81c0c964
PT
490342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49035
49036 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49037 of the non-standard EPFNOSUPPORT.
49038
0ea698ae
ST
490392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49040
49041 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49042 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49043 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49044
d220b117
UD
490452012-01-21 Ulrich Drepper <drepper@gmail.com>
49046
49047 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49048
3e1aa84e
UD
490492012-01-20 Ulrich Drepper <drepper@gmail.com>
49050
49051 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49052 transient errors.
49053 * nscd/grpcache.c (cache_addgr): Likewise.
49054 * nscd/hstcache.c (cache_addhst): Likewise.
49055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49056 * nscd/pwdcache.c (cache_addpw): Likewise.
49057 * nscd/servicescache.c (cache_addserv): Likewise.
49058
400aa020
UD
490592012-01-16 Ulrich Drepper <drepper@gmail.com>
49060
d77e7869
UD
49061 * malloc/malloc.c: Various cleanups.
49062 * malloc/hooks.c: Likewise.
49063
400aa020
UD
49064 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49065 * stdlib/bug-fmtmsg1.c: New file.
49066
49067 * stdlib/fmtmsg.c (init): Add missing unlock.
49068 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49069
e0a309cf
MP
490702012-01-12 Marek Polacek <polacek@redhat.com>
49071
49072 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49073 and _GNU_SOURCE.
49074
929d11c7
WS
490752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49076
49077 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49078 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49079 macro to ensure uniqueness of label name.
49080 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49081 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49082
41d0e869
UD
490832012-01-11 Ulrich Drepper <drepper@gmail.com>
49084
0cc5ed3b
UD
49085 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49086
41d0e869
UD
49087 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49088 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49089 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49091
a47a831a
UD
490922012-01-10 Ulrich Drepper <drepper@gmail.com>
49093
daa891c0
UD
49094 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49095
49096 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49097 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49098 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49099
e58ef0f2
UD
49100 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49101
a47a831a 49102 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49103 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49104 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49106
49107 * math/bits/math-finite.h: Add ldexp support.
49108
a0bfc9c7
MP
491092012-01-10 Marek Polacek <polacek@redhat.com>
49110
49111 * locale/programs/localedef.h (show_archive_content): Add noreturn
49112 attribute.
49113
d6e97a1d
UD
491142012-01-09 Ulrich Drepper <drepper@gmail.com>
49115
49116 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49117
d5835c26
UD
491182012-01-08 Ulrich Drepper <drepper@gmail.com>
49119
e5f484c6
UD
49120 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49121
d5835c26
UD
49122 * io/Makefile (headers): Add bits/poll2.h.
49123
d1f741e9
WS
491242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49125
49126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49127 typo #include statement.
49128
ec09c1c4
UD
491292012-01-08 Ulrich Drepper <drepper@gmail.com>
49130
49131 * include/sys/cdefs.h: Define __attribute_alloc_size.
49132 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49133 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49134 * elf/pldd.c: Likewise.
49135 * iconv/iconv_charmap.c: Likewise.
49136 * iconv/iconvconfig.c: Likewise.
49137 * iconv/strtab.c: Likewise.
49138 * locale/programs/locale.c: Likewise.
49139 * locale/programs/localedef.h: Likewise.
49140 * locale/programs/simple-hash.c: Likewise.
49141 * nscd/nscd.h: Likewise.
49142 * nss/makedb.c: Likewise.
49143 * sysdeps/generic/ldconfig.h: Likewise.
49144 * locale/programs/localedef.c: Remove xmalloc prototype.
49145 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49146
20b38e03
PP
491472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49148
49149 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49150 appropriate.
49151
a0da5fe1
UD
491522012-01-08 Ulrich Drepper <drepper@gmail.com>
49153
1d5a644a 49154 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49155 * math/tst-CMPLX.c: New file.
1d5a644a 49156
8784a6db
UD
49157 * math/complex.h (CMPLXL): Fix typo.
49158
d9a216c0
UD
49159 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49160 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49161 GLIBC_2.16.
49162 * debug/tst-chk1.c: Add poll and ppoll tests.
49163 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49164 * include/sys/poll.h: Add hidden proto for ppoll.
49165 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49166 * sysdeps/mach/hurd/ppoll.c: Likewise.
49167 * io/ppoll.c: Likewise.
49168 * debug/poll_chk.c: New file.
49169 * debug/ppoll_chk.c: New file.
49170 * include/bits/poll2.h: New file.
49171 * io/bits/poll2.h: New file.
49172
ac097f5c
UD
49173 [BZ #1350]
49174 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49175
2119dcfa
UD
49176 * configure.in: static is always set to yes. Remove.
49177 * config.make.in: Don't set build-static.
49178 * Makeconfig: Remove use of build-static.
49179 * dlfcn/Makefile: Likewise.
49180 * elf/Makefile: Likewise.
49181 * math/Makefile: Likewise.
49182 * misc/Makefile: Likewise.
49183 * nptl/Makefile: Likewise.
49184 * sysdeps/mach/hurd/Makefile: Likewise.
49185
121766a9
UD
49186 * configure.in: PWD_P is not used anymore.
49187 * config.make.in: Remove PWD_P entry.
49188
51a1d39c 49189 * configure.in: Remove last remnants of RANLIB.
8720d066 49190 No need to check for signed size_t anymore.
215f4bdc
UD
49191 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49192 and IA-64.
3857022a 49193 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49194 * aclocal.m4: Likewise.
49195
d3ed7225
UD
49196 * wcsmbs/mbrtoc16.c: Implement using towc function.
49197 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49198 * wcsmbs/wcsmbsload.c: Likewise.
49199 * iconv/gconv_simple.c: Likewise.
49200 * iconv/gconv_int.h: Likewise.
49201 * iconv/gconv_builtin.h: Likewise.
49202 * iconv/iconv_prog.c: Remove CHAR16 handling.
49203
49204 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49205
49206 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49207
a0da5fe1
UD
49208 * configure.in: Remove --with-elf and --enable-bounded options.
49209 Dont set base_machine for ia64. More non-ELF conditions removed.
49210 Remove testing and setting of leading underscore information.
49211 * config.make.in (build-bounded): Set to no.
49212 * config.h.in: Remove NO_UNDERSCORES entry.
49213 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49214 them.
49215 * csu/start.c: Remove !NO_UNDERSCORE code.
49216 * locale/localeinfo.h: Likewise.
49217 * sysdeps/generic/machine-gmon.h: Likewise.
49218 * sysdeps/generic/sysdep.h: Likewise.
49219 * sysdeps/i386/sysdep.h: Likewise.
49220 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49221 * sysdeps/mach/sysdep.h: Likewise.
49222 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49223 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49224 * sysdeps/sh/sysdep.h: Likewise.
49225 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49226 * sysdeps/unix/i386/sysdep.S: Likewise.
49227 * sysdeps/unix/sparc/start.c: Likewise.
49228 * sysdeps/unix/sparc/sysdep.S: Likewise.
49229 * sysdeps/unix/sparc/sysdep.h: Likewise.
49230 * sysdeps/unix/start.c: Likewise.
49231 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49232 * sysdeps/x86_64/sysdep.h: Likewise.
49233
df78418a
UD
492342012-01-07 Ulrich Drepper <drepper@gmail.com>
49235
a784e502
UD
49236 [BZ #13553]
49237 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49238 for non-gcc.
49239 * argp/argp-fmtstream.h: Use const instead __const.
49240 * argp/argp.h: Likewise.
49241 * assert/assert.h: Likewise.
49242 * bits/fenv.h: Likewise.
49243 * bits/sched.h: Likewise.
49244 * bits/sigset.h: Likewise.
49245 * bits/sigthread.h: Likewise.
49246 * catgets/nl_types.h: Likewise.
49247 * conform/data/pthread.h-data: Likewise.
49248 * crypt/crypt-private.h: Likewise.
49249 * crypt/crypt.h: Likewise.
49250 * crypt/crypt_util.c: Likewise.
49251 * ctype/ctype.h: Likewise.
49252 * debug/execinfo.h: Likewise.
49253 * debug/mbsnrtowcs_chk.c: Likewise.
49254 * debug/mbsrtowcs_chk.c: Likewise.
49255 * debug/wcsnrtombs_chk.c: Likewise.
49256 * debug/wcsrtombs_chk.c: Likewise.
49257 * debug/wcstombs_chk.c: Likewise.
49258 * dirent/dirent.h: Likewise.
49259 * dlfcn/dlfcn.h: Likewise.
49260 * elf/neededtest4.c: Likewise.
49261 * grp/grp.h: Likewise.
49262 * gshadow/gshadow.h: Likewise.
49263 * iconv/gconv.h: Likewise.
49264 * iconv/gconv_int.h: Likewise.
49265 * iconv/gconv_simple.c: Likewise.
49266 * iconv/iconv.h: Likewise.
49267 * iconv/loop.c: Likewise.
49268 * iconv/skeleton.c: Likewise.
49269 * include/aio.h: Likewise.
49270 * include/aliases.h: Likewise.
49271 * include/argz.h: Likewise.
49272 * include/arpa/inet.h: Likewise.
49273 * include/assert.h: Likewise.
49274 * include/dirent.h: Likewise.
49275 * include/dlfcn.h: Likewise.
49276 * include/execinfo.h: Likewise.
49277 * include/fcntl.h: Likewise.
49278 * include/fenv.h: Likewise.
49279 * include/glob.h: Likewise.
49280 * include/grp.h: Likewise.
49281 * include/libintl.h: Likewise.
49282 * include/mntent.h: Likewise.
49283 * include/netdb.h: Likewise.
49284 * include/pwd.h: Likewise.
49285 * include/rpc/netdb.h: Likewise.
49286 * include/sched.h: Likewise.
49287 * include/search.h: Likewise.
49288 * include/shadow.h: Likewise.
49289 * include/signal.h: Likewise.
49290 * include/stdio.h: Likewise.
49291 * include/stdlib.h: Likewise.
49292 * include/string.h: Likewise.
49293 * include/sys/socket.h: Likewise.
49294 * include/sys/stat.h: Likewise.
49295 * include/sys/statfs.h: Likewise.
49296 * include/sys/statvfs.h: Likewise.
49297 * include/sys/syslog.h: Likewise.
49298 * include/sys/time.h: Likewise.
49299 * include/sys/uio.h: Likewise.
49300 * include/time.h: Likewise.
49301 * include/unistd.h: Likewise.
49302 * include/utmp.h: Likewise.
49303 * include/wchar.h: Likewise.
49304 * include/wctype.h: Likewise.
49305 * inet/aliases.h: Likewise.
49306 * inet/arpa/inet.h: Likewise.
49307 * inet/netinet/ether.h: Likewise.
49308 * inet/netinet/in.h: Likewise.
49309 * intl/libintl.h: Likewise.
49310 * io/bits/fcntl2.h: Likewise.
49311 * io/fcntl.h: Likewise.
49312 * io/ftw.h: Likewise.
49313 * io/sys/poll.h: Likewise.
49314 * io/sys/stat.h: Likewise.
49315 * io/sys/statfs.h: Likewise.
49316 * io/sys/statvfs.h: Likewise.
49317 * io/utime.h: Likewise.
49318 * libio/bits/stdio.h: Likewise.
49319 * libio/bits/stdio2.h: Likewise.
49320 * libio/libio.h: Likewise.
49321 * libio/libioP.h: Likewise.
49322 * libio/stdio.h: Likewise.
49323 * locale/lc-ctype.c: Likewise.
49324 * locale/locale.h: Likewise.
49325 * login/utmp.h: Likewise.
49326 * malloc/arena.c: Likewise.
49327 * malloc/malloc.c: Likewise.
49328 * malloc/malloc.h: Likewise.
49329 * malloc/mcheck.c: Likewise.
49330 * malloc/mtrace.c: Likewise.
49331 * math/bits/mathcalls.h: Likewise.
49332 * math/fenv.h: Likewise.
49333 * math/math_private.h: Likewise.
49334 * misc/bits/error.h: Likewise.
49335 * misc/bits/syslog.h: Likewise.
49336 * misc/err.h: Likewise.
49337 * misc/error.h: Likewise.
49338 * misc/fstab.h: Likewise.
49339 * misc/mntent.h: Likewise.
49340 * misc/regexp.h: Likewise.
49341 * misc/search.h: Likewise.
49342 * misc/sgtty.h: Likewise.
49343 * misc/sys/mman.h: Likewise.
49344 * misc/sys/syslog.h: Likewise.
49345 * misc/sys/uio.h: Likewise.
49346 * misc/sys/xattr.h: Likewise.
49347 * misc/ttyent.h: Likewise.
49348 * nis/rpcsvc/ypclnt.h: Likewise.
49349 * nss/nss.h: Likewise.
49350 * posix/bits/unistd.h: Likewise.
49351 * posix/fnmatch.h: Likewise.
49352 * posix/glob.h: Likewise.
49353 * posix/sched.h: Likewise.
49354 * posix/spawn.h: Likewise.
49355 * posix/sys/wait.h: Likewise.
49356 * posix/unistd.h: Likewise.
49357 * posix/wordexp.h: Likewise.
49358 * pwd/pwd.h: Likewise.
49359 * resolv/netdb.h: Likewise.
49360 * resource/sys/resource.h: Likewise.
49361 * rt/aio.h: Likewise.
49362 * rt/bits/mqueue2.h: Likewise.
49363 * rt/mqueue.h: Likewise.
49364 * shadow/shadow.h: Likewise.
49365 * signal/signal.h: Likewise.
49366 * socket/send.c: Likewise.
49367 * socket/sendto.c: Likewise.
49368 * socket/sys/socket.h: Likewise.
49369 * stdio-common/printf.h: Likewise.
49370 * stdlib/bits/stdlib.h: Likewise.
49371 * stdlib/fmtmsg.h: Likewise.
49372 * stdlib/monetary.h: Likewise.
49373 * stdlib/stdlib.h: Likewise.
49374 * stdlib/ucontext.h: Likewise.
49375 * streams/stropts.h: Likewise.
49376 * string/argz.h: Likewise.
49377 * string/bits/string2.h: Likewise.
49378 * string/string.h: Likewise.
49379 * string/strings.h: Likewise.
49380 * sunrpc/rpc/auth.h: Likewise.
49381 * sunrpc/rpc/auth_des.h: Likewise.
49382 * sunrpc/rpc/clnt.h: Likewise.
49383 * sunrpc/rpc/netdb.h: Likewise.
49384 * sunrpc/rpc/pmap_clnt.h: Likewise.
49385 * sunrpc/rpc/xdr.h: Likewise.
49386 * sysdeps/generic/inttypes.h: Likewise.
49387 * sysdeps/generic/net/if.h: Likewise.
49388 * sysdeps/generic/sys/swap.h: Likewise.
49389 * sysdeps/gnu/net/if.h: Likewise.
49390 * sysdeps/gnu/utmpx.h: Likewise.
49391 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49392 * sysdeps/i386/i486/bits/string.h: Likewise.
49393 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49394 * sysdeps/s390/bits/string.h: Likewise.
49395 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49396 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49397 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49398 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49399 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49400 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49401 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49402 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49403 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49404 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49405 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49406 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49407 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49408 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49409 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49410 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49411 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49413 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49414 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49415 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49416 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49417 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49418 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49419 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49420 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49421 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49422 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49423 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49424 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49425 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49426 * sysvipc/sys/ipc.h: Likewise.
49427 * sysvipc/sys/msg.h: Likewise.
49428 * sysvipc/sys/sem.h: Likewise.
49429 * sysvipc/sys/shm.h: Likewise.
49430 * termios/termios.h: Likewise.
49431 * time/sys/time.h: Likewise.
49432 * time/time.h: Likewise.
49433 * wcsmbs/bits/wchar2.h: Likewise.
49434 * wcsmbs/uchar.h: Likewise.
49435 * wcsmbs/wchar.h: Likewise.
49436 * wctype/wctype.h: Likewise.
49437
0269750c
UD
49438 [BZ #13551]
49439 * Makeconfig: Remove all but ELF support including AIX support.
49440 * Makerules: Likewise.
49441 * config.h.in: Likewise.
49442 * config.make.in: Likewise.
49443 * configure: Likewise.
49444 * configure.in: Likewise.
49445 * csu/Makefile: Likewise.
49446 * csu/version.c: Likewise.
49447 * debug/Makefile: Likewise.
49448 * dlfcn/Makefile: Likewise.
49449 * elf/Makefile: Likewise.
49450 * extra-lib.mk: Likewise.
49451 * iconv/Makefile: Likewise.
49452 * include/libc-symbols.h: Likewise.
49453 * include/shlib-compat.h: Likewise.
49454 * resolv/Makefile: Likewise.
49455 * resolv/res_libc.c: Likewise.
49456 * rt/Makefile: Likewise.
49457 * sysdeps/i386/asm-syntax.h: Likewise.
49458 * sysdeps/i386/sysdep.h: Likewise.
49459 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49460 * sysdeps/mach/sysdep.h: Likewise.
49461 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49462 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49463 * sysdeps/s390/asm-syntax.h: Likewise.
49464 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49465 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49466 * sysdeps/sh/sysdep.h: Likewise.
49467 * sysdeps/unix/sparc/sysdep.h: Likewise.
49468 * sysdeps/wordsize-32/divdi3.c: Likewise.
49469 * sysdeps/x86_64/sysdep.h: Likewise.
49470
00bbd29b
UD
49471 * argp/Versions: Remove _argp_unlock_xxx.
49472
49473 [BZ #13559]
49474 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49475 * abilist/libBrokenLocale.abilist: Likewise.
49476 * abilist/libanl.abilist: Likewise.
49477 * abilist/libc.abilist: Likewise.
49478 * abilist/libcrypt.abilist: Likewise.
49479 * abilist/libdl.abilist: Likewise.
49480 * abilist/libm.abilist: Likewise.
49481 * abilist/libnsl.abilist: Likewise.
49482 * abilist/libpthread.abilist: Likewise.
49483 * abilist/libresolv.abilist: Likewise.
49484 * abilist/librt.abilist: Likewise.
49485 * abilist/libthread_db.abilist: Likewise.
49486 * abilist/libutil.abilist: Likewise.
49487 * abilist/libnss_db.abilist: New file.
49488
49489 * scripts/abilist.awk: Add support for indirect functions.
49490
a2693a0e
UD
49491 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49492
3f05895f
UD
49493 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49494
ecb6fb48
UD
49495 * shlib-versions: Remove entries for ports architectures.
49496
664f8cb9
UD
49497 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49498 files in ports.
49499 * elf/stackguard-macros.h: Remove support for IA-64.
49500 * elf/tst-auditmod1.c: Likewise.
49501 * sysdeps/generic/ldsodefs.h: Likewise.
49502
7ae81d88
UD
49503 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49504 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49505 configure files.
49506
bdeba135
UD
49507 [BZ #13552]
49508 * configure.in: Remove --enable-omitfp support.
49509 * FAQ.in: Adjust.
49510 * config.make.in: Likewise.
49511 * Makeconfig: Likewise.
49512 * manual/install.texi: Likewise.
49513
d75a0a62
UD
49514 In case anyone cares, the IA-64 architecture could move to ports.
49515 * sysdeps/ia64/*: Removed.
49516 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49517 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49518
dcc9756b
UD
49519 [BZ #13555]
49520 * configure.in: Remove entries for unsupported architectures.
49521
d3761ebc 49522 [BZ #13533]
9954432e
UD
49523 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49524 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49525 routines.
49526 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49527 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49528 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49529 fall back to using wcrtomb.
49530 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49531 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49532 renaming.
49533 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49534 * wcsmbs/tst-c16c32-1.c: New file.
49535
49536 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49537 local variable.
49538
c3a87236
UD
49539 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49540
28926a1b
UD
49541 * elf/tst-unique3.cc: Add explicit declaration of gets.
49542 * elf/tst-unique3lib.cc: Likewise.
49543 * elf/tst-unique3lib2.cc: Likewise.
49544 * elf/tst-unique4.cc: Likewise.
49545
df78418a
UD
49546 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49547
8ecd6b2a
JM
495482012-01-06 Joseph Myers <joseph@codesourcery.com>
49549
49550 [BZ #13566]
49551 * assert/assert.h (static_assert): Don't define for C++.
49552 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49553 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49554
9f115170
UD
495552012-01-03 Ulrich Drepper <drepper@gmail.com>
49556
5e0d0300
UD
49557 * iconv/loop.c (single loop): Fix assertion in storing of
49558 remaining bytes.
49559
9f115170
UD
49560 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49561
81fb02b0
UD
495622012-01-01 Ulrich Drepper <drepper@gmail.com>
49563
49564 * posix/getconf.c: Update copyright year.
49565 * nss/getent.c: Likewise.
a316c1f6 49566 * nss/makedb.c: Likewise.
81fb02b0
UD
49567 * iconv/iconvconfig.c: Likewise.
49568 * iconv/iconv_prog.c: Likewise.
49569 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49570 * elf/pldd.c: Likewise.
49571 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49572 * catgets/gencat.c: Likewise.
49573 * csu/version.c: Likewise.
49574 * elf/ldd.bash.in: Likewise.
49575 * elf/sprof.c (print_version): Likewise.
49576 * locale/programs/locale.c: Likewise.
49577 * locale/programs/localedef.c: Likewise.
a316c1f6 49578 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49579 * nscd/nscd.c (print_version): Likewise.
49580 * debug/xtrace.sh: Likewise.
49581 * malloc/memusage.sh: Likewise.
49582 * malloc/mtrace.pl: Likewise.
49583 * debug/catchsegv.sh: Likewise.
49584
2ba92745
JJ
495852011-12-30 Jakub Jelinek <jakub@redhat.com>
49586
49587 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49588 pure attribute.
49589
dadebdae
UD
495902011-12-24 Ulrich Drepper <drepper@gmail.com>
49591
d3761ebc 49592 [BZ #13533]
db6af3eb
UD
49593 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49594 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49595 transformations.
49596 * iconv/gconv_int.h: Likewise.
49597 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49598 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49599 from libc for GLIBC_2.16.
49600 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49601 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49602 * wcsmbs/uchar.h: Really define mbstate_t.
49603 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49604 * wcsmbs/c16rtomb.c: New file.
49605 * wcsmbs/mbrtoc16.c: New file.
49606 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49607 for C/POSIX locale.
49608 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49609 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49610
dadebdae
UD
49611 * wcsmbs/wchar.h: Add missing __restrict.
49612
67371b56
UD
496132011-12-23 Ulrich Drepper <drepper@gmail.com>
49614
74033a25
UD
49615 [BZ #13532]
49616 * time/Makefile (routines): Add timespec_get.
49617 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49618 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49619 timespec for ISO C11.
49620 * time/timespec_get.c: New file.
49621 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49622 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49623
380d7e87
UD
49624 [BZ #13531]
49625 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49626 * stdlib/stdlib.h: Declare aligned_alloc.
49627 * Versions.def: Add GLIBC_2.16 for libc.
49628 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49629
4e9e7a35
UD
49630 [BZ 13527]
49631 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49632 ISO C11.
49633
380d7e87 49634 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49635 code.
49636
03a71829
UD
49637 [BZ #13528]
49638 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49639
839e283e
UD
49640 [BZ #13529]
49641 * assert/assert.h (static_assert): Define.
49642
ce5294e2 49643 * version.h: Update for 2.16 development version.
90fa7312 49644
8d44e150 49645 [BZ #13526]
d7809905
UD
49646 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49647 _ISOC11_SOURCE.
49648
c0da14cd
UD
49649 * version.h (RELEASE): Bump for 2.15 release.
49650 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49651
530a3249
MP
49652 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49653 Patch by Marek Polacek <mpolacek@redhat.com>.
49654
67371b56
UD
49655 * bits/byteswap.h: Protect long long constants with __extension__.
49656 * sysdeps/i386/bits/byteswap.h: Likewise.
49657 * sysdeps/ia64/bits/byteswap.h: Likewise.
49658 * sysdeps/s390/bits/byteswap.h: Likewise.
49659 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49660
15db4de1
LD
496612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49662
49663 [BZ #13540]
bbe315ea
LD
49664 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49665 destination buffer.
15db4de1
LD
49666 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49667
2b2596b1
MP
496682011-12-23 Marek Polacek <polacek@redhat.com>
49669
49670 * elf/dl-addr.c (determine_info): Add inline keyword.
49671 * elf/tst-auditmod4b.c (check_avx): Likewise.
49672 * elf/tst-auditmod6b.c (check_avx): Likewise.
49673 * elf/tst-auditmod6c.c (check_avx): Likewise.
49674 * elf/tst-auditmod7b.c (check_avx): Likewise.
49675
70c6c246
UD
496762011-12-23 Ulrich Drepper <drepper@gmail.com>
49677
49678 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49679 !__SSE_MATH__.
49680
c044cf14
LD
496812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49682
15db4de1 49683 [BZ #13540]
c044cf14
LD
49684 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49685 processing for last bytes.
49686
6b13d9d9
BH
496872011-08-06 Bruno Haible <bruno@clisp.org>
49688
d455f537
BH
49689 [BZ #13061]
49690 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49691 U+0385, not to U+1FEE.
49692
6b13d9d9
BH
49693 [BZ #13062]
49694 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49695 entry for U+00A5 U+0301.
49696
db910efd
UD
496972011-12-22 Ulrich Drepper <drepper@gmail.com>
49698
27deeafc
UD
49699 [BZ #13166]
49700 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49701 buffer for the output is too small.
49702
aed9d171
UD
49703 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49704 optimization.
49705
db910efd
UD
49706 [BZ #13185]
49707 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49708 SSE flags if possible.
49709
2bd779ae
LD
497102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49711
e7f9dac3 49712 [BZ #13540]
2bd779ae
LD
49713 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49714 processing for last bytes.
49715
154bfc16
JM
497162011-12-22 Joseph Myers <joseph@codesourcery.com>
49717
49718 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49719 (syscall-list-default-options, syscall-list-default-condition)
49720 (syscall-list-includes): Define.
49721 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49722 list of ABIs and options and #if conditions for each ABI. Do not
49723 handle common syscalls between ABIs specially.
49724 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49725 Remove.
49726 (syscall-list-variants, syscall-list-32bit-options)
49727 (syscall-list-32bit-condition, syscall-list-64bit-options)
49728 (syscall-list-64bit-condition): Define.
49729 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49730 (syscall-list-variants, syscall-list-32bit-options)
49731 (syscall-list-32bit-condition, syscall-list-64bit-options)
49732 (syscall-list-64bit-condition): Define.
49733 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49734 Remove.
49735 (syscall-list-variants, syscall-list-32bit-options)
49736 (syscall-list-32bit-condition, syscall-list-64bit-options)
49737 (syscall-list-64bit-condition): Define.
49738 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49739 Remove.
49740 (syscall-list-variants, syscall-list-32bit-options)
49741 (syscall-list-32bit-condition, syscall-list-64bit-options)
49742 (syscall-list-64bit-condition): Define.
49743
21eaf3a5
UD
497442011-12-22 Ulrich Drepper <drepper@gmail.com>
49745
16c6f992
UD
49746 * locale/iso-639.def: Add brx entry.
49747
41043168
UD
49748 [BZ #13328]
49749 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49750 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49751
21eaf3a5
UD
49752 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49753 __feraiseexcept_renamed.
49754
e3a851a2
UD
497552011-12-21 Ulrich Drepper <drepper@gmail.com>
49756
4920765e
UD
49757 [BZ #13538]
49758 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49759 EPOLLET with unsigned values.
49760 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49761 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49762
e3a851a2
UD
49763 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49764 to large cancellation.
49765 * math/s_cacoshf.c: Likewise.
49766 * math/s_cacoshl.c: Likewise.
49767
b27e24b8
RK
497682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49769
49770 [BZ #13305]
aebefeee 49771 [BZ #12786]
b27e24b8
RK
49772 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49773 * math/s_cacoshf.c: Likewise.
49774 * math/s_cacoshl.c: Likewise.
49775
ee190f67
UD
497762011-12-21 Ulrich Drepper <drepper@gmail.com>
49777
49778 [BZ #13439]
49779 * iconv/gconv.h: Define __GCONV_SWAP.
49780 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49781 * iconvdata/utf-16.c: Likewise.
49782 * iconvdata/utf-32.c: Likewise.
49783
707f25df
AS
497842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49785
49786 [BZ #13524]
49787 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49788 numerator after shifting it by one limb.
49789
d2daaa1e
RÁE
497902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49791
49792 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49793 under [__USE_EXTERN_INLINES].
49794
a4647e72
UD
497952011-12-17 Ulrich Drepper <drepper@gmail.com>
49796
49797 [BZ #13446]
49798 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49799
f0b264f1
AZ
498002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49801
49802 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49803 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49804 optimized code.
49805 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49806 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49807 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49808 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49809 for strncasecmp/strncasecmp_l compilation.
49810 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49811 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49812
8ef4f244
MP
498132011-12-08 Marek Polacek <mpolacek@redhat.com>
49814
49815 [BZ #13484]
49816 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49817 of __asm__.
49818
97ac2654
UD
498192011-12-17 Ulrich Drepper <drepper@gmail.com>
49820
49821 [BZ #13506]
49822 * time/tzfile.c (__tzfile_read): Check values from file header.
49823
91d2a845
WS
498242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49825
49826 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49827 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49828 * powerpc/powerpc32/dl-start.S: Likewise.
49829 * powerpc/powerpc32/elf/start.S: Likewise.
49830 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49831 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49832 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49833 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49834 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49835 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49836 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49837 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49838 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49839 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49840 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49841 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49842 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49843 * powerpc/powerpc32/memset.S: Likewise.
49844 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49845 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49846 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49847 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49848 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49849 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49850 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49851 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49852 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49853 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49854 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49855 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49856 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49857
a1267ba1
AZ
498582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49859
49860 * math/libm-test.inc: Added more nearbyint tests.
49861 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49862 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49863 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49865
ad8ac1bd
RL
498662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49867
49868 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49869 FD_CLOEXEC.
49870
1d3e4b61
UD
498712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49872
49873 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49874 Add wcscpy-ssse3 wcscpy-c.
49875 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49876 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49877 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49878 * sysdeps/x86_64/wcschr.S: New file.
49879 * sysdeps/x86_64/wcsrchr.S: New file.
49880 * string/test-strcmp.c: Remove checking of wcscmp function for
49881 wrong alignments.
49882 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49883 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49884 wcsrchr-sse2 wcsrchr-c.
49885 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49886 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49887 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49888 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49889 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49890 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49891 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49892 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49893 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49894 * wcsmbc/wcschr.c (WCSCHR): New macro.
49895
5b330a2d
UD
498962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49897
49898 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49899 * wcsmbs/test-wcsrchr.c: New file.
49900 * string/test-strrchr.c: Add wcsrchr support.
49901 (WIDE): New macro.
49902 * wcsmbs/test-wcscpy.c: New file.
49903 * string/test-strcpy.c: Add wcscpy support.
49904 (WIDE): New macro.
26428b7c 49905
f039c043
UD
499062011-12-10 Ulrich Drepper <drepper@gmail.com>
49907
49908 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49909 the inner loop.
49910
850fb039
AS
499112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49912
49913 [BZ #13472]
49914 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49915
4efbd5cb
UD
499162011-12-04 Ulrich Drepper <drepper@gmail.com>
49917
52ff5dd0 49918 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49919 Minor optimizations.
52ff5dd0 49920
4efbd5cb
UD
49921 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49922 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49923 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49924
8a426e12
UD
499252011-12-03 Ulrich Drepper <drepper@gmail.com>
49926
aff2453d
UD
49927 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49928 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49929 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49930 for gcc to avoid warnings.
49931 * inet/Makefile (tests): Add tst-checks.
49932 * inet/tst-checks.c: New file.
49933
49934 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49935 warning.
49936
49937 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49938 __wmemcmp_sse2.
49939
49940 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49941 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49942
8a426e12
UD
49943 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49944
9bea3473
UD
499452011-12-02 Ulrich Drepper <drepper@gmail.com>
49946
3a965496
UD
49947 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49948 problem.
49949
9bea3473
UD
49950 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49951
f101631b
UD
499522011-11-29 Joseph Myers <joseph@codesourcery.com>
49953
49954 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49955 conditional on GCC version.
49956 (__arch_compare_and_exchange_val_8_acq)
49957 (__arch_compare_and_exchange_val_16_acq)
49958 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49959 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49960 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49961
a98275aa
UD
499622011-12-02 Joseph Myers <joseph@codesourcery.com>
49963
49964 * sysdeps/sh/backtrace.c: New file.
49965
d4cc29a2
AS
499662011-12-02 Andreas Schwab <schwab@redhat.com>
49967
49968 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49969 parenthesis.
49970
6257af2d
AS
499712011-12-01 Andreas Schwab <schwab@redhat.com>
49972
49973 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49974 falling back to utime.
49975
b5f44c1a
AS
499762011-11-30 Andreas Schwab <schwab@redhat.com>
49977
49978 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49979 expectations for float.
49980
f3a6cc0a
AS
499812011-11-29 Andreas Schwab <schwab@redhat.com>
49982
49983 * locale/weight.h (findidx): Add parameter len.
49984 * locale/weightwc.h (findidx): Likewise.
49985 * posix/fnmatch_loop.c (FCT): Adjust caller.
49986 * posix/regcomp.c (build_equiv_class): Likewise.
49987 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49988 * posix/regexec.c (check_node_accept_bytes): Likewise.
49989 * string/strcoll_l.c (STRCOLL): Likewise.
49990 * string/strxfrm_l.c (STRXFRM): Likewise.
49991
9d65ea3a
UD
499922011-11-17 Ulrich Drepper <drepper@gmail.com>
49993
49994 * Makefile.in: Remove CVSOPT handling.
49995 * configure.in: Remove use of AC_REVISION.
49996 * iconvdata/Makefile (distribute): No need to filter out CVS.
49997 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49998 handling.
49999
5583a086
AS
500002011-11-16 Andreas Schwab <schwab@redhat.com>
50001
50002 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50003 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50004 [USE_AS_STRNCASECMP_L]: Likewise.
50005 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50006 NO_TLS_DIRECT_SEG_REFS.
50007 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50008 Fix argument offsets for non-PIC.
50009 [USE_AS_STRNCASECMP_L]: Likewise.
50010 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50011 NO_TLS_DIRECT_SEG_REFS.
50012
d62a8200
UD
500132011-11-15 Ulrich Drepper <drepper@gmail.com>
50014
9d65ea3a 50015 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50016 O_CLOEXEC.
50017 * locale/loadlocale.c (_nl_load_locale): Likewise.
50018
09f93bd3
AS
500192011-11-15 Andreas Schwab <schwab@redhat.com>
50020
446514f9
AS
50021 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50022 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50023 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50024 (SYSCALL_GETTIME): Set errno on error.
50025
09f93bd3
AS
50026 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50027 count references to noai6ai_cached.
50028
312be3f9
UD
500292011-11-15 Ulrich Drepper <drepper@gmail.com>
50030
50031 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50032
50033 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50034 FD_CLOEXEC for /proc/self/maps.
50035
50036 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50037 FD_CLOEXEC for /proc/meminfo.
50038
50039 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50040 gai.conf.
50041
50042 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50043 FD_CLOEXEC for given file.
50044
50045 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50046
50047 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50048 FD_CLOEXEC for /etc/hosts.
50049 (_gethtent): Likewise.
50050
50051 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50052
50053 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50054 cancellation and set FD_CLOEXEC for /etc/netgroup.
50055
50056 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50057 reading /etc/publickey.
50058
50059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50060 allow cancellation when reading /etc/group.
50061
50062 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50063 cancellation.
50064 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50065
50066 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50067 when using data file.
50068
50069 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50070
50071 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50072 (write_nis_obj): Use "c" and "e" in fopen.
50073
50074 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50075
50076 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50077
50078 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50079
50080 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50081
50082 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50083 locale.alias.
50084
50085 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50086
50087 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50088
50089 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50090
50091 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50092 file parsing and set FD_CLOEXEC.
50093
82af0fa8
UD
500942011-11-14 Ulrich Drepper <drepper@gmail.com>
50095
50096 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50097
a5fb313c
AS
500982011-11-14 Andreas Schwab <schwab@redhat.com>
50099
50100 * malloc/arena.c (arena_get2): Don't call reused_arena when
50101 _int_new_arena failed.
50102
6abf3465
UD
501032011-11-14 Ulrich Drepper <drepper@gmail.com>
50104
50105 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50106 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50107 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50108 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50109 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50110 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50111 to compile strcasecmp and strncasecmp.
50112 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50113 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50114
50115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50116
76e3966e
UD
501172011-11-13 Ulrich Drepper <drepper@gmail.com>
50118
50119 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50120 locale-defines.sym to gen-as-const-headers.
50121 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50122 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50123 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50124 to compile strcasecmp and strncasecmp.
50125 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50126 strcasecmp_l and strncasecmp_l.
50127 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50128 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50129 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50130 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50131 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50132 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50133 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50134 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50135 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50136 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50137 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50138
ab26144e
UD
501392011-11-12 Ulrich Drepper <drepper@gmail.com>
50140
7edb22ef
UD
50141 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50142 result of SYSDEP_GETTIME_CPU to retval.
50143 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50144 parameter list to macro. Remove trailing semicolon. Adjust users.
50145
9694fc44
UD
50146 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50147 variable.
50148
8ad89ef8
UD
50149 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50150 mantissa words.
50151 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50152
0c822ef9
UD
50153 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50154 from unused variable.
50155
874e0564
UD
50156 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50157 DWARF definitions.
50158 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50159 for assembling.
50160
3a2edc79
UD
50161 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50162 over namespaces.
50163
f3c2577f
UD
50164 * sunrpc/rpc_prot.c (rejected): Fix case value.
50165
294ce126
UD
50166 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50167 unsigned long long int to avoid warnings in shift.
50168
5e2b63c6
UD
50169 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50170 of use of trans.
50171 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50172 variable tmp.
50173
e7f4b08e
UD
50174 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50175 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50176 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50177
ab26144e
UD
50178 * nis/nis_table.c (nis_list): Use variable of correct type for
50179 result of __follow_path call.
50180
8a6d5255
AZ
501812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50182
50183 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50184 of math functions ceil, trunc, floor, round, and sqrt, when
50185 avaliable on the platform.
50186 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50187 name clash.
50188 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50189 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50190 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50191
aaddc98c
MP
501922011-10-30 Marek Polacek <mpolacek@redhat.com>
50193
50194 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50195 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50196
95b7042b
RM
501972011-11-11 Roland McGrath <roland@hack.frob.com>
50198
50199 * include/unistd.h: Fix __readlink return type.
50200 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50201
57769839
UD
502022011-11-11 Ulrich Drepper <drepper@gmail.com>
50203
50204 * stdlib/ucontext.h: Undo last change for makecontext.
50205
edc5984d
AS
502062011-11-11 Andreas Schwab <schwab@redhat.com>
50207
98591e58
AS
50208 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50209
edc5984d
AS
50210 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50211 * setjmp/setjmp.h: Mark functions as non-leaf.
50212 * setjmp/bits/setjmp2.h: Likewise.
50213 * stdlib/ucontext.h: Likewise.
50214
77cdc054
AS
502152011-11-10 Andreas Schwab <schwab@redhat.com>
50216
50217 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50218 (reused_arena): Don't check arena limit.
50219 (arena_get2): Atomically check arena limit.
50220
fe72eebd
UD
502212011-11-08 Ulrich Drepper <drepper@gmail.com>
50222
5f078c32
UD
50223 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50224 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50225
fe72eebd
UD
50226 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50227 instructions.
50228
ae1bc2fa
AS
502292011-11-07 Andreas Schwab <schwab@redhat.com>
50230
7583a88d
AS
50231 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50232 handler when locking.
50233
ae1bc2fa
AS
50234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50235 Fix size of allocated buffer.
50236
10fb0bfa
AS
502372011-11-04 Andreas Schwab <schwab@redhat.com>
50238
998832a4
AS
50239 [BZ #10103]
50240 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50241 declarations for long double functions.
50242 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50243
10fb0bfa
AS
50244 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50245
3d7ba52b
AS
502462011-11-03 Andreas Schwab <schwab@redhat.com>
50247
a9ae54a1
AS
50248 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50249 installed.
50250
3d7ba52b
AS
50251 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50252 is disabled.
50253
bc8db248
ST
502542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50255
50256 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50257
45b96dd6
AS
502582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50259
647776f6
AS
50260 * include/alloca.h (stackinfo_alloca_round): Define.
50261 (extend_alloca): Use it.
50262 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50263 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50264 here.
50265
d91a8b93
AS
50266 * scripts/check-local-headers.sh: Ignore libaudit.h.
50267
45b96dd6
AS
50268 * nscd/Makefile (extra-objs): Make recursively expanded.
50269
432d41ce
UD
502702011-11-01 Ulrich Drepper <drepper@gmail.com>
50271
34372fc6
UD
50272 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50273 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50274
fadb59f8
UD
50275 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50276 * posix/tst-rfc3484-2.c: Likewise.
50277 * posix/tst-rfc3484-3.c: Likewise.
50278
78239589
UD
50279 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50280 process_vm_writev.
50281 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50282 process_vm_writev.
50283 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50284 process_vm_writev from libc using GLIBC_2.15 version.
50285
432d41ce
UD
50286 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50287
02f9c6cf
PP
502882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50289
50290 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50291 stack usage.
50292
3a2c0242
UD
502932011-10-31 Ulrich Drepper <drepper@gmail.com>
50294
f4ec4833
UD
50295 [BZ #13367]
50296 * nss/getent.c (initgroups_keys): Show error message in case no group
50297 names are given.
50298
3a2c0242
UD
50299 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50300 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50301 __bump_nl_timestamp.
50302 * nscd/connections (nscd_init): When host database is served open
50303 netlink socket and request notification about configuration changes.
50304 (main_loop_poll): Track netlink file descriptor and bump timestamp
50305 in case data becomes available.
50306 (main_loop_epoll): Likewise.
50307 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50308 (database_pers_head): Add extra_data fileds.
50309 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50310 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50311 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50312 Adjust caller.
50313 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50314 in6ai data, call __free_in6ai.
50315 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50316 Add -DHAVE_NETLINK.
50317 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50318 interface information. Reuse previous data if netlink timestamp
50319 is not changed.
50320 (__bump_nl_timestamp): New function.
50321 (__free_in6ai): New function.
50322
636064eb
UD
503232011-10-30 Ulrich Drepper <drepper@gmail.com>
50324
50325 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50326 close_not_cancel_no_status here.
50327 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50328
9beb2334
UD
503292011-10-29 Ulrich Drepper <drepper@gmail.com>
50330
6ef76f3b
UD
50331 [BZ #13276]
50332 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50333 return value.
50334
0ffc4f3e 50335 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50336 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50337 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50338
cb95113e
UD
503392011-07-03 Andreas Jaeger <aj@suse.de>
50340
50341 [BZ #10709]
50342 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50343 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50344 * math/libm-test.inc (sin_test): Add test case.
50345
a1b560ff
UD
503462011-10-29 Ulrich Drepper <drepper@gmail.com>
50347
c9aaface
UD
50348 [BZ #13337]
50349 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50350 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50351
d272e7f1
UD
50352 * elf/chroot_canon.c (chroot_canon): Cleanups.
50353
1bc33071
UD
50354 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50355
1760874d
TJ
50356 [BZ #13335]
50357 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50358 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50359
51d91b18
UD
50360 * string/test-strchr.c: Make usable for strchrnul testing.
50361 * string/test-strchrnul.c: New file.
50362 * string/Makefile (strop-tests): Add strchrnul.
50363
a1b560ff 50364 * po/it.po: Update from translation team.
b611fb81 50365 * po/es.po: Likewise.
a1b560ff 50366
a5b81e1f
UD
503672011-10-28 Ulrich Drepper <drepper@gmail.com>
50368
fd52bc6d
UD
50369 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50370 the three constants needed as parameters. Drop the others.
50371 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50372 __m128i_strloadu_tolower.
52e4b9eb
UD
50373 Create and initialize variable zero and use it in all the places
50374 where _mm_setzero_si128 was used.
fd52bc6d 50375
a5b81e1f
UD
50376 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50377 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50378 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50379 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50380 anymore.
50381 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50382 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50383 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50384 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50385 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50386 __mpranred, __mptan.
50387 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50388 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50389 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50390 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50391 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50392 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50393 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50394 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50395 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50396
b4343346
AS
503972011-10-28 Andreas Schwab <schwab@redhat.com>
50398
0c92d8a8
AS
50399 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50400 redefine if SHARED.
50401 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50402
b4343346
AS
50403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50404 wide char related routines to wcsmbs subdir.
50405
3871f58f
AS
504062011-10-27 Andreas Schwab <schwab@redhat.com>
50407
50408 [BZ #13344]
50409 * misc/sys/cdefs.h (__THROWNL): Define.
50410 * posix/unistd.h: Use __THREADNL instead of __THREAD
50411 for memory synchronization functions.
50412
94d44d9f
RM
504132011-10-26 Roland McGrath <roland@hack.frob.com>
50414
21b64b15 50415 [BZ #13349]
94d44d9f
RM
50416 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50417 doesn't exist.
50418 * manual/stdio.texi (Obstack Streams): Node removed.
50419
f6ce9294
AS
504202011-10-26 Andreas Schwab <schwab@redhat.com>
50421
80479147
AS
50422 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50423 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50424 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50425
f6ce9294
AS
50426 * math/math_private.h (math_force_eval): Allow non-addressable
50427 arguments.
50428 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50429
618280a1
UD
504302011-10-25 Ulrich Drepper <drepper@gmail.com>
50431
e0016b11
UD
50432 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50433 file is not needed.
50434
50435 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50437 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50438 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50439 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50440 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50441 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50442 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50443 Add AVX variants.
50444 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50445 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50446 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50447 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50448 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50449 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50450 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50451 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50452 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50453 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50454 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50455 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50456 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50457 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50458 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50459 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50460 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50461 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50462 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50463
50464 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50465 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50466
618280a1
UD
50467 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50468 place. Use VEX encoding when compiling for AVX.
50469
37822576
AS
504702011-10-25 Andreas Schwab <schwab@redhat.com>
50471
1f1e1947
AS
50472 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50473 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50474
37822576
AS
50475 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50476
31ea014d
UD
504772011-10-25 Ulrich Drepper <drepper@gmail.com>
50478
d7826aa1 50479 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50480 useless if() expression.
d7826aa1
UD
50481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50482 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50483 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50484 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50485 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50486 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50487 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50488 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50489 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50490 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50491 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50492 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50493 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50494 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50495 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50496 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50497 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50498 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50499 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50500
31ea014d
UD
50501 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50502
16437fec
AS
505032011-10-25 Andreas Schwab <schwab@redhat.com>
50504
50505 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50506 condition.
50507 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50508
31d3cc00
UD
505092011-10-25 Ulrich Drepper <drepper@gmail.com>
50510
50511 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50512 .text section. Avoid duplicate constants.
50513 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50520 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50521 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50522 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50523 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50524 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50525 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50526 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50527 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50528 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50529 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50530 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50531 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50533 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50534 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50535 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50536 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50537 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50538 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50539 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50540 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50541 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50542 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50543 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50544 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50545 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50546 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50547 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50548 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50549 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50550 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50551 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50552 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50554 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50555 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50556 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50557 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50558
58985aa9
UD
505592011-10-24 Ulrich Drepper <drepper@gmail.com>
50560
202c9deb
UD
50561 * sysdeps/x86_64/dla.h: Move to ...
50562 * sysdeps/x86_64/fpu/dla.h: ...here.
50563 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50564 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50565
af968f62
UD
50566 * config.make.in: Add have-mfma4 entry.
50567 * configure.in: Substitute libc_cv_cc_fma4.
50568 * math/Makefile (dbl-only-routines): Add sincostab.
50569 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50570 Use __sincostab not sincos.
50571 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50572 name is a macro.
50573 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50575 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50577 using __copysign.
50578 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50579 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50580 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50581 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50582 and __inv.
50583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50584 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50585 __copysign.
50586 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50587 define aliases when function name is a macro.
50588 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50589 sysdeps/ieee754/dbl-64/sincos.tbl.
50590 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50591 fma4-enabled routines.
50592 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50593 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50594 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50595 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50596 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50597 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50598 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50599 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50600 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50601 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50602 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50603 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50604 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50605 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50606 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50607 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50608 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50609 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50610 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50611 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50612 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50613 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50614 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50615 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50616 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50617 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50618 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50619 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50620 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50621 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50622
58985aa9
UD
50623 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50624 rename.
50625 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50632 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50633
a201fbcf
AS
506342011-10-24 Andreas Schwab <schwab@redhat.com>
50635
50636 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50637
fc2ee42a
LD
506382011-10-23 Ulrich Drepper <drepper@gmail.com>
50639
bb3129bd
UD
50640 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50641
0275fff8
UD
50642 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50643 prediction.
50644 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50645
2fa2ae85
UD
50646 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50647 Remove unused variable magic_bits.
50648 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50649
fc2ee42a
LD
50650 * string/strnlen.c: Define and use STRNLEN macro.
50651 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50652 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50653 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50654 * wcsmbs/wcslen.c: Define and use WCSLEN.
50655 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50656 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50657 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50658 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50659 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50660 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50661 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50662
ce7dd29f
LD
506632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50664
50665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50666 strnlen-sse2-no-bsf.
50667 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50668 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50669 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50670 Add strnlen support.
50671 (USE_AS_STRNLEN): New macro.
50672 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50673 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50674 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50675 * sysdeps/x86_64/wcslen.S: New file.
50676
979c70a3
MZ
506772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50678
50679 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50680 XMM-moves are used for copying on small sizes.
50681
2d09f82f
LD
506822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50683
50684 * wcsmbs/Makefile (strop-tests): Add wcschr.
50685 * wcsmbs/test-wcschr.c: New file.
50686 * string/test-strchr.c: Update.
50687 Add wcschr support.
50688 (WIDE): New macro.
50689
619fccca
LD
506902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50691
2d09f82f 50692 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50693 * wcsmbs/test-wcslen.c: New file.
50694 * string/test-strlen.c: Update.
50695 Add wcslen support.
50696 (WIDE): New macro.
50697
09f699ea
UD
506982011-10-23 Ulrich Drepper <drepper@gmail.com>
50699
50700 * po/it.po: Update from translation team.
50701
95584d3b
LD
507022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50703
50704 * sysdeps/x86_64/wcscmp.S: Update.
50705 Fix wrong comparison semantics.
50706 wcscmp shall use signed comparison not unsigned.
50707 Don't use substraction to avoid overflow bug.
50708 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50709 * wcsmbc/wcscmp.c: Likewise.
50710 * string/test-strcmp.c: Likewise.
50711 Add new tests to check cases with negative values.
50712
c8b3296b
UD
507132011-10-23 Ulrich Drepper <drepper@gmail.com>
50714
50715 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50716 * sysdeps/x86_64/dla.h: ...here. New file.
50717 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50718 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50722 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50724 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50726
246ad57a
AS
507272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50728
50729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50730 __ynl_finite aliases.
50731
a1a87169
UD
507322011-10-22 Ulrich Drepper <drepper@gmail.com>
50733
0d355eb7
UD
50734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50735
a1a87169
UD
50736 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50737 define DLA_FMA.
50738 [DLA_FMA] (EMULV): Use DLA_FMA.
50739 [DLA_FMA] (MUL12): Use EMULV.
50740 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50741 that are not needed.
50742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50748 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50749
ee2aafe0
AS
507502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50751
50752 * math/s_nan.c: Undef __nan.
50753 * math/s_nanf.c: Undef __nanf.
50754 * math/s_nanl.c: Undef __nanl.
50755 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50756 "math_private.h".
50757
bc62c2fb
UD
507582011-10-22 Ulrich Drepper <drepper@gmail.com>
50759
77425c63
UD
50760 * math/s_catan.c: Add branch predictions.
50761 * math/s_catanf.c: Likewise.
50762 * math/s_catanh.c: Likewise.
50763 * math/s_catanhf.c: Likewise.
50764 * math/s_catanhl.c: Likewise.
50765 * math/s_catanl.c: Likewise.
50766 * math/s_cexp.c: Likewise.
50767 * math/s_cexpf.c: Likewise.
50768 * math/s_cexpl.c: Likewise.
50769 * math/s_clog.c: Likewise.
50770 * math/s_clog10.c: Likewise.
50771 * math/s_clog10f.c: Likewise.
50772 * math/s_clog10l.c: Likewise.
50773 * math/s_clogf.c: Likewise.
50774 * math/s_clogl.c: Likewise.
50775 * math/s_csqrt.c: Likewise.
50776 * math/s_csqrtf.c: Likewise.
50777 * math/s_csqrtl.c: Likewise.
50778 * math/s_ctanf.c: Likewise.
50779 * math/s_ctanh.c: Likewise.
50780 * math/s_ctanhf.c: Likewise.
50781 * math/s_ctanhl.c: Likewise.
50782 * math/s_ctanl.c: Likewise.
50783
bc62c2fb
UD
50784 * math/math_private.h: Define __nan, __nanf, __nanl.
50785 * math/s_cacosh.c: Include <math_private.h>.
50786 * math/s_cacoshl.c: Likewise.
50787 * math/s_casinh.c: Likewise.
50788 * math/s_casinhf.c: Likewise.
50789 * math/s_casinhl.c: Likewise.
50790 * math/s_ccos.c: Rely entire on ccosh.
50791 * math/s_ccosf.c: Rely entire on ccoshf.
50792 * math/s_ccosl.c: Rely entirely on ccoshl.
50793 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50794 Remove tests for FE_INVALID.
50795 * math/s_ccoshf.c: Likewise.
50796 * math/s_ccoshl.c: Likewise.
50797 * math/s_csin.c: Likewise.
50798 * math/s_csinf.c: Likewise.
50799 * math/s_csinh.c Likewise.
50800 * math/s_csinhf.c: Likewise.
50801 * math/s_csinhl.c: Likewise.
50802 * math/s_csinl.c: Likewise.
50803 * math/s_ctan.c: Likewise.
50804 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50805 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50806 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50807
8ec250a4
UD
508082011-10-21 Ulrich Drepper <drepper@gmail.com>
50809
c196fed8
UD
50810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50811 compilation problems.
50812
8ec250a4
UD
50813 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50814 __builtin_expect.
50815
8d4f46c6
UD
508162011-10-20 Ulrich Drepper <drepper@gmail.com>
50817
ed72b654
UD
50818 * sysdeps/i386/configure.in: Test for -mfma4 option.
50819 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50820 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50821 COMMON_CPUID_INDEX_80000001.
50822 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50823 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50824 use it if FMA3 is not supported.
50825 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50826
8d4f46c6
UD
50827 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50828 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50829
d45c60c2
AS
508302011-10-20 Andreas Schwab <schwab@redhat.com>
50831
50832 [BZ #12892]
50833 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50834 it would create a cycle with a link time dependency.
50835
d9a4d2ab
UD
508362011-10-19 Ulrich Drepper <drepper@gmail.com>
50837
855d1560
UD
50838 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50839 instruction.
50840 * string/Makefile (strop-tests): Add rawmemchr.
50841 * string/test-rawmemchr.c: New file.
50842
d9a4d2ab
UD
50843 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50844 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50845 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50846 when compiling str{,n}casecmp and when AVX is available. Hook up
50847 new optimized code in initializers.
50848
8f3b1ffe
AS
508492011-10-19 Andreas Schwab <schwab@redhat.com>
50850
50851 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50852 __feraiseexcept instead of feraiseexcept.
50853
d38f1dba
UD
508542011-10-18 Ulrich Drepper <drepper@gmail.com>
50855
d9a8d0ab
UD
50856 * math/math_private.h: Define defaults for libc_fetestexcept and
50857 libc_feupdateenv.
50858 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50859 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50860 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50861 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50862 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50863 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50864 libc_fetestexcept and libc_feupdateenv.
50865
4855e3dd
UD
50866 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50867 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50868 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50869 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50870 libc_feholdexcept_setround.
50871
581d30e3
UD
50872 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50873 Add s_nearbyint-c and s_nearbyintf-c.
50874 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50875 nearbyintf inlines.
50876 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50877 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50878 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50879 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50880
d38f1dba
UD
50881 * math/math_private.h: Define defaults for libc_fegetround,
50882 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50883 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50884 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50885 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50886 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50887 standard functions.
50888 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50889 Remove comments and hacks for old compiler versions.
50890 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50891 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50892 libc_feholdexceptl.
50893
caa6c9d8
AS
508942011-10-18 Andreas Schwab <schwab@redhat.com>
50895
50896 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50897 (__feraiseexcept_renamed): Add __NTH.
50898 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50899 namespace violations.
50900
97c066e6
UD
509012011-10-17 Ulrich Drepper <drepper@gmail.com>
50902
99ce7b04
UD
50903 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50904
1004d182
UD
50905 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50906
228a984d
UD
50907 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50908 recently added interfaces.
50909 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50910
c8553a6a
UD
50911 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50912 about macro parameter expansion.
50913
ed22dcf6
UD
50914 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50915 __NO_MATH_INLINES is defined. Cleanups.
50916
50917 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50918 and __floorf is target has SSE4.1.
50919 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50920 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50921 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50922 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50923
b171c137
UD
50924 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50925 name.
50926 (floorf): Likewise.
50927
97c066e6
UD
50928 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50929
629f62ef
AS
509302011-10-17 Andreas Schwab <schwab@redhat.com>
50931
49a43d80
AS
50932 * misc/sys/cdefs.h: Fix last change.
50933
629f62ef
AS
50934 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50935 database lookup.
50936
e453f6cd
UD
509372011-10-16 Ulrich Drepper <drepper@gmail.com>
50938
aa78043a
UD
50939 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50940
ad0f5cad
UD
50941 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50942 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50943 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50944 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50945 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50946 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50947 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50948 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50949 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50950 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50951 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50952 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50953 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50954 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50955 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50956 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50957 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50958 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50959 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50960 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50961 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50962 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50963
50964 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50965 ceil, ceilf, floor, floorf.
50966
50967 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50968 Perform IRELATIVE relocations last.
50969
e453f6cd
UD
50970 * elf/do-rel.h: Add another parameter nrelative, replacing the
50971 local variable with the same name. Change name of the function
50972 to end in Rel or Rela (uppercase).
50973 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50974 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50975 elf_dynamic_do_##reloc function.
50976
fd5bdc09
UD
509772011-10-15 Ulrich Drepper <drepper@gmail.com>
50978
79b195b5
UD
50979 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50980 is sufficient, at least on modern CPUs.
50981
d4a28569
UD
50982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50983
b61099b5
UD
50984 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50985 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50986
bcf01e6d
UD
50987 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50988 __expl_finite.
50989 * math/bits/math-finite.h: Add entries for exp.
50990 * math/e_expl.c: Add __*_finite alias.
50991 * sysdeps/i386/fpu/e_exp.S: Likewise.
50992 * sysdeps/i386/fpu/e_expf.S: Likewise.
50993 * sysdeps/i386/fpu/e_expl.c: Likewise.
50994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50995 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50996 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50997 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50998 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50999 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51000 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51001
ba1a0d59
UD
51002 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51003 is sufficient, at least on modern CPUs.
51004
fd5bdc09
UD
51005 * ctype/ctype-info.c (__ctype_init): Define.
51006 * include/ctype.h (__ctype_init): Declare.
51007 (__ctype_b_loc): The variable is always initialized.
51008 (__ctype_toupper_loc): Likewise.
51009 (__ctype_tolower_loc): Likewise.
51010 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51011 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51012
7872cfb0
AS
510132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51014
b468825a
AS
51015 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51016
7872cfb0
AS
51017 * configure.in: Also look in $cxxmachine/include for C++ system
51018 headers.
51019
be13f7bf
LD
510202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51021
51022 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51023 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51024 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51025 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51027 (USE_AS_WMEMCMP): New macro.
51028 Fixing indents.
51029 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51030 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51031 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51032 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51034 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51035 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51036 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51037 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51038 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51039 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51040 (USE_AS_WMEMCMP): New macro.
51041 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51042 * sysdeps/string/test-memcmp.c: Update.
51043 Fix simple_wmemcmp.
51044 Add new tests.
51045 * wcsmbs/wmemcmp.c: Update.
51046 (WMEMCMP): New macro.
51047 Fix overflow bug.
51048
556a2007
AJ
510492011-10-12 Andreas Jaeger <aj@suse.de>
51050
51051 [BZ #13268]
51052 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51053
538faaa7
UD
510542011-10-15 Ulrich Drepper <drepper@gmail.com>
51055
ab6737ff
UD
51056 * libio/iofwide.c (do_length): Avoid warning.
51057
538faaa7
UD
51058 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51059
396a21b1
UD
510602011-10-14 Ulrich Drepper <drepper@gmail.com>
51061
cdf2901f
UD
51062 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51063
38ad40ce
UD
51064 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51065 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51066 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51067 * sysdeps/i386/i686/fpu/e_log.S: New file.
51068 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51069 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51070
396a21b1
UD
51071 * ctype/ctype.h: Add support for inlined isXXX functions when
51072 compiling C++ code.
51073
6b1f68c9
AS
510742011-10-14 Andreas Schwab <schwab@redhat.com>
51075
349290c0
AS
51076 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51077
6b1f68c9
AS
51078 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51079
f2282d42
RM
510802011-10-13 Roland McGrath <roland@hack.frob.com>
51081
51082 [BZ #13291]
51083 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51084
5298ffa8
AS
510852011-10-13 Andreas Schwab <schwab@redhat.com>
51086
714fad23
AS
51087 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51088 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51089 feraiseexcept.
51090
81dcc7fb
AS
51091 * sysdeps/x86_64/memrchr.S: Check for zero size.
51092
5298ffa8
AS
51093 * string/stratcliff.c: Add memrchr tests.
51094
951fbcec
LD
510952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51096
51097 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51098 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51099 rawmemchr-sse2 rawmemchr-sse2-bsf.
51100 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51101 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51102 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51103 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51104 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51105 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51106 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51107 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51108 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51109 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51110 * string/memrchr.c (MEMRCHR): New macro.
51111
0ac5ae23
UD
511122011-10-12 Ulrich Drepper <drepper@gmail.com>
51113
51114 Add integration with gcc's -ffinite-math-only and optimize wrapper
51115 functions in libm.
51116 * Versions.def: Define GLIBC_2.15 version for libm.
51117 * math/Makefile (headers): Add bits/math-finite.h.
51118 * math/bits/math-finite.h: New file.
51119 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51120 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51121 * math/e_acoshl.c: Add __*_finite alias.
51122 * math/e_acosl.c: Likewise.
51123 * math/e_asinl.c: Likewise.
51124 * math/e_atan2l.c: Likewise.
51125 * math/e_atanhl.c: Likewise.
51126 * math/e_coshl.c: Likewise.
51127 * math/e_exp10.c: Likewise.
51128 * math/e_exp10f.c: Likewise.
51129 * math/e_exp10l.c: Likewise.
51130 * math/e_exp2l.c: Likewise.
51131 * math/e_fmodl.c: Likewise.
51132 * math/e_gammal_r.c: Likewise.
51133 * math/e_hypotl.c: Likewise.
51134 * math/e_j0l.c: Likewise.
51135 * math/e_j1l.c: Likewise.
51136 * math/e_jnl.c: Likewise.
51137 * math/e_lgammal_r.c: Likewise.
51138 * math/e_log10l.c: Likewise.
51139 * math/e_log2l.c: Likewise.
51140 * math/e_logl.c: Likewise.
51141 * math/e_powl.c: Likewise.
51142 * math/e_sinhl.c: Likewise.
51143 * math/e_sqrtl.c: Likewise.
51144 * math/e_scalb.c: Completely rewritten and optimized.
51145 * math/e_scalbf.c: Likewise.
51146 * math/e_scalbl.c: Likewise.
51147 * math/w_acos.c: Likewise.
51148 * math/w_acosf.c: Likewise.
51149 * math/w_acosl.c: Likewise.
51150 * math/w_acosh.c: Likewise.
51151 * math/w_acoshf.c: Likewise.
51152 * math/w_acoshl.c: Likewise.
51153 * math/w_asin.c: Likewise.
51154 * math/w_asinf.c: Likewise.
51155 * math/w_asinl.c: Likewise.
51156 * math/w_atan2.c: Likewise.
51157 * math/w_atan2f.c: Likewise.
51158 * math/w_atan2l.c: Likewise.
51159 * math/w_atanh.c: Likewise.
51160 * math/w_atanhf.c: Likewise.
51161 * math/w_atanhl.c: Likewise.
51162 * math/w_exp10.c: Likewise.
51163 * math/w_exp10f.c: Likewise.
51164 * math/w_exp10l.c: Likewise.
51165 * math/w_fmod.c: Likewise.
51166 * math/w_fmodf.c: Likewise.
51167 * math/w_fmodl.c: Likewise.
51168 * math/w_j0.c: Likewise.
51169 * math/w_j0f.c: Likewise.
51170 * math/w_j0l.c: Likewise.
51171 * math/w_j1.c: Likewise.
51172 * math/w_j1f.c: Likewise.
51173 * math/w_j1l.c: Likewise.
51174 * math/w_jn.c: Likewise.
51175 * math/w_jnf.c: Likewise.
51176 * math/w_log.c: Likewise.
51177 * math/w_logf.c: Likewise.
51178 * math/w_logl.c: Likewise.
51179 * math/w_log10.c: Likewise.
51180 * math/w_log10f.c: Likewise.
51181 * math/w_log10l.c: Likewise.
51182 * math/w_log2.c: Likewise.
51183 * math/w_log2f.c: Likewise.
51184 * math/w_log2l.c: Likewise.
51185 * math/w_pow.c: Likewise.
51186 * math/w_powf.c: Likewise.
51187 * math/w_powl.c: Likewise.
51188 * math/w_remainder.c: Likewise.
51189 * math/w_remainderf.c: Likewise.
51190 * math/w_remainderl.c: Likewise.
51191 * math/w_scalb.c: Likewise.
51192 * math/w_scalbf.c: Likewise.
51193 * math/w_scalbl.c: Likewise.
51194 * math/w_sqrt.c: Likewise.
51195 * math/w_sqrtf.c: Likewise.
51196 * math/w_sqrtl.c: Likewise.
51197 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51198 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51199 used.
51200 * math/math_private.h: Declare __kernel_standard_f.
51201 * math/w_cosh.c: Remove cruft and optimize a bit.
51202 * math/w_coshf.c: Likewise.
51203 * math/w_coshl.c: Likewise.
51204 * math/w_exp2.c: Likewise.
51205 * math/w_exp2f.c: Likewise.
51206 * math/w_exp2l.c: Likewise.
51207 * math/w_hypot.c: Likewise.
51208 * math/w_hypotf.c: Likewise.
51209 * math/w_hypotl.c: Likewise.
51210 * math/w_lgamma.c: Likewise.
51211 * math/w_lgamma_r.c: Likewise.
51212 * math/w_lgammaf.c: Likewise.
51213 * math/w_lgammaf_r.c: Likewise.
51214 * math/w_lgammal.c: Likewise.
51215 * math/w_lgammal_r.c: Likewise.
51216 * math/w_sinh.c: Likewise.
51217 * math/w_sinhf.c: Likewise.
51218 * math/w_sinhl.c: Likewise.
51219 * math/w_tgamma.c: Likewise.
51220 * math/w_tgammaf.c: Likewise.
51221 * math/w_tgammal.c: Likewise.
51222 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51223 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51224 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51225 Minor optimizations. Pretty printing. Remove cruft.
51226 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51227 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51228 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51229 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51230 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51231 * sysdeps/i386/fpu/e_asin.S: Likewise.
51232 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51233 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51234 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51235 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51236 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51237 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51238 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51239 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51240 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51241 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51242 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51243 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51244 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51245 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51246 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51247 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51248 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51249 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51250 * sysdeps/i386/fpu/e_log.S: Likewise.
51251 * sysdeps/i386/fpu/e_log10.S: Likewise.
51252 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51253 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51254 * sysdeps/i386/fpu/e_log2.S: Likewise.
51255 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51256 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51257 * sysdeps/i386/fpu/e_logf.S: Likewise.
51258 * sysdeps/i386/fpu/e_logl.S: Likewise.
51259 * sysdeps/i386/fpu/e_pow.S: Likewise.
51260 * sysdeps/i386/fpu/e_powf.S: Likewise.
51261 * sysdeps/i386/fpu/e_powl.S: Likewise.
51262 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51263 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51264 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51265 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51266 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51267 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51268 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51269 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51270 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51271 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51272 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51274 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51275 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51276 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51277 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51278 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51279 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51280 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51281 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51282 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51284 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51285 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51287 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51288 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51289 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51290 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51291 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51292 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51293 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51294 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51295 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51296 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51297 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51298 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51299 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51300 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51301 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51302 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51304 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51305 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51306 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51307 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51308 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51309 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51310 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51311 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51312 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51313 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51314 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51315 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51316 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51317 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51318 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51319 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51320 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51321 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51322 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51323 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51324 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51325 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51326 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51327 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51328 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51329 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51330 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51331 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51332 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51335 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51336 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51337 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51338 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51339 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51340 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51341 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51342 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51343 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51344 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51345 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51346 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51347 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51348 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51349 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51350 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51351 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51352 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51353 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51354 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51355 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51356 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51357 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51358 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51359 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51360 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51361 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51362 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51363 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51364 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51365 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51366 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51367 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51368 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51369 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51370 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51371 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51372 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51373 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51374 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51375 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51376 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51377 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51378 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51379 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51380 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51381 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51382 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51383 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51384 (__isnanf): Likewise.
51385 (__isinf_ns): Likewise.
51386 (__isinf_nsf): Likewise.
51387 (__finite): Likewise.
51388 (__finitef): Likewise.
51389 (__ieee754_sqrt): Define as macro.
51390 (__ieee754_sqrtf): Define as macro.
51391 (__ieee754_sqrtl): Define as macro.
51392 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51393 inlined copy.
51394 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51395 __FINITE_MATH_ONLY__ consistent.
51396 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51397
12cc2fcd
AS
513982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51399
a843a204
AS
51400 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51401 of rawmemchr.
51402
12cc2fcd
AS
51403 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51404
c853acd5
UD
514052011-10-09 Ulrich Drepper <drepper@gmail.com>
51406
51407 * po/ja.po: Update from translation team.
51408
c658d255
RM
514092011-10-08 Roland McGrath <roland@hack.frob.com>
51410
110946e4
RM
51411 * locale/programs/locarchive.c (prepare_address_space): New function.
51412 (create_archive, enlarge_archive, open_archive): Use it.
51413
50604220
RM
51414 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51415 inside [SHARED], where it is used.
51416
c658d255
RM
51417 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51418
51419 * nss/getent.c (netgroup_keys): Remove unused variable.
51420 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51421
6a621eb7
UD
514222011-10-08 Ulrich Drepper <drepper@gmail.com>
51423
7edb55ce
UD
51424 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51425 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51427 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51428 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51429 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51430 * math/Makefile (libm-calls): Add s_isinf_ns.
51431 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51432 * math/multc3.c: Likewise.
51433 * math/s_casin.c: Likewise.
51434 * math/s_casinf.c: Likewise.
51435 * math/s_casinl.c: Likewise.
51436 * math/s_ccos.c: Likewise.
51437 * math/s_ccosf.c: Likewise.
51438 * math/s_ccosl.c: Likewise.
51439 * math/s_ctan.c: Likewise.
51440 * math/s_ctanf.c: Likewise.
51441 * math/s_ctanh.c: Likewise.
51442 * math/s_ctanhf.c: Likewise.
51443 * math/s_ctanhl.c: Likewise.
51444 * math/s_ctanl.c: Likewise.
51445 * math/w_fmod.c: Likewise.
51446 * math/w_fmodf.c: Likewise.
51447 * math/w_fmodl.c: Likewise.
51448 * math/w_remainder.c: Likewise.
51449 * math/w_remainderf.c: Likewise.
51450 * math/w_remainderl.c: Likewise.
51451 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51452 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51453 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51454 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51455 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51456 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51457 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51458 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51459
187da0ae
UD
51460 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51461 of the number.
51462 * stdio-common/printf_fphex.c: Likewise.
51463 * stdio-common/printf_size.c: Likewise.
51464
9277c064
UD
51465 * math/e_exp10.c: Include math_private.h using <...> not "...".
51466 * math/e_exp10f.c: Likewise.
51467 * math/e_exp10l.c: Likewise.
51468 * math/e_exp2l.c: Likewise.
51469 * math/e_j0l.c: Likewise.
51470 * math/e_j1l.c: Likewise.
51471 * math/e_jnl.c: Likewise.
51472 * math/e_lgammal_r.c: Likewise.
51473 * math/e_rem_pio2l.c: Likewise.
51474 * math/e_scalb.c: Likewise.
51475 * math/e_scalbf.c: Likewise.
51476 * math/e_scalbl.c: Likewise.
51477 * math/k_cosl.c: Likewise.
51478 * math/k_sinl.c: Likewise.
51479 * math/k_tanl.c: Likewise.
51480 * math/s_cacoshf.c: Likewise.
51481 * math/s_catan.c: Likewise.
51482 * math/s_catanf.c: Likewise.
51483 * math/s_catanh.c: Likewise.
51484 * math/s_catanhf.c: Likewise.
51485 * math/s_catanhl.c: Likewise.
51486 * math/s_catanl.c: Likewise.
51487 * math/s_ccosh.c: Likewise.
51488 * math/s_ccoshf.c: Likewise.
51489 * math/s_ccoshl.c: Likewise.
51490 * math/s_cexp.c: Likewise.
51491 * math/s_cexpf.c: Likewise.
51492 * math/s_cexpl.c: Likewise.
51493 * math/s_clog.c: Likewise.
51494 * math/s_clog10.c: Likewise.
51495 * math/s_clog10f.c: Likewise.
51496 * math/s_clog10l.c: Likewise.
51497 * math/s_clogf.c: Likewise.
51498 * math/s_clogl.c: Likewise.
51499 * math/s_csin.c: Likewise.
51500 * math/s_csinf.c: Likewise.
51501 * math/s_csinh.c: Likewise.
51502 * math/s_csinhf.c: Likewise.
51503 * math/s_csinhl.c: Likewise.
51504 * math/s_csinl.c: Likewise.
51505 * math/s_csqrt.c: Likewise.
51506 * math/s_csqrtf.c: Likewise.
51507 * math/s_csqrtl.c: Likewise.
51508 * math/s_ctan.c: Likewise.
51509 * math/s_ctanf.c: Likewise.
51510 * math/s_ctanh.c: Likewise.
51511 * math/s_ctanhf.c: Likewise.
51512 * math/s_ctanhl.c: Likewise.
51513 * math/s_ctanl.c: Likewise.
51514 * math/s_ldexp.c: Likewise.
51515 * math/s_ldexpf.c: Likewise.
51516 * math/s_ldexpl.c: Likewise.
51517 * math/s_significand.c: Likewise.
51518 * math/s_significandf.c: Likewise.
51519 * math/s_significandl.c: Likewise.
51520 * math/w_acos.c: Likewise.
51521 * math/w_acosf.c: Likewise.
51522 * math/w_acosh.c: Likewise.
51523 * math/w_acoshf.c: Likewise.
51524 * math/w_acoshl.c: Likewise.
51525 * math/w_acosl.c: Likewise.
51526 * math/w_asin.c: Likewise.
51527 * math/w_asinf.c: Likewise.
51528 * math/w_asinl.c: Likewise.
51529 * math/w_atan2.c: Likewise.
51530 * math/w_atan2f.c: Likewise.
51531 * math/w_atan2l.c: Likewise.
51532 * math/w_atanh.c: Likewise.
51533 * math/w_atanhf.c: Likewise.
51534 * math/w_atanhl.c: Likewise.
51535 * math/w_cosh.c: Likewise.
51536 * math/w_coshf.c: Likewise.
51537 * math/w_coshl.c: Likewise.
51538 * math/w_dremf.c: Likewise.
51539 * math/w_exp10.c: Likewise.
51540 * math/w_exp10f.c: Likewise.
51541 * math/w_exp10l.c: Likewise.
51542 * math/w_exp2.c: Likewise.
51543 * math/w_exp2f.c: Likewise.
51544 * math/w_fmod.c: Likewise.
51545 * math/w_fmodf.c: Likewise.
51546 * math/w_fmodl.c: Likewise.
51547 * math/w_hypot.c: Likewise.
51548 * math/w_hypotf.c: Likewise.
51549 * math/w_hypotl.c: Likewise.
51550 * math/w_j0.c: Likewise.
51551 * math/w_j0f.c: Likewise.
51552 * math/w_j0l.c: Likewise.
51553 * math/w_j1.c: Likewise.
51554 * math/w_j1f.c: Likewise.
51555 * math/w_j1l.c: Likewise.
51556 * math/w_jn.c: Likewise.
51557 * math/w_jnf.c: Likewise.
51558 * math/w_jnl.c: Likewise.
51559 * math/w_lgamma.c: Likewise.
51560 * math/w_lgamma_r.c: Likewise.
51561 * math/w_lgammaf.c: Likewise.
51562 * math/w_lgammaf_r.c: Likewise.
51563 * math/w_lgammal.c: Likewise.
51564 * math/w_lgammal_r.c: Likewise.
51565 * math/w_log.c: Likewise.
51566 * math/w_log10.c: Likewise.
51567 * math/w_log10f.c: Likewise.
51568 * math/w_log10l.c: Likewise.
51569 * math/w_log2.c: Likewise.
51570 * math/w_log2f.c: Likewise.
51571 * math/w_log2l.c: Likewise.
51572 * math/w_logf.c: Likewise.
51573 * math/w_logl.c: Likewise.
51574 * math/w_pow.c: Likewise.
51575 * math/w_powf.c: Likewise.
51576 * math/w_powl.c: Likewise.
51577 * math/w_remainder.c: Likewise.
51578 * math/w_remainderf.c: Likewise.
51579 * math/w_remainderl.c: Likewise.
51580 * math/w_scalb.c: Likewise.
51581 * math/w_scalbf.c: Likewise.
51582 * math/w_scalbl.c: Likewise.
51583 * math/w_sinh.c: Likewise.
51584 * math/w_sinhf.c: Likewise.
51585 * math/w_sinhl.c: Likewise.
51586 * math/w_sqrt.c: Likewise.
51587 * math/w_sqrtf.c: Likewise.
51588 * math/w_sqrtl.c: Likewise.
51589 * math/w_tgamma.c: Likewise.
51590 * math/w_tgammaf.c: Likewise.
51591 * math/w_tgammal.c: Likewise.
51592
6a621eb7
UD
51593 * po/ja.po: Update from translation team.
51594
bf582445
AJ
515952011-09-29 Andreas Jaeger <aj@suse.de>
51596
f9efbf3a
AJ
51597 [BZ #13179]
51598 * sunrpc/netname.c (netname2host): Fix logic.
51599
bf582445
AJ
51600 [BZ #6779]
51601 [BZ #6783]
51602 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51603 correctly.
51604 * math/w_remainder.c (__remainder): Likewise.
51605 * math/w_remainderf.c (__remainderf): Likewise.
51606 * math/libm-test.inc (remainder_test): Add test cases.
51607
48693bea
AK
516082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51609
51610 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51611 sdiv_qrnnd.
51612
42622229
LD
516132011-10-07 Ulrich Drepper <drepper@gmail.com>
51614
51615 * string/test-memcmp.c: Avoid unncessary #defines.
51616 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51617
093ecf92
LD
516182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51619
51620 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51621 Use new sse2 version for core i3 - i7 as it's faster
51622 than sse42 version.
51623 (bit_Prefer_PMINUB_for_stringop): New.
51624 * sysdeps/x86_64/rawmemchr.S: Update.
51625 Replace with faster SSE2 version.
51626 * sysdeps/x86_64/memrchr.S: New file.
51627 * sysdeps/x86_64/memchr.S: Update.
51628 Replace with faster SSE2 version.
51629
fde56e5c
MP
516302011-09-12 Marek Polacek <mpolacek@redhat.com>
51631
51632 * elf/dl-load.c (lose): Add cast to avoid warning.
51633
21fd49a9
UD
516342011-10-07 Ulrich Drepper <drepper@gmail.com>
51635
5a06e643
UD
51636 * po/ca.po: Update from translation team.
51637
684ae515
UD
51638 * inet/getnetgrent_r.c: Hook up nscd.
51639 * nscd/Makefile (routines): Add nscd_netgroup.
51640 (nscd-modules): Add netgroupcache.
51641 (CFLAGS-netgroupcache.c): Define.
51642 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51643 (cache_search): Add const to second parameter.
51644 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51645 INNETGR.
51646 (dbs): Add netgrdb entry.
51647 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51648 (verify_persistent_db): Handle netgrdb.
51649 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51650 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51651 GETFDNETGR.
51652 (netgroup_response_header): Define.
51653 (innetgroup_response_header): Define.
51654 (datahead): Add netgroup_response_header and innetgroup_response_header
51655 elements.
51656 * nscd/nscd.conf: Add entries for netgroup cache.
51657 * nscd/nscd.h (dbtype): Add netgrdb.
51658 (_PATH_NSCD_NETGROUP_DB): Define.
51659 (netgroup_iov_disabled): Declare.
51660 (xmalloc, xcalloc, xrealloc): Move declarations here.
51661 (cache_search): Adjust prototype.
51662 Add netgroup-related prototypes.
51663 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51664 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51665 (__nscd_innetgr): Declare.
51666 * nscd/selinux.c (perms): Use access_vector_t as element type and
51667 add netgroup-related initializers.
51668 * nscd/netgroupcache.c: New file.
51669 * nscd/nscd_netgroup.c: New file.
51670 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51671 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51672 For four parameters use innetgr.
51673 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51674 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51675 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51676 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51677
21fd49a9
UD
51678 * nscd/connections.c (register_traced_file): Don't register file
51679 for disabled databases.
51680
054c0457
UD
516812011-10-06 Ulrich Drepper <drepper@gmail.com>
51682
32b63198
UD
51683 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51684
054c0457
UD
51685 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51686 from tree and freeing node.
51687
64031225
JO
516882011-09-25 Jiri Olsa <jolsa@redhat.com>
51689
51690 * nss/nsswitch.c (__nss_database_lookup): Handle
51691 nss_parse_service_list out of memory case.
51692
0490345c
JO
516932011-09-15 Jiri Olsa <jolsa@redhat.com>
51694
51695 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51696 out of memory case.
51697
3a62d00d
AS
516982011-10-04 Andreas Schwab <schwab@redhat.com>
51699
51700 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51701 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51702 pass it down.
51703 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51704 elf_machine_rela, elf_machine_lazy_rel.
51705 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51706 (ELF_DYNAMIC_DO_REL): Likewise.
51707 (ELF_DYNAMIC_DO_RELA): Likewise.
51708 (ELF_DYNAMIC_RELOCATE): Likewise.
51709 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51710 to ELF_DYNAMIC_DO_REL.
51711 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51712 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51713 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51714 elf_machine_rela.
51715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51716 skip_ifunc, don't call ifunc function if non-zero.
51717 (elf_machine_rela): Likewise.
51718 (elf_machine_lazy_rel): Likewise.
51719 (elf_machine_lazy_rela): Likewise.
51720 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51721 (elf_machine_lazy_rel): Likewise.
51722 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51723 Likewise.
51724 (elf_machine_lazy_rel): Likewise.
51725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51726 Likewise.
51727 (elf_machine_lazy_rel): Likewise.
51728 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51729 (elf_machine_lazy_rel): Likewise.
51730 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51731 (elf_machine_lazy_rel): Likewise.
51732 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51733 (elf_machine_lazy_rel): Likewise.
51734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51735 (elf_machine_lazy_rel): Likewise.
51736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51737 (elf_machine_lazy_rel): Likewise.
51738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51739 (elf_machine_lazy_rel): Likewise.
51740
68577918
UD
517412011-09-28 Ulrich Drepper <drepper@gmail.com>
51742
51743 * nss/nss_files/files-init.c (_nss_files_init): Use static
51744 initialization for all the *_traced_file variables.
51745
68822d74
AS
517462011-09-28 Andreas Schwab <schwab@redhat.com>
51747
51748 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51749
2056100b
RM
517502011-09-27 Roland McGrath <roland@hack.frob.com>
51751
51752 [BZ #13226]
51753 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51754
32c76b63
AS
517552011-09-27 Andreas Schwab <schwab@redhat.com>
51756
51757 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51758 Reread the line before reparsing it.
51759
bf972c9d
AS
517602011-09-26 Andreas Schwab <schwab@redhat.com>
51761
51762 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51763
e057a1b5
JM
517642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51765 Maxim Kuvyrkov <maxim@codesourcery.com>
51766 Joseph Myers <joseph@codesourcery.com>
51767
51768 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51769 if needed for __stack_chk_guard.
51770
bc7e1c36
RM
517712011-09-19 Roland McGrath <roland@hack.frob.com>
51772
ecb1482f
RM
51773 * sysdeps/posix/spawni.c (script_execute): Always define it.
51774 It will be optimized away if unused.
51775 (maybe_script_execute): New function.
51776 (__spawni): Call it.
51777
bc7e1c36
RM
51778 * Makerules: Don't include tls.make.
51779 (config-tls): Always set to thread.
51780 * tls.make.c: File removed.
51781
1c3b002b
MF
517822011-09-19 Mike Frysinger <vapier@gentoo.org>
51783
51784 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51785 * config.make.in (CPPFLAGS-config): New substituted variable.
51786
2840865d
UD
517872011-09-15 Ulrich Drepper <drepper@gmail.com>
51788
88738eb6
UD
51789 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51790
cbf645a6 51791 [BZ #13192]
2840865d
UD
51792 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51793 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51794
b402e91a
RM
517952011-09-15 Roland McGrath <roland@hack.frob.com>
51796
51797 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51798 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51800 (CALL_FAIL): Likewise.
51801 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51802 (CALL_FAIL): Macro removed.
51803 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51804
4c1a1f71
UD
518052011-09-15 Ulrich Drepper <drepper@gmail.com>
51806
51807 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51808 for __FINITE_MATH_ONLY__ == 1.
51809
edc121be
AS
518102011-09-15 Andreas Schwab <schwab@redhat.com>
51811
51812 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51813 __ieee754_sqrt instead of sqrt.
51814 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51815 __ieee754_sqrtf instead of sqrtf.
51816 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51817 __floorf instead of floorf.
51818 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51819 __floorf, __truncf instead of floorf, truncf.
51820
cd205654
UD
518212011-09-14 Ulrich Drepper <drepper@gmail.com>
51822
ee4d0315
UD
51823 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51824
cd205654
UD
51825 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51826 __extern_always_inline.
51827 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51828 32-bit.
51829
48b67d71
AS
518302011-09-14 Andreas Schwab <schwab@redhat.com>
51831
51832 * elf/rtld.c (dl_main): Also relocate in dependency order when
51833 doing symbol dependency testing.
51834
1ae12c75
AS
518352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51836
51837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51838 Always define `refsym'.
51839
995a80df
AS
518402011-09-13 Andreas Schwab <schwab@redhat.com>
51841
e529793b
AS
51842 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51843 (__FD_ELT): Renamed from __FDELT.
51844 * misc/bits/select2.h (__FD_ELT): Likewise.
51845 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51846 __FD_MASK instead of __FDELT, __FDMASK.
51847 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51848 Likewise.
51849 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51850 Likewise.
51851
52d4fef8
AS
51852 * elf/Makefile (gen-ldd): Fix pattern.
51853
995a80df
AS
51854 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51855 (init_tls): Likewise.
51856
8682f8b0
UD
518572011-09-12 Ulrich Drepper <drepper@gmail.com>
51858
51859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51860
de82006d
AS
518612011-09-12 Andreas Schwab <schwab@redhat.com>
51862
a7c8e6a1
AS
51863 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51864 `struct cmsghdr *' instead of `void *'.
51865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51866 Likewise.
51867
0f31fe77
AS
518682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51869
51870 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51871 if non-absolute.
51872 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51873 ldd_rewrite_script.
0f31fe77 51874
32b4c839
UD
518752011-09-11 Ulrich Drepper <drepper@gmail.com>
51876
83cd1420
UD
51877 * configure.in: Remove --with-tls option.
51878 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51879 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51880 out in case it is missing.
51881 * sysdeps/ia64/elf/configure.in: Likewise.
51882 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51883 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51884 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51885 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51886 * sysdeps/sh/elf/configure.in: Likewise.
51887 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51888 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51889 * sysdeps/x86_64/elf/configure.in: Likewise.
51890 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51891 * sysdeps/mach/hurd/tls.h: Likewise.
51892
633f745d
UD
51893 [BZ #13067]
51894 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51895
f318beb8
UD
51896 [BZ #13090]
51897 * configure.in: Fix use of AC_INIT.
51898
32b4c839
UD
51899 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51900
3ce1f295
UD
519012011-09-10 Ulrich Drepper <drepper@gmail.com>
51902
bb016596
UD
51903 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51904 __set_errno.
8e58439c
UD
51905 * malloc/hooks.c: Likewise.
51906
aebae053 51907 [BZ #11929]
02d46fc4
UD
51908 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51909 variables statically.
51910 (narenas): Initialize.
51911 (list_lock): Initialize.
bb016596
UD
51912 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51913 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51914 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51915 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51916 Add initializers to main_arena and mp_.
51917 (malloc_state): Remove pagesize member. Change all users to use
51918 GLRO(dl_pagesize).
51919
51920 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51921 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51922 is always initialized.
51923
22a89187
UD
51924 * malloc/malloc.c: Removed unused configurations and dead code.
51925 * malloc/arena.c: Likewise.
51926 * malloc/hooks.c: Likewise.
02d46fc4 51927 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51928
d063d164
UD
51929 * include/tls.h: Removed. USE___THREAD must always be defined.
51930 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51931 * elf/dl-libc.c: Likewise.
51932 * elf/dl-tsd.c: Likewise.
51933 * include/errno.h: Likewise.
51934 * include/netdb.h: Likewise.
51935 * include/resolv.h: Likewise.
51936 * inet/herrno-loc.c: Likewise.
51937 * inet/herrno.c: Likewise.
51938 * malloc/arena.c: Likewise.
51939 * malloc/hooks.c: Likewise.
51940 * malloc/malloc.c: Likewise.
51941 * resolv/res-state.c: Likewise.
51942 * resolv/res_libc.c: Likewise.
51943 * sysdeps/i386/dl-machine.h: Likewise.
51944 * sysdeps/ia64/dl-machine.h: Likewise.
51945 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51946 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51947 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51948 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51949 * sysdeps/sh/dl-machine.h: Likewise.
51950 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51951 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51952 * sysdeps/unix/i386/sysdep.S: Likewise.
51953 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51954 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51955 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51959 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51963 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51964 * sysdeps/x86_64/dl-machine.h: Likewise.
51965 * tls.make.c: Likewise.
51966
3ce1f295
UD
51967 * configure.in: Remove --with-__thread option. Make tests for
51968 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51969 tls_model attribute fail if no support is available. Remove
51970 USE_IN_LIBIO.
51971 * Makeconfig: Adjust for dropped configure option. All features are
51972 now mandatory.
51973 * Makerules: Likewise.
51974 * Versions.def: Likewise.
51975 * argp/argp-fmtstream.c: Likewise.
51976 * argp/argp-fmtstream.h: Likewise.
51977 * argp/argp-help.c: Likewise.
51978 * assert/assert.c: Likewise.
51979 * config.h.in: Likewise.
51980 * config.make.in: Likewise.
51981 * configure: Likewise.
51982 * configure.in: Likewise.
51983 * csu/Versions: Likewise.
51984 * csu/init.c: Likewise.
51985 * elf/tst-audit2.c: Likewise.
51986 * elf/tst-tls10.c: Likewise.
51987 * elf/tst-tls10.h: Likewise.
51988 * elf/tst-tls11.c: Likewise.
51989 * elf/tst-tls12.c: Likewise.
51990 * elf/tst-tls14.c: Likewise.
51991 * elf/tst-tlsmod11.c: Likewise.
51992 * elf/tst-tlsmod12.c: Likewise.
51993 * elf/tst-tlsmod13.c: Likewise.
51994 * elf/tst-tlsmod13a.c: Likewise.
51995 * elf/tst-tlsmod14a.c: Likewise.
51996 * elf/tst-tlsmod15b.c: Likewise.
51997 * elf/tst-tlsmod16a.c: Likewise.
51998 * elf/tst-tlsmod16b.c: Likewise.
51999 * elf/tst-tlsmod7.c: Likewise.
52000 * elf/tst-tlsmod8.c: Likewise.
52001 * elf/tst-tlsmod9.c: Likewise.
52002 * gmon/gmon.c: Likewise.
52003 * grp/fgetgrent_r.c: Likewise.
52004 * grp/putgrent.c: Likewise.
52005 * hurd/fopenport.c: Likewise.
52006 * include/libc-symbols.h: Likewise.
52007 * include/tls.h: Likewise.
52008 * intl/gettextP.h: Likewise.
52009 * intl/loadinfo.h: Likewise.
52010 * locale/global-locale.c: Likewise.
52011 * locale/localeinfo.h: Likewise.
52012 * mach/devstream.c: Likewise.
52013 * malloc/arena.c: Likewise.
52014 * malloc/set-freeres.c: Likewise.
52015 * misc/err.c: Likewise.
52016 * misc/getttyent.c: Likewise.
52017 * misc/mntent_r.c: Likewise.
52018 * posix/getopt.c: Likewise.
52019 * posix/wordexp.c: Likewise.
52020 * pwd/fgetpwent_r.c: Likewise.
52021 * resolv/Versions: Likewise.
52022 * resolv/res_hconf.c: Likewise.
52023 * shadow/fgetspent_r.c: Likewise.
52024 * shadow/putspent.c: Likewise.
52025 * stdio-common/printf_fphex.c: Likewise.
52026 * stdio-common/tmpfile.c: Likewise.
52027 * stdlib/abort.c: Likewise.
52028 * stdlib/fmtmsg.c: Likewise.
52029 * sunrpc/auth_unix.c: Likewise.
52030 * sunrpc/clnt_perr.c: Likewise.
52031 * sunrpc/clnt_tcp.c: Likewise.
52032 * sunrpc/clnt_udp.c: Likewise.
52033 * sunrpc/clnt_unix.c: Likewise.
52034 * sunrpc/openchild.c: Likewise.
52035 * sunrpc/svc_simple.c: Likewise.
52036 * sunrpc/svc_tcp.c: Likewise.
52037 * sunrpc/svc_udp.c: Likewise.
52038 * sunrpc/svc_unix.c: Likewise.
52039 * sunrpc/xdr.c: Likewise.
52040 * sunrpc/xdr_array.c: Likewise.
52041 * sunrpc/xdr_rec.c: Likewise.
52042 * sunrpc/xdr_ref.c: Likewise.
52043 * sunrpc/xdr_stdio.c: Likewise.
52044
1248c1c4
PB
520452011-09-09 Ulrich Drepper <drepper@gmail.com>
52046
52047 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52048
520492011-07-03 Andreas Jaeger <aj@suse.de>
52050
52051 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52052 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52053 regenerate with gen-libm-tests.pl.
52054
520552010-05-12 Petr Baudis <pasky@suse.cz>
52056
52057 [BZ #11589]
52058 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52059 around j0() zero points by switching to j1().
52060 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52064
f22e1074
UD
520652011-09-09 Ulrich Drepper <drepper@gmail.com>
52066
f19009c1
UD
52067 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52068 instead of 0.
52069 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52070 instead of 0.
f19009c1
UD
52071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52072 Patch in part by Pavel Roskin <proski@gnu.org>.
52073
3f8cc204
UD
52074 [BZ #13138]
52075 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52076 realloc.
52077 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52078 Free memory block if necessary.
52079
f22e1074
UD
52080 [BZ #12847]
52081 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52082 be NULL. Don't lock in this case.
52083
0a2349f9
RM
520842011-09-09 Roland McGrath <roland@hack.frob.com>
52085
52086 * elf/elf.h (ELFOSABI_GNU): New macro.
52087 (ELFOSABI_LINUX): Define to that.
52088
f3cdd467
DZ
520892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52090
52091 * string/strncat.c (strncat): Undef the symbol in case it has been
52092 defined in bits/string.h.
52093
74718d13
UD
520942011-09-09 Ulrich Drepper <drepper@gmail.com>
52095
633e9e0f
UD
52096 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52097
0a2349f9 52098 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52099 link map.
52100
f9924780
AJ
521012011-08-17 Andreas Jaeger <aj@suse.de>
52102
52103 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52104
7f5517aa
PP
521052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52106 Ian Lance Taylor <iant@google.com>
52107
52108 * math/libm-test.inc (lround_test): New testcase.
52109 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52110
762011fe
UD
521112011-09-08 Ulrich Drepper <drepper@gmail.com>
52112
92963737
UD
52113 * Makefile: Remove support for automatic cvs check-ins.
52114 * Makerules: Likewise.
52115 * config.make.in: Likewise.
52116 * configure.in: Likewise.
52117 * intl/Makefile: Likewise.
52118 * locale/Makefile: Likewise.
52119 * po/Makefile: Likewise.
52120 * posix/Makefile: Likewise.
52121 * sysdeps/gnu/Makefile: Likewise.
52122 * sysdeps/mach/hurd/Makefile: Likewise.
52123 * sysdeps/sparc/sparc32/Makefile: Likewise.
52124
b0727fd8
JS
52125 [BZ #13118]
52126 * posix/Makefile (bug-regex32-ENV): Define.
52127 Patch by John Stanley <jpsinthemix@verizon.net>.
52128
a0f33f99
UD
52129 * misc/Makefile (headers): Add bits/select2.h.
52130 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52131 * misc/bits/select2.h: New file.
52132 * include/bits/select2.h: New file.
52133 * debug/Makefile (routines): Add fdelt_chk.
52134 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52135 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52136 FD_ISSET.
52137 * debug/fdelt_chk.c: New file.
52138
762011fe
UD
52139 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52140 * wcsmbs/test-wmemcmp.c: Likewise.
52141 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52142 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52143
521442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52145
52146 * string/Makefile (strop-tests): Add memcmp.
52147 * string/test-wmemcmp.c: New file.
52148 * string/test-memcmp.c: Add wmemcmp support.
52149
7f513ec8
RM
521502011-09-08 Roland McGrath <roland@hack.frob.com>
52151
0442afb4
RM
52152 [BZ #13153]
52153 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52154 2011-07-19 change.
52155
7f513ec8
RM
52156 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52157 garbage value in a __mach_port_mod_refs call in the cases of the
52158 task-self and thread-self ports.
52159
a12b2239
ST
521602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52161
52162 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52163
610f9ab4
AS
521642011-09-08 Andreas Schwab <schwab@redhat.com>
52165
7f513ec8 52166 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52167
48882a1a
LD
521682011-09-07 Ulrich Drepper <drepper@gmail.com>
52169
b49865be
UD
52170 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52171
fdc86bc9
UD
52172 * elf/dl-libc.c (dlerror_run): Pass back error code from
52173 dl_catch_error.
52174
c966526a
UD
52175 [BZ #13123]
52176 * elf/dl-load.c (lose): Free l_origin if it is valid.
52177
48882a1a
LD
52178 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52179 names.
52180 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52181 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52182 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52183 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52184 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52185 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52186
77a2a8b4
AZ
521872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52188
52189 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52190 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52191 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52192 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52193 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52194 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52195 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52196 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52197 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52198 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52199
24f579d8
AM
522002011-08-15 Alan Modra <amodra@gmail.com>
52201
52202 [BZ #13092]
52203 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52204 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52205 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52206 ppc_mcount to static-only-routines.
52207 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52208 __mcount_internal.
52209 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52210 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52211
3d4837df
UD
522122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52213
52214 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52215 for finite and infinity parameters.
52216
22700377
WS
522172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52218
52219 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52220 and add nop instructions for throughput optimization.
52221 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52222
5025581e
WS
522232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52224
52225 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52226 aligned copy for power7 with vector-scalar instructions.
52227 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52228
08a300c9
L
522292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52230
52231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52232 AVX check.
52233
59178ef9
AS
522342011-09-07 Andreas Schwab <schwab@redhat.com>
52235
52236 [BZ #13144]
52237 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52238 last change.
52239
e38ba7ab
UD
522402011-09-07 Ulrich Drepper <drepper@gmail.com>
52241
52242 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52243 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52244 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52245 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52246 clock_gettime.
52247
d53a73ac
UD
522482011-09-06 Ulrich Drepper <drepper@gmail.com>
52249
fc8bffcc
UD
52250 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52251 Forgot to demangle the pointer.
52252
ceaa0c5d
UD
52253 * sysdeps/i386/sysdep.h: Define atom_text_section.
52254 * sysdeps/x86_64/sysdep.h: Likewise.
52255 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52256 section with atom_text_section.
52257 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52258 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52259 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52260 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52261 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52262
a77d3c17
UD
52263 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52264 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52265 already be defined. Change to take two parameters and don't assign
52266 result to variable. Adjust all users.
52267 Define INTERNAL_GETTIME if not already defined.
52268 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52269 call.
52270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52271 HAVE_CLOCK_GETTIME_VSYSCALL.
52272 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52273
d53a73ac
UD
52274 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52275 gettimeofday vsyscall, just use time.
52276
a8f84144
AS
522772011-09-06 Andreas Schwab <schwab@redhat.com>
52278
52279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52280 <errno.h>.
52281
ef606249
UD
522822011-09-06 Ulrich Drepper <drepper@gmail.com>
52283
52284 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52285 syscall on x86-64.
52286 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52287 syscall.
52288 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52289 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52290 syscall if possible.
52291
6585cb60
UD
522922011-09-05 Ulrich Drepper <drepper@gmail.com>
52293
52294 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52295 e_ident. Don't pass to find_mapsXX.
52296 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52297
a5f524e4
LD
522982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52299
52300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52301 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52302 * sysdeps/x86_64/multiarch/strchr.S: Update.
52303 Check bit_slow_BSF bit.
52304 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52305 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52306 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52307
554881ef
UD
523082011-09-05 Ulrich Drepper <drepper@gmail.com>
52309
d96de963
UD
52310 [BZ #13134]
52311 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52312 before glibc 2.15.
52313 (tryshell): Define.
52314 (__spawni): Change last parameter to be flag. Test
52315 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52316 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52317 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52318 * posix/spawni.c: Likewise.
52319 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52320 * posix/spawnp.c: Likewise. Change normal version to use
52321 SPAWN_XFLAGS_USE_PATH.
52322 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52323 SPAWN_XFLAGS_TRY_SHELL.
52324
d48e5868
UD
52325 [BZ #13150]
52326 * posix/glob.h: Remove gcc 1.x support.
52327
554881ef
UD
52328 [BZ #13068]
52329 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52330
693fb948
LD
523312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52332
52333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52334 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52335 strrchr-sse2-bsf
52336 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52337 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52338 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52339 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52340 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52341 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52342
1b48c537
UD
523432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52344
49d42c37
UD
52345 * sysdeps/x86_64/wcscmp.S: New file.
52346
1b48c537
UD
52347 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52348 wcscmp-c wcscmp-sse2
52349 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52350 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52351 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52352 * wcsmbs/wcscmp.c: Allow renaming.
52353
15c95c5d
DM
523542011-09-05 David S. Miller <davem@davemloft.net>
52355
52356 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52357 stack slot, rather than the struct return pointer slot.
52358 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52359 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52361 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52362
2f0ad8f3
UD
523632011-09-05 Ulrich Drepper <drepper@gmail.com>
52364
d88ae418
UD
52365 * po/ja.po: Update from translation team.
52366
2f0ad8f3
UD
52367 [BZ #13144]
52368 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52369 kernel in 64-bit binaries.
52370
5f4318d1
DM
523712011-09-01 David S. Miller <davem@davemloft.net>
52372
52373 * elf/elf.h (HWCAP_SPARC_*): Move to..
52374 * sysdeps/sparc/sysdep.h: this new file and add new values.
52375 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52376 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52377 _DL_HWCAP_COUNT to 24.
52378 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52379 entries.
52380 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52381 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52382 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52384 instead of magic constants.
52385 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52386
3ba57516
DM
523872011-08-31 David S. Miller <davem@davemloft.net>
52388
52389 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52391 Reimplement to do errno handling inline.
52392 (SYSCALL_ERROR_HANDLER): New macro.
52393 (__SYSCALL_STRING): Do not do errno handling in asm.
52394 (__CLONE_SYSCALL_STRING): Delete.
52395 (__INTERNAL_SYSCALL_STRING): Delete.
52396 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52397 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52398 (PSEUDO): Reimplement to do errno handling inline.
52399 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52400 (SYSCALL_ERROR_HANDLER): New macro.
52401 (__SYSCALL_STRING): Do not do errno handling in asm.
52402 (__CLONE_SYSCALL_STRING): Delete.
52403 (__INTERNAL_SYSCALL_STRING): Delete.
52404 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52405 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52406 i386.
52407 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52408 (inline_syscall*): Add 'err' argument.
52409 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52410 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52411 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52412 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52413
52414 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52415 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52416
2bc17433
AS
524172011-08-30 Andreas Schwab <schwab@redhat.com>
52418
52419 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52420
fbeb5f4d
JO
524212011-08-29 Jiri Olsa <jolsa@redhat.com>
52422
52423 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52424 directive.
52425
ad69cc26
DM
524262011-08-24 David S. Miller <davem@davemloft.net>
52427
52428 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52429
39dd69df
AS
524302011-08-24 Andreas Schwab <schwab@redhat.com>
52431
52432 * elf/Makefile: Add rules to build and run unload8 test.
52433 * elf/unload8.c: New file.
52434 * elf/unload8mod1.c: New file.
52435 * elf/unload8mod1x.c: New file.
52436 * elf/unload8mod2.c: New file.
52437 * elf/unload8mod3.c: New file.
52438
52439 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52440 it wasn't used.
52441
2c0b250a
DM
524422011-08-23 David S. Miller <davem@davemloft.net>
52443
52444 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52445 subtract stack bias.
52446 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52447 %sp not %fp in calculations.
52448 (_JMPBUF_UNWINDS_ADJ): Likewise.
52449
22044b48
DM
52450 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52451 (aio_suspend): Call it to force an exception region around the
52452 AIO_MISC_WAIT() invocation.
52453
2cae4995
AS
524542011-08-23 Andreas Schwab <schwab@redhat.com>
52455
52456 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52457 backslash.
52458
873a772e
AJ
524592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52460
52461 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52462 protection macro.
52463 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52464 and <dl-machine.h>.
52465 (Elf64_FuncDesc): Remove.
52466
25ad0df1
DM
524672011-08-22 David S. Miller <davem@davemloft.net>
52468
52469 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52470 sigaltstack check, add missing cfi directives.
52471 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52472 missing cfi directives, and sigaltstack handling.
52473
e888bcbe
AS
524742011-08-16 Andreas Schwab <schwab@redhat.com>
52475
52476 [BZ #11724]
52477 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52478 object is seen twice.
52479 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52480
52481 * elf/Makefile (distribute): Add tst-initorder2.c.
52482 (tests): Add tst-initorder2.
52483 (modules-names): Add tst-initorder2a tst-initorder2b
52484 tst-initorder2c tst-initorder2d. Add rules to build them.
52485 ($(objpfx)tst-initorder2.out): New rule.
52486 * elf/tst-initorder2.c: New file.
52487 * elf/tst-initorder2.exp: New file.
52488
87162f46
AS
524892011-08-22 Andreas Schwab <schwab@redhat.com>
52490
70538b7f
AS
52491 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52492
f55ffe58
AS
52493 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52494 dependencies back to end of function.
52495
87162f46
AS
52496 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52497 $(elfobjdir)/ld.so.
52498
91b392a4
UD
524992011-08-21 Ulrich Drepper <drepper@gmail.com>
52500
52501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52502 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52504 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52505 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52506 of __vdso_gettimeofday.
52507 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52508 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52509 attribute_hidden.
52510 (_libc_vdso_platform_setup): Remove initialization of
52511 __vdso_gettimeofday and __vdso_time.
52512
5c43483f
UD
525132011-08-20 Ulrich Drepper <drepper@gmail.com>
52514
775a77e7
UD
52515 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52516 and fgetc_unlocked.
52517 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52518 getc_unlocked.
89f447ed 52519
49c74ba9
UD
52520 * elf/dl-open.c (add_to_global): Report additions to the global scope
52521 for LD_DEBUG=scopes.
52522 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52523 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52524
5c43483f
UD
52525 [BZ #13114]
52526 * stdio-common/Makefile (tests): Add bug24.
52527 * stdio-common/bug24.c: New file.
52528
a101b025
AJ
525292011-08-19 Andreas Jaeger <aj@suse.de>
52530
52531 [BZ #13114]
52532 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52533 non-existant file when using close-on-exec mode.
52534
c88f1766
UD
525352011-08-20 Ulrich Drepper <drepper@gmail.com>
52536
0276a718
UD
52537 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52538 the very first instruction.
52539
c88f1766
UD
52540 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52541 the CFI state in the end.
52542 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52543 inclusion of dl-trampoline.h.
52544 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52545
51ccffa0
AS
525462011-08-19 Andreas Schwab <schwab@redhat.com>
52547
94d7165f
AS
52548 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52549 expectations for long double.
52550
51ccffa0
AS
52551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52552 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52553
fd708658 525542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52555
52556 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52557 artificual limit depends upon the system page size.
52558
44f0a71e
UD
525592011-08-17 Ulrich Drepper <drepper@gmail.com>
52560
52561 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52562 * resolv/Makefile: Define CFLAGS-libresolv.
52563
8de79a24
AS
525642011-08-17 Andreas Schwab <schwab@redhat.com>
52565
52566 * nss/makedb.c (compute_tables): Make variables used in nested
52567 function static.
52568
27724598
UD
525692011-08-17 Ulrich Drepper <drepper@gmail.com>
52570
c5305d88
UD
52571 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52572 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52573 if buffer was too small.
52574
27724598
UD
52575 * elf/pldd.c (main): Attach to all threads in the process.
52576 Rewrite /proc handling to use *at functions.
52577
076fe015
UD
525782011-08-16 Ulrich Drepper <drepper@gmail.com>
52579
174baab3
UD
52580 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52581 specifies first scope to show.
52582 (dl_open_worker): Update callers. Move printing scope of new
52583 object to before the relocation.
44f0a71e 52584 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52585 * sysdeps/generic/ldsodefs.h: Update declaration.
52586
076fe015
UD
52587 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52588 string for the scope number.
52589
a60df2c3
UD
525902011-08-14 Ulrich Drepper <drepper@gmail.com>
52591
52592 * nscd/servicescache.c (cache_addserv): Make sure written is always
52593 initialized.
52594
5e4287d1
RM
525952011-08-14 Roland McGrath <roland@hack.frob.com>
52596
85ae0589
RM
52597 * sysdeps/i386/i486/bits/atomic.h
52598 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52599 statement expression, so as to suppress "set but not used" warning.
52600 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52601
69f63097
RM
52602 * string/strncat.c (STRNCAT): Use prototype definition.
52603
675456ef
RM
52604 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52605 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52606 -Iprograms here.
52607 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52608 (localedef-modules): Add localedef.
52609 (locale-modules): Add locale.
52610
5e4287d1
RM
52611 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52612 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52613 to avoid a warning.
52614
9c96ff23
DM
526152011-08-14 David S. Miller <davem@davemloft.net>
52616
52617 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52618 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52619
f9ddf089
UD
526202011-08-13 Ulrich Drepper <drepper@gmail.com>
52621
44f0a71e 52622 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52623 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52624 * elf/rtld.c (dl_main): Set l_name of vDSO.
52625 Call _dl_show_scope when DL_DEBUG_SCOPES.
52626 (process_dl_debug): Recognize scopes flag and also set it for all.
52627 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52628 Declare _dl_show_scope.
52629
1dc27704
UD
52630 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52631 (do_dlopen): Pass caller_dlopen to dl_open.
52632 (__libc_dlopen_mode): Initialize caller_dlopen.
52633
f9ddf089
UD
52634 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52635 of libc. Make tolower call locale-independent. Optimize a bit by
52636 using isdigit instead of isalnum.
52637 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52638
9ac533d3
UD
526392011-08-12 Ulrich Drepper <drepper@gmail.com>
52640
52641 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52642 was a dependency or dynamically loaded.
52643
89edf2e9
UD
526442011-08-11 Ulrich Drepper <drepper@gmail.com>
52645
8e999d29
UD
52646 * intl/l10nflist.c: Allow architecture-specific pop function.
52647 * sysdeps/x86_64/l10nflist.c: New file.
52648
89edf2e9
UD
52649 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52650 classification.
52651
14d96785
AS
526522011-08-10 Andreas Schwab <schwab@redhat.com>
52653
52654 * include/dirent.h: Add libc_hidden_proto for scandirat and
52655 scandirat64. Don't declare __scandirat64.
52656 * dirent/scandirat.c: Add libc_hidden_def.
52657 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52658 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52659
6761ac04
DM
526602011-08-10 David S. Miller <davem@davemloft.net>
52661
52662 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52663 enum.
52664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52666 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52667
c55fbd1e
UD
526682011-08-09 Ulrich Drepper <drepper@gmail.com>
52669
52670 * Versions.def [libc]: Add GLIBC_2.15.
52671 * dirent/Makefile (routines): Add scandirat and scandirat64.
52672 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52673 GLIBC_2.15.
52674 * dirent/dirent.h: Declare scandirat and scandirat64.
52675 * dirent/scandirat.c: New file.
52676 * dirent/scandirat64.c: New file.
52677 * sysdeps/wordsize-64/scandirat.c: New file.
52678 * sysdeps/wordsize-64/scandirat64.c: New file.
52679 * dirent/opendir.c: Define opendirat.
52680 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52681 using scandirat.
52682 * dirent/scandir64.c: Adjust for scandir.c change.
52683 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52684 __scandirat64, and __scandir_cancel_handler.
52685 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52686 additional parameter and use openat instead of open (outside of ld.so).
52687 Add new __opendir as wrapper around __opendirat.
52688 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52689 here without requiring old scandirat implementation.
52690
879165f2
UD
526912011-08-08 Ulrich Drepper <drepper@gmail.com>
52692
52693 * dirent/scandir.c (cancel_handler): Renamed to
52694 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52695 defined. Adjust users.
52696 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52697 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52698
cb7e923b
UD
526992011-08-04 Ulrich Drepper <drepper@gmail.com>
52700
16292edd
UD
52701 * string/test-string.h (IMPL): Use __STRING to expand name and then
52702 stringify it.
52703
cb7e923b
UD
52704 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52705 of cleanups.
52706
cff82933
LD
527072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52708
52709 * string/Makefile: Update.
52710 (strop-tests): Append strncat.
52711 * string/test-wcscmp.c: New file.
52712 New comprehensive test for wcscmp.
52713 * string/test-strcmp.c: Update.
52714 (WIDE): New define.
52715
9be9bfcc
AS
527162011-07-22 Andreas Schwab <schwab@redhat.com>
52717
52718 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52719 line.
52720
2e96f1c7
AS
527212011-07-26 Andreas Schwab <schwab@redhat.com>
52722
52723 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52724 encoding to ACE if AI_IDN.
52725
85188888
JJ
527262011-08-01 Jakub Jelinek <jakub@redhat.com>
52727
52728 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52729 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52730
5fa16e9b
LD
527312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52732
52733 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52734 Fix overflow bug in strncat.
52735 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52736
52737 * string/test-strncat.c: Update.
52738 Add new tests for checking overflow bugs.
52739
527402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52741
52742 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52743 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52744 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52745 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52746 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52747 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52748 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52749 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52750 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52751
52752 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52753 (USE_AS_STRCAT): Define.
52754 Add strcat and strncat support.
52755 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52756
8c1a459f
AS
527572011-07-25 Andreas Schwab <schwab@redhat.com>
52758
52759 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52760 __n bigger than INT_MAX+1.
52761 (__strncmp_g): Likewise.
52762
bba33c28
UD
527632011-07-23 Ulrich Drepper <drepper@gmail.com>
52764
798be72d
UD
52765 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52766 * libio/stido.h: Likewise.
52767
8accd4dc
UD
52768 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52769 (AF_NFC): Define.
52770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52771 (AF_NFC): Define.
52772
cbff0d96
UD
52773 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52774 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52775 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52776 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52777 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52778
9191c04a
UD
52779 [BZ #13021]
52780 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52781 installed.
52782
bba33c28
UD
52783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52784 typo.
52785 (_dl_x86_64_save_sse): Likewise.
52786
90f139dd
UD
527872011-07-22 Ulrich Drepper <drepper@gmail.com>
52788
1aae088a
UD
52789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52790 OSXSAVE.
52791 (_dl_x86_64_save_sse): Likewise.
52792
8e2045f5
UD
52793 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52794
90f139dd
UD
52795 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52796
1d002f25
AS
527972011-07-21 Andreas Schwab <schwab@redhat.com>
52798
52799 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52800 change.
52801 (_dl_x86_64_save_sse): Use correct AVX check.
52802
21137f89
UD
528032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52804
52805 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52806 bug in strncpy/strncat.
52807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52808
a65c0b7a
UD
528092011-07-21 Ulrich Drepper <drepper@gmail.com>
52810
52811 * string/tester.c (test_strcat): Add tests for different alignments
52812 of source and destination.
52813 (test_strncat): Likewise.
52814
6986b98a
UD
528152011-07-20 Ulrich Drepper <drepper@gmail.com>
52816
90bb2039
UD
52817 [BZ #12852]
52818 * posix/glob.c (glob): Check passed in values before using them in
52819 expressions to avoid some overflows.
52820 (glob_in_dir): Likewise.
52821
5644ef54
UD
52822 [BZ #13007]
52823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52824 check for AVX enablement so that we don't crash with old kernels and
52825 new hardware.
52826 * elf/tst-audit4.c: Add same checks here.
52827 * elf/tst-audit6.c: Likewise.
52828
52829 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52830
bfc9dc9b
AS
528312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52832
52833 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52834
702e64bb
UD
528352011-07-20 Ulrich Drepper <drepper@gmail.com>
52836
52837 * po/cs.po: Update from translation team.
52838 * po/bg.po: Likewise.
52839
295e904f
MP
528402011-07-12 Marek Polacek <mpolacek@redhat.com>
52841
52842 * misc/sys/cdefs.h: Add support for const attribute.
52843 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52844 to gnu_dev_{major,minor,makedev} functions.
52845
3ff94596
MP
528462011-07-20 Marek Polacek <mpolacek@redhat.com>
52847
52848 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52849
28b59fca
AS
528502011-07-20 Andreas Schwab <schwab@redhat.com>
52851
52852 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52853 strlen results.
52854
19df733e
AK
528552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52856
52857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52858 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52859 register in order to avoid conflicts with the soft frame pointer
52860 being held in r11 when necessary.
52861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52862 (INTERNAL_VSYSCALL_NCS): Likewise.
52863
c8835729
MP
528642011-07-14 Marek Polacek <mpolacek@redhat.com>
52865
52866 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52867 * elf/dl-fini.c (_dl_fini): Adjust caller.
52868 * elf/dl-close.c (_dl_close_worker): Likewise.
52869 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52870
b902330c
MP
528712011-07-15 Marek Polacek <mpolacek@redhat.com>
52872
8991e135
MP
52873 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52874 "aux_cache->nlibs < 0".
52875
b902330c
MP
52876 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52877 in the reload-count case.
52878
99710781
LD
528792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52880
52881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52882 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52883 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52884 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52885 * sysdeps/x86_64/multiarch/strcat.S: New file.
52886 * sysdeps/x86_64/multiarch/strncat.S: New file.
52887 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52888 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52889 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52890 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52891 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52892 (USE_AS_STRCAT): Define.
52893 Add strcat and strncat support.
52894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52895 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52896 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52897 * string/strncat.c: Update.
52898 (USE_AS_STRNCAT): Define.
52899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52900 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52901 and i7.
52902 * sysdeps/x86_64/multiarch/init-arch.h
52903 (bit_Prefer_PMINUB_for_stringop): New.
52904 (index_Prefer_PMINUB_for_stringop): Likewise.
52905 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52906 bit_Prefer_PMINUB_for_stringop.
52907
7dc6bd90
UD
529082011-07-19 Ulrich Drepper <drepper@gmail.com>
52909
52910 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52911 buffer64.
52912 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52913 of casting of buffer.
52914 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52915 buffer32 and buffer64.
52916 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52917 writes instead of casting of buffer.
52918 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52919 buffer32.
52920 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52921 casting of buffer.
52922
e0e72284
AS
529232011-07-19 Andreas Schwab <schwab@redhat.com>
52924
52925 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52926
feb1eb0b
UD
529272011-07-19 Ulrich Drepper <drepper@gmail.com>
52928
52929 * nscd/nscd.c (termination_handler): Don't do anything for a database
52930 if it has not yet been initialized.
52931
298711ff
UD
529322011-07-18 Ulrich Drepper <drepper@gmail.com>
52933
52934 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52935
529362011-07-15 Marek Polacek <mpolacek@redhat.com>
52937
52938 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52939
f9d68389
UD
529402011-07-18 Ulrich Drepper <drepper@gmail.com>
52941
52942 * po/nl.po: Update from translation team.
52943 * po/sv.po: Likewise.
52944
db290cf5
RM
529452011-07-16 Roland McGrath <roland@hack.frob.com>
52946
52947 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52948 now disallowed by GCC.
5c550700 52949
fd5e21c7
RM
52950 * configure.in (use-default-link): Default to yes if a test -shared
52951 link meets our qualifications.
52952 * configure: Regenerated.
52953
5c550700
RM
52954 * config.make.in (output-format): New variable.
52955 * configure.in: Check for ld --print-output-format support.
52956 * configure: Regenerated.
52957 * Makerules ($(common-objpfx)format.lds)
52958 [$(output-format) != unknown]: Just use $(output-format),
52959 instead of the linker-script munging.
52960
9fa2c032
RM
529612011-07-14 Roland McGrath <roland@hack.frob.com>
52962
a6928d51
RM
52963 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52964 of $(common-objpfx)shlib.lds.
52965 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52966
661607b3
RM
52967 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52968 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52969
9fa2c032
RM
52970 * configure.in (-z relro check): Adjust test code to add a large
52971 writable data section after it.
52972 * configure: Regenerated.
52973
defe9061
RM
529742011-07-11 Roland McGrath <roland@hack.frob.com>
52975
52976 * configure.in (-z relro check): Fix test code to make the variable
52977 truly const.
52978 * configure: Regenerated.
52979
319b9ad4
UD
529802011-07-11 Ulrich Drepper <drepper@gmail.com>
52981
52982 * nscd/nscd.h (struct traced_file): Define.
52983 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52984 elements. Add traced_files.
52985 (inotify_fd): Declare.
52986 (register_traced_file): Declare.
52987 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52988 (inotify_fd): Export.
52989 (resolv_conf_descr): Remove.
52990 (nscd_init): Move inotify descriptor creation to main.
52991 Don't register files for notification here.
52992 (register_traced_file): New function.
52993 (invalidate_cache): Don't use reset_res to determine whether to call
52994 res_init, go through the list of registered files.
52995 (main_loop_poll): The inotify descriptors are now stored in the
52996 structures for the traced files.
52997 (main_loop_epoll): Likewise
52998 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52999 to __nss_disable_nscd.
53000 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53001 for a database anymore. Check the records for all the registered
53002 files instead.
53003 * nss/Makefile (libnss_files-routines): Add files-init.
53004 (libnss_db-routines): Add db-init.
53005 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53006 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53007 * nss/nss_db/db-init.c: New file.
53008 * nss/nss_files/files-init.c: New file.
53009 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53010 __nss_lookup_function.
53011 (__nss_lookup_function): Call nss_load_library.
53012 (nss_load_all_libraries): New function.
53013 (__nss_disable_nscd): Take parameter with callback function for files
53014 to register. Set is_nscd. Load all the DSOs for the NSS modules
53015 used for the cached services.
53016 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53017 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53018 options for features to all the files in nscd.
53019
53020 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53021
23bee3e8
RM
530222011-07-10 Roland McGrath <roland@hack.frob.com>
53023
53024 * csu/elf-init.c (__libc_csu_init): Comment typo.
53025
46a5b7f0
UD
530262011-07-09 Ulrich Drepper <drepper@gmail.com>
53027
53028 * po/pl.po: Update from translation team.
53029 * po/ja.po: Likewise.
53030 * po/ru.po: Likewise.
53031 * po/ko.po: Likewise.
53032 * po/fr.po: Likewise.
53033
d30cf5bb
RM
530342011-07-09 Roland McGrath <roland@hack.frob.com>
53035
113ddea4
RM
53036 * configure.in (.ctors/.dtors header and trailer check):
53037 Use an empirical test on a built program.
53038 * configure: Regenerated.
53039
574920b4
RM
53040 * configure.in (-z relro check): Use an empirical test on a built DSO.
53041 Detect, but do not require, on ia64.
53042 * configure: Regenerated.
53043
d30cf5bb
RM
53044 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53045 Update tests that use readelf to use $READELF instead.
53046 * configure: Regenerated.
53047
8538fdb3
UD
530482011-07-08 Ulrich Drepper <drepper@gmail.com>
53049
53050 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53051 if the result is not used.
53052
04d08991
AJ
530532011-07-05 Andreas Jaeger <aj@suse.de>
53054
53055 [BZ#9696]
53056 * stdlib/tst-strtod.c: Add testcase.
53057
de283087
AD
530582011-07-07 Ulrich Drepper <drepper@gmail.com>
53059
4e5f31c8 53060 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53061 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53062 The latter has a higher limit. Take additional parameter to pass to
53063 the new function.
53064 (__pathconf): Pass file to __statfs_link_max.
53065 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53066 __statfs_link_max.
53067 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53068 __statfs_link_max.
53069
de283087
AD
53070 [BZ #12868]
53071 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53072 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53073 Handle Lustre.
53074 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53075 (__statfs_filesize_max): Likewise.
53076 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53077
c75fa153
AJ
530782011-07-05 Andreas Jaeger <aj@suse.de>
53079
53080 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53081
1a544854
UD
530822011-07-06 Marek Polacek <mpolacek@redhat.com>
53083
53084 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53085 `status' variable.
53086 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53087 Likewise.
53088
6f0eec67
UD
530892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53090
53091 * Makefile (strop-tests): Add strncat.
53092 * string/test-strncat.c: New file.
53093
aae30307
UD
530942011-06-30 Marek Polacek <mpolacek@redhat.com>
53095
53096 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53097
c0cfb5eb
UD
530982011-06-21 Andreas Jaeger <aj@suse.de>
53099
53100 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53101 Copy rule from iconvdata/Makefile.
53102
01636b21
UD
531032011-07-06 Ulrich Drepper <drepper@gmail.com>
53104
53105 [BZ #12922]
53106 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53107 but no long options are defined, just return 'W'.
53108
9895c8bc
UD
531092011-06-22 Marek Polacek <mpolacek@redhat.com>
53110
53111 [BZ #9696]
53112 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53113
5d4cf042
UD
531142011-07-06 Ulrich Drepper <drepper@gmail.com>
53115
53116 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53117 netgroups to read.
960e5535 53118 (innetgr): Likewise.
5d4cf042 53119
751eb97e
RM
531202011-07-05 Roland McGrath <roland@hack.frob.com>
53121
53122 * config.make.in (install_root): Default to $(DESTDIR).
53123
f15f1e45
UD
531242011-07-05 Ulrich Drepper <drepper@gmail.com>
53125
53126 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53127
4e34ac6a
RM
531282011-07-02 Roland McGrath <roland@hack.frob.com>
53129
5e9b6af4
RM
53130 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53131
84f9ea0f
RM
53132 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53133 containing directory rather than embedding absolute directory names.
53134
ea5ee9f7
RM
53135 * scripts/check-local-headers.sh: Rewritten using awk.
53136 Match by word, not by line. Print error messages for matches.
53137 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53138
1b74661a
RM
53139 * Makerules [shlib-lds-flags empty]:
53140 ($(common-objpfx)libc_pic.opts): New target.
53141 ($(common-objpfx)libc_pic.os.clean): New target.
53142 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53143
53144 * config.make.in (OBJCOPY): New variable.
53145 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53146 * configure: Regenerated.
53147
f781ef40
RM
53148 * config.make.in (use-default-link): New variable.
53149 * configure.in (use_default_link): Grok --with-default-link to set it.
53150 * configure: Regenerated.
53151 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53152 (shlib-lds, shlib-lds-flags): Define to empty.
53153
2d4fa81e
RM
53154 * Makerules (shlib-lds): New variable.
53155 (shlib-lds-flags): New variable.
53156 (build-shlib, build-moduile, build-module-asneeded): Use it.
53157 ($(common-objpfx)libc.so): Use $(shlib-lds).
53158 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53159 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53160
31fffa6b
RM
53161 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53162 DT_FLAGS/DT_FLAGS_1 with zero flags.
53163
4e34ac6a
RM
53164 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53165 linker script munging.
53166
fcfc776b
UD
531672011-07-02 Ulrich Drepper <drepper@gmail.com>
53168
53169 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53170 as 128-bit value.
53171 * crypt/sha512.c (sha512_process_block): Perform total addition using
53172 128-bit if possible.
53173 (__sha512_finish_ctx): Likewise.
53174 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53175 as 64-bit value.
53176 * crypt/sha256.c (SWAP64): Define.
53177 (sha256_process_block): Perform total addition using 64-bit if
53178 possible.
53179 (__sha256_finish_ctx): Likewise.
53180
99231d9a
UD
531812011-07-01 Ulrich Drepper <drepper@gmail.com>
53182
53183 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53184 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53185 * nscd/hstcache.c (cache_addhst): Likewise.
53186 * nscd/grpcache.c (cache_addgr): Likewise.
53187 * nscd/aicache.c (addhstaiX): Likewise
53188 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53189
445b4a53
TK
531902011-07-01 Thorsten Kukuk <kukuk@suse.de>
53191
53192 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53193 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53194 * nscd/hstcache.c (cache_addhst): Likewise.
53195 * nscd/grpcache.c (cache_addgr): Likewise.
53196 * nscd/aicache.c (addhstaiX): Likewise
53197
6d4d8e8e
AS
531982011-07-01 Andreas Schwab <schwab@redhat.com>
53199
53200 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53201 domain only when needed.
53202
89f654c5
AS
532032011-06-30 Andreas Schwab <schwab@redhat.com>
53204
53205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53206 is always restored.
53207
cf3b23ff
UD
532082011-06-29 Ulrich Drepper <drepper@gmail.com>
53209
53210 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53211 are re-adding the entry.
53212 * nscd/servicescache.c (cache_addserv): Likewise.
53213
751626f9
AJ
532142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53215
53216 * sysdeps/generic/dl-irel.h: fix protection against multiple
53217 inclusions.
53218 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53219
9113ea1f
UD
532202011-06-28 Ulrich Drepper <drepper@gmail.com>
53221
5c0b8d90
UD
53222 [BZ #12935]
53223 * malloc/memusage.sh: Fix quoting in message.
53224 * debug/xtrace.sh: Likewise.
53225
9113ea1f
UD
53226 * configure.in: Remove support for --experimental-malloc option, make
53227 it the default.
53228 * config.make.in: Likewise.
53229 * malloc/Makefile: Likewise.
53230
a4172181
AS
532312011-06-27 Andreas Schwab <schwab@redhat.com>
53232
53233 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53234 two-byte characters.
53235
78a7eee7
RM
532362011-06-27 Roland McGrath <roland@hack.frob.com>
53237
62bede13
RM
53238 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53239 AC_CACHE_CHECK invocation.
53240 * configure: Regenerated.
53241
78a7eee7
RM
53242 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53243
5ce33a62
UD
532442011-06-27 Ulrich Drepper <drepper@gmail.com>
53245
034807a9
UD
53246 [BZ #12350]
53247 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53248 bit from old_res_options.
53249
4902da17
UD
53250 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53251
5ce33a62
UD
53252 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53253 value type for setfct.
53254
c2344f56
L
532552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53256
53257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53258 __gettimeofday instead of gettimeofday.
53259
68468076
UD
532602011-06-26 Ulrich Drepper <drepper@gmail.com>
53261
53262 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53263
acb0d739
L
532642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53265
53266 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53267
53268 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53269 info.
53270
8912479f
L
532712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53272
53273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53274 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53275 strcpy-sse2-unaligned strncpy-sse2-unaligned
53276 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53277 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53278 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53279 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53280 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53281 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53283 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53284 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53285 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53286 (STRCPY): Support SSE2 and SSSE3 versions.
53287
d5495a11
UD
532882011-06-24 Ulrich Drepper <drepper@gmail.com>
53289
53290 [BZ #12874]
53291 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53292 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53293 kernels which artificially limit size of requests.
53294
0b1cbaae
L
532952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53296
53297 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53298 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53299 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53300 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53301 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53302 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53303 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53304 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53305 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53306 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53307 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53308 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53309 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53310 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53311 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53313 Enable unaligned load optimization for Intel Core i3, i5 and i7
53314 processors.
53315 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53316 Define.
53317 (index_Fast_Unaligned_Load): Define.
53318 (HAS_FAST_UNALIGNED_LOAD): Define.
53319
07f494a0
MP
533202011-06-23 Marek Polacek <mpolacek@redhat.com>
53321
53322 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53323
fa3fc0fe
UD
533242011-06-22 Ulrich Drepper <drepper@gmail.com>
53325
53326 [BZ #12907]
53327 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53328 until it is clear that the information is realy needed.
53329 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53330
e12df166
AS
533312011-06-22 Andreas Schwab <schwab@redhat.com>
53332
53333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53334
852eb34d
UD
533352011-06-22 Ulrich Drepper <drepper@gmail.com>
53336
84e2a551
UD
53337 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53338 /sys/devices/system/cpu/online if it is usable.
53339
852eb34d
UD
53340 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53341 reading the information from the /proc filesystem to once a second.
53342
6e502e19
UD
533432011-06-21 Andreas Jaeger <aj@suse.de>
53344
53345 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53346 NULL after inclusion of kernel headers.
53347
75d39ff2
UD
533482011-06-21 Ulrich Drepper <drepper@gmail.com>
53349
51f9aa6a
UD
53350 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53351 calls to internal_setent.
53352
c0244a9d
UD
53353 [BZ #12885]
53354 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53355 addresses using gethostbyname4_r ignore IPv4 addresses.
53356
c5e3c2ae
UD
53357 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53358 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53359
75d39ff2
UD
53360 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53361
42675c6f
DM
533622011-06-20 David S. Miller <davem@davemloft.net>
53363
53364 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53365 inclusions.
53366 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53367
53368 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53369 (elf_irel): Use it.
53370 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53371 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53372 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53373 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53374 * sysdeps/x86_64/dl-irel.h: Likewise.
53375
53376 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53377 * elf/dl-sym.c: Likewise.
53378
57912a71
UD
533792011-06-15 Ulrich Drepper <drepper@gmail.com>
53380
53381 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53382 need to dereference resplen2.
53383
ee22793d
AS
533842011-06-14 Andreas Schwab <schwab@redhat.com>
53385
53386 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53387
a9e836b0
UD
533882011-06-15 Ulrich Drepper <drepper@gmail.com>
53389
77fb9117
UD
53390 * Makeconfig: Define vardbdir and inst_vardbdir.
53391 * nss/Makefile: Add rules to install db-Makefile.
53392
40c1b22c
UD
53393 * nss/nss_db/db-XXX.c: Cleanup.
53394
9f2da732
UD
53395 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53396 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53397 GLIBC_PRIVATE.
53398 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53399 * nss/makedb.c: Implement -g option to specify that value strings
53400 are generated and should not be added to table iterated over for
53401 get*ent calls.
53402 * nss/nss_db/db-initgroups.c: New file.
53403
82e9a1f7
UD
53404 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53405 interface.
53406
c41af17e
UD
53407 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53408 (internal_getgrouplist): Adjust to name change.
53409 Update use_initgroups_entry if this is not the first call.
53410 * nss/databases.def: Add initgroups entry.
53411
a9e836b0
UD
53412 * nss/makedb.c (compute_tables): Check result of multiple hash table
53413 sizes to minimize maximum chain length.
53414
2666d441
UD
534152011-06-14 Ulrich Drepper <drepper@gmail.com>
53416
53417 * Versions.def: Add entry for libnss_db.
53418 * shlib-versions: Likewise.
53419 * nss/Makefile: Add rules to build libnss_db.
53420 * nss/Versions: Add libnss_db information. Organize libnss_files
53421 entries better.
53422 * nss/db-Makefile: Add gshadow support. Change rules for the new
53423 makedb progra. Some minor improvements to generate smaller files.
53424 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53425 here from...
53426 * nss/makedb.c: ...here.
53427 Improve database format to be smaller and require less memory at
53428 runtime.
53429 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53430 db anymore.
53431 * nss/nss_db/db-netgrp.c: Likewise.
53432 * nss/nss_db/db-open.c: Likewise.
53433 * nss/nss_files/flies-XXX.x: Adjust comments.
53434 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53435 * nss/nss_files/files-grp.c: Likewise.
53436 * nss/nss_files/files-hosts.c: Likewise.
53437 * nss/nss_files/files-network.c: Likewise.
53438 * nss/nss_files/files-proto.c: Likewise.
53439 * nss/nss_files/files-pwd.c: Likewise.
53440 * nss/nss_files/files-rpc.c: Likewise.
53441 * nss/nss_files/files-service.c: Likewise.
53442 * nss/nss_files/files-sgrp.c: Likewise.
53443 * nss/nss_files/files-spwd.c: Likewise.
53444 * nss/nss_db/db-alias.c: Removed.
53445 * nss/nss_db/dummy-db.h: Removed.
53446
9ee76b5a
UD
534472011-06-02 Ulrich Drepper <drepper@gmail.com>
53448
53449 * nss/makedb.c: Rewritten to not use database library.
53450 * nss/Makefile: Update to build new makedb program.
53451
c71ca1f8
AJ
534522011-06-14 Andreas Jaeger <aj@suse.de>
53453
53454 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53455 memset declaration.
53456
3154bfb8
UD
534572011-06-10 Andreas Schwab <schwab@redhat.com>
53458
53459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53460 tmpbuf.
53461
b350afab
RM
534622011-06-10 Roland McGrath <roland@hack.frob.com>
53463
decd4e50
RM
53464 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53465 * elf/Makefile ($(objpfx)ld.so): Likewise.
53466
5615eaf2
RM
53467 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53468 Don't list ld.so twice in dependencies.
53469
53470 * posix/bug-regex31.c: Include <stdlib.h>.
53471
53472 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53473
53474 * nis/nss_compat/compat-spwd.c
53475 (getspent_next_nss_netgr): Remove unused variable.
53476 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53477
53478 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53479 nonmembers" output to use the right array.
53480
53481 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53482
53483 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53484
53485 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53486 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53487 * catgets/gencat.c (read_input_file): Likewise.
53488 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53489
53490 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53491 variable definition inside #if's controlling its use.
53492
53493 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53494
53495 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53496
53497 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53498
53499 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53500 unreachable code.
53501
53502 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53503
b68e08db
RM
53504 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53505 * configure: Regenerated.
53506
b350afab
RM
53507 * Makerules: Revert last change.
53508 * elf/Makefile: Likewise.
53509
28368601
RM
535102011-06-09 Roland McGrath <roland@hack.frob.com>
53511
53512 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53513 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53514 (reloc-link): Likewise.
53515
11988f8f
UD
535162011-06-09 Ulrich Drepper <drepper@gmail.com>
53517
53518 * elf/Makefile: Add rules to build pldd.
53519 * elf/pldd.c: New file.
53520 * elf/pldd-xx.c: New file.
53521
e80fab37
UD
535222011-06-07 Ulrich Drepper <drepper@gmail.com>
53523
53524 * version.h: Update for 2.15 development version.
53525
9b849836
DM
535262011-06-07 David S. Miller <davem@davemloft.net>
53527
53528 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53529 ifuncs.
53530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53531 elf_machine_lazy_rel): Likewise.
53532 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53534 elf_machine_lazy_rel): Likewise.
53535 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53536 dl_hwcap via passed in argument.
53537 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53538 Likewise.
53539
5a31b283
AK
535402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53541
53542 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53543
069e52f8
RM
535442011-06-06 Roland McGrath <roland@hack.frob.com>
53545
53546 [BZ #12849]
53547 * manual/fdl-1.1.texi: New file, verbatim from:
53548 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53549 * manual/lgpl-2.1.texi: New file, verbatim from:
53550 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53551 * manual/Makefile (licenses): New variable, list those new file names.
53552 (texis): Use it.
53553 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53554
53555 * manual/fdl.texi: File removed.
53556 * manual/lesser.texi: File removed.
53557 * manual/libc.texinfo (Copying, Documentation License):
53558 Use new @include file names, put @appendix directive before @include.
53559
f16846a5
JJ
535602011-06-04 Jakub Jelinek <jakub@redhat.com>
53561
53562 [BZ #12841]
53563 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53564 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53565 (mq_open): Add __NTH.
53566
3d29045b
L
535672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53568
53569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53570 Assume Intel Core i3/i5/i7 processor if AVX is available.
53571
8c297311
UD
535722011-05-31 Ulrich Drepper <drepper@gmail.com>
53573
53574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53575 typo.
53576
c8fc0c91
UD
535772011-05-31 Andreas Schwab <schwab@redhat.com>
53578
53579 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53580 memory. Use alloca_account. Fix memory leak when retrying.
53581
5b27a807
UD
535822011-05-31 Ulrich Drepper <drepper@gmail.com>
53583
356f8bc6
UD
53584 * version.h (RELEASE): Bump for 2.14 release.
53585 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53586
5b27a807
UD
53587 * config.make.in (RANLIB): Remove entry.
53588
01f16ab0
UD
535892011-05-30 Ulrich Drepper <drepper@gmail.com>
53590
41fce8bd
UD
53591 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53592 (libc.pot): Work around missing support for .ksh extension in xgettext.
53593
4769ae77
UD
53594 [BZ #12684]
53595 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53596 if both request failed.
53597 (send_dg): In case of server errors clear resplen or *resplen2.
53598
6b1e7d19
UD
53599 [BZ #12454]
53600 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53601 when there are multiple maps.
53602 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53603 (_dl_fini): Remove test here.
53604
01f16ab0
UD
53605 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53606
b1ebd700
UD
536072011-05-29 Ulrich Drepper <drepper@gmail.com>
53608
7ae22829
UD
53609 [BZ #12350]
53610 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53611 bit from old_res_options.
53612 (gaih_inet): Likewise.
53613
553149f6 53614 [BZ #11099]
18a84741 53615 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53616 as signed.
53617
652ffab1
UD
53618 * resolv/res_init.c (res_setoptions): Make the code more compact.
53619
16985fd0
UD
53620 [BZ #11558]
53621 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53622 set RES_USEVC.
53623
0464f746
UD
53624 [BZ #11634]
53625 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53626
7d17596c
UD
53627 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53628
cf6bbbd7
UD
53629 [BZ #11781]
53630 * malloc/malloc.h: Declare malloc hook variables as volatile.
53631
13f1ab36
UD
53632 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53633 in last patch.
53634
b1ebd700
UD
53635 [BZ #11799]
53636 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53637 raise in the comment.
80e2212d
UD
53638 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53639 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53640 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53641
ce67228d
UD
536422011-05-28 Ulrich Drepper <drepper@gmail.com>
53643
8887a920
UD
53644 [BZ #12811]
53645 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53646 grow the buffers more if it already has to be sufficient.
53647 (build_wcs_upper_buffer): Likewise.
53648 * posix/regexec.c (check_matching): Likewise.
53649 (clean_state_log_if_needed): Likewise.
53650 (extend_buffers): Don't enlarge buffers beyond size of the input
53651 buffer.
53652 Patches mostly by Emil Wojak <emil@wojak.eu>.
53653 * posix/bug-regex32.c: New file.
53654 * posix/Makefile (tests): Add bug-regex32.
53655
4f031072
UD
53656 * locale/findlocale.c (_nl_find_locale): Return right away if
53657 _nl_explode_name failed.
53658 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53659
d0478f0c
UD
53660 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53661
de81b246
UD
53662 * debug/xtrace.sh: Unify messages.
53663 * malloc/memusage.sh: Likewise.
53664
c738465a
UD
53665 [BZ #12813]
53666 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53667 time symbol from vDSO. Substitute with vsyscall if not available.
53668 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53669 __vdso_time.
53670
f1f929d7
UD
53671 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53672 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53673 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53674 Add sendmmsg and internal_sendmmsg.
53675 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53676 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53677 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53678
ce67228d
UD
53679 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53680 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53682
e57420c6
UD
536832011-05-27 Ulrich Drepper <drepper@gmail.com>
53684
a8509ca5
UD
53685 [BZ #12813]
53686 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53687 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53688 available.
53689 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53690 __vdso_getcpu.
53691
e57420c6
UD
53692 [BZ #12814]
53693 * iconvdata/Makefile (tests): Add bug-iconv9.
53694 * iconvdata/bug-iconv9.c: New file.
53695
4d07db15
AS
536962011-05-27 Andreas Schwab <schwab@redhat.com>
53697
53698 [BZ #12814]
53699 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53700
ea486f69
JJ
537012011-05-25 Jakub Jelinek <jakub@redhat.com>
53702
53703 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53704 (struct user_regs_struct): Change intcs field back to cs.
53705
6f038433
UD
537062011-05-25 Ulrich Drepper <drepper@gmail.com>
53707
53708 * po/ja.po: Update from translation team.
53709
67f86a25
UD
537102011-05-23 Ulrich Drepper <drepper@gmail.com>
53711
53712 [BZ #12795]
53713 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53714 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53715
def7fbd6
AS
537162011-05-20 Andreas Schwab <schwab@redhat.com>
53717
53718 * stdlib/longlong.h: Update from GCC.
53719
f50ef8f1
AS
537202011-05-23 Andreas Schwab <schwab@redhat.com>
53721
53722 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53723 parameter name.
53724 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53725 Add parameter name.
53726 (__sysconf): Pass it down.
53727
de7ce8f1
UD
537282011-05-22 Ulrich Drepper <drepper@gmail.com>
53729
f2962a71
UD
53730 [BZ #12671]
53731 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53732 some situations.
53733 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53734 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53735 add in in __libc_use_alloca calls. Adjust callers.
53736 (glob): Use malloc in some situations.
53737
de7ce8f1
UD
53738 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53739 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53740 pltexit.
53741
aec84f53
UD
537422011-05-21 Ulrich Drepper <drepper@gmail.com>
53743
05bb4a68
UD
53744 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53745 and CLOCK_BOOTTIME_ALARM.
53746
7ea72f99
UD
53747 [BZ #12782]
53748 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53749 is returned.
53750
7e4afad5
UD
53751 * string/_strerror.c (__strerror_r): Print negative errors as signed
53752 numbers.
53753
8e211fec
UD
53754 [BZ #12777]
53755 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53756 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53757 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53758
f7d82dc9
UD
53759 * configure.in: Fix typo in redirection and correct removal of test
53760 files in two cases.
53761
cc9e536d
UD
53762 [BZ #12788]
53763 * locale/setlocale.c (new_composite_name): Fix test to check for
53764 identical name of all categories.
53765
aec84f53
UD
53766 [BZ #12792]
53767 * libio/filedoalloc.c (local_isatty): New function.
53768 (_IO_file_doallocate): Use local_isatty.
53769 * stdio-common/perror.c (perror): In case a new stream is used
53770 forward the stream error.
53771 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53772 error flag.
53773
78e64fdc
RT
537742011-05-20 Ulrich Drepper <drepper@gmail.com>
53775
34a9094f
UD
53776 [BZ #11869]
53777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53778 alloca.
53779 * include/alloca.h (extend_alloca_account): Define.
53780
78e64fdc
RT
53781 [BZ #11857]
53782 * posix/regex.h: Fix comments with documentation of user-accessible
53783 fields after compilation and describe correct free'ing of pattern
53784 after re_compile_pattern.
53785 Patch by Reuben Thomas <rrt@sc3d.org>.
53786
457bddfc
RA
537872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53788
53789 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53790 and -mno-altivec to prevent the compiler from using Altivec and/or
53791 VSX instructions when the corresponding registers are not available.
53792
a4527b51
AS
537932011-05-19 Andreas Schwab <schwab@redhat.com>
53794
53795 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53796
ed690b2f
UD
537972011-05-19 Ulrich Drepper <drepper@gmail.com>
53798
53799 * libio/freopen.c (freopen): Use __dup2, not dup2.
53800 * libio/freopen64.c (freopen64): Likewise.
53801
8db73634
L
538022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53803
53804 [BZ #12775]
53805 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53806 * math/Makefile (tests): Add test-powl.
53807 (CFLAGS-test-powl.c): Define.
53808 * math/test-powl.c: New file.
53809
0a197a9d
L
538102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53811
53812 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53813
ee30c380
UD
538142011-05-17 Ulrich Drepper <drepper@gmail.com>
53815
53816 [BZ #11837]
53817 * iconvdata/gb18030.c: Update to GB18020-2005.
53818
6ce75379
UD
538192011-05-16 Ulrich Drepper <drepper@gmail.com>
53820
a4b89fd8
AR
53821 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53822 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53823 Patch by Aharon Robbins <arnold@skeeve.com>.
53824
ea389b12
UD
53825 [BZ #11892]
53826 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53827 on the stack.
53828
68a3f91f
UD
53829 [BZ #11895]
53830 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53831 through underflows.
53832
15cc7dd1
UD
53833 [BZ #12766]
53834 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53835 point to strings before performing equality test for error_one_per_line
53836 mode.
53837
f3799213
UD
53838 [BZ #11697]
53839 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53840
d79a9c94
UD
53841 [BZ #11820]
53842 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53843 (struct user_fpregs_struct): Avoid __uint*_t types.
53844
56e5eb46
UD
53845 [BZ #6420]
53846 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53847 symbol info. Use it instead of calling _dl_addr locally.
53848 (lock_and_info): New function.
53849 (tr_freehook): Call lock_and_info and pass symbol info as additional
53850 parameter to tr_where.
53851 (tr_mallochook): Likewise.
53852 (tr_reallochook): Likewise.
53853 (tr_memalignhook): Likewise.
53854
6ce75379
UD
53855 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53856 used and couldn't be at all thread-safe.
53857
f8a3b5bf
UD
538582011-05-15 Ulrich Drepper <drepper@gmail.com>
53859
94b7cc37
UD
53860 * libio/freopen.c (freopen): Don't close old file descriptor
53861 before the new one is opened. Instead dup the new file descriptor
53862 to the old one after the new stream is created.
53863 * libio/freopen64.c (freopen64): Likewise.
53864 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53865 * libio/fileops.c (_IO_new_file_close_it): Handle new
53866 _IO_FLAGS2_NOCLOSE flag.
53867 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53868 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53869 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53870 _IO_FLAGS2_NOCLOSE flag.
53871 * include/unistd.h: Add hidden_proto for dup3.
53872 Define __have_dup3.
53873 * io/dup3.c: Define hidden symbol.
53874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53875
bd25564e
UD
53876 [BZ #7101]
53877 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53878 when an incomplete long option is used.
53879 * posix/tst-getopt_long1.c: New file.
53880 * posix/Makefile (tests): Add tst-getopt_long1.
53881
c84cfef4
UD
53882 [BZ #10138]
53883 * scripts/config.guess: Update from autoconf-2.68.
53884 * scripts/config.sub: Likewise.
53885
3b85df27
UD
53886 [BZ #10157]
53887 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53888 tests into ...
53889 (has_cpuclock): ...this. New function.
53890 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53891 macro here based on has_cpuclock code.
53892
15a856b1
UD
53893 [BZ #10149]
53894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53895 First byte (not low byte) is now always NUL.
53896 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53897
05f399e6
UD
53898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53899 Use non-cancelable interfaces.
53900
10a52685 53901 [BZ #9809]
94ecc67d
UD
53902 * locale/iso-639.def: Add entry for Sorani.
53903
f8a3b5bf
UD
53904 [BZ #11901]
53905 * include/stdlib.h: Move include protection to the right place.
53906 Define abort_msg_s. Declare __abort_msg with it.
53907 * stdlib/abort.c (__abort_msg): Adjust type.
53908 * assert/assert.c (__assert_fail_base): New function. Majority
53909 of code from __assert_fail. Allocate memory for __abort_msg with
53910 mmap.
53911 (__assert_fail): Now call __assert_fail_base.
53912 * assert/assert-perr.c: Remove bulk of implementation. Use
53913 __assert_fail_base.
53914 * include/assert.hL Declare __assert_fail_base.
53915 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53916 mmap.
53917 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53918
1af4e298
UD
539192011-05-14 Ulrich Drepper <drepper@gmail.com>
53920
f8a3b5bf 53921 [BZ #11952]
d26dfc60
MG
53922 [BZ #12453]
53923 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53924 until all modules are registered in the DTV.
53925 * elf/Makefile: Add rules to build and run tst-tls19.
53926 * elf/tst-tls19.c: New file.
53927 * elf/tst-tls19mod1.c: New file.
53928 * elf/tst-tls19mod2.c: New file.
53929 * elf/tst-tls19mod3.c: New file.
53930 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53931
2fc54d6f
UD
53932 [BZ #12083]
53933 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53934 correctly.
53935
98d76b46
UD
53936 [BZ #12601]
53937 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53938 two-byte sequence errors.
53939 * iconvdata/Makefile (tests): Add bug-iconv8.
53940 * iconvdata/bug-iconv8.c: New file.
53941
da3c19ef
UD
53942 [BZ #12626]
53943 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53944 buf2 definition.
53945
ca408c15
UD
53946 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53947
d6f67f7d
UD
53948 [BZ #12432]
53949 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53950 (dummy_getcfa): New function.
53951 (init): Get _Unwind_GetCFA address, use dummy if not found.
53952 (backtrace_helper): In recursion check, also check whether CFA changes.
53953 (__backtrace): Completely initialize arg.
53954
1af4e298 53955 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53956 storing incomplete byte sequence in state object. Avoid testing for
53957 guaranteed too small input if we know there is enough data available.
1af4e298 53958
da62f81b
AS
539592011-05-11 Andreas Schwab <schwab@redhat.com>
53960
53961 * Makeconfig (+link-pie): Indent.
53962 * Rules (binaries-pie): Define if $(have-fpie) and
53963 $(build-shared).
53964 (binaries-shared): Also filter out $(binaries-pie).
53965 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53966 * nscd/Makefile (others-pie): Add nscd.
53967 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53968 ($(objpfx)nscd): Remove command override.
53969 * login/Makefile (others-pie): Add pt_chown.
53970 ($(objpfx)pt_chown): Remove command override.
53971 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53972 remove command overrides.
53973
fcabc0f8
UD
539742011-05-13 Ulrich Drepper <drepper@gmail.com>
53975
20030ae6
UD
53976 * libio/tst_putwc.c: Fix error messages.
53977
fcabc0f8
UD
53978 [BZ #12724]
53979 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53980 currently writing and seek to current position when not.
53981 * libio/Makefile (tests): Add bug-fclose1.
53982 * libio/bug-fclose1.c: New file.
53983
320a5dc0
PB
539842011-05-12 Ulrich Drepper <drepper@gmail.com>
53985
53986 [BZ #12511]
53987 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53988 don't set DF_1_NODELETE here.
53989 (do_lookup_x): When entering new entry test for copy relocation
53990 and if necessary set DF_1_NODELETE flag.
53991 * elf/tst-unique4.cc: New file.
53992 * elf/tst-unique4.h: New file.
53993 * elf/tst-unique4lib.cc: New file.
53994 * elf/Makefile: Add rules to build and run tst-unique4.
53995 Patch by Piotr Bury <pbury@goahead.com>.
53996
22836f52
UD
539972011-05-11 Ulrich Drepper <drepper@gmail.com>
53998
f574184a
UD
53999 [BZ #12052]
54000 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54001
e1fb097f
UD
54002 [BZ #12625]
54003 * misc/mntent_r.c (addmntent): Flush the stream after the output
54004
22836f52
UD
54005 [BZ #12393]
54006 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54007 (is_trusted_path_normalize): Skip initial colon. Append slash
54008 to empty buffer. Duplicate is_trusted_path code but allow
54009 constructed patch to be prefix.
54010 (is_dst): Allow $ORIGIN followed by /.
54011 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54012 Correct testing of result of is_trusted_path_normalize
54013 (decompose_rpath): Fix warning.
54014
7b3b0b2a
UD
540152011-05-10 Ulrich Drepper <drepper@gmail.com>
54016
54017 [BZ #11257]
54018 * grp/initgroups.c (internal_getgrouplist): When we found the service
54019 list through the initgroups entry in nsswitch.conf do not always
54020 continue on a successful lookup. Don't always use the
eac80ce2 54021 __nss_group_database value if it is set.
7b3b0b2a
UD
54022 * nss/nsswitch.conf (initgroups): Change action for successful db
54023 lookup to continue for compatibility.
54024
2a81eaa5
UD
540252011-05-09 Ulrich Drepper <drepper@gmail.com>
54026
be97a69e
UD
54027 [BZ #11532]
54028 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54029 and CP774 modules.
54030 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54031 and CP774 modules.
54032 * iconvdata/tst-tables.sh: Likewise.
54033 * iconvdata/cp770.c: New file.
54034 * iconvdata/cp771.c: New file.
54035 * iconvdata/cp772.c: New file.
54036 * iconvdata/cp773.c: New file.
54037 * iconvdata/cp774.c: New file.
54038 * iconvdata/testdata/CP770: New file.
54039 * iconvdata/testdata/CP770..UTF8: New file.
54040 * iconvdata/testdata/CP771: New file.
54041 * iconvdata/testdata/CP771..UTF8: New file.
54042 * iconvdata/testdata/CP772: New file.
54043 * iconvdata/testdata/CP772..UTF8: New file.
54044 * iconvdata/testdata/CP773: New file.
54045 * iconvdata/testdata/CP773..UTF8: New file.
54046 * iconvdata/testdata/CP774: New file.
54047 * iconvdata/testdata/CP774..UTF8: New file.
54048
54049 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54050 END CHARMAP line.
54051 * iconvdata/gen-8bit-gap.sh: Likewise.
54052 * iconvdata/gen-8bit.sh: Likewise.
54053
c1e9e399
UD
54054 * locale/iso-639.def: Add ary entry.
54055
24c55fb3 54056 [BZ #11258]
96b4b1b0
UD
54057 * locale/C-translit.h.in: Add U20A1 transliteration.
54058
bdc2f971
KB
54059 [BZ #12178]
54060 * locale/iso-639.def: Add wae entry.
54061 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54062
2952b117
UD
54063 [BZ #12545]
54064 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54065 for n.
54066
2a81eaa5
UD
54067 [BZ #12711]
54068 * locale/C-translit.h.in: Add entry for U20B9.
54069 Patch by pravin.d.s@gmail.com.
54070
28377d1b
UD
540712011-05-08 Ulrich Drepper <drepper@gmail.com>
54072
7fb90fb8
UD
54073 [BZ #12713]
54074 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54075 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54076 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54077 in rtld. Use *stat64.
7fb90fb8 54078 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54079 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54080 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54081 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54082 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54083 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54084 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54085 __fstatat64 macros.
7fb90fb8
UD
54086 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54087 * dirent/rewinddir.c: Add libc_hidden_def.
54088 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54089 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54090
28377d1b
UD
54091 * include/dirent.h (__alloc_dir): Add flags parameter.
54092 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54093 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54094 __alloc_dir.
54095 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54096 from fdopendir if O_CLOEXEC is already set.
54097
66bdbaa4
AM
540982011-03-15 Alan Modra <amodra@gmail.com>
54099
54100 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54101 l_tls_firstbyte_offset non-zero. Save padding offset in
54102 l_tls_firstbyte_offset for later use.
54103 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54104 freeing static tls block.
54105
95721191
JN
541062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54107
54108 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54109 where #ifdef was intended. The intent is to prevent ARG_MAX from
54110 being defined by the kernel headers.
54111
f87dfb1f
UD
541122011-05-07 Ulrich Drepper <drepper@gmail.com>
54113
54114 [BZ #12734]
54115 * resolv/resolv.h: Define RES_NOTLDQUERY.
54116 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54117 no-tld-query and set RES_NOTLDQUERY.
54118 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54119 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54120 modern BIND to search name as TLD unless forbidden.
54121
47c3cd7a
UD
541222011-05-07 Petr Baudis <pasky@suse.cz>
54123 Ulrich Drepper <drepper@gmail.com>
54124
54125 [BZ #12393]
54126 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54127 (is_trusted_path): ...to here.
c1e9ea35 54128 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54129 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54130 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54131
8a35c912
PP
541322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54133
54134 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54135 __BEGIN/__END_DECLS.
54136
acd41f47
UD
541372011-05-06 Ulrich Drepper <drepper@gmail.com>
54138
54139 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54140 NSS_STATUS_NOTFOUND if no record was found.
54141
597df647
AS
541422011-05-05 Andreas Schwab <schwab@redhat.com>
54143
54144 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54145 (headers-not-in-tirpc): Remove rpc/netdb.h
54146 * resolv/netdb.h: Revert last change.
54147
b9af1301
PP
541482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54149
54150 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54151 circular dependency between libgcc.a and libc.a.
54152
4e34d5f5
AS
541532011-05-05 Andreas Schwab <schwab@redhat.com>
54154
54155 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54156 * nis/Makefile: Don't install rpcsvc/*.
54157 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54158 instead of <rpc/types.h>.
54159 (MAXHOSTNAMELEN): Define.
54160
00ee369c
AS
541612011-05-03 Andreas Schwab <schwab@redhat.com>
54162
54163 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54164
0b592a30
MB
541652011-04-28 Maciej Babinski <mbabinski@google.com>
54166
54167 [BZ #12714]
54168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54169 gethostbyname4_r when IPv6 results are possible.
54170
6e04cbbe
UD
541712011-05-02 Ulrich Drepper <drepper@gmail.com>
54172
54173 [BZ #12723]
54174 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54175 _PC_PIPE_BUF handling.
54176
e4ecafe0
BH
541772011-04-30 Bruno Haible <bruno@clisp.org>
54178
54179 [BZ #12717]
54180 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54181 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54182 to 'int'.
54183 * inet/getnameinfo.c (getnameinfo): Likewise.
54184
125ee683
UD
541852011-04-29 Ulrich Drepper <drepper@gmail.com>
54186
54187 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54188 to groups setting in database lookup.
54189 * nss/nsswitch.conf: Add initgroups entry.
54190
b722481a
EB
541912011-04-22 Ulrich Drepper <drepper@gmail.com>
54192
54193 [BZ #12685]
54194 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54195 mode string.
54196 Patch by Eric Blake <eblake@redhat.com>.
54197
4df46dbd
L
541982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54199
54200 * sunrpc/Makefile (need-export-routines): Add svc_run.
54201 (routines): Remove svc_run.
54202 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54203 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54204 * sunrpc/svc_run.c (svc_run): Likewise.
54205 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54206
e84142d2
UD
542072011-04-21 Ulrich Drepper <drepper@gmail.com>
54208
54209 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54210 problem in reallocation in last patch.
54211
877175d8
UD
542122011-04-20 Ulrich Drepper <drepper@gmail.com>
54213
54214 * sunrpc/Makefile: Move inclusion of Rules.
54215
ab8eed78
UD
542162011-04-19 Ulrich Drepper <drepper@gmail.com>
54217
54218 * nss/nss_files/files-initgroups.c: New file.
54219 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54220 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54221 _nss_files_initgroups_dyn.
54222
e3d8f584
RS
542232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54224
54225 * elf/elf.h (R_ARM_IRELATIVE): Define.
54226
af190f45
UD
542272011-04-19 Ulrich Drepper <drepper@gmail.com>
54228
54229 * po/ru.po: Update from translation team.
54230
53cf59ef
UD
542312011-04-17 Ulrich Drepper <drepper@gmail.com>
54232
54233 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54234 dependencies.
54235
4c559bcd
MF
542362011-02-06 Mike Frysinger <vapier@gentoo.org>
54237
54238 [BZ #12653]
54239 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54240 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54241 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54242 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54243 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54244
4420675c
AS
542452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54246
54247 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54248 differing bytes.
54249 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54250 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54251 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54252
75ea32ab
UD
542532011-04-17 Ulrich Drepper <drepper@gmail.com>
54254
54255 [BZ #12420]
54256 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54257 storing it.
54258 * stdlib/bug-getcontext.c: New file.
54259 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54260
27390476
AK
542612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54262
54263 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54264 instructions into .machine "z9-109".
54265 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54266 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54267
10442705
AK
542682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54269
54270 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54271 between environment variables and auxiliary vector.
54272
7b57bfe5
UD
542732011-04-16 Ulrich Drepper <drepper@gmail.com>
54274
54275 * Makefile: Add rules to build linkobj/libc.so.
54276 * include/libc-symbols.h: Define libc_hidden_nolink.
54277 * include/rpc/auth.h: Mark functions which are to be hidden.
54278 * include/rpc/auth_des.h: Likewise.
54279 * include/rpc/auth_unix.h: Likewise.
54280 * include/rpc/clnt.h: Likewise.
54281 * include/rpc/des_crypt.h: Likewise.
54282 * include/rpc/key_prot.h: Likewise.
54283 * include/rpc/pmap_clnt.h: Likewise.
54284 * include/rpc/pmap_prot.h: Likewise.
54285 * include/rpc/pmap_rmt.h: Likewise.
54286 * include/rpc/rpc_msg.h: Likewise.
54287 * include/rpc/svc.h: Likewise.
54288 * include/rpc/svc_auth.h: Likewise.
54289 * include/rpc/xdr.h: Likewise.
54290 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54291 * nss/Makefile: Likewise.
54292 * sunrpc/Makefile: Don't install headers. Build library with normal
54293 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54294 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54295 for the compat linking library. Remove use of INTDEF/INTUSE.
54296 * sunrpc/auth_none.c: Likewise.
54297 * sunrpc/auth_unix.c: Likewise.
54298 * sunrpc/authdes_prot.c: Likewise.
54299 * sunrpc/authuxprot.c: Likewise.
54300 * sunrpc/clnt_gen.c: Likewise.
54301 * sunrpc/clnt_perr.c: Likewise.
54302 * sunrpc/clnt_raw.c: Likewise.
54303 * sunrpc/clnt_simp.c: Likewise.
54304 * sunrpc/clnt_tcp.c: Likewise.
54305 * sunrpc/clnt_udp.c: Likewise.
54306 * sunrpc/clnt_unix.c: Likewise.
54307 * sunrpc/des_crypt.c: Likewise.
54308 * sunrpc/des_soft.c: Likewise.
54309 * sunrpc/get_myaddr.c: Likewise.
54310 * sunrpc/key_call.c: Likewise.
54311 * sunrpc/key_prot.c: Likewise.
54312 * sunrpc/netname.c: Likewise.
54313 * sunrpc/pm_getmaps.c: Likewise.
54314 * sunrpc/pm_getport.c: Likewise.
54315 * sunrpc/pmap_clnt.c: Likewise.
54316 * sunrpc/pmap_prot.c: Likewise.
54317 * sunrpc/pmap_prot2.c: Likewise.
54318 * sunrpc/pmap_rmt.c: Likewise.
54319 * sunrpc/publickey.c: Likewise.
54320 * sunrpc/rpc_cmsg.c: Likewise.
54321 * sunrpc/rpc_common.c: Likewise.
54322 * sunrpc/rpc_dtable.c: Likewise.
54323 * sunrpc/rpc_prot.c: Likewise.
54324 * sunrpc/rpc_thread.c: Likewise.
54325 * sunrpc/rtime.c: Likewise.
54326 * sunrpc/svc.c: Likewise.
54327 * sunrpc/svc_auth.c: Likewise.
54328 * sunrpc/svc_authux.c: Likewise.
54329 * sunrpc/svc_raw.c: Likewise.
54330 * sunrpc/svc_run.c: Likewise.
54331 * sunrpc/svc_simple.c: Likewise.
54332 * sunrpc/svc_tcp.c: Likewise.
54333 * sunrpc/svc_udp.c: Likewise.
54334 * sunrpc/svc_unix.c: Likewise.
54335 * sunrpc/svcauth_des.c: Likewise.
54336 * sunrpc/xcrypt.c: Likewise.
54337 * sunrpc/xdr.c: Likewise.
54338 * sunrpc/xdr_array.c: Likewise.
54339 * sunrpc/xdr_float.c: Likewise.
54340 * sunrpc/xdr_intXX_t.c: Likewise.
54341 * sunrpc/xdr_mem.c: Likewise.
54342 * sunrpc/xdr_rec.c: Likewise.
54343 * sunrpc/xdr_ref.c: Likewise.
54344 * sunrpc/xdr_sizeof.c: Likewise.
54345 * sunrpc/xdr_stdio.c: Likewise.
54346
e6c61494
UD
543472011-04-10 Ulrich Drepper <drepper@gmail.com>
54348
54349 [BZ #12650]
54350 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54351 * sysdeps/ia64/dl-tls.h: Likewise.
54352 * sysdeps/powerpc/dl-tls.h: Likewise.
54353 * sysdeps/s390/dl-tls.h: Likewise.
54354 * sysdeps/sh/dl-tls.h: Likewise.
54355 * sysdeps/sparc/dl-tls.h: Likewise.
54356 * sysdeps/x86_64/dl-tls.h: Likewise.
54357 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54358
34fe483e
AS
543592011-03-14 Andreas Schwab <schwab@redhat.com>
54360
54361 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54362 rpath element also skip the following colon.
54363 (expand_dynamic_string_token): Add is_path parameter and pass
54364 down to DL_DST_REQUIRED and _dl_dst_substitute.
54365 (decompose_rpath): Call expand_dynamic_string_token with
54366 non-zero is_path. Ignore empty rpaths.
54367 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54368 with zero is_path.
54369
f12a32e6
AS
543702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54371
54372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54373 Make cancelable.
54374
38a7d692
UD
543752011-04-09 Ulrich Drepper <drepper@gmail.com>
54376
54377 [BZ #12655]
54378 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54379 Patch by Filipe David Manana <fdmanana@apache.org>.
54380
e451d22b
AS
543812011-04-07 Andreas Schwab <schwab@redhat.com>
54382
54383 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54384 Maintain aligned stack.
54385 (CHECK_RSP): Remove unused macro.
54386
dedc7c7b
UD
543872011-04-03 Ulrich Drepper <drepper@gmail.com>
54388
54389 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54390 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54391
94521213
UD
543922011-04-02 Ulrich Drepper <drepper@gmail.com>
54393
54394 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54395
8cb700c0 54396 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54397
0354e355
L
543982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54399
54400 [BZ #12518]
54401 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54402 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54403 * sysdeps/x86_64/memmove.c: New file.
54404 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54405 (memcpy): Renamed to ...
54406 (__new_memcpy): This.
54407 (memcpy): Provide GLIBC_2_14 memcpy.
54408 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54409 (memcpy): Provide GLIBC_2_2_5 memcpy.
54410
8593482f
UD
544112011-04-01 Ulrich Drepper <drepper@gmail.com>
54412
54413 [BZ #12631]
54414 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54415
81a5726b
AS
544162011-03-30 Andreas Schwab <schwab@redhat.com>
54417
54418 * misc/syncfs.c: New file.
54419 * misc/Makefile (routines): Add syncfs.
54420 * posix/unistd.h: Declare syncfs.
54421 * sysdeps/unix/syscalls.list: Add syncfs.
54422
00e5419f
AS
544232011-04-01 Andreas Schwab <schwab@redhat.com>
54424
54425 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54426 open_by_handle_at.
54427 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54428 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54430 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54432 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54434
748876bf
UD
544352011-04-01 Ulrich Drepper <drepper@gmail.com>
54436
658e451d
UD
54437 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54439 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54440 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54441 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54444
748876bf
UD
54445 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54446 sync_file_range.c with -fexceptions.
54447 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54448 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54449 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54450 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54451 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54452 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54454 sync_file_range as cancellation point
54455 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54456 now a wrapper around __call_sync_file_range with cancellation handling.
54457 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54458 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54459 function name to __call_sync_file_range.
54460 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54461 Add call_sync_file_range.
748876bf 54462
6e63d5e1
AS
544632011-04-01 Andreas Schwab <schwab@redhat.com>
54464
54465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54466 bits/timex.h.
6e63d5e1 54467
46998f74
UD
544682011-04-01 Ulrich Drepper <drepper@gmail.com>
54469
4c1423ed
UD
54470 * iconv/iconv.h: Fix typo in comment.
54471 * io/fcntl.h: Likewise.
54472 * libio/stdio.h: Likewise.
54473 * posix/spawn.h: Likewise.
54474 * posix/unistd.h: Likewise.
54475 * stdlib/stdlib.h: Likewise.
54476 * time/time.h: Likewise.
54477 * wcsmbs/wchar.h: Likewise.
54478
158648c0
UD
54479 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54480 open_by_handle): Add.
54481 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54482 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54483 Augment a few comments.
54484 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54489 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54490 open_by_handle.
54491
46998f74
UD
54492 * io/fcntl.h (AT_EMPTY_PATH): Define.
54493
83fe108b
UD
544942011-03-30 Ulrich Drepper <drepper@gmail.com>
54495
54496 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54497 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54498 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54499 to...
54500 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54501 * Versions.def: Add GLIBC_2.14.
54502 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54503 Export.
83fe108b 54504
bb242059
UD
545052011-03-22 Ulrich Drepper <drepper@gmail.com>
54506
54507 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54508 round counter.
54509 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54510
c97a1282
L
545112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54512
54513 [BZ #12597]
54514 * string/test-strncmp.c (do_page_test): New function.
54515 (check2): Likewise.
54516 (test_main): Call check2.
54517 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54518
2a115601
UD
545192011-03-20 Ulrich Drepper <drepper@gmail.com>
54520
54521 [BZ #12587]
54522 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54523 Handle cache information in CPU leaf 4.
54524 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54525
8126d904
UD
545262011-03-18 Ulrich Drepper <drepper@gmail.com>
54527
042c49c6 54528 [BZ #12583]
8126d904
UD
54529 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54530 character representation.
54531 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54532
ccfe366e
RA
545332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54534
54535 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54536 END(__isnan) to END(__isnanf) to match function entry point/label
54537 EALIGN(__isnanf,...).
54538
c6e13027
JJ
545392011-03-10 Jakub Jelinek <jakub@redhat.com>
54540
54541 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54542
33f85a3f
UD
545432011-03-10 Ulrich Drepper <drepper@gmail.com>
54544
028478fa
UD
54545 [BZ #12510]
54546 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54547 copy from the symbol referenced in the relocation to initialize the
54548 used variable.
54549 Patch by Piotr Bury <pbury@goahead.com>.
54550 * elf/Makefile: Add rules to build and tst-unique3.
54551 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54552 * elf/tst-unique3.cc: New file.
54553 * elf/tst-unique3.h: New file.
54554 * elf/tst-unique3lib.cc: New file.
54555 * elf/tst-unique3lib2.cc: New file.
54556
33f85a3f
UD
54557 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54558
03592fc7
MF
545592011-03-10 Mike Frysinger <vapier@gentoo.org>
54560
54561 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54562 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54563 to _start.
03592fc7 54564
6a5ee102
UD
545652011-03-06 Ulrich Drepper <drepper@gmail.com>
54566
54567 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54568 to-be-loaded object along a path to loader is ld.so.
54569
7e4ba49c
HJ
545702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54571 Ulrich Drepper <drepper@gmail.com>
54572
54573 * sysdeps/x86_64/memset.S: After aligning destination, code
54574 branches to different locations depending on the value of
54575 misalignment, when multiarch is enabled. Fix this.
54576
545772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54578
54579 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54580 Set _x86_64_preferred_memory_instruction for AMD processsors.
54581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54582 Set bit_Prefer_SSE_for_memop for AMD processors.
54583
13a804de
UD
545842011-03-04 Ulrich Drepper <drepper@gmail.com>
54585
54586 * libio/fmemopen.c (fmemopen): Optimize a bit.
54587
9d25c392
AS
545882011-03-03 Andreas Schwab <schwab@redhat.com>
54589
54590 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54591
a5543c6a
RM
545922011-03-03 Roland McGrath <roland@redhat.com>
54593
54594 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54595
012d35f7
DM
545962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54597
7e4ba49c 54598 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54599 __bzero_ultra1 instead of __memset_ultra1.
54600
4bff6e01
AS
546012011-02-23 Andreas Schwab <schwab@redhat.com>
54602 Ulrich Drepper <drepper@gmail.com>
54603
54604 [BZ #12509]
54605 * include/link.h (struct link_map): Add l_orig_initfini.
54606 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54607 returning unsuccessfully.
54608 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54609 close of a file loaded at startup, restore the original l_initfini
54610 list.
54611 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54612 list, store the pointer.
54613 * elf/Makefile ($(objpfx)noload-mem): New rule.
54614 (noload-ENV): Define.
54615 (tests): Add $(objpfx)noload-mem.
54616 * elf/noload.c: Include <memcheck.h>.
54617 (main): Call mtrace. Close all opened handles.
54618
f2092faf
AS
546192011-02-17 Andreas Schwab <schwab@redhat.com>
54620
54621 [BZ #12454]
54622 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54623 dependencies are missing.
54624
6c8a2e88
ST
546252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54626
f2092faf 54627 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54628 Hurd needs munmap.
54629 * sysdeps/mach/hurd/ifreq.h: New file.
54630
84a42118
PB
546312011-01-27 Petr Baudis <pasky@suse.cz>
54632 Ulrich Drepper <drepper@gmail.com>
54633
071f805e 54634 [BZ 12445]#
84a42118
PB
54635 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54636 to extend_alloca().
54637 * stdio-common/bug23.c: New file.
54638 * stdio-common/Makefile (tests): Add bug23.
54639
e23fe25b
AS
546402010-09-28 Andreas Schwab <schwab@redhat.com>
54641 Ulrich Drepper <drepper@gmail.com>
54642
54643 [BZ #12489]
54644 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54645 before performing relro protection. At old place add assertion
54646 to make sure nothing changed.
54647
d3f02e10
NS
546482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54649 Glauber de Oliveira Costa <glommer@gmail.com>
54650
54651 * elf/elf.h: Add new ARM TLS relocs.
54652
d55fd7a5
RA
546532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54654
54655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54656 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54657 cast from r3.
54658 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54659 'tests' variable.
54660 * sysdeps/wordsize-64/tst-writev.c: New file.
54661
2206397e
RA
546622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54663
54664 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54665 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54666 insns in _dl_start to prevent a TOC reference before relocs are
54667 resolved.
54668
e9433893
UD
546692011-02-15 Ulrich Drepper <drepper@gmail.com>
54670
54671 [BZ #12469]
54672 * Makeconfig: Remove RANLIB definition.
54673 * Makerules: Don't use RANLIB.
54674 * aclocal.m4: Remove ranlib test.
54675 * configure.in: No need to check for ranlib.
54676 * elf/rtld-Rules: Don't use RANLIB.
54677
f75286c6
ST
546782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54679
8e31c82d
ST
54680 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54681 protection macro.
54682 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54683 inclusion protection macro.
54684
f75286c6
ST
54685 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54686 SIGRTMIN and SIGRTMAX and print information in that case only when
54687 SIGRTMIN is defined.
54688
c1d0e639
JJ
546892011-02-11 Jakub Jelinek <jakub@redhat.com>
54690
54691 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54692 arginfo fn returning -1.
54693
54694 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54695 and thousands string is zero terminated.
54696
edf9294e
AS
546972011-02-03 Andreas Schwab <schwab@redhat.com>
54698
54699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54700 sysdeps/unix/sysv/linux/bits/socket.h.
54701
2b7e92df
ST
547022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54703
edf9294e
AS
54704 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54705 (__CPU_COUNT): Remove old macros.
54706 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54707 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54708 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54709 (__sched_cpualloc, __sched_cpufree): Add declarations.
54710
a4c7ea7b
UD
547112011-02-05 Ulrich Drepper <drepper@gmail.com>
54712
54713 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54714 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54715 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54716 (readdhstai): Return value of addhstaiX call.
54717 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54718 (addgrbyX): Return value returned by cache_addgr.
54719 (readdgrbyname): Return value returned by addgrbyX.
54720 (readdgrbygid): Likewise.
54721 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54722 (addpwbyX): Return value returned by cache_addpw.
54723 (readdpwbyname): Return value returned by addhstbyX.
54724 (readdpwbyuid): Likewise.
54725 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54726 (addservbyX): Return value returned by cache_addserv.
54727 (readdservbyname): Return value returned by addservbyX:
54728 (readdservbyport): Likewise.
54729 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54730 (addhstbyX): Return value returned by cache_addhst.
54731 (readdhstbyname): Return value returned by addhstbyX.
54732 (readdhstbyaddr): Likewise.
54733 (readdhstbynamev6): Likewise.
54734 (readdhstbyaddrv6): Likewise.
54735 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54736 (readdinitgroups): Return value returned by addinitgroupsX.
54737 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54738 (prune_cache): Keep track of timeout value of re-added entries.
54739 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54740 * nscd/nscd.h: Adjust prototypes of readd* functions.
54741
a0bf67cc
RM
547422011-02-04 Roland McGrath <roland@redhat.com>
54743
54744 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54745 (nis_stats): Likewise.
54746 * nis/nis_modify.c (nis_modify): Likewise.
54747 * nis/nis_remove.c (nis_remove): Likewise.
54748 * nis/nis_add.c (nis_add): Likewise.
54749
54750 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54751
54752 * posix/fnmatch_loop.c: Add some consts.
54753
54754 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54755
435b95eb
L
547562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54757
54758 [BZ #12460]
54759 * config.make.in (config-cflags-novzeroupper): Define.
54760 * configure.in: Substitute libc_cv_cc_novzeroupper.
54761 * elf/Makefile (AVX-CFLAGS): Define.
54762 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54763 (CFLAGS-tst-auditmod4a.c): Likewise.
54764 (CFLAGS-tst-auditmod4b.c): Likewise.
54765 (CFLAGS-tst-auditmod6b.c): Likewise.
54766 (CFLAGS-tst-auditmod6c.c): Likewise.
54767 (CFLAGS-tst-auditmod7b.c): Likewise.
54768 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54769
8517b15e
UD
547702011-02-02 Ulrich Drepper <drepper@gmail.com>
54771
54772 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54773 function to the callback.
54774 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54775
10a656fe
AS
547762011-02-02 Andreas Schwab <schwab@redhat.com>
54777
54778 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54779 of errno.
54780
968dad0a
UD
547812011-01-19 Ulrich Drepper <drepper@gmail.com>
54782
9f94d2ea 54783 [BZ #11724]
968dad0a
UD
54784 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54785 of constructors.
54786 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54787 of destructors.
54788 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54789
54790 [BZ #11724]
54791 * elf/Makefile: Add rules to build and run new test.
54792 * elf/tst-initorder.c: New file.
54793 * elf/tst-initorder.exp: New file.
54794 * elf/tst-initordera1.c: New file.
54795 * elf/tst-initordera2.c: New file.
54796 * elf/tst-initordera3.c: New file.
54797 * elf/tst-initordera4.c: New file.
54798 * elf/tst-initorderb1.c: New file.
54799 * elf/tst-initorderb2.c: New file.
54800 * elf/tst-order-a1.c: New file.
54801 * elf/tst-order-a2.c: New file.
54802 * elf/tst-order-a3.c: New file.
54803 * elf/tst-order-a4.c: New file.
54804 * elf/tst-order-b1.c: New file.
54805 * elf/tst-order-b2.c: New file.
54806 * elf/tst-order-main.c: New file.
54807 New test case by George Gensure <werkt0@gmail.com>.
54808
86e92359
UD
548092010-10-01 Andreas Schwab <schwab@redhat.com>
54810
54811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54812 decoding ACE if AI_CANONIDN.
54813
5d5732b0
UD
548142011-01-18 Ulrich Drepper <drepper@gmail.com>
54815
54816 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54817
a77e8cbc
UD
548182011-01-17 Ulrich Drepper <drepper@gmail.com>
54819
6392473f
UD
54820 * version.h (RELEASE): Bump for 2.13 release.
54821 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54822
620a0529
UD
54823 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54824
18ba70a5
UD
54825 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54826 MADV_NOHUGEPAGE.
32465c3e
UD
54827 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54829 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54830 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54831 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54832 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54833
c0dafcf1
UD
54834 * posix/getconf.c: Update copyright year.
54835 * catgets/gencat.c: Likewise.
54836 * csu/version.c: Likewise.
54837 * debug/catchsegv.sh: Likewise.
54838 * debug/xtrace.sh: Likewise.
54839 * elf/ldconfig.c: Likewise.
54840 * elf/ldd.bash.in: Likewise.
54841 * elf/sprof.c (print_version): Likewise.
54842 * iconv/iconv_prog.c: Likewise.
54843 * iconv/iconvconfig.c: Likewise.
54844 * locale/programs/locale.c: Likewise.
54845 * locale/programs/localedef.c: Likewise.
54846 * malloc/memusage.sh: Likewise.
54847 * malloc/mtrace.pl: Likewise.
54848 * nscd/nscd.c (print_version): Likewise.
54849 * nss/getent.c: Likewise.
54850
a77e8cbc
UD
54851 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54852 PF_CAIF, and PF_ALG.
54853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54854
77e8bddf
AS
548552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54856
1f20b93a
AS
54857 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54858 (modules-names): Use them.
54859 (ifunc-test-modules, ifunc-pie-tests): Define.
54860 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54861 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54862 (test-extras): Likewise.
54863 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54864 $(compile-command.c).
54865 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54866 (all-built-dso): Define.
54867 (check-textrel.out, check-execstack.out): Depend on it.
54868
77e8bddf
AS
54869 * configure.in: Don't override --enable-multi-arch.
54870
bc425b33
UD
548712011-01-15 Ulrich Drepper <drepper@gmail.com>
54872
54873 [BZ #6812]
54874 * nscd/hstcache.c (tryagain): Define.
54875 (cache_addhst): Return tryagain not notfound for temporary errors.
54876 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54877 failed.
54878
794c3ad3
UD
548792011-01-14 Ulrich Drepper <drepper@gmail.com>
54880
70181fdd
UD
54881 [BZ #10563]
54882 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54883 to make the syscall.
54884 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54885
794c3ad3
UD
54886 [BZ #12378]
54887 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54888 and fall back to matching as normal character if the string ends before
54889 the matching ']' is found. This is what POSIX requires.
54890 * posix/testfnm.c: Adjust test result.
54891 * posix/globtest.sh: Adjust test result. Add new test.
54892 * posix/tst-fnmatch.input: Likewise.
54893 * posix/tst-fnmatch2.c: Add new test.
54894
68dc9497
AS
548952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54896
54897 * elf/Makefile (check-execstack): Revert last change. Depend on
54898 check-execstack.h.
54899 (check-execstack.h): New target.
54900 (generated): Add check-execstack.h.
54901 * elf/check-execstack.c: Include "check-execstack.h".
54902 (main): Revert last change.
54903 (handle_file): Return zero if GNU_STACK is absent and
54904 DEFAULT_STACK_PERMS doesn't include PF_X.
54905
451f001b
UD
549062011-01-13 Ulrich Drepper <drepper@gmail.com>
54907
cfa28e56
UD
54908 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54909 in child fails because the descriptor is already closed.
8cf8ce17
UD
54910 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54911 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54912 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54913
1086d70d
UD
54914 [BZ #12397]
54915 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54916 syscall.
54917
451f001b
UD
54918 [BZ #10484]
54919 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54920 temporary buffer used to handle multi lookups locally.
a85b5cb4 54921 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54922
08769175
UD
549232011-01-12 Ulrich Drepper <drepper@gmail.com>
54924
54925 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54926 loader is ld.so.
54927
5e49c52e
UD
549282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54929
54930 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54931 alignment for SSE2.
54932
60522a5f
UD
549332011-01-12 Ulrich Drepper <drepper@gmail.com>
54934
54935 [BZ #12394]
54936 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54937 characters. When rounding increased number of integer digits recompute
54938 number of groups.
54939 * stdio-common/tst-grouping.c: New file.
54940 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54941
f257bbd7
UD
549422011-01-09 Ulrich Drepper <drepper@gmail.com>
54943
54944 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54945 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54946
54947 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54948 void.
54949 * bits/select.h: Likewise.
54950
fa9c15cb
UD
549512011-01-08 Ulrich Drepper <drepper@gmail.com>
54952
54953 * po/ja.po: Update from translation team.
54954
16c2895f
DM
549552011-01-04 David S. Miller <davem@sunset.davemloft.net>
54956
54957 [BZ #11155]
54958 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54959 implementation just like for lxstat, fxstatat, et al.
54960
2543fef2
JM
549612010-12-27 Jim Meyering <meyering@redhat.com>
54962
54963 [BZ #12348]
54964 * posix/regexec.c (build_trtable): Return failure indication upon
54965 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54966
98727dbe
UD
549672010-12-25 Ulrich Drepper <drepper@gmail.com>
54968
5bd6dc5c
UD
54969 [BZ #12201]
54970 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54971 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54972 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54973 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54974
97983464
UD
54975 [BZ #12207]
54976 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54977
98727dbe
UD
54978 [BZ #12204]
54979 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54980 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54981
4a531bb0
L
549822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54983
54984 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54985 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54986 script has SORT_BY_INIT_PRIORITY.
54987 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54988 NO_CTORS_DTORS_SECTIONS is defined.
54989 * elf/soinit.c: Likewise.
54990 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54991 NO_CTORS_DTORS_SECTIONS is defined.
54992 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54993 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54994 * sysdeps/sh/init-first.c: Likewise.
54995 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54996
07eb4b71
UD
549972010-12-24 Ulrich Drepper <drepper@gmail.com>
54998
54999 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55000 always use the slow path.
55001
30950a5f
RA
550022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55003
55004 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55005 similar rule which adds the sysdep directories to the header search in
55006 order to pick up the correct platform stackinfo.h.
55007 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55008 perform test if it is, otherwise return successfully without testing.
55009 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55010 DEFAULT_STACK_PERMS define in stackinfo.h.
55011 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55012 defined in stackinfo.h.
55013 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55014 DEFAULT_STACK_PERMS defined in stackinfo.h.
55015 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55016 * sysdeps/ia64/stackinfo.h: Likewise.
55017 * sysdeps/s390/stackinfo.h: Likewise.
55018 * sysdeps/sh/stackinfo.h: Likewise.
55019 * sysdeps/sparc/stackinfo.h: Likewise.
55020 * sysdeps/x86_64/stackinfo.h: Likewise.
55021 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55022 PF_X for powerpc64. Retain PF_X for powerpc32.
55023
db753e2c
UD
550242010-12-19 Ulrich Drepper <drepper@gmail.com>
55025
14b697f7
UD
55026 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55027 accurately.
db753e2c
UD
55028 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55029 GETDENTS_64BIT_ALIGNED.
55030
28300719
UD
550312010-12-14 Ulrich Drepper <dreper@gmail.com>
55032
14b697f7 55033 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55034
4f197237
AS
550352010-12-10 Andreas Schwab <schwab@redhat.com>
55036
dbb0472f
AS
55037 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55038 _GNU_SOURCE.
55039
4f197237
AS
55040 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55041 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55042 Remove __restrict.
55043 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55044 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55045
fb88ac72
UD
550462010-12-09 Ulrich Drepper <drepper@gmail.com>
55047
55048 [BZ #11655]
55049 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55050 are initialized.
55051
42acbb92
JJ
550522010-12-09 Jakub Jelinek <jakub@redhat.com>
55053
55054 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55055
c038d98d
UD
550562010-12-03 Ulrich Drepper <drepper@gmail.com>
55057
55058 * po/it.po: Update from translation team.
55059
3a4a2499
L
550602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55061
55062 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55063 unused codes.
55064
1e24cf6e
UD
550652010-11-30 Ulrich Drepper <drepper@gmail.com>
55066
55067 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55068
a7690819
AS
550692010-11-24 Andreas Schwab <schwab@redhat.com>
55070
55071 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55072 specially.
55073 (gaih_getanswer_slice): Likewise.
55074
3bf8d1b1
JJ
550752010-10-20 Jakub Jelinek <jakub@redhat.com>
55076
55077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55078
6db52fbb
PB
550792010-05-31 Petr Baudis <pasky@suse.cz>
55080
55081 [BZ #11149]
55082 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55083 silently even in the chroot mode.
55084
eaca7569
UD
550852010-11-22 Ulrich Drepper <drepper@gmail.com>
55086
55087 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55088 last patch a bit. Pretty printing
55089
3056dcdb
UD
550902010-05-31 Petr Baudis <pasky@suse.cz>
55091
55092 [BZ #10085]
55093 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55094 initialization of skip_initgroups_dyn.
55095
cf7c9078
UD
550962010-11-19 Ulrich Drepper <drepper@gmail.com>
55097
55098 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55099 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55100
a1fb5e3e
UD
551012010-11-16 Ulrich Drepper <drepper@gmail.com>
55102
55103 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55104
3540d66b
AS
551052010-11-11 Andreas Schwab <schwab@redhat.com>
55106
55107 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55108 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55109 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55110 ($(objpfx)tst-fnmatch-mem): New rule.
55111 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55112 * posix/tst-fnmatch.c (main): Call mtrace.
55113
13b69574
L
551142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55115
55116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55117 Support Intel processor model 6 and model 0x2c.
55118
da93d214
LM
551192010-11-10 Luis Machado <luisgpm@br.ibm.com>
55120
55121 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55122 signed comparison.
55123
8ca52c6e
L
551242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55125
55126 [BZ #12205]
55127 * string/test-strncasecmp.c (check_result): New function.
55128 (do_one_test): Use it.
55129 (check1): New function.
55130 (test_main): Use it.
55131 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55132 Support strcasecmp and strncasecmp.
55133
69da074d
UD
551342010-11-08 Ulrich Drepper <drepper@gmail.com>
55135
55136 [BZ #12194]
55137 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55138 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55139
ff02d528
L
551402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55141
55142 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55143 IFUNC support.
55144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55145 memset-x86-64.
55146 * sysdeps/x86_64/multiarch/bzero.S: New file.
55147 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55148 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55149 * sysdeps/x86_64/multiarch/memset.S: New file.
55150 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55152 Set bit_Prefer_SSE_for_memop for Intel processors.
55153 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55154 Define.
55155 (index_Prefer_SSE_for_memop): Define.
55156 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55157
344d0b54
LM
551582010-11-04 Luis Machado <luisgpm@br.ibm.com>
55159
55160 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55161 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55162
c0dde15b
UD
551632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55164
55165 [BZ #12191]
55166 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55167 (__x86_64_raw_data_cache_size_half): Likewise.
55168 (__x86_64_raw_shared_cache_size): Likewise.
55169 (__x86_64_raw_shared_cache_size_half): Likewise.
55170
55171 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55172 (__x86_64_raw_data_cache_size_half): Likewise.
55173 (__x86_64_raw_shared_cache_size): Likewise.
55174 (__x86_64_raw_shared_cache_size_half): Likewise.
55175 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55176 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55177 and __x86_64_raw_shared_cache_size_half. Round
55178 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55179 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55180 to multiple of 256 bytes.
55181
0e516e0e
MS
551822010-11-03 Ulrich Drepper <drepper@gmail.com>
55183
55184 [BZ #12167]
55185 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55186 of inacessible symlinks. Verify result of symlink before returning it.
55187 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55188 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55189
0e012e87
ER
551902010-10-28 Erich Ritz <erichritz@gmail.com>
55191
55192 * math/math.h (isinf): Fix typo in comment.
55193
de0ff7bc
UD
551942010-11-01 Ulrich Drepper <drepper@gmail.com>
55195
55196 * po/da.po: Update from translation team.
55197
fa41c84d
UD
551982010-10-26 Ulrich Drepper <drepper@gmail.com>
55199
55200 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55201 is added to the list.
55202
f0967738
AK
552032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55204 Ulrich Drepper <drepper@gmail.com>
55205
55206 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55207 the global list here. Move code to...
55208 (_dl_add_to_namespace_list): ...here. New function.
55209 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55210 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55211 * elf/dl-load.c (lose): Don't remove the element from the list.
55212 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55213 (_dl_map_object): Likewise.
55214
552152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55216
55217 [BZ #12159]
55218 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55219 into all bytes of SSE register.
55220 Patch by Richard Li <richardpku@gmail.com>.
55221
f0967738 552222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55223
55224 [BZ #12140]
55225 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55226 perturbing.
55227
d0b9e94f
MB
552282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55229
55230 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55231 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55232 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55233 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55235 submachine.
55236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55237
8e9f92e9
AS
552382010-10-22 Andreas Schwab <schwab@redhat.com>
55239
55240 * include/dlfcn.h (__RTLD_SECURE): Define.
55241 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55242 mode & __RTLD_SECURE instead.
55243 (open_path): Rename preloaded parameter to secure.
55244 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55245 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55246 * elf/dl-deps.c (openaux): Likewise.
55247 * elf/rtld.c (struct map_args): Remove is_preloaded.
55248 (map_doit): Don't use it.
55249 (dl_main): Likewise.
55250 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55251 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55252
bc96fbda
AS
552532010-09-09 Andreas Schwab <schwab@redhat.com>
55254
55255 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55256 (sysd-rules-targets): Remove duplicates.
55257 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55258 rtld-%.$o dependency.
55259
22cd1c9b
AS
552602010-10-18 Andreas Schwab <schwab@redhat.com>
55261
55262 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55263 _dl_map_object do it.
55264
18edac48
UD
552652010-10-19 Ulrich Drepper <drepper@gmail.com>
55266
55267 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55268 fast fma builtins, define the macros in the C99 standard.
55269 (FP_FAST_FMAF): Likewise.
55270 (FP_FAST_FMAL): Likewise.
55271 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55272
55273 * bits/mathdef.h: Update copyright year.
55274 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55275
d2050124
MM
552762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55277
55278 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55279 builtins, define the macros in the C99 standard.
55280 (FP_FAST_FMAF): Likewise.
55281 (FP_FAST_FMAL): Likewise.
55282 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55283 multiply/add.
55284 (FP_FAST_FMAF): Likewise.
55285
475facd1
JJ
552862010-10-15 Jakub Jelinek <jakub@redhat.com>
55287
55288 [BZ #3268]
55289 * math/libm-test.inc (fma_test): Some new testcases.
55290 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55291 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55292 y and infinite z. Do multiplication by C already in long double.
55293 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55295 y and infinite z. Do bitwise or of inexact bit into u.d.
55296 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55297 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55298 * sysdeps/i386/fpu/s_fma.S: Removed.
55299 * sysdeps/i386/fpu/s_fmal.S: Removed.
55300
7c08a05c
JJ
553012010-10-16 Jakub Jelinek <jakub@redhat.com>
55302
55303 [BZ #3268]
55304 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55306 computation is not scheduled after fetestexcept. Fix value
55307 of minimum denormal long double.
55308
f3f7372d
JJ
553092010-10-14 Jakub Jelinek <jakub@redhat.com>
55310
55311 [BZ #3268]
55312 * math/libm-test.inc (fma_test): Add some more tests.
55313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55314 correctly.
55315
14d43591
AS
553162010-10-15 Andreas Schwab <schwab@redhat.com>
55317
55318 * scripts/data/localplt-s390-linux-gnu.data: New file.
55319 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55320
5e908464
JJ
553212010-10-13 Jakub Jelinek <jakub@redhat.com>
55322
55323 [BZ #3268]
55324 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55325 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55326 instead of dbl-64.
55327 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55328 inlines.
55329 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55330 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55331 if one of x and y is very large and the other is subnormal.
55332 * sysdeps/s390/fpu/s_fmaf.c: New file.
55333 * sysdeps/s390/fpu/s_fma.c: New file.
55334 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55335 * sysdeps/powerpc/fpu/s_fma.S: New file.
55336 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55337 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55338 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55339
553402010-10-12 Jakub Jelinek <jakub@redhat.com>
55341
55342 [BZ #3268]
55343 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55344 fma tests.
55345 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55346 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55347 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55348 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55349 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55350 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55351 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55352
b833d51f
UD
553532010-10-12 Ulrich Drepper <drepper@redhat.com>
55354
55355 [BZ #12078]
55356 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55357 * posix/bug-regex31.input: Add test case.
55358
1751705d
UD
553592010-10-11 Ulrich Drepper <drepper@gmail.com>
55360
e9b9cbf5
UD
55361 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55362 * posix/bug-regex31.input: New file.
55363
55364 [BZ #12078]
55365 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55366 (parse_sub_exp): Fix last change, use postorder.
55367
ef06edbe
UD
55368 * posix/bug-regex31.c: New file.
55369 * posix/Makefile: Add rules to build and run bug-regex31.
55370
a129c80d
UD
55371 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55372
55373 [BZ #12078]
55374 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55375
b76b818e
UD
55376 [BZ #12108]
55377 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55378 to have entries in sys_siglist.
55379
1751705d
UD
55380 [BZ #12093]
55381 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55382 be NULL.
55383
9ff8d36f
JJ
553842010-10-07 Jakub Jelinek <jakub@redhat.com>
55385
55386 [BZ #3268]
55387 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55388 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55389 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55390 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55391 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55392 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55393 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55394 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55395 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55396 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55397 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55398 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55399 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55400 * math/ftestexcept.c (fetestexcept): Likewise.
55401 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55402 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55403 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55404 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55405 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55406 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55407 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55408
af325969
UD
554092010-10-11 Ulrich Drepper <drepper@gmail.com>
55410
c579b202 55411 [BZ #12107]
af325969
UD
55412 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55413 newline.
55414
67a67b95
UD
554152010-10-06 Ulrich Drepper <drepper@gmail.com>
55416
55417 * string/bug-strstr1.c: New file.
55418 * string/Makefile: Add rules to build and run bug-strstr1.
55419
5fb308bc
EB
554202010-10-05 Eric Blake <eblake@redhat.com>
55421
55422 [BZ #12092]
55423 * string/str-two-way.h (two_way_long_needle): Always clear memory
55424 when skipping input due to the shift table.
55425
45db99c7
UD
554262010-10-03 Ulrich Drepper <drepper@gmail.com>
55427
3b111893
UD
55428 [BZ #12005]
55429 * malloc/mcheck.c: Handle large requests.
55430
45db99c7
UD
55431 [BZ #12077]
55432 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55433 for strncmp and strncasecmp.
55434 * string/stratcliff.c: Add tests for strcmp and strncmp.
55435 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55436
cf7a1eb8
NI
554372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55438
55439 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55440 __set_fpscr.
55441
6484ba5e
AJ
554422010-09-30 Andreas Jaeger <aj@suse.de>
55443
55444 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55445 (CGROUP_SUPER_MAGIC): Define.
55446 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55447 Handle btrfs and cgroup file systems.
55448 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55449 Likewise.
55450
91c42559
LM
554512010-09-27 Luis Machado <luisgpm@br.ibm.com>
55452
55453 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55454 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55455
87a97932
AK
554562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55457
55458 [BZ #12067]
55459 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55460 trying to locate the ELF header.
55461
c21cc9bc
AS
554622010-09-27 Andreas Schwab <schwab@redhat.com>
55463
55464 [BZ #11611]
55465 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55466 Mask out sign-bit copies when constructing f_fsid.
55467
315970f6
PB
554682010-09-24 Petr Baudis <pasky@suse.cz>
55469
55470 * debug/stack_chk_fail_local.c: Add missing licence exception.
55471 * debug/warning-nop.c: Likewise.
55472
1ac7a2c7
JM
554732010-09-15 Joseph Myers <joseph@codesourcery.com>
55474
55475 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55476 implementing getdents64 using getdents syscall, set d_type if
55477 __ASSUME_GETDENTS32_D_TYPE.
55478
56801c50
AS
554792010-09-16 Andreas Schwab <schwab@redhat.com>
55480
55481 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55482 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55483
dda51327
UD
554842010-09-21 Ulrich Drepper <drepper@redhat.com>
55485
55486 [BZ #12037]
55487 * posix/unistd.h: Undo change of feature selection for ftruncate from
55488 2010-01-11.
55489
8ffcee4a
UD
554902010-09-20 Ulrich Drepper <drepper@redhat.com>
55491
a545ecd9 55492 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55493 detection.
55494
e24f0a8b
AS
554952010-09-20 Andreas Schwab <schwab@redhat.com>
55496
55497 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55498 fanotify_mark.
55499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55500
7291c56f
AS
555012010-09-14 Andreas Schwab <schwab@redhat.com>
55502
55503 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55504 variables after CHECK_SP call.
55505 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55506
bc5fb037
AS
555072010-09-13 Andreas Schwab <schwab@redhat.com>
55508 Ulrich Drepper <drepper@redhat.com>
55509
55510 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55511 re-relocationg ld.so.
55512 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55513 _dl_init_paths call.
55514 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55515 here anymore.
55516
e66e7419
UD
555172010-09-14 Ulrich Drepper <drepper@redhat.com>
55518
55519 * resolv/res_init.c (__res_vinit): Count the default server we added.
55520
c044aa75
CLT
555212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55522 Ulrich Drepper <drepper@redhat.com>
55523
55524 [BZ #11968]
55525 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55526 (____longjmp_chk): Use %ebx for saving value across system call.
55527 Add unwind info.
55528
32cf4069
AS
555292010-09-06 Andreas Schwab <schwab@redhat.com>
55530
55531 * manual/Makefile: Don't mix pattern rules with normal rules.
55532
817328ee
AS
555332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55534
55535 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55536 operation.
55537 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55538 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55539 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55540 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55541 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55542 Likewise.
55543
29fddf61
UD
555442010-09-04 Ulrich Drepper <drepper@redhat.com>
55545
55546 [BZ #11979]
55547 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55548 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55549
0959ffc9
UD
555502010-09-02 Ulrich Drepper <drepper@redhat.com>
55551
55552 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55553 * sysdeps/x86_64/addmul_1.S: Likewise.
55554 * sysdeps/x86_64/lshift.S: Likewise.
55555 * sysdeps/x86_64/mul_1.S: Likewise.
55556 * sysdeps/x86_64/rshift.S: Likewise.
55557 * sysdeps/x86_64/sub_n.S: Likewise.
55558 * sysdeps/x86_64/submul_1.S: Likewise.
55559
ece29840
ST
555602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55561
0959ffc9
UD
55562 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55563 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55564 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55565 * bits/sched.h [__need_schedparam]
ece29840 55566 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55567 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55568 (__defined_schedparam): Define to 1.
ece29840
ST
55569 (__sched_param): New structure, identical to sched_param.
55570 (__need_schedparam): Undefine.
55571
e53a31fe
MF
555722010-08-31 Mike Frysinger <vapier@gentoo.org>
55573
fdc0c10d
MF
55574 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55575 (epoll_create1): Declare.
55576
e53a31fe
MF
55577 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55578
a726d796
AS
555792010-08-31 Andreas Schwab <schwab@redhat.com>
55580
55581 [BZ #7066]
55582 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55583 shifting retval into place.
55584
2f3e3dc7
UD
555852010-09-01 Ulrich Drepper <drepper@redhat.com>
55586
f2933da9
UD
55587 * nis/rpcsvc/nis.h: Update copyright notice.
55588 * nis/rpcsvc/nis.x: Likewise.
55589 * nis/rpcsvc/nis_callback.h: Likewise.
55590 * nis/rpcsvc/nis_callback.x: Likewise.
55591 * nis/rpcsvc/nis_object.x: Likewise.
55592 * nis/rpcsvc/nis_tags.h: Likewise.
55593 * nis/rpcsvc/yp.h: Likewise.
55594 * nis/rpcsvc/yp.x: Likewise.
55595 * nis/rpcsvc/ypupd.h: Likewise.
55596 * nis/yp_xdr.c: Likewise.
55597 * nis/ypupdate_xdr.c: Likewise.
55598
2f3e3dc7
UD
55599 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55600 mainly the body of pmap_getport. Add parameters to specify timeouts.
55601 (pmap_getport): Use __libc_rpc_getport.
55602 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55603 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55604 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55605
f3dcc2f9
AS
556062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55607
55608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55609 fanotify_mark.
55610
6d34eb5b
RM
556112010-08-27 Roland McGrath <roland@redhat.com>
55612
55613 * sysdeps/i386/i686/multiarch/Makefile
55614 (CFLAGS-varshift.c): New variable.
55615
9ea3de11
UD
556162010-08-27 Ulrich Drepper <drepper@redhat.com>
55617
c96d23fc
UD
55618 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55619 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55620
9ea3de11
UD
55621 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55622
55623 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55624
623aac7f
L
556252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55626
55627 * sysdeps/x86_64/strlen.S: Unroll the loop.
55628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55629 strlen-sse2 strlen-sse2-bsf.
55630 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55631 __strlen_no_bsf if bit_Slow_BSF is set.
55632 (__strlen_sse42): Removed.
55633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55634 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55635
8b2b7715
RM
556362010-08-25 Roland McGrath <roland@redhat.com>
55637
55638 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55639 * sysdeps/x86_64/multiarch/varshift.c: New file.
55640 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55641 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55642 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55643 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55644
e73015f2
L
556452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55646
55647 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55648 strlen-sse2 strlen-sse2-bsf.
55649 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55650 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55651 (__strlen_sse2): Removed.
55652 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55653 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55655 bit_Slow_BSF for Atom.
55656 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55657 (index_Slow_BSF): Define.
55658 (HAS_SLOW_BSF): Define.
55659
df24a73e
UD
556602010-08-25 Ulrich Drepper <drepper@redhat.com>
55661
55662 [BZ #10851]
55663 * resolv/res_init.c (__res_vinit): When no server address at all
55664 is given default to loopback.
55665
f2ac4868
RM
556662010-08-24 Roland McGrath <roland@redhat.com>
55667
09055553
RM
55668 * configure.in: Remove config-name.h generation.
55669 * configure: Regenerated.
55670 * config-name.in: File removed.
55671 * scripts/config-uname.sh: New file.
55672 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55673 ($(objdir)config-name.h): New target.
55674
f2ac4868
RM
55675 * sunrpc/rpc_parse.h: Avoid nested comment.
55676
73f27d5e
RH
556772010-08-24 Richard Henderson <rth@redhat.com>
55678 Ulrich Drepper <drepper@redhat.com>
55679 H.J. Lu <hongjiu.lu@intel.com>
55680
55681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55683 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55684 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55685 _mm_alignr_epi8 with _mm_loadu_si128.
55686 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55687 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55688 (__m128i_shift_right): Removed.
55689 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55690 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55691 * sysdeps/x86_64/multiarch/varshift.h: New file.
55692 * sysdeps/x86_64/multiarch/varshift.S: New file.
55693
84b9230c
MF
556942010-08-21 Mike Frysinger <vapier@gentoo.org>
55695
55696 * configure.in: Move assembler checks to before sysdep dir checking.
55697
9bbd0ddc
PB
556982010-08-20 Petr Baudis <pasky@suse.cz>
55699
55700 * LICENSES: Sync the sunrpc license.
55701
9da4bb31
UD
557022010-08-19 Ulrich Drepper <drepper@redhat.com>
55703
a7ab6ec8
UD
55704 * sunrpc/auth_des.c: Update copyright notice once again.
55705 * sunrpc/auth_none.c: Likewise.
55706 * sunrpc/auth_unix.c: Likewise.
55707 * sunrpc/authdes_prot.c: Likewise.
55708 * sunrpc/authuxprot.c: Likewise.
55709 * sunrpc/bindrsvprt.c: Likewise.
55710 * sunrpc/clnt_gen.c: Likewise.
55711 * sunrpc/clnt_perr.c: Likewise.
55712 * sunrpc/clnt_raw.c: Likewise.
55713 * sunrpc/clnt_simp.c: Likewise.
55714 * sunrpc/clnt_tcp.c: Likewise.
55715 * sunrpc/clnt_udp.c: Likewise.
55716 * sunrpc/clnt_unix.c: Likewise.
55717 * sunrpc/des_crypt.c: Likewise.
55718 * sunrpc/des_soft.c: Likewise.
55719 * sunrpc/get_myaddr.c: Likewise.
55720 * sunrpc/getrpcport.c: Likewise.
55721 * sunrpc/key_call.c: Likewise.
55722 * sunrpc/key_prot.c: Likewise.
55723 * sunrpc/openchild.c: Likewise.
55724 * sunrpc/pm_getmaps.c: Likewise.
55725 * sunrpc/pm_getport.c: Likewise.
55726 * sunrpc/pmap_clnt.c: Likewise.
55727 * sunrpc/pmap_prot.c: Likewise.
55728 * sunrpc/pmap_prot2.c: Likewise.
55729 * sunrpc/pmap_rmt.c: Likewise.
55730 * sunrpc/rpc/auth.h: Likewise.
55731 * sunrpc/rpc/auth_unix.h: Likewise.
55732 * sunrpc/rpc/clnt.h: Likewise.
55733 * sunrpc/rpc/des_crypt.h: Likewise.
55734 * sunrpc/rpc/key_prot.h: Likewise.
55735 * sunrpc/rpc/netdb.h: Likewise.
55736 * sunrpc/rpc/pmap_clnt.h: Likewise.
55737 * sunrpc/rpc/pmap_prot.h: Likewise.
55738 * sunrpc/rpc/pmap_rmt.h: Likewise.
55739 * sunrpc/rpc/rpc.h: Likewise.
55740 * sunrpc/rpc/rpc_des.h: Likewise.
55741 * sunrpc/rpc/rpc_msg.h: Likewise.
55742 * sunrpc/rpc/svc.h: Likewise.
55743 * sunrpc/rpc/svc_auth.h: Likewise.
55744 * sunrpc/rpc/types.h: Likewise.
55745 * sunrpc/rpc/xdr.h: Likewise.
55746 * sunrpc/rpc_clntout.c: Likewise.
55747 * sunrpc/rpc_cmsg.c: Likewise.
55748 * sunrpc/rpc_common.c: Likewise.
55749 * sunrpc/rpc_cout.c: Likewise.
55750 * sunrpc/rpc_dtable.c: Likewise.
55751 * sunrpc/rpc_hout.c: Likewise.
55752 * sunrpc/rpc_main.c: Likewise.
55753 * sunrpc/rpc_parse.c: Likewise.
55754 * sunrpc/rpc_parse.h: Likewise.
55755 * sunrpc/rpc_prot.c: Likewise.
55756 * sunrpc/rpc_sample.c: Likewise.
55757 * sunrpc/rpc_scan.c: Likewise.
55758 * sunrpc/rpc_scan.h: Likewise.
55759 * sunrpc/rpc_svcout.c: Likewise.
55760 * sunrpc/rpc_tblout.c: Likewise.
55761 * sunrpc/rpc_util.c: Likewise.
55762 * sunrpc/rpc_util.h: Likewise.
55763 * sunrpc/rpcinfo.c: Likewise.
55764 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55765 * sunrpc/rpcsvc/key_prot.x: Likewise.
55766 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55767 * sunrpc/rpcsvc/mount.x: Likewise.
55768 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55769 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55770 * sunrpc/rpcsvc/rex.x: Likewise.
55771 * sunrpc/rpcsvc/rstat.x: Likewise.
55772 * sunrpc/rpcsvc/rusers.x: Likewise.
55773 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55774 * sunrpc/rpcsvc/spray.x: Likewise.
55775 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55776 * sunrpc/rtime.c: Likewise.
55777 * sunrpc/svc.c: Likewise.
55778 * sunrpc/svc_auth.c: Likewise.
55779 * sunrpc/svc_authux.c: Likewise.
55780 * sunrpc/svc_raw.c: Likewise.
55781 * sunrpc/svc_run.c: Likewise.
55782 * sunrpc/svc_simple.c: Likewise.
55783 * sunrpc/svc_tcp.c: Likewise.
55784 * sunrpc/svc_udp.c: Likewise.
55785 * sunrpc/svc_unix.c: Likewise.
55786 * sunrpc/svcauth_des.c: Likewise.
55787 * sunrpc/xcrypt.c: Likewise.
55788 * sunrpc/xdr.c: Likewise.
55789 * sunrpc/xdr_array.c: Likewise.
55790 * sunrpc/xdr_float.c: Likewise.
55791 * sunrpc/xdr_mem.c: Likewise.
55792 * sunrpc/xdr_rec.c: Likewise.
55793 * sunrpc/xdr_ref.c: Likewise.
55794 * sunrpc/xdr_sizeof.c: Likewise.
55795 * sunrpc/xdr_stdio.c: Likewise.
55796
9da4bb31
UD
55797 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55798 handling.
55799
bdaa77bc
AS
558002010-08-19 Andreas Schwab <schwab@redhat.com>
55801
55802 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55803
fe2f79db
LM
558042010-08-19 Luis Machado <luisgpm@br.ibm.com>
55805
55806 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55807 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55808 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55809 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55810 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55811 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55812 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55813 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55814 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55815 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55816 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55817 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55818 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55819 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55820
b9b42ee0
AB
558212010-07-26 Anton Blanchard <anton@samba.org>
55822
55823 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55824 * malloc/arena.c (heap_trim): Likewise.
55825
1c06ba31
UD
558262010-08-16 Ulrich Drepper <drepper@redhat.com>
55827
55828 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55829 here. Not...
55830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55831 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55832
f8392f40
L
558332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55834
55835 * sysdeps/i386/elf/Makefile: New file.
55836
3162f12e
AS
558372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55838
55839 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55840 from fanotify_init.
55841 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55842 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55843
28c90b2c
UD
558442010-08-15 Ulrich Drepper <drepper@redhat.com>
55845
55846 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55847 of strncasecmp_l.
1feccb6c 55848 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55849
ca6bb004
UD
558502010-08-14 Ulrich Drepper <drepper@redhat.com>
55851
e9f82e0d
UD
55852 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55853 strncase_l-nonascii.
55854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55855 Add strncase_l-ssse3.
55856 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55857 * sysdeps/x86_64/strcmp.S: Likewise.
55858 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55859 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55860 * sysdeps/x86_64/strncase.S: New file.
55861 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55862 * sysdeps/x86_64/strncase_l.S: New file.
55863 * string/Makefile (strop-tests): Add strncasecmp.
55864 * string/test-strncasecmp.c: New file.
55865
55866 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55867 warning.
55868
ca6bb004
UD
55869 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55870 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55871
052fa7b3
AS
558722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55873
55874 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55875
962dba78
UD
558762010-08-12 Ulrich Drepper <drepper@redhat.com>
55877
55878 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55879 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55880 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55881
bebff237
AM
558822010-05-01 Alan Modra <amodra@gmail.com>
55883
55884 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55885 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55886 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55887 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55888 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55889 tidying. Don't tail-call __sigjmp_save for static lib.
55890 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55891 save location.
55892 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55893 (CALL_MCOUNT): Add eh info, and nop after bl.
55894 (TAIL_CALL_SYSCALL_ERROR): New macro.
55895 (PSEUDO_RET): Use it.
55896 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55897 Correct save location of integer regs and cr.
55898 (_dl_profile_resolve): Correct cr save location. Delete nops
55899 after bl when SHARED. Reduce cfi size a little by better
55900 placement of cfi directives.
55901 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55902 make a stack frame. Instead use parm save area as a temp.
55903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55904 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55906 Don't make a stack frame for parent, use parm save area.
55907 Increase child stack frame to 112 bytes. Don't save unused reg,
55908 and adjust reg usage. Set up cfi on error recovery and
55909 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55911 (__makecontext): Add dummy nop after jump to exit.
55912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55913 Use correct parm save area and cr save, reduce stack frame.
55914 Correct cfi for possible PSEUDO_RET frame setup.
55915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55916 Branch to local label emitted by PSEUDO_RET rather than
55917 __syscall_error.
55918
02637374
AS
559192010-08-12 Andreas Schwab <schwab@redhat.com>
55920
55921 [BZ #11904]
55922 * locale/programs/locale.c (print_assignment): New function.
55923 (show_locale_vars): Use it.
55924
c3e2f19b
UD
559252010-08-11 Ulrich Drepper <drepper@redhat.com>
55926
3cdaa6ad
UD
55927 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55928 field.
55929 (struct statfs64): Likewise.
55930 (_STATFS_F_FLAGS): Define.
55931 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55932 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55933 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55934 (ST_VALID): Define locally.
55935 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55936 __statvfs_getflags, use the provided value.
55937 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55938 __ASSUME_STATFS_F_FLAGS.
55939
754f7da3
UD
55940 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55941
10b3bedc
UD
55942 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55943 Add sys/fanotify.h.
55944 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55945 fanotify_mask for GLIBC_2.13.
55946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55947 fanotify_init and fanotify_mark.
55948 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55949 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55950
c08fb0d7
UD
55951 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55952 Add prlimit.
55953 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55954 prlimit64 for GLIBC_2.13.
55955 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55956 prlimit64.
55957 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55958 syscall.
55959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55960 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55961 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55962 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55963 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55964 add prlimit alias.
55965 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55966
15bac72b
UD
55967 [BZ #11903]
55968 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55969 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55970
c3e2f19b
UD
55971 * nss/Makefile: Add rules to build and run tst-nss-test1.
55972 * shlib-versions: Add entry for libnss_test1.
55973 * nss/nss_test1.c: New file.
55974 * nss/tst-nss-test1.c: New file.
55975
55976 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55977 (__nss_configure_lookup): Set appropriate entry in
55978 __nss_configure_lookup to true.
55979 * nss/nsswitch.h: Define enum with indeces of databases in
55980 databases and __nss_database_custom arrays. Declare
55981 __nss_database_custom.
55982 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55983 to avoid using nscd when custom rules are installed.
55984 * nss/getXXbyYY_r.c: Likewise.
55985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55986
55987 * nss/nss_files/files-parse.c: Whitespace fixes.
55988
f15ce4d8
UD
559892010-08-09 Ulrich Drepper <drepper@redhat.com>
55990
55991 [BZ #11883]
55992 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55993 * posix/fnmatch_loop.c: Likewise.
55994
d22e4cc9
AK
559952010-07-17 Andi Kleen <ak@linux.intel.com>
55996
55997 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55998 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55999 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56000 * Versions.def [GLIBC_2.13]: Add.
56001
805bc17d
UD
560022010-08-06 Ulrich Drepper <drepper@redhat.com>
56003
56004 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56005 Also fail if tpwd after pwuid call is NULL.
56006
5a42321d
ST
560072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56008
56009 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56010 when converting to ms.
56011
fd3ebeda
ST
560122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56013
56014 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56015 EOPNOTSUPP errors with ENOTTY.
56016 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56017 EOPNOTSUPP errors with ENOTTY.
56018
73507d3a
UD
560192010-07-31 Ulrich Drepper <drepper@redhat.com>
56020
56021 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56022 Add strcasecmp_l-ssse3.
56023 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56024 strcasecmp.
56025 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56026 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56027 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56028
fe36dd02
UD
560292010-07-30 Ulrich Drepper <drepper@redhat.com>
56030
66f6765a
UD
56031 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56032
42e08a54
UD
56033 * string/Makefile (strop-tests): Add strcasecmp.
56034 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56035 strcasecmp_l-nonascii.
56036 (gen-as-const-headers): Add locale-defines.sym.
56037 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56038 * sysdeps/x86_64/strcasecmp.S: New file.
56039 * sysdeps/x86_64/strcasecmp_l.S: New file.
56040 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56041 * sysdeps/x86_64/locale-defines.sym: New file.
56042 * string/test-strcasecmp.c: New file.
56043
fe36dd02
UD
56044 * string/test-strcasestr.c: Test both ends of the range of characters.
56045 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56046
48cbc0d6
RM
560472010-07-29 Roland McGrath <roland@redhat.com>
56048
76e6d6bc 56049 [BZ #11856]
48cbc0d6
RM
56050 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56051
880113d9
UD
560522010-07-27 Ulrich Drepper <drepper@redhat.com>
56053
56054 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56055 for ld.so.
56056
deb9cabb
AS
560572010-07-27 Andreas Schwab <schwab@redhat.com>
56058
56059 * manual/memory.texi (Malloc Tunable Parameters): Document
56060 M_PERTURB.
56061
1c7570ff
RM
560622010-07-26 Roland McGrath <roland@redhat.com>
56063
56064 [BZ #11840]
56065 * configure.in (-fgnu89-inline check): Set and substitute
56066 gnu89_inline, not libc_cv_gnu89_inline.
56067 * configure: Regenerated.
56068 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56069
24fb0f88
UD
560702010-07-26 Ulrich Drepper <drepper@redhat.com>
56071
56072 * string/test-strnlen.c: New file.
56073 * string/Makefile (strop-tests): Add strnlen.
56074 * string/tester.c (test_strnlen): Add a few more test cases.
56075 * string/tst-strlen.c: Better error reporting.
56076
56077 * sysdeps/x86_64/strnlen.S: New file.
56078
8e96b93a
UD
560792010-07-24 Ulrich Drepper <drepper@redhat.com>
56080
56081 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56082 lower-latency instructions.
56083
dbc676d4
UD
560842010-07-23 Ulrich Drepper <drepper@redhat.com>
56085
56086 * string/test-strcasestr.c: New file.
56087 * string/test-strstr.c: New file.
56088 * string/Makefile (strop-tests): Add strstr and strcasestr.
56089 * string/str-two-way.h: Don't undefine MAX.
56090 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56091
f6a31e0e
AS
560922010-07-21 Andreas Schwab <schwab@redhat.com>
56093
56094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56095 strcasestr-nonascii.
56096 (CFLAGS-strcasestr-nonascii.c): Define.
56097 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56098 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56099 Remove unused attribute.
56100
5dbc3b6c
RM
561012010-07-20 Roland McGrath <roland@redhat.com>
56102
56103 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56104 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56105 ld.so.cache was broken. With it, there is no way to disable dsocaps
56106 like LD_HWCAP_MASK can disable hwcaps.
56107
23d101d8
EPM
561082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56109
56110 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56111
cc9f2e47
UD
561122010-07-16 Ulrich Drepper <drepper@redhat.com>
56113
56114 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56115 call in strcasestr.
56116 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56117 __strcasestr_sse42_nonascii.
56118 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56119 strcasestr-nonascii.c.
56120 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56121
77c1b069
LM
561222010-06-15 Luis Machado <luisgpm@br.ibm.com>
56123
56124 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56125 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56126 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56127 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56128
440566c3
UD
561292010-07-09 Ulrich Drepper <drepper@redhat.com>
56130
56131 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56132 fcntl.
56133
5be9d05d
AS
561342010-07-06 Andreas Schwab <schwab@redhat.com>
56135
c30b7ee2 56136 [BZ #11577]
5be9d05d
AS
56137 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56138 dl_signal_cerror.
56139
8a492a67
UD
561402010-07-06 Ulrich Drepper <drepper@redhat.com>
56141
56142 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56143 _PC_PIPE_BUF using F_GETPIPE_SZ.
56144
713df3d5
RM
561452010-07-05 Roland McGrath <roland@redhat.com>
56146
56147 * manual/arith.texi (Rounding Functions): Fix rint description
56148 implicit in round description.
56149
702e8f14
UD
561502010-07-02 Ulrich Drepper <drepper@redhat.com>
56151
56152 * elf/Makefile: Fix linking for a few tests to make recent linker
56153 happy.
56154
52ed8be9
AS
561552010-06-30 Andreas Schwab <schwab@redhat.com>
56156
56157 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56158 $(common-objpfx)libc_nonshared.a.
56159
f47c9a11
LM
561602010-06-21 Luis Machado <luisgpm@br.ibm.com>
56161
56162 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56163 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56164 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56165 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56166 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56167 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56168 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56169 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56184 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56185 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56186 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56187 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56188 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56189 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56190 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56191 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56192 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56193 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56194 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56195 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56210
6fb8cbcb
L
562112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56212
56213 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56214 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56215 * string/memmove.c (memmove): Renamed to ...
56216 (MEMMOVE): ...this. Default to memmove.
56217 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56218 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56219 (END_CHK): Define.
56220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56221 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56222 mempcpy-ssse3-back memmove-ssse3-back.
56223 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56224 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56225 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56226 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56227 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56228 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56229 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56230 * sysdeps/x86_64/multiarch/memmove.c: New file.
56231 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56232 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56233 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56234 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56235 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56236 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56237 Define.
56238 (index_Fast_Copy_Backward): Define.
56239 (HAS_ARCH_FEATURE): Define.
56240 (HAS_FAST_REP_STRING): Define.
56241 (HAS_FAST_COPY_BACKWARD): Define.
56242
4e733bac 562432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56244
56245 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56246 Restore proper fallback handling.
56247
63c4ed22
UD
562482010-06-19 Ulrich Drepper <drepper@redhat.com>
56249
ac2b484c
UD
56250 [BZ #11701]
56251 * posix/group_member.c (__group_member): Correct checking loop.
56252
63c4ed22
UD
56253 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56254 OOM in getpwuid_r correctly. Return error number when the caller
56255 should return, otherwise -1.
56256 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56257 call returning > 0 value.
56258 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56259
765ade4b
AS
562602010-06-07 Andreas Schwab <schwab@redhat.com>
56261
56262 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56263 libc_nonshared.a from targets in modules-names.
56264
80da2e09
KS
562652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56266
56267 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56268 requires it.
56269
158db122
LM
562702010-06-10 Luis Machado <luisgpm@br.ibm.com>
56271
56272 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56273 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56275 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56276
caa78cf8
AS
562772010-06-02 Andreas Schwab <schwab@redhat.com>
56278
56279 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56280
b2ef2c01
UD
562812010-06-14 Ulrich Drepper <drepper@redhat.com>
56282
56283 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56284 and F_GETPIPE_SZ.
56285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56289 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56291
fbd643b6
RM
562922010-06-14 Roland McGrath <roland@redhat.com>
56293
56294 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56295
f32f2869
JJ
562962010-06-07 Jakub Jelinek <jakub@redhat.com>
56297
56298 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56299 __REDIRECT followed by __THROW.
56300 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56301 * posix/getopt.h (getopt): Likewise.
56302
2a50c078
EPM
563032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56304
56305 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56306 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56307 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56308 in AT_FLAGS.
56309 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56310 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56311
eb5ad2eb
LM
563122010-05-28 Luis Machado <luisgpm@br.ibm.com>
56313
56314 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56315
3c88fe1e
L
563162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56317
56318 [BZ #11640]
56319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56320 Properly check family and model.
56321
d2f73151
TY
563222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56323
56324 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56325
ebd2e13d
LM
563262010-05-24 Luis Machado <luisgpm@br.ibm.com>
56327
56328 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56329
b32b8b45
UD
563302010-05-21 Ulrich Drepper <drepper@redhat.com>
56331
56332 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56333 symbol reference.
56334
9acbe24d
AS
563352010-05-19 Andreas Schwab <schwab@redhat.com>
56336
56337 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56338 symbol reference.
56339
f0ccf6ea
AS
563402010-05-21 Andreas Schwab <schwab@redhat.com>
56341
3d04ff3a
AS
56342 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56343 and internal_recvmmsg.
56344 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56345 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56346 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56347 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56348
f0ccf6ea
AS
56349 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56350 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56351 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56352
5b08ac57
AS
563532010-05-20 Andreas Schwab <schwab@redhat.com>
56354
56355 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56356
4828935d
LM
563572010-05-17 Luis Machado <luisgpm@br.ibm.com>
56358
56359 POWER7 optimizations.
56360 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56361 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56362
373d545e
UD
563632010-05-19 Ulrich Drepper <drepper@redhat.com>
56364
56365 * version.h: Update for 2.13 development version.
56366
21a2b1ae
AS
563672010-05-12 Andrew Stubbs <ams@codesourcery.com>
56368
56369 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56370 exceptions. Return 0.
56371
3f7dcb2b
RM
563722010-05-07 Roland McGrath <roland@redhat.com>
56373
56374 * elf/ldconfig.c (main): Add a const.
56375
5f24d53a 563762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56377
a160f8d8
UD
56378 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56379 (args_options): Add no-idn option.
56380 (ahosts_keys_int): Add idn_flags to ai_flags.
56381 (parse_option): Handle 'i' option to clear idn_flags.
56382
5f24d53a
UD
56383 * malloc/malloc.c (_int_free): Possible race in the most recently
56384 added check. Only act on the data if no current modification
56385 happened.
265bb1ce
UD
56386
56387See ChangeLog.17 for earlier changes.