]> sourceware.org Git - glibc.git/blame - ChangeLog
NEWS: Fix spelling.
[glibc.git] / ChangeLog
CommitLineData
639e42eb
JM
12015-02-06 Joseph Myers <joseph@codesourcery.com>
2
1c7a4a51
JM
3 [BZ #17932]
4 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5 where multiplication results in zero and third argument is finite
6 and nonzero.
7 * math/auto-libm-test-in: Add more tests of fma.
8 * math/auto-libm-test-out: Regenerated.
9
61f006c1
JM
10 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
11 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
12 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
13 (_FP_CMP_EQ): Likewise.
14 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15
639e42eb
JM
16 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17 extra argument CHECK_NAN. Redefine as wrapper around
18 _FP_EXTEND_CNAN.
19
3c0c543b
CD
202015-02-06 Carlos O'Donell <carlos@systemhalted.org>
21
4e42b5b8
CD
22 * version.h (RELEASE): Set to "stable".
23 (VERSION): Set to "2.21"
24 * include/features.h (__GLIBC_MINOR__): Set to 21.
25
3c0c543b
CD
26 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27
5bd80bfe 282015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 29 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
30
31 [BZ #16618]
32 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34 size in bytes. Store needed elements in wpmax. Use needed size
35 in bytes for extend_alloca.
36
3f823f48
CD
372015-02-05 Carlos O'Donell <carlos@systemhalted.org>
38
04cb913d
CD
39 * manual/install.texi: Latest tested versions are GCC 4.9.2,
40 binutls 2.25, and texinfo 5.2.
41 * INSTALL: Regenerate.
42 * sysdeps/nios2/configure: Regenerate.
43 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
44 * manual/contrib.texi: Update.
45 * po/be.po: Update.
46 * po/bg.po: Update.
47 * po/ca.po: Update.
48 * po/cs.po: Update.
49 * po/da.po: Update.
50 * po/de.po: Update.
51 * po/el.po: Update.
52 * po/eo.po: Update.
53 * po/es.po: Update.
54 * po/fi.po: Update.
55 * po/fr.po: Update.
56 * po/gl.po: Update.
57 * po/hr.po: Update.
58 * po/hu.po: Update.
59 * po/ia.po: Update.
60 * po/id.po: Update.
61 * po/it.po: Update.
62 * po/ja.po: Update.
63 * po/ko.po: Update.
64 * po/lt.po: Update.
65 * po/nb.po: Update.
66 * po/nl.po: Update.
67 * po/pl.po: Update.
68 * po/pt_BR.po: Update.
69 * po/ru.po: Update.
70 * po/rw.po: Update.
71 * po/sk.po: Update.
72 * po/sl.po: Update.
73 * po/sv.po: Update.
74 * po/tr.po: Update.
75 * po/uk.po: Update.
76 * po/vi.po: Update.
77 * po/zh_CN.po: Update.
78 * po/zh_TW.po: Update.
79
3f823f48
CD
80 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
81 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
82 * sysdeps/hppa/dl-irel.h: Remove #warning.
83 * sysdeps/hppa/entry.h: Provide prototype for
84 __canonicalize_funcptr_for_compare and cast argument.
85 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
86 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
87 * sysdeps/hppa/sotruss-lib.c: New file.
88 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
89 (atomic_compare_and_exchange_val_acq): Use __typeof__.
90 (atomic_compare_and_exchange_bool_acq): Likewise.
91 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
92 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
93
94 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
95 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
96 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
97
34c56048
CLT
982015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
99
100 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
101 called function in non-PIC case.
102
d4abeca5
DM
1032015-01-31 David S. Miller <davem@davemloft.net>
104
edac0a60
DM
105 * sysdeps/sparc/sparc32/bits/atomic.h
106 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
107 unlock not after it.
108 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
109 volatile register usage warnings from the compiler.
110
d4abeca5
DM
111 * sysdeps/sparc/nptl/sem_init.c: Delete.
112 * sysdeps/sparc/nptl/sem_post.c: Delete.
113 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
114 * sysdeps/sparc/nptl/sem_wait.c: Delete.
115 * sysdeps/sparc/sparc32/sem_init.c: New file.
116 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
117 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
118 padding explicitly initialized.
119 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
120 padding for in-semaphore spinlock.
121 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
122 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
123 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
124 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
125 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
126 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
127 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
128 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
129 version.
130 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
131 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
132
5f3d0b78
L
1332015-01-30 H.J. Lu <hongjiu.lu@intel.com>
134
135 [BZ #17801]
136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
137 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
138 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
139 New.
140 (index_AVX_Fast_Unaligned_Load): Likewise.
141 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
142 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
143 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
144 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
145 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
146 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
147 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
148 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
149 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
150
b658fdd8
AS
1512015-01-29 Andreas Schwab <schwab@suse.de>
152
153 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
154
3cb26316
SP
1552015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
156
157 [BZ #17892]
158 * nscd/nscd_stat.c (send_stats): Initialize DATA.
159
527de9e4
MS
1602015-01-28 Martin Sebor <msebor@redhat.com>
161
162 * math/README.libm-test: Clarify. Add "How to read the test output."
163
06991eb8
CM
1642015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
165
166 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
167 Define to 0.
168
df341342
JM
1692015-01-28 Joseph Myers <joseph@codesourcery.com>
170
171 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
172 (__HAVE_64B_ATOMICS): Define to 0.
173
08cee2a4
AZ
1742015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
175
d4d0ecb2
AZ
176 [BZ #17885]
177 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
178 value to set as new flag.
179
08cee2a4
AZ
180 [BZ #16576]
181 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
182 and use _ARCH_PPCSQ instead.
183 (__ieee754_sqrt): Likewise.
184 (__ieee754_sqrtf): Likewise.
185 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
186 _ARCH_PPCSQ is defined.
187 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
188 fsqrt instruction.
189 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
190 _ARCH_PPCSQ is defined.
191 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
192 fsqrts instruction.
193 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
194
5fe8e359
AK
1952015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
196
197 * iconv/loop.c: Suppress array out of bound warning caused by GCC
198 bug (GCC BZ #64739).
199
24bb7432
AS
2002015-01-25 Andreas Schwab <schwab@linux-m68k.org>
201
fa20da31
AS
202 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
203 Mark _retval as used.
204 (lll_futex_wake_unlock): Likewise.
205 (lll_futex_timed_wait_requeue_pi): Likewise.
206
45819cbc
AS
207 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
208 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
209 register variables.
210
403cc231
AS
211 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
212 libm_hidden_def.
213
24bb7432
AS
214 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
215 (__bswap_64): Mark as __always_inline.
216
9317ea65
B
2172015-01-25 Bram <bug_rh@spam.wizbit.be>
218
219 [BZ #15378]
220 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
221 when none of the search directories exist.
222
0e87343e
AZ
2232015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
224
bea58013
AZ
225 [BZ #17869]
226 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
227 power8 in .machine directive.
228
0e87343e
AZ
229 [BZ #17868]
230 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
231 set dependency from opd value.
232
ede0236c
L
2332015-01-23 H.J. Lu <hongjiu.lu@intel.com>
234
235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
236 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
237 architecture.
ede0236c 238
22971c35
L
2392015-01-23 H.J. Lu <hongjiu.lu@intel.com>
240
241 [BZ #17870]
242 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
243 with uint64_t.
244 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
245 (uint64_t) 1.
e0da28a1 246 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
247 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
248 Replace 1UL with (uint64_t) 1.
249 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
250 int with uint64_t.
251
da5bf245
RM
2522015-01-23 Roland McGrath <roland@hack.frob.com>
253
2ec2d703
RM
254 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
255 (if_freenameindex): Likewise.
256
da5bf245
RM
257 * resource/getrlimit64.c: Add missing libc_hidden_def.
258
d7423856
JM
2592015-01-22 Joseph Myers <joseph@codesourcery.com>
260
261 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
262 __label__.
263 (_FP_FMA): Likewise.
264 (_FP_TO_INT_ROUND): Likewise.
265 (_FP_FROM_INT): Likewise.
266
6b2ba95b
AZ
2672015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268
269 [BZ #16418]
270 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
271 Make code racy and cancel safe.
272
ccdb048d
CD
2732015-01-21 Carlos O'Donell <carlos@redhat.com>
274
191220b3
CD
275 * sysdeps/arm/unwind-resume.h: Fix copyright year.
276 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
277 attribution.
278
0897c551
CD
279 * pwd/tst-getpw.c: Rewrite.
280
ccdb048d
CD
281 [BZ #17702]
282 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
283 (modules-names): Add moddummy1 and moddummy2.
284 ($(objpfx)tst-rec-dlopen): Define.
285 * dlfcn/moddummy1.c: New file.
286 * dlfcn/moddummy2.c: New file.
287 * dlfcn/tst-rec-dlopen.c: New file.
288 * elf/dl-cache.c (_dl_load_cache_lookup):
289 Return char*. Copy result with alloca/strcpy/strdup.
290 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
291 returns char*. Free cached. If not saving realname
292 free cached.
293 * elf/dl-open.c (dl_open_worker): Do not assert that
294 _r_debug->r_state is RT_CONSISTENT.
295 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
296 returns char*.
297
042e1521
CD
2982015-01-21 Torvald Riegel <triegel@redhat.com>
299 Carlos O'Donell <carlos@redhat.com>
300
301 [BZ #12674]
302 * nptl/sem_waitcommon.c: New file.
303 * nptl/sem_wait.c: Include sem_waitcommon.c.
304 (__sem_wait_cleanup, do_futex_wait): Remove.
305 (__new_sem_wait): Adapt.
306 (__new_sem_trywait): New function.
307 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
308 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
309 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
310 (sem_timedwait): Adapt.
311 * nptl/sem_post.c (__new_sem_post): Adapt.
312 (futex_wake): New function.
313 (__old_sem_post): Add release MO fence.
314 * nptl/sem_open.c (sem_open): Adapt.
315 * nptl/sem_init.c (__new_sem_init): Adapt.
316 (futex_private_if_supported): New function.
317 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
318 (__old_sem_getvalue): Add using previous code.
319 * sysdeps/nptl/internaltypes.h: Adapt.
320 * nptl/tst-sem13.c (do_test): Adapt.
321 * nptl/tst-sem11.c (main): Adapt.
322 * nptl/sem_trywait.c: Remove.
323 * nptl/DESIGN-sem.txt: Remove.
324 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
325 (gen-as-const-headers): Remove structsem.sym.
326 * nptl/structsem.sym: Remove.
327 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
328 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
329 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
330 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
331 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
332 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
333 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
334 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
335 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
336 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
337 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
338 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
339 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
340 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
341 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
342 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
343 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
344 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
345 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
346 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
347 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
348 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
349
fe0e85af
CD
3502015-01-20 Carlos O'Donell <carlos@redhat.com>
351
a8db092e
CD
352 * INSTALL: Regenerated.
353
fe0e85af
CD
354 * po/libc.pot: Regenerated.
355
522e6ee3
CLT
3562015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
357 Sandra Loosemore <sandra@codesourcery.com>
358 Andrew Jenner <andrew@codesourcery.com>
359 Joseph Myers <joseph@codesourcery.com>
360 Nathan Sidwell <nathan@codesourcery.com>
361
362 * NEWS: Mention new Nios II port.
363 * sysdeps/nios2/Implies: New file.
364 * sysdeps/nios2/Makefile: New file.
365 * sysdeps/nios2/Subdirs: New file.
366 * sysdeps/nios2/Versions: New file.
367 * sysdeps/nios2/__longjmp.S: New file.
368 * sysdeps/nios2/abort-instr.h: New file.
369 * sysdeps/nios2/backtrace.c: New file.
370 * sysdeps/nios2/bits/endian.h: New file.
371 * sysdeps/nios2/bits/fenv.h: New file.
372 * sysdeps/nios2/bits/link.h: New file.
373 * sysdeps/nios2/bits/setjmp.h: New file.
374 * sysdeps/nios2/bsd-_setjmp.S: New file.
375 * sysdeps/nios2/bsd-setjmp.S: New file.
376 * sysdeps/nios2/configure: New generated file.
377 * sysdeps/nios2/configure.ac: New file.
378 * sysdeps/nios2/crti.S: New file.
379 * sysdeps/nios2/crtn.S: New file.
380 * sysdeps/nios2/dl-init.c: New file.
381 * sysdeps/nios2/dl-machine.h: New file.
382 * sysdeps/nios2/dl-sysdep.h: New file.
383 * sysdeps/nios2/dl-tls.h: New file.
384 * sysdeps/nios2/dl-trampoline.S: New file.
385 * sysdeps/nios2/gccframe.h: New file.
386 * sysdeps/nios2/gmp-mparam.h: New file.
387 * sysdeps/nios2/jmpbuf-offsets.h: New file.
388 * sysdeps/nios2/jmpbuf-unwind.h: New file.
389 * sysdeps/nios2/ldsodefs.h: New file.
390 * sysdeps/nios2/libc-tls.c: New file.
391 * sysdeps/nios2/libm-test-ulps: New file.
392 * sysdeps/nios2/machine-gmon.h: New file.
393 * sysdeps/nios2/math-tests.h: New file.
394 * sysdeps/nios2/math_private.h: New file.
395 * sysdeps/nios2/memusage.h: New file.
396 * sysdeps/nios2/nptl/Makefile: New file.
397 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
398 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
399 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
400 * sysdeps/nios2/nptl/pthreaddef.h: New file.
401 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
402 * sysdeps/nios2/nptl/tls.h: New file.
403 * sysdeps/nios2/preconfigure: New file.
404 * sysdeps/nios2/s_fma.c: New file.
405 * sysdeps/nios2/s_fmaf.c: New file.
406 * sysdeps/nios2/setjmp.S: New file.
407 * sysdeps/nios2/sfp-machine.h: New file.
408 * sysdeps/nios2/sotruss-lib.c: New file.
409 * sysdeps/nios2/stackguard-macros.h: New file.
410 * sysdeps/nios2/stackinfo.h: New file.
411 * sysdeps/nios2/start.S: New file.
412 * sysdeps/nios2/sysdep.h: New file.
413 * sysdeps/nios2/tls-macros.h: New file.
414 * sysdeps/nios2/tst-audit.h: New file.
415 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
416 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
417 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
418 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
419 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
420 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
421 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
422 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
423 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
424 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
425 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
426 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
427 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
428 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
429 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
430 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
431 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
432 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
433 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
434 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
435 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
436 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
437 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
438 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
439 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
440 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
441 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
442 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
443 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
444 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
445 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
446 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
447 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
448 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
449 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
450 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
451 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
452 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
453 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
454 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
455 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
456 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
457 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
458 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
459
026eb207
SL
4602015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
461
462 [BZ #17844]
463 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
464 (getutent): Use weak_alias in non SHARED case
465 and default_symbol_version in SHARED case.
466 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
467 (getutent_r, pututline): Likewise.
468 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
469 (getutid): Likewise.
470 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
471 (getutid_r): Likewise.
472 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
473 (getutline): Likewise.
474 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
475 (getutline_r): Likewise.
476 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
477 (updwtmp): Likewise.
478
1d532483
SL
4792015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
480
481 [BZ #17848]
482 * sysdeps/s390/s390-32/memcmp.S
483 (memcmp_g5): Rename to __memcmp_g5.
484 * sysdeps/s390/s390-32/memcpy.S
485 (memcpy_g5): Rename to __memcpy_g5.
486 Jump to __memcpy_mvcle instead of memcpy_mvcle.
487 (memcpy_mvcle) Rename to __memcpy_mvcle.
488 * sysdeps/s390/s390-32/memset.S
489 (memset_g5): Rename to __memset_g5.
490 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
491 (IFUNC_RESOLVE): Prefix ifunc-resolve function
492 and use prefixed functions.
493 * sysdeps/s390/s390-32/multiarch/memcmp.S
494 (memcmp_z196): Rename to __memcmp_z196.
495 (memcmp_z10): Rename to __memcmp_z10.
496 (memcmp): Set alias to __memcmp_g5.
497 (bcmp): Set alias to __memcmp_g5.
498 * sysdeps/s390/s390-32/multiarch/memcpy.S
499 (memcpy_z196): Rename to __memcpy_z196.
500 Jump to __memcpy_mvcle instead of memcpy_mvcle.
501 (memcpy_z10): Rename to __memcpy_z10.
502 Jump to __memcpy_mvcle instead of memcpy_mvcle.
503 (memcpy): Set alias to __memcpy_g5.
504 * sysdeps/s390/s390-32/multiarch/memset.S
505 (memset_z196): Rename to __memset_z196.
506 Jump to __memset_mvcle instead of memset_mvcle.
507 (memset_z10): Rename to __memset_z10.
508 Jump to __memset_mvcle instead of memset_mvcle.
509 (memset_mvcle) Rename to __memset_mvcle.
510 (memset): Set alias to __memset_g5.
511 * sysdeps/s390/s390-64/memcmp.S
512 (memcmp_z900): Rename to __memcmp_z900.
513 * sysdeps/s390/s390-64/memcpy.S
514 (memcpy_z900): Rename to __memcpy_z900.
515 Jump to __memcpy_mvcle instead of memcpy_mvcle.
516 (memcpy_mvcle) Rename to __memcpy_mvcle.
517 * sysdeps/s390/s390-64/memset.S
518 (memset_z900): Rename to __memset_z900.
519 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
520 (IFUNC_RESOLVE): Prefix ifunc-resolve function
521 and use prefixed functions.
522 * sysdeps/s390/s390-64/multiarch/memcmp.S
523 (memcmp_z196): Rename to __memcmp_z196.
524 (memcmp_z10): Rename to __memcmp_z10.
525 (memcmp): Set alias to __memcmp_z900.
526 (bcmp): Set alias to __memcmp_z900.
527 * sysdeps/s390/s390-64/multiarch/memcpy.S
528 (memcpy_z196): Rename to __memcpy_z196.
529 Jump to __memcpy_mvcle instead of memcpy_mvcle.
530 (memcpy_z10): Rename to __memcpy_z10.
531 Jump to __memcpy_mvcle instead of memcpy_mvcle.
532 (memcpy): Set alias to __memcpy_z900.
533 * sysdeps/s390/s390-64/multiarch/memset.S
534 (memset_z196): Rename to __memset_z196.
535 Jump to __memset_mvcle instead of memset_mvcle.
536 (memset_z10): Rename to __memset_z10.
537 Jump to __memset_mvcle instead of memset_mvcle.
538 (memset_mvcle) Rename to __memset_mvcle.
539 (memset): Set alias to __memset_z900.
540
53fbd169
JM
5412015-01-14 Joseph Myers <joseph@codesourcery.com>
542
543 [BZ #17748]
544 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
545 __fesetenv instead of fesetenv.
546
d639a363
SP
5472015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
548
549 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
550 macro.
551
d3b00f46
AZ
5522015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
553
ce6615c9
AZ
554 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
555 regression on LE.
556
d3b00f46
AZ
557 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
558 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
559 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
560 strncmp-power8 object.
561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
562 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
563 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
564 * NEWS: Update.
565
72607db0
RS
5662015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
567 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568
569 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
570 trailing byte check.
571
54dc5461
DM
5722015-01-13 David S. Miller <davem@davemloft.net>
573
574 * include/signal.h (__sigreturn): Guard with __USE_MISC.
575
1c6e6f23
RM
5762015-01-13 Roland McGrath <roland@hack.frob.com>
577
578 * login/logout.c (logout): Use memset rather than bzero.
579 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
580 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
581 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
582 (_gethtbyaddr): Likewise.
583 * locale/programs/simple-hash.c (bcopy): Macro removed.
584
96d6fd6c
AZ
5852015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
586
8bedcb5f
AZ
587 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
588 Add strcmp-power8 object.
589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
590 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
591 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
592 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
593 __strcmp_power8 implementation.
594 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
595 * NEWS: Update.
596
f06a4faf
AZ
597 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
598 Add strncpy-power8 and stpncpy-power8 objects.
599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
600 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
601 implementations.
602 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
603 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
604 __stpncpy_power8 implementation.
605 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
606 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
607 __strncpy_power8 implementation.
608 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
609 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
610 * NEWS: Update.
611
9f2f36e5
AZ
612 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
613 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
614 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
615
96d6fd6c 616 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
617 strncat-power8 object.
618 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
619 __strcat_power8 implementation.
620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
621 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
622 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
623 optimized strcat for power8.
624
625 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
626 strcpy-power8 and stpcpy-power8 objects.
627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
628 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
629 implementations.
630 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
631 multiarch stpcpy implementation for POWER8.
632 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
633 multiarch strcpy implementation for POWER8.
634 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
635 __strcpy_power8 function.
636 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
637 stpcpy for POWER8.
638 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
639 strcpy for POWER8.
640 * NEWS: Update.
641
0f9e5854
LH
6422015-01-13 Leonhard Holz <leonhard.holz@web.de>
643
644 [BZ #16009]
645 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
646 weights and rules. Use do_xfrm_cached if data fits in cache,
647 do_xfrm otherwise. Moved former main loop to...
648 * (do_xfrm_cached): New function.
649 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
650 find_idx, find_position and stack_push.
651 * (find_idx): New function.
652 * (find_position): Likewise.
653 * localedata/sort-test.sh: Added test run for do_xfrm.
654 * localedata/xfrm-test.c (main): Added command line option
655 -nocache to run the test with strings that are too large for
656 the STRXFRM cache.
657
c60ec0e0
TR
6582015-01-13 Torvald Riegel <triegel@redhat.com>
659
660 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
661 variable to lll_futex_wake call, not the value itself.
662
34e93d6c
JM
6632015-01-12 Joseph Myers <joseph@codesourcery.com>
664
5a9e4c09
JM
665 [BZ #17803]
666 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
667 twom64. Adjust value to 0x1p-64L.
668 (__scalblnl): Only return standard underflowing result for K <=
669 -64 not K <= -63; adjust exponent for underflowing result by 64
670 not 63.
671 * math/libm-test.inc (scalbn_test_data): Add more tests.
672 (scalbln_test_data): Likewise.
673
34e93d6c
JM
674 [BZ #17834]
675 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
676 0x1p63L.
677 (__scalblnl): Get new exponent of adjusted subnormal value from ES
678 not HX.
679 * math/libm-test.inc (scalbn_test_data): Add more tests.
680 (scalbln_test_data): Likewise.
681
ca677d3c
AZ
6822015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683 Stefani Seibold <stefani@seibold.net>
684
685 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
686 (sysdep_routines): Add dl-vdso here, ...
687 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
688 (sysdep_routines): ... not here.
689 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
690 fallback when vDSO is not presented.
691 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
692 Define with libc_hidden_proto/libc_hidden_data_def definitions.
693 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
694 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
695 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
696 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
697 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
698 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
699 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
701 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
702 fallback configurable symbol when vDSO is not available.
703 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
704 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
705 be able to redefine fallback symbol when vDSO is not available.
706 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
707 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
708
49a9f6ab 7092015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 710
56cf2763
AZ
711 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
712 (TLS_INIT_TP): Add tm_capable initialization.
713 (TLS_DEFINE_INIT_TP): Likewise.
714 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
715 TCB.
716 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
717 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
718 calculation.
719 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
720 transactoion is lock elision is built and TCB tm_capable is set.
721 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
723 (INTERNAL_SYSCALL_NCS): Likewise.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
725 (INTERNAL_SYSCALL_NCS): Likewise.
726 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
727
4b45943a
AZ
728 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
729 for powerpc.
730 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
731 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
732 and remove it for 32 bits case.
733 [pthread_rwlock_t] (__rwelision): New field for lock elision.
734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
735 initialization.
736 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
737 Disable lock elision with rdlocks if elision is not available.
738
8d2c0a59
AZ
739 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
740 (sysdep_routines): Add lock elision objects.
741 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
742 [pthread_mutex_t] (__spins): Rework to add lock elision field.
743 [pthread_mutex_t] (__elision): Add field.
744 [__PTHREAD_SPINS]: Adjust to init lock elision field.
745 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
746 elision definitions for powerpc.
747 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
748 implementation of lock elision for powerpc.
749 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
750 implementation of timed lock elision for powerpc.
751 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
752 implementation of trylock with lock elision for powerpc.
753 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
754 implementaion of unlock for lock elision for powerpc.
755 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
756 automatic enable lock elision for mutexes.
757 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
758 transaction execution definitions for powerpc.
759 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
760 definitions.
761 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
762 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
763 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
764 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
765 * NEWS: Update.
766
bc0ed9f7
RM
7672015-01-09 Roland McGrath <roland@hack.frob.com>
768
769 * sysdeps/posix/shm-directory.c: Use <> rather than ""
770 for #include of <shm-directory.h>.
771
585d9c18
CLT
7722015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
773
774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
775 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
776
aee6626c
MF
7772015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
778
779 [BZ #17791]
780 * NEWS: Mention bug fix.
781 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
782 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
783 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
784
9e560f48
TR
7852015-01-09 Torvald Riegel <triegel@redhat.com>
786
787 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
788
e1cfbd0c
TR
7892015-01-09 Torvald Riegel <triegel@redhat.com>
790
791 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
792
cf71e44f
DH
7932015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
794
795 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
796 pointer and cast to uintptr_t.
797
b360ee62
DH
7982015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
799
800 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
801 removed.
802 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
803
caff764e
DH
8042015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
805
806 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
807 of 0.
808
59ff172f
RM
8092015-01-08 Roland McGrath <roland@hack.frob.com>
810
c97d27f1
RM
811 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
812 <nptl/pthreadP.h> instead.
813 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
814
08734ccd
RM
815 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
816 already defined.
817 [__SIGRTMIN] (init): Function removed.
818 [__SIGRTMIN] (initialized): Variable removed.
819 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
820 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
821 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
822 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
823 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
824 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
825 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
826 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
827 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
828 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
829 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
830 * sysdeps/nptl/allocrtsig.c: New file.
831 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
832 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
833 * sysdeps/generic/testrtsig.h: File removed.
834
7b052e33
RM
835 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
836 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
837
cc40d25e
RM
838 * nptl/nptl-init.c (pthread_functions): Conditionalize
839 .ptr__nptl_setxid initialization on [SIGSETXID].
840
9287adf0
RM
841 * sysdeps/nptl/sys/procfs.h: New file.
842 * nptl_db/Makefile (headers): Add it.
843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
844
59ff172f
RM
845 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
846 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
847 * nptl/pthread_attr_setaffinity.c: Include it.
848 * nptl/pthread_setattr_default_np.c: Likewise.
849 * nptl/check-cpuset.h: New file.
850
b9205857
RH
8512015-01-08 Richard Henderson <rth@redhat.com>
852
853 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
854 (CFLAGS-tst-execstack-prog.c): Likewise.
855 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
856
1a0a8d15
CLT
8572015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
858 Sandra Loosemore <sandra@codesourcery.com>
859 Andrew Jenner <andrew@codesourcery.com>
860 Joseph Myers <joseph@codesourcery.com>
861 Nathan Sidwell <nathan@codesourcery.com>
862
863 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
864 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
865 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
866 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
867 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
868 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
869 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
870 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
871 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
872 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
873 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
874 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
875 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
876 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
877 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
878 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
879 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
880
dd6e8af6
AZ
8812015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
882
883 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
884 timespec struct member in syscall macro.
885 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
886 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
887 first timeval struct member in syscall macro.
888 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
889
8116321f
JM
8902015-01-07 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #17748]
893 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
894 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
895 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
896 __feupdateenv and define as weak alias of __feupdateenv. Use
897 libm_hidden_weak.
898 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
899 libm_hidden_def.
900 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
901 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
902 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
903 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
904 libm_hidden_def.
905 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
906 __feupdateenv and define as weak alias of __feupdateenv. Use
907 libm_hidden_weak.
908 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
909 libm_hidden_def.
910 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
911 __feupdateenv and define as weak alias of __feupdateenv. Use
912 libm_hidden_weak.
913 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
914 libm_hidden_def.
915 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
916 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
917 (__feupdateenv): Likewise.
918 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
919 __feupdateenv and define as weak alias of __feupdateenv. Use
920 libm_hidden_weak.
921 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
922 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
923 libm_hidden_def.
924 * sysdeps/tile/math_private.h (__feupdateenv): New inline
925 function.
926 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
927 libm_hidden_def.
928 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
929 __feupdateenv instead of feupdateenv.
930 (default_libc_feupdateenv_test): Likewise.
931 (libc_feresetround_ctx): Likewise.
932
882dfe18
AZ
9332015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
934
935 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
936 prototype.
937
39a12f8d
CM
9382015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
939
940 * posix/regcomp.c (parse_bracket_exp): Initialize type to
941 COLL_SYM in a couple of places to avoid uninitialized variable
942 wanings on tilegx gcc 4.8.2.
943
dc400d7b
RE
9442015-01-07 Richard Earnshaw <rearnsha@arm.com>
945
946 * sysdeps/aarch64/strcpy.S: New file.
947 * sysdeps/aarch64/stpcpy.S: New file.
948 * NEWS: Updated.
949
ec582ca0
RE
9502015-01-07 Richard Earnshaw <rearnsha@arm.com>
951
952 * sysdeps/aarch64/strrchr.S: New file.
953 * NEWS: Updated.
954
d5b1c5ed
EB
9552015-01-07 Eric Biggers <ebiggers3@gmail.com>
956
957 [BZ #17658]
958 * stdlib/setenv.c: Fix memory leak when setting large,
959 duplicate string.
960
fb87ee96
VN
9612015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
962
60f046a8 963 [BZ #17273]
fb87ee96
VN
964 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
965 and tabs from buffer before parsing fstab entry.
966 * misc/tst-mntent.c (main): Add test for mount entry with
967 trailing spaces and tabs.
968
cd42798a
JM
9692015-01-06 Joseph Myers <joseph@codesourcery.com>
970
01238691
JM
971 [BZ #17748]
972 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
973 * math/fesetround.c (fesetround): Rename to __fesetround and
974 define as weak alias of __fesetround. Use libm_hidden_weak.
975 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
976 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
977 * sysdeps/arm/fesetround.c (fesetround): Likewise.
978 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
979 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
980 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
981 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
982 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
983 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
984 __fesetround_inline.
985 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
986 __fesetround_inline instead of __fesetround.
987 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
988 __fesetround and define as weak alias of __fesetround. Use
989 libm_hidden_weak. Call __fesetround_inline instead of
990 __fesetround.
991 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
992 __fesetround and define as weak alias of __fesetround. Use
993 libm_hidden_weak.
994 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
995 Likewise.
996 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
997 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
998 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
999 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1000 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1001 __fesetround and define as weak alias of __fesetround. Use
1002 libm_hidden_weak.
1003 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1004 __fesetround instead of fesetround.
1005 (default_libc_feholdexcept_setround): Likewise.
1006 (libc_feholdsetround_ctx): Likewise.
1007 (libc_feholdsetround_noex_ctx): Likewise.
1008
cd42798a
JM
1009 [BZ #17748]
1010 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1011 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1012 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1013 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1014 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1015 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1016 define as weak alias of __fesetenv. Use libm_hidden_weak.
1017 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1018 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1019 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1020 define as weak alias of __fesetenv. Use libm_hidden_weak.
1021 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1022 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1023 define as weak alias of __fesetenv. Use libm_hidden_weak.
1024 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1025 libm_hidden_def.
1026 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1027 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1028 Likewise.
1029 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1030 define as weak alias of __fesetenv. Use libm_hidden_weak.
1031 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1032 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1033 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1034 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1035 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1036 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1037 __fesetenv instead of fesetenv.
1038 (libc_feresetround_noex_ctx): Likewise.
1039 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1040 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1041 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1042 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1043 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1044 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1045 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1046 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1047 (__feupdateenv): Likewise.
1048 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1049 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1050 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1051 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1052
38949026
AJ
10532015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1054
1cf98e27 1055 [BZ #17806]
38949026
AJ
1056 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1057 addresses have been freed.
1058
5fe55e9c
AJ
10592015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1060
1061 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1062 and nservall.
1063
dc8ab018
OB
10642015-01-06 Ondřej Bílka <neleai@seznam.cz>
1065
1066 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1067 Clean up check_pf allocation pattern. addresses
1068
14bb4e57
AZ
10692015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1070
1071 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1072 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1073 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1074 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1075 * nptl/pthread_join.c (pthread_join): Likewise.
1076 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1077 * sysdeps/posix/waitid.c (__waitid): Likewise.
1078 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1079 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1080 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1081 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1082 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1083 Likewise.
1084 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1085 (__libc_pread64): Likewise.
1086 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1087 (__libc_pwrite): Likewise.
1088 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1089 (__libc_pwrite64): Likewsie.
1090 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1091 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1092 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1093 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1094 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1095 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1096 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1098 Likewise.
1099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1100 (__libc_pread64): Likewise.
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1102 Likewise.
1103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1104 (__libc_pwrite64): Likewise.
1105 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1106 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1107 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1108 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1109 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1110 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1111 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1112 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1113 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1114 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1115 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1116 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1117 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1118 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1119 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1120 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1121 Likewise.
1122
10a5e112
AS
11232015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1124
1125 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1126 (CFLAGS-test-double.c): Likewise.
1127 (CFLAGS-test-ldouble.c): Likewise.
1128 (CPPFLAGS-test-ifloat.c): Likewise.
1129 (CPPFLAGS-test-idouble.c): Likewise.
1130 (CPPFLAGS-test-ildoubl.c): Likewise.
1131 (CFLAGS-test-test-fenv.c): Remove variable.
1132 (CFLAGS-test-misc.c): Likewise.
1133
57ada0e7
L
11342015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 [BZ #17797]
1137 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1138 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1139 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1140 CLOCKS_PER_SEC == 1000000.
1141 * time/clocktest.c (main): Replace %ld with %jd and cast to
1142 intmax_t.
1143
46abb64d
RM
11442015-01-05 Roland McGrath <roland@hack.frob.com>
1145
1146 * sysdeps/generic/unwind-resume.h: New file.
1147 * sysdeps/gnu/unwind-resume.c: Include it.
1148 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1149 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1150 argument list.
1151 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1152 global rather than static.
1153 (_Unwind_Resume): Update user.
1154 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1155 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1156 rather than static. Add __attribute__ ((cold)).
1157 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1158 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1159 * sysdeps/arm/arm-unwind-resume.S: New file.
1160 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1161 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1162 * sysdeps/arm/Makefile [$(subdir) = csu]
1163 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1164 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1165 Add rt-arm-unwind-resume.
1166 [$(subdir) = nptl]
1167 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1168 Add pt-arm-unwind-resume.
1169 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1170 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1171
ef9faf13
JM
11722015-01-05 Joseph Myers <joseph@codesourcery.com>
1173
1174 [BZ #17748]
1175 * include/fenv.h (__feholdexcept): Declare. Use
1176 libm_hidden_proto.
1177 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1178 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1179 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1180 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1181 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1182 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1183 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1184 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1185 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1186 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1187 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1188 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1189 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1190 (feholdexcept): Likewise.
1191 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1192 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1193 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1194 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1195 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1196 __feholdexcept instead of feholdexcept.
1197 (default_libc_feholdexcept_setround): Likewise.
1198
295a453e
SE
11992015-01-05 Steve Ellcey <sellcey@imgtec.com>
1200
1201 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1202 to avoid using stl/str to align destination.
1203
882c4b9f
SE
12042015-01-05 Steve Ellcey <sellcey@imgtec.com>
1205
1206 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1207
ac4c11f5
JM
12082015-01-05 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #17796]
1211 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1212 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1213 Define as weak alias not strong alias.
1214
03403e30
SE
12152015-01-05 Steve Ellcey <sellcey@imgtec.com>
1216
1217 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1218 bltzal with addiupc.
1219 (RTLD_START): Ditto.
1220
1dca195e
CM
12212015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1222
00b8b9ba
SP
1223 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1224 for __vdso_* functions in declarations.
1225 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1226 definitions.
1227 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1228 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1229
1dca195e
CM
1230 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1231 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1232 function with cast from llround().
1233 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1234 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1235 Define.
1236
a287953a
JM
12372015-01-05 Joseph Myers <joseph@codesourcery.com>
1238
ab70da77
JM
1239 [BZ #17793]
1240 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1241 Define as weak alias not strong alias.
1242
b8986484
JM
1243 [BZ #17635]
1244 * ctype/ctype-c99.c: New file. isblank implementation moved from
1245 ...
1246 * ctype/ctype-extn.c: ... here.
1247 (__isblank_l): Move to ...
1248 * ctype/ctype-c99_l.c: ... here. New file.
1249 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1250 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1251 Remove variable.
1252 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1253 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1254 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1255 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1256 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1257
a287953a
JM
1258 [BZ #17777]
1259 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1260 (posix_fadvise64): Define as weak alias not strong alias.
1261 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1262 (posix_fallocate64): Likewise.
1263 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1264 Remove variable.
1265 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1266 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1267 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1268 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1269 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1270
b1efe3bb
MF
12712015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1272
1273 [BZ #16191]
1274 * NEWS: Mention bug fix.
1275 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1276 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1277 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1278 (HOST_STACK_END_ADDR): Likewise.
1279
9706dc5f
JM
12802015-01-02 Joseph Myers <joseph@codesourcery.com>
1281
b93c2205
JM
1282 [BZ #17748]
1283 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1284 * math/fegetround.c (fegetround): Rename to __fegetround and
1285 define as weak alias of __fegetround. Use libm_hidden_weak.
1286 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1287 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1288 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1289 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1290 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1291 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1292 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1293 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1294 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1295 Undefine after rather than before function definition; use
1296 parentheses around function name in definition.
1297 (__fegetround): Also undefine macro after function definition.
1298 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1299 __fegetround and define as weak alias of __fegetround. Use
1300 libm_hidden_weak. Do not undefine as macro.
1301 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1302 Likewise.
1303 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1304 __fegetround and define as weak alias of __fegetround. Use
1305 libm_hidden_weak.
1306 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1307 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1308 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1309 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1310 __fegetround and define as weak alias of __fegetround. Use
1311 libm_hidden_weak.
1312 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1313 __fegetround instead of fegetround.
1314
253a59cc
JM
1315 [BZ #17782]
1316 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1317 Condition macro definition on [__USE_MISC].
1318
27dae011
JM
1319 [BZ #17781]
1320 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1321 (struct sigaction): Change type of sa_flags field to int.
1322
172019c0
JM
1323 [BZ #17780]
1324 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1325 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1326 __glibc_reserved0.
1327
522ad1d6
JM
1328 * nptl/version.c (banner): Use single year in copyright notice.
1329
9706dc5f
JM
1330 * NEWS: Update copyright dates.
1331 * catgets/gencat.c (print_version): Likewise.
1332 * csu/version.c (banner): Likewise.
1333 * debug/catchsegv.sh: Likewise.
1334 * debug/pcprofiledump.c (print_version): Likewise.
1335 * debug/xtrace.sh (do_version): Likewise.
1336 * elf/ldconfig.c (print_version): Likewise.
1337 * elf/ldd.bash.in: Likewise.
1338 * elf/pldd.c (print_version): Likewise.
1339 * elf/sotruss.sh: Likewise.
1340 * elf/sprof.c (print_version): Likewise.
1341 * iconv/iconv_prog.c (print_version): Likewise.
1342 * iconv/iconvconfig.c (print_version): Likewise.
1343 * locale/programs/locale.c (print_version): Likewise.
1344 * locale/programs/localedef.c (print_version): Likewise.
1345 * login/programs/pt_chown.c (print_version): Likewise.
1346 * malloc/memusage.sh (do_version): Likewise.
1347 * malloc/memusagestat.c (print_version): Likewise.
1348 * malloc/mtrace.pl: Likewise.
1349 * manual/libc.texinfo: Likewise.
1350 * nptl/version.c (banner): Likewise.
1351 * nscd/nscd.c (print_version): Likewise.
1352 * nss/getent.c (print_version): Likewise.
1353 * nss/makedb.c (print_version): Likewise.
1354 * posix/getconf.c (main): Likewise.
1355 * scripts/test-installation.pl: Likewise.
1356 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1357
b8607aac
WN
13582015-01-02 Will Newton <will.newton@linaro.org>
1359
1360 * sysdeps/arm/armv7/configure: Removed.
1361 * sysdeps/arm/armv7/configure.ac: Likewise.
1362
b168057a
JM
13632015-01-02 Joseph Myers <joseph@codesourcery.com>
1364
1365 * All files with FSF copyright notices: Update copyright dates
1366 using scripts/update-copyrights.
1367 * intl/plural.c: Regenerated.
1368 * locale/programs/charmap-kw.h: Likewise.
1369 * locale/programs/locfile-kw.h: Likewise.
1370
b217c15f
SP
13712015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1372
1373 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1374
73a268c7
JM
13752014-12-31 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #17748]
1378 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1379 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1380 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1381 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1382 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1383 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1384 define as weak alias of __fegetenv. Use libm_hidden_weak.
1385 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1386 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1387 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1388 define as weak alias of __fegetenv. Use libm_hidden_weak.
1389 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1390 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1391 define as weak alias of __fegetenv. Use libm_hidden_weak.
1392 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1393 libm_hidden_def.
1394 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1396 Likewise.
1397 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1398 define as weak alias of __fegetenv. Use libm_hidden_weak.
1399 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1400 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1401 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1402 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1403 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1404 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1405 __fegetenv instead of fegetenv.
1406 (libc_feholdsetround_noex_ctx): Likewise.
1407
0bd95672
MF
14082014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1409
1410 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1411 (Elf_MIPS_ABIFlags_v0): New structure.
1412 (EF_MIPS_FP64): Define.
1413 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1414 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1415 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1416 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1417 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1418 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1419 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1420 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1421 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1422 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1423 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1424 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1425 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1426 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1427 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1428 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1429 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1430 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1431 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1432 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1433 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1434 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1435 field.
1436 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1437 EF_MIPS_FP64.
1438 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1439 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1440 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1441 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1442 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1443 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1444 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1445 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1446 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1447 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1448 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1449 record the current FP ABI extension.
1450 (mips-mode-switch): Define to show if kernel headers support mode
1451 switching.
1452 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1453 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1454 supported SYSV ABI version to 3.
1455 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1456 feature.
1457
f59ad976
RS
14582014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1459 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460
1461 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1462 path.
1463 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1464
4a3d3999
JM
14652014-12-31 Joseph Myers <joseph@codesourcery.com>
1466
1467 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1468 __fegetround and redefine to call __fegetround. Remove condition
1469 on [!__NO_MATH_INLINES].
1470 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1471 function.
1472 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1473 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1474 Remove macro.
1475 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1476 instead of <fenv_libc.h>.
1477 (__llrintl): Call fegetround instead of __fegetround.
1478 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1479 instead of <fenv_libc.h>.
1480 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1481 (__lrintl): Call fegetround instead of __fegetround.
1482 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1483 instead of <fenv_libc.h>.
1484 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1485 (__rintl): Call fegetround instead of __fegetround.
1486
195f3afc
SP
14872014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1488
1489 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1490 arrays.
1491
7062bd42
L
14922014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1493
1494 [BZ #17775]
1495 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1496 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1497 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1498
07256e18
AS
14992014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1500
1501 * sysdeps/i386/tls-macros.h: Include <features.h>.
1502 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1503 (TLS_IE): Likewise.
1504 (TLS_LD): Likewise.
1505 (TLS_GD): Likewise.
1506 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1507 define for GCC >= 5.0.
1508
1ff950ad
CM
15092014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1510
1511 * math/test-fenv.c (test_single_exception, set_single_exc,
1512 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1513 feexcp_mask_test, feenable_test, fe_single_test): Add
1514 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1515 case where they are not used.
1516 * math/libm-test.inc: Likewise.
1517 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1518 unused in the absence of FP rounding/exception support.
1519 * stdio-common/tst-printf-round.c: Likewise.
1520 * stdlib/tst-strtod-round.c: Likewise.
1521 * stdlib/tst-strtod-underflow.c: Likewise.
1522
0747f818
JM
15232014-12-30 Joseph Myers <joseph@codesourcery.com>
1524
1525 [BZ #17723]
1526 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1527 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1528 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1529 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1530 libm_hidden_weak.
1531 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1532 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1533 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1534 libm_hidden_def.
1535 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1536 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1537 libm_hidden_weak.
1538 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1539 Likewise.
1540 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1541 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1542 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1543 libm_hidden_weak.
1544 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1545 libm_hidden_def.
1546 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1547 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1548 (__feraiseexcept): Likewise.
1549 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1550 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1551 libm_hidden_weak.
1552 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1553 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1554 libm_hidden_def.
1555 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1556 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1557 Use libm_hidden_def.
1558 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1559 libm_hidden_def.
1560 (feraiseexcept): Define as weak not strong alias. Use
1561 libm_hidden_weak.
1562 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1563 New inline function. Factored out of ...
1564 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1565 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1566 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1567 feraiseexcept.
1568 * math/w_acos.c (__acos): Likewise.
1569 * math/w_asin.c (__asin): Likewise.
1570 * math/w_ilogb.c (__ilogb): Likewise.
1571 * math/w_j0.c (y0): Likewise.
1572 * math/w_j1.c (y1): Likewise.
1573 * math/w_jn.c (yn): Likewise.
1574 * math/w_log.c (__log): Likewise.
1575 * math/w_log10.c (__log10): Likewise.
1576 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1577 * sysdeps/aarch64/fpu/math_private.h
1578 (libc_feupdateenv_test_aarch64): Likewise.
1579 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1580 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1581 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1582 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1583 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1584 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1585 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1586 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1587 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1588 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1589
8d2b2763
L
15902014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1591
1592 [BZ #17732]
1593 * io/test-utime.c (main): Replace %ld with %jd and cast to
1594 intmax_t.
41fad830 1595 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1596 * nptl/tst-mutex5.c: Include <stdint.h>.
1597 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1598 * posix/tst-regex.c (run_test): Likewise.
1599 (run_test_backwards): Likewise.
5d619de4
L
1600 * rt/tst-clock.c: Include <stdint.h>.
1601 (clock_test): Replace %ld with %jd and cast to intmax_t.
1602 * rt/tst-cpuclock1.c: Include <stdint.h>.
1603 (do_test): Replace %lu with %ju and cast to uintmax_t.
1604 * rt/tst-cpuclock2.c: Include <stdint.h>.
1605 (do_test): Replace %lu with %ju and cast to uintmax_t.
1606 * rt/tst-mqueue1.c: Include <stdint.h>.
1607 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1608 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1609 intmax_t.
1610 * rt/tst-mqueue4.c (do_test): Likewise.
1611 * rt/tst-timer4.c: Include <stdint.h>.
1612 (check_ts): Replace %ld with %jd and cast to intmax_t.
1613 (do_test): Likewise.
ad86fbc3
L
1614 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1615 and cast to intmax_t.
37f46900 1616 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1617 * time/clocktest.c (main): Likewise.
1618 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1619 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1620
8b4416d8
AS
16212014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1622 H.J. Lu <hongjiu.lu@intel.com>
1623
1624 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1625 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1626 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1627 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1628 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1629 version if bit_Fast_Unaligned_Load is set.
1630 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1631 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1632 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1633 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1634 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1635 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1637 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1638 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1639 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1640 to 4.
1641 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1642 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1643 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1644 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1645
e47b8d3b
CM
16462014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1647
6d6d7fde
CM
1648 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1649 instead of #if to avoid a Wundef warning.
1650 * stdlib/tst-limits.c (do_test): Likewise.
1651
cd2c37c9
CM
1652 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1653 parallel other exception macros.
1654 (fegetenv): Convert from macro to extern inline so that it applies
1655 retroactively to inline functions already seen by the compiler.
1656 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1657
e47b8d3b
CM
1658 * posix/Makefile (before-compile): Use $(objpfx) for
1659 posix-conf-vars-def.h.
1660
4a6aca7b
SP
16612014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1662
7910c2ae
SP
1663 * posix/getconf.c (main): Use size_t for type of I.
1664 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1665 NSPEC.
1666
50cbbaa9
SP
1667 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1668 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1669 * posix/posix-envs.def: Likewise.
1670 * sysdeps/posix/sysconf.c: Likewise.
1671 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1672 (specs): Remove array.
1673 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1674 array.
1675
3b566046
SP
1676 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1677 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1678 (__sysconf): Use CONF_IS_* macros.
1679
4a6aca7b
SP
1680 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1681 ($(objpfx)posix-conf-vars-def.h): New target.
1682 * posix/posix-conf-vars.list: New file.
1683 * posix/posix-conf-vars.h: New file.
1684 * posix/confstr.c: Include posix-conf-vars.h.
1685 (confstr): Use CONF_IS_* macros.
1686 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1687 CONF_IS_* macros.
1688 * scripts/gen-posix-conf-vars.awk: New file.
1689
7c1395a7
CM
16902014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1691
0025b4cc
CM
1692 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1693 fegetround): Add no-op macros to avoid linknamespace issues.
1694
d8aaf74b
CM
1695 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1696 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1697
5d24aa60
CM
1698 * sysdeps/unix/sysv/linux/tile/sysdep.h
1699 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1700 assembly-specific section to avoid a redefinition warning.
1701
7c1395a7
CM
1702 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1703 long before casting to pointer to avoid a cast warning.
1704
3c87c616
CM
17052014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1706
1707 * sysdeps/tile/tilegx/Implies: New file.
1708
f559d8cf
RE
17092014-12-23 Richard Earnshaw <rearnsha@arm.com>
1710
1711 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1712
7d81e8d6
FW
17132014-12-23 Florian Weimer <fweimer@redhat.com>
1714
1715 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1716
90aa3d09
JM
17172014-12-22 Joseph Myers <joseph@codesourcery.com>
1718
1719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1720 not define.
1721 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1722 <kernel-features.h>.
1723 (__utimes) [__NR_utimes]: Make code unconditional.
1724 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1725 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1726 (__ASSUME_UTIMES): Do not undefine.
1727 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1728 (__ASSUME_UTIMES): Likewise.
1729 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1730 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1731 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1732 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1733
4c0c0e2a
SE
17342014-12-22 Steve Ellcey <sellcey@imgtec.com>
1735
1736 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1737
0dacd7a3
CM
17382014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1739
b638f96a
CM
1740 [BZ #17747]
1741 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1742 alias to weak alias for j0l, y0l.
1743 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1744 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1745
0dacd7a3
CM
1746 [BZ #17746]
1747 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1748 conversion.
1749
528479c4
SE
17502014-12-22 Steve Ellcey <sellcey@imgtec.com>
1751
1752 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1753 to zero if not already defined.
1754
f56f9124
JM
17552014-12-22 Joseph Myers <joseph@codesourcery.com>
1756
1757 [BZ #17724]
1758 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1759 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1760 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1761 (char *) casts added.
1762 * sysdeps/ieee754/k_standardf.c: New file.
1763 * sysdeps/ieee754/k_standardl.c: Likewise.
1764 * math/Makefile (libm-support): Remove k_standard.
1765 (libm-calls): Add k_standard.
1766
8622d556
WD
17672014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1768
1769 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1770 Optimize to avoid an unnecessary FPCR read.
1771
f3806bdb
WD
17722014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1773
1774 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1775 Optimize to reduce FPCR/FPSR accesses.
1776
9b47df58
WD
17772014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1778
1779 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1780 Call libc_fetestexcept_aarch64.
1781
97be3cac
WD
17822014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1783
1784 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1785 Call libc_fesetround_aarch64.
1786
935ab817
JM
17872014-12-22 Joseph Myers <joseph@codesourcery.com>
1788
1789 [BZ #17733]
1790 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1791 (__bind): Do not define as weak alias.
1792 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1793 define.
1794 (__getsockname): Do not define as weak alias.
1795
cc8623f1
WN
17962014-12-22 Will Newton <will.newton@linaro.org>
1797
1798 * manual/install.texi: Document that we require bison 2.7
1799 or above.
1800 * INSTALL: Regenerate.
1801 * configure.ac: Use AC_CHECK_PROG_VER instead of
1802 AC_PATH_PROG when checking for bison and check for
1803 version 2.7 or above.
1804 * configure: Regenerate.
1805
a19ca65a
CM
18062014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1807
92901170 1808 [BZ #17745]
e969965a
CM
1809 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1810 * sysdeps/tile/ffsll.c (ffsll): To here.
1811
a19ca65a
CM
1812 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1813
050f7298
L
18142014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1815
1816 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1817 if not defined.
1818 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1819 definition.
1820 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1821 hidden ___tls_get_addr.
1822 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1823 hidden __tls_get_addr.
1824 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1825 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1826 Likewise.
1827
6df5547e
AS
18282014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1829
1830 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1831 _dl_init call.
1832
7432d613
L
18332014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1834
1835 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1836 from "call _dl_init@PLT".
1837 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1838
98fe149e
AK
18392014-12-21 Anders Kaseorg <andersk@mit.edu>
1840
1841 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1842 guarantees.
1843
d12455f5
CM
18442014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1845
1846 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1847
95dee05f
CM
18482014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1849
92901170 1850 [BZ #17744]
95dee05f
CM
1851 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1852 strnlen.
1853
2ef4b74a
SE
18542014-12-19 Steve Ellcey <sellcey@imgtec.com>
1855
1856 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1857 of multu on MIPSr6.
1858 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1859 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1860 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1861 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1862 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1863
18642014-12-19 Steve Ellcey <sellcey@imgtec.com>
1865
1866 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1867 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1868 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1869 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1870 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1871 mips32r6/mips64r6.
1872 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1873
3eb38795
OB
18742014-12-19 Ondřej Bílka <neleai@seznam.cz>
1875
1876 * string/strncat.c (STRNCAT): Simplify implementation.
1877
6d4188dd
DM
18782014-12-19 David S. Miller <davem@davemloft.net>
1879
0d4ba8be
DM
1880 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1881 access the quad as both a long double and as a series of 4 words.
1882
6d4188dd
DM
1883 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1884 link_map->l_info array access.
1885
4ef91cdc
CM
18862014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1887
804c54f7
CM
1888 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1889
4ef91cdc
CM
1890 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1891 * math/atest-exp2.c (TIMEOUT): Likewise.
1892 * math/atest-sincos.c (TIMEOUT): Likewise.
1893
afd176d6
L
18942014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1895
1896 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1897 -Wno-error with -fno-builtin-lround.
1898
a4a43a90
TR
18992014-12-19 Torvald Riegel <triegel@redhat.com>
1900
1901 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1902 Contains futex constants and functions moved over from ...
1903 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1904 <lowlevellock-futex.h>.
1905 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1906 (lll_timedwait_tid): Add comments and parentheses around macro
1907 arguments.
1908
76f71081
TR
19092014-12-19 Torvald Riegel <triegel@redhat.com>
1910
1911 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1912 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1913 (__lll_private_flag): Remove.
1914 (lll_futex_wait): Likewise.
1915 (lll_futex_timed_wait): Likewise.
1916 (lll_futex_wake): Likewise.
1917 (lll_futex_requeue): Likewise.
1918 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1919 (__lll_timedwait_tid): Spell out argument names.
1920 (lll_timedwait_tid): Add comments and parentheses around macro
1921 arguments.
1922 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1923 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1924
6b814909
TR
19252014-12-19 Torvald Riegel <triegel@redhat.com>
1926
1927 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1928 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1929 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1930 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1931 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1932 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1933 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1934 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1935 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1936 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1937 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1938 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1939 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1940 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1941 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1942 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1943 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1944 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1945 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1946
9cd4d4ab
L
19472014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1948
1949 * sysdeps/x86_64/x32/Makefile: New file.
1950
c9c1a2d0
L
19512014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1952
1953 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1954 1L with (mp_limb_t) 1.
1955
af102d95
RM
19562014-12-17 Roland McGrath <roland@hack.frob.com>
1957
dd690454
RM
1958 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1959 * nptl/libc_pthread_init.c: ... here.
1960 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1961 * nptl/register-atfork.c: ... here.
1962
74eb826c
RM
1963 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1964 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1965 Use assert_perror to check its return value.
1966 (__gai_create_helper_thread): Likewise.
1967
c9ce306b
RM
1968 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1969
af102d95
RM
1970 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1971
8ac5a76a
JM
19722014-12-17 Joseph Myers <joseph@codesourcery.com>
1973
ea41469b
JM
1974 [BZ #17725]
1975 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1976 __profil_counter.
1977 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1978 Likewise.
1979 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1980 Likewise.
1981 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1982 Likewise.
1983 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1984 (profil_counter): Likewise.
1985 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1986 (profil_counter): Likewise.
1987 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1988 Likewise.
1989 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1990 Likewise.
1991 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1992 (profil_counter): Likewise.
1993 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1994 Likewise.
1995 [!__profil_counter] (profil_counter): Define as weak alias of
1996 __profil_counter.
1997 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1998 (profil_counter): Rename to __profil_counter.
1999 [!__profil_counter] (profil_counter): Define as weak alias of
2000 __profil_counter.
2001 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2002 (profil_counter): Rename to __profil_counter.
2003 [!__profil_counter] (profil_counter): Define as weak alias of
2004 __profil_counter.
2005 * sysdeps/posix/profil.c: Update comment referring to
2006 profil_counter.
2007 (__profil): Use __profil_counter instead of profil_counter.
2008 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2009 __profil_counter. Use __profil_counter_ushort and
2010 __profil_counter_uint in definitions.
2011 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2012 instead of profil_counter_uint and profil_counter_ushort.
2013
8ac5a76a
JM
2014 [BZ #17722]
2015 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2016 define as weak alias of __inet_makeaddr.
2017 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2018 as weak alias of __inet_addr.
2019 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2020 as weak alias of __inet_pton. Use libc_hidden_weak.
2021 * include/arpa/inet.h (__inet_pton): Declare. Use
2022 libc_hidden_proto.
2023 (inet_makeaddr): Don't use libc_hidden_proto.
2024 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2025 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2026 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2027 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2028 Remove variable.
2029 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2030 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2031
66ce3cb1
SE
20322014-12-17 Steve Ellcey <sellcey@imgtec.com>
2033
2034 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2035
d22ce01b
SL
20362014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2037
2038 * stdio-common/bug-vfprintf-nargs.c (do_test):
2039 Cast value to intptr_t to avoid format warning
2040 for usage with PRIdPTR printing macro.
2041
eca2772b
SL
20422014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2043
2044 * libio/tst-widetext.c (do_test):
2045 Use format type %td instead of %Zd for ptrdiff_t
2046 in order to avoid format warning.
2047
bdf079da
AS
20482014-12-17 Andreas Schwab <schwab@suse.de>
2049
2050 * nscd/mem.c (gc): Add size_t cast to match printf format.
2051
3eb5d2fc
RM
20522014-12-16 Roland McGrath <roland@hack.frob.com>
2053
2054 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2055 (init): Apply PTR_MANGLE to pointers before storing them.
2056 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2057 before using them.
2058
d003ada2
JM
20592014-12-16 Joseph Myers <joseph@codesourcery.com>
2060
380292ba
JM
2061 [BZ #17719]
2062 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2063 define as weak alias of __memrchr.
2064 (__memrchr): Do not define as strong alias of memrchr.
2065 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2066 Remove variable.
2067 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2068 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2069 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2070
9a44d530
JM
2071 [BZ #17717]
2072 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2073 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2074 (if_indextoname): Rename to __if_indextoname and define as weak
2075 alias of __if_indextoname. Use libc_hidden_weak.
2076 (if_freenameindex): Rename to __if_freenameindex and define as
2077 weak alias of __if_freenameindex.
2078 (if_nameindex): Rename to __if_nameindex and define as weak alias
2079 of __if_nameindex.
2080 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2081 __if_nametoindex and define as weak alias of __if_nametoindex.
2082 Use libc_hidden_weak.
2083 (if_freenameindex): Rename to __if_freenameindex and define as
2084 weak alias of __if_freenameindex.
2085 (if_nameindex): Rename to __if_nameindex and define as weak alias
2086 of __if_nameindex.
2087 (if_indextoname): Rename to __if_indextoname and define as weak
2088 alias of __if_indextoname. Use libc_hidden_weak.
2089 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2090 __if_nametoindex and define as weak alias of __if_nametoindex.
2091 Use libc_hidden_weak.
2092 (if_freenameindex): Rename to __if_freenameindex and define as
2093 weak alias of __if_freenameindex. Use libc_hidden_weak.
2094 (if_nameindex_netlink): Use __if_freenameindex instead of
2095 if_freenameindex.
2096 (if_nameindex): Rename to __if_nameindex and define as weak alias
2097 of __if_nameindex. Use libc_hidden_weak.
2098 (if_indextoname): Rename to __if_indextoname and define as weak
2099 alias of __if_indextoname. Use libc_hidden_weak.
2100 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2101 libc_hidden_proto.
2102 [!_ISOMAC] (__if_freenameindex): Likewise.
2103 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2104 if_nametoindex.
2105 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2106 variable.
2107 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2108 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2109 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2110 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2111 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2112 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2113 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2114
d003ada2
JM
2115 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2116 Remove variable.
2117 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2118 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2119
a0d424ef
SP
21202014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2121
0cd85520
SP
2122 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2123 subscript above bounds'
2124
a0d424ef
SP
2125 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2126 bounds.
2127
0e426475
AS
21282014-12-16 Arjun Shankar <arjun.is@lostca.se>
2129
8b460906
AS
2130 * libio/tst-fopenloc.c: Use test-skeleton.c.
2131
fa13e15b
AS
2132 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2133 (entry): Rename to ITEM.
2134 (do_test, comp): Adjust.
2135
0e426475
AS
2136 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2137
4f646bce
TR
21382014-12-16 Torvald Riegel <triegel@redhat.com>
2139
2140 * string/tester.c: Include <libc-internal.h>.
2141 (test_memset): Ignore -Wmemset-transposed-args.
2142
a07c4427
TR
21432014-12-16 Torvald Riegel <triegel@redhat.com>
2144
2145 * misc/tst-mntent2.c (do_test): Fix warning.
2146
1469f466
TR
21472014-12-16 Torvald Riegel <triegel@redhat.com>
2148
2149 * elf/tst-unique4lib.cc(a): Mark as used.
2150
11e3417a
FW
21512014-12-16 Florian Weimer <fweimer@redhat.com>
2152
2153 [BZ #17630]
2154 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2155 names.
2156
ae61fc7b
AM
21572014-12-16 Allan McRae <allan@archlinux.org>
2158
2159 * stdio-common/Makefile (tests): Re-add bug26.
2160
363a9899
OB
21612014-12-15 Ondřej Bílka <neleai@seznam.cz>
2162
2163 [BZ #17657]
2164 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2165 static array.
2166
d52c62df
TR
21672014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2168
2169 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2170 (__lll_lock_wait): Likewise.
2171 (__lll_timedlock_wait): Likewise.
2172 (__lll_timedwait_tid): Likewise.
2173 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2174 (__lll_robust_timedlock_wait): Likewise.
2175 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2176 (lll_cond_trylock): Likewise.
2177 (__lll_lock): Likewise.
2178 (__lll_robust_lock): Likewise.
2179 (__lll_cond_lock): Likewise.
2180 (lll_robust_cond_lock): Likewise.
2181 (__lll_timedlock): Likewise.
2182 (__lll_robust_timedlock): Likewise.
2183 (__lll_unlock): Likewise.
2184 (__lll_robust_unlock): Likewise.
2185 (lll_wait_tid): Likewise.
2186 (lll_timedwait_tid): Likewise.
2187
045a6bcd
TR
21882014-12-15 Torvald Riegel <triegel@redhat.com>
2189
2190 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2191
7f786dc1
TR
21922014-12-15 Torvald Riegel <triegel@redhat.com>
2193
2194 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2195
e7e21cba
AZ
21962014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2197
2198 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2199 * stdio-common/tst-sprintf.c: Likewise.
2200
bc89c0fc
TR
22012014-12-15 Torvald Riegel <triegel@redhat.com>
2202
2203 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2204
a5357b7c
JL
22052014-12-15 Jeff Law <law@redhat.com>
2206
2207 [BZ #16617]
2208 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2209 on the heap. (CVE-2012-3406)
2210 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2211 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2212 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2213
3a12c70f
WN
22142014-12-15 Will Newton <will.newton@linaro.org>
2215
2216 * manual/install.texi: Bump required version of texinfo
2217 to 4.7 from 4.5.
2218 * INSTALL: Regenerated.
2219 * configure.ac: Check for makeinfo version 4.7 and above.
2220 * configure: Regenerated.
2221
e4f639e4
RM
22222014-12-12 Roland McGrath <roland@hack.frob.com>
2223
2224 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2225 PREFIX, string constant to insert between directory and name.
2226 * sysdeps/posix/shm_open.c: Update caller.
2227 * sysdeps/posix/shm_unlink.c: Likewise.
2228 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2229 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2230 (SEM_SHM_PREFIX): New macro.
2231 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2232 [$(have-thread-library) = no].
2233 * nptl/Makefile (libpthread-routines): Add shm-directory.
2234 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2235 * sysdeps/nptl/shm-directory.h: New file.
2236 * sysdeps/posix/shm-directory.c
2237 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2238 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2239 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2240 INTERNAL_SYSCALL.
2241 (__where_is_shmfs): Function removed.
2242 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2243 Variables removed.
2244 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2245 Use SHM_GET_NAME.
2246 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2247
2248 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2249 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2250 unconditional for use inside libpthread.
2251 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2252
439c43f6
RM
22532014-12-12 Roland McGrath <roland@hack.frob.com>
2254
c76d1ff5
RM
2255 * nptl/pthread_getaffinity.c: New file.
2256 * nptl/pthread_setaffinity.c: New file.
2257 * nptl/pthread_getname.c: New file.
2258 * nptl/pthread_setname.c: New file.
2259
439c43f6
RM
2260 * nptl/pthread_create.c (START_THREAD_DEFN)
2261 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2262
48e435cd
SL
22632014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2264 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2265
2266 * resolv/res_send.c (send_vc): Disable warning resplen may
2267 be used uninitialized.
2268
9d9c0019
SL
22692014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2270
2271 * nptl/tst-mutex6.c
2272 (ATTR_NULL): New define checks ATTR against NULL.
2273 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2274 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2275
9173840b
JL
22762014-12-11 James Lemke <jwlemke@codesourcery.com>
2277
2278 [BZ #17581]
2279 * malloc/hooks.c
2280 (mem2mem_check): Revert my previous change.
2281 (malloc_check_get_size): Revert my previous change.
2282 (mem2chunk_check): Revert my previous change.
2283
78e21c5d
RM
22842014-12-11 Roland McGrath <roland@hack.frob.com>
2285
2286 * sysdeps/posix/shm-directory.c: New file.
2287 * sysdeps/posix/shm-directory.h: New file.
2288 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2289 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2290 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2291 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2292 Transmute EPERM to EACCES.
2293 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2294 from ...
2295 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2296 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2297
f82c43af
KK
22982014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2299
2300 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2301 pointer and cast to uintptr_t.
2302 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2303 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2304 Add cast to avoid warning.
2305 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2306
fc00cf7b
JM
23072014-12-11 Joseph Myers <joseph@codesourcery.com>
2308
2309 * nptl/semaphore.h: Move to ...
2310 * sysdeps/pthread/semaphore.h: ... here.
2311 * Makefile (installed-headers): Change nptl/semaphore.h to
2312 sysdeps/pthread/semaphore.h.
2313
1c4053db
RM
23142014-12-11 Roland McGrath <roland@hack.frob.com>
2315
73b0c1a1
RM
2316 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2317 generated error format strings.
2318
1c4053db
RM
2319 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2320 -Wformat-extra-args warnings for scanf formats.
2321 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2322 test of zero-length format (duh).
2323 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2324 corner-case scanf format test.
2325 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2326 generated fprintf format string.
2327 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2328 corner-case sprintf format tests.
2329 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2330 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2331 -Wformat-extra-args warnings throughout.
2332 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2333 (CFLAGS-scanf4.c): Likewise.
2334 (CFLAGS-scanf7.c): Likewise.
2335 (CFLAGS-tst-sprintf.c): Likewise.
2336 (CFLAGS-tst-printf.c): Likewise.
2337 (CFLAGS-tst-printfsz.c): Likewise.
2338
47d51f4f
JM
23392014-12-11 Joseph Myers <joseph@codesourcery.com>
2340
a1edbf3c
JM
2341 * include/cpio.h: New file.
2342 * include/fmtmsg.h: Likewise.
2343
47d51f4f
JM
2344 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2345 corresponding format argument to size_t.
2346 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2347 arguments.
2348 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2349 corresponding format argument to size_t.
2350 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2351 arguments.
2352 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2353 corresponding format argument to size_t.
2354 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2355 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2356 (CFLAGS-tst-mbswcs2.c): Likewise.
2357 (CFLAGS-tst-mbswcs3.c): Likewise.
2358 (CFLAGS-tst-mbswcs4.c): Likewise.
2359 (CFLAGS-tst-mbswcs5.c): Likewise.
2360 (CFLAGS-tst-trans.c): Likewise
2361
e9813cfb
RM
23622014-12-11 Roland McGrath <roland@hack.frob.com>
2363
2364 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2365 rather than assuming they won't contain any '%'s.
2366
f627ca82
CM
23672014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2368
2369 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2370 inhibit_loop_to_libcall to avoid recursive calls.
2371 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2372 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2373
7f296942
AZ
23742014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2375
2376 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2377 prototype.
2378
d0276e18
SE
23792014-12-11 Steve Ellcey <sellcey@imgtec.com>
2380
2381 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2382 integer value instead of boolean.
2383
fc56e970
SE
23842014-12-11 Steve Ellcey <sellcey@imgtec.com>
2385
2386 * malloc/malloc.c: Fix powerof2 check.
2387
40e53917
SL
23882014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2389
2390 * locale/programs/locfile.h (maybe_swap_uint32):
2391 Remove inline and add unused attribute.
2392
1ea166df
SL
23932014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2394
9d9c0019 2395 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2396 Truncating assembler expression to a .long expression.
2397
acf869f4
AS
23982014-12-11 Andreas Schwab <schwab@suse.de>
2399
2400 * elf/rtld.c (struct map_args): Constify str member.
2401 (do_preload): Constify fname argument.
2402
9d969099
AZ
24032014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2404
2405 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2406 constants definition.
2407
da5bcaa4
AS
24082014-12-11 Andreas Schwab <schwab@suse.de>
2409
b0a3c164
AS
2410 [BZ #16657]
2411 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2412 FORCE_ELISION instead of DO_ELISION.
2413 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2414 Remove.
2415 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2416 Likewise.
2417
da5bcaa4
AS
2418 * iconvdata/gconv-modules: Remove duplicate entry.
2419
6d248857
WN
24202014-12-11 Will Newton <will.newton@linaro.org>
2421
2422 Merge gettext 0.19.3 into intl/.
2423
2424 This involves a number of cosmetic changes to comments
2425 and ANSI function definitions and prototypes throughout
2426 all the files. The gettext copyright header is used but
2427 with the date ranges taken from the glibc copy.
2428
2429 * NEWS: Add gettext merge to 2.21.
2430 * intl/bindtextdom.c: Switch to gettext copyright.
2431 Use ANSI definitions and prototypes.
2432 Use gl_* locking primitives rather than __libc_* ones.
2433 Use __builtin_expect rather than __glibc_likely/unlikely.
2434 * intl/dcgettext.c: Switch to gettext copyright.
2435 Use ANSI definitions and prototypes.
2436 * intl/dcigettext.c: Switch to gettext copyright.
2437 Use ANSI definitions and prototypes.
2438 (INTDIV0_RAISES_SIGFPE): New define.
2439 Use gl_* locking primitives rather than __libc_* ones.
2440 Include eval-plural.h instead of plural-eval.c.
2441 Use __builtin_expect rather than __glibc_likely/unlikely.
2442 * intl/dcngettext.c: Switch to gettext copyright.
2443 Use ANSI definitions and prototypes.
2444 * intl/dgettext.c: Likewise.
2445 * intl/dngettext.c: Likewise.
2446 * intl/plural-eval.c: Renamed to...
2447 * intl/eval-plural.h: ...this.
2448 * intl/explodename.c: Switch to gettext copyright.
2449 Use ANSI definitions and prototypes.
2450 (_nl_explode_name): Use strchr instead of __rawmemchr.
2451 * intl/finddomain.c: Switch to gettext copyright.
2452 Use ANSI definitions and prototypes.
2453 Use gl_* locking primitives rather than __libc_* ones.
2454 (_nl_find_domain): Use malloc rather than alloca for
2455 allocation of temporary locale name.
2456 * intl/gettext.c: Switch to gettext copyright.
2457 Use ANSI definitions and prototypes.
2458 * intl/gettextP.h: Switch to gettext copyright.
2459 Use ANSI definitions and prototypes.
2460 Use gl_* locking primitives rather than __libc_* ones.
2461 * intl/gmo.h: Switch to gettext copyright.
2462 (struct sysdep_string): Move struct segment_pair outside of
2463 struct definition.
2464 * intl/hash-string.c: Use ANSI definitions and prototypes.
2465 * intl/hash-string.h: Switch to gettext copyright.
2466 Use ANSI definitions and prototypes.
2467 * intl/l10nflist.c: Switch to gettext copyright.
2468 Use ANSI definitions and prototypes.
2469 (_nl_normalize_codeset): Avoid integer overflow.
2470 * intl/loadinfo.h: Switch to gettext copyright.
2471 Use ANSI definitions and prototypes.
2472 (LIBINTL_DLL_EXPORTED): New define.
2473 (PATH_SEPARATOR): New define.
2474 * intl/loadmsgcat.c: Switch to gettext copyright.
2475 * intl/localealias.c: Switch to gettext copyright.
2476 Use ANSI definitions and prototypes.
2477 (_nl_expand_alias): Use PATH_SEPARATOR.
2478 * intl/ngettext.c: Switch to gettext copyright.
2479 Use ANSI definitions and prototypes.
2480 * intl/plural-exp.c: Likewise.
2481 * intl/plural-exp.h: Switch to gettext copyright.
2482 Use ANSI definitions and prototypes.
2483 (struct expression): Move definition of enum operator outside
2484 of struct definition.
2485 * intl/plural.c: Regenerate.
2486 * intl/plural.y: Switch to gettext copyright.
2487 Use ANSI definitions and prototypes.
2488 Port to bison 3.0.
2489 * intl/textdomain.c: Switch to gettext copyright.
2490 Use ANSI definitions and prototypes.
2491 Use gl_* locking primitives rather than __libc_* ones.
2492
48c43298
SE
24932014-12-10 Steve Ellcey <sellcey@imgtec.com>
2494
2495 * debug/warning-nop.c: Add used atrribute.
2496
2b89bce9
JM
24972014-12-10 Joseph Myers <joseph@codesourcery.com>
2498
c153ac9f
JM
2499 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2500
2b89bce9
JM
2501 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2502 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2503 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2504
2cfbdb9a
JM
25052014-12-10 Joseph Myers <joseph@codesourcery.com>
2506 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2507
2508 [BZ #17634]
2509 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2510 Undefine after defining function. Define as weak alias of
2511 __wcschr. Use libc_hidden_weak.
2512 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2513 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2514 (libc_hidden_def): Also define __GI___wcschr alias.
2515 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2516 __wcschr and define as weak alias of __wcschr.
2517 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2518 __wcschr.
2519 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2520 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2521 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2522 libc_hidden_weak. Do not use libc_hidden_def.
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2524 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2525 __GI___wcschr alias.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2527 [IS_IN (libc)] (wcschr): Define as macro expanding to
2528 __redirect_wcschr.
2529 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2530 [IS_IN (libc)] (__wcschr_power6): Likewise.
2531 [IS_IN (libc)] (__wcschr_power7): Likewise.
2532 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2533 instead of wcschr.
2534 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2535 __libc_wcschr.
2536 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2537 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2538 __wcschr and define as weak alias of __wcschr. Use
2539 libc_hidden_builtin_def.
2540 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2541 as weak alias of __wcschr. Use libc_hidden_weak.
2542 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2543 wcschr.
2544 * time/era.c (_nl_init_era_entries): Likewise.
2545 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2546 variable.
2547 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2548 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2549
1b8bf351
JM
25502014-12-10 Joseph Myers <joseph@codesourcery.com>
2551
2552 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2553 format for long int variable.
2554
f5f46d51
AK
25552014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2556
2557 [BZ #10672]
07008f7d 2558 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2559 qsort stable.
2560
217a74a8
AS
25612014-12-10 Andreas Schwab <schwab@suse.de>
2562
2563 [BZ #12847]
2564 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2565 user-controlled locks.
2566
aa76a5c7
RE
25672014-12-10 Richard Earnshaw <rearnsha@arm.com>
2568
2569 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2570 register.
2571
2084e7ca
JM
25722014-12-10 Joseph Myers <joseph@codesourcery.com>
2573
a4ecc9eb
JM
2574 * configure.ac (--disable-werror): New configure option.
2575 (enable_werror): New AC_SUBST.
2576 * configure: Regenerated.
2577 * config.make.in (enable-werror): New variable.
2578 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2579 -Wno-error=undef.
2580 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2581 * manual/install.texi (Configuring and compiling): Document
2582 --disable-werror.
2583 * INSTALL: Regenerated.
2584 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2585 (CFLAGS-tst-chk2.c): Likewise.
2586 (CFLAGS-tst-chk3.c): Likewise.
2587 (CFLAGS-tst-chk4.cc): Likewise.
2588 (CFLAGS-tst-chk5.cc): Likewise.
2589 (CFLAGS-tst-chk6.cc): Likewise.
2590 (CFLAGS-tst-lfschk1.c): Likewise.
2591 (CFLAGS-tst-lfschk2.c): Likewise.
2592 (CFLAGS-tst-lfschk3.c): Likewise.
2593 (CFLAGS-tst-lfschk4.cc): Likewise.
2594 (CFLAGS-tst-lfschk5.cc): Likewise.
2595 (CFLAGS-tst-lfschk6.cc): Likewise.
2596
0f88636c
JM
2597 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2598 (main): Disable -Wdeprecated-declarations around calls to
2599 register_printf_function.
2600
c81e9deb
JM
2601 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2602 (do_test): Disable -Wdiv-by-zero around some calls to
2603 fwrite_unlocked and fread_unlocked.
2604
2084e7ca
JM
2605 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2606 (DIAG_POP_NEEDS_COMMENT): Likewise.
2607 (_DIAG_STR1): Likewise.
2608 (_DIAG_STR): Likewise.
2609 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2610 * stdio-common/bug21.c: Include <libc-internal.h>.
2611 (do_test): Disable -Wformat around call to sscanf.
2612 * stdio-common/scanf14.c: Include <libc-internal.h>.
2613 (main): Disable -Wformat around some calls to scanf functions.
2614
df7ecc6b
TR
26152014-12-09 Torvald Riegel <triegel@redhat.com>
2616
2617 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2618
2aa3862e
AZ
26192014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2620
2621 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2622 stack variable alignment.
2623
c5c2b7c3
JM
26242014-12-06 Joseph Myers <joseph@codesourcery.com>
2625
2626 [BZ #17682]
2627 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2628 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2629 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2630 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2631 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2632 __getrlimit instead of getrlimit.
2633 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2634 __gettimeofday instead of gettimeofday.
2635 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2636 Likewise.
2637 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2638 Likewise.
2639 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2640 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2641 Remove variable.
2642 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2643 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2644
9752c3cd
AZ
26452014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2646
2647 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2648 for wide-character tests.
2649
4bee4cd9
RM
26502014-12-04 Roland McGrath <roland@hack.frob.com>
2651
2652 * io/openat64.c: #include <libc-internal.h>
2653 (__openat64): Prototypify. Use ignore_value on MODE.
2654 * io/openat.c: Likewise.
2655 * misc/reboot.c: #include <libc-internal.h>
2656 (reboot): Prototypify. Use ignore_value on HOWTO.
2657 * misc/ptrace.c: #include <libc-internal.h>
2658 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2659
84dbedb6
JM
26602014-12-04 Joseph Myers <joseph@codesourcery.com>
2661
2662 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2663 XPG4, UNIX98 and XOPEN2K.
2664 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2665 Remove variable.
2666 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2667
b7a3e1c4 26682014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2669
af50dfc1 2670 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2671 * libio/iofopen.c: Likewise.
2672 * libio/wfileops.c: Likewise.
2673
fe8b4d98
SP
2674 [BZ #17653]
2675 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2676 offset on EOF.
2677 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2678 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2679 (fgets_func): Function pointer to fgets and fgetws.
2680 (do_ftell_test): Add test to verify ftell value after read
2681 EOF.
2682 (do_test): Set fgets_func.
2683
61b4f792
SP
2684 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2685 O_TRUNC flag for w and w+ modes.
2686 (do_rewind_test): Likewise.
2687 (do_ftell_test): Likewise.
2688 (do_write_test): Likewise.
2689
be349d70
SP
2690 [BZ #17647]
2691 * libio/fileops.c (do_ftell): Seek only when there are
2692 unflushed writes.
2693 * libio/wfileops.c (do_ftell_wide): Likewise.
2694 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2695 test case.
2696 (do_one_test): Call it.
2697
e3d6dba5
JM
26982014-12-03 Joseph Myers <joseph@codesourcery.com>
2699
2700 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2701 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2702 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2703 Remove variable.
2704 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2705 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2706 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2707
7f994279
JM
27082014-12-02 Joseph Myers <joseph@codesourcery.com>
2709
28a91e8f
JM
2710 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2711 Remove variable.
2712 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2713
7f994279
JM
2714 [BZ #17668]
2715 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2716 as weak alias of __getifaddrs. Use libc_hidden_weak.
2717 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2718 __freeifaddrs. Use libc_hidden_weak.
2719 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2720 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2721 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2722 __freeifaddrs. Use libc_hidden_weak.
2723 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2724 __getifaddrs and define as weak alias of __getifaddrs. Use
2725 libc_hidden_weak.
2726 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2727 __freeifaddrs. Use libc_hidden_weak.
2728 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2729 Remove variable.
2730 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2731 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2732
bbe4c142
PJ
27332014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2734
2735 [BZ #17601]
2736 * sysdeps/mips/start.S (__start): Use indirect jump to call
2737 __libc_start_main.
2738
66cadc05
JM
27392014-12-02 Joseph Myers <joseph@codesourcery.com>
2740
909e16d9
JM
2741 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2742
4e0b9016
JM
2743 * nptl/tst-mutex1.c: Include <stdbool.h>.
2744 [!ATTR] (ATTR_NULL): New macro.
2745 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2746 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2747 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2748
b1aff6a4
JM
2749 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2750 to char *.
2751
266865c0
JM
2752 [BZ #17665]
2753 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2754 Change conditional to [__USE_MISC].
2755
84e5e756
JM
2756 [BZ #17664]
2757 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2758 fgets_unlocked.
2759 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2760 __fgets_unlocked.
2761 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2762 fgets_unlocked.
2763 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2764 Remove variable.
2765 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2766 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2767 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2768 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2769 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2770 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2771 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2772 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2773 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2774
66cadc05
JM
2775 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2776
2e8a2de2 27772014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2778
2779 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2780 Remove strpbrk objects.
2781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2782 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2783 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2784 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2785 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2786 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2787
bb2542e0
AZ
2788 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2789 Remove strcspn objects.
2790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2791 (__libc_ifunc_impl_list): Remove strcspn implementation.
2792 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2793 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2794 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2795 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2796
2797 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2798 Remove strspn objetcs.
2799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2800 (__libc_ifunc_impl_list): Remove strspn implementation.
2801 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2802 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2803 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2804 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2805
08f1e1d2
JL
28062014-12-01 James Lemke <jwlemke@codesourcery.com>
2807
2808 [BZ #17581]
2809 * malloc/hooks.c
2810 (mem2mem_check): Add a terminator to the chain of checking blocks.
2811 (malloc_check_get_size): Use it here.
2812 (mem2chunk_check): Ditto.
2813
a8a7d7d2
RS
28142014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2815
2816 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2817 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2818
97114a38
CD
28192014-11-29 Carlos O'Donell <carlos@redhat.com>
2820
c8dc1727
CD
2821 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2822
6d03458e
CD
2823 * nptl/nptl-init.c: Include libc-internal.h.
2824 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2825
97114a38
CD
2826 * elf/ldconfig.c (search_dir): Expand comment.
2827
0e7e69ba
JM
28282014-11-29 Joseph Myers <joseph@codesourcery.com>
2829
2830 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2831 variable.
2832 (linknamespace-symlist-stdlibs-tests): Likewise.
2833 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2834 instead of $(objpfx)symlist-stdlibs.
2835 (linknamespace-libs-isoc): New variable.
2836 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2837 (linknamespace-libs-ISO): New variable.
2838 (linknamespace-libs-ISO99): Likewise.
2839 (linknamespace-libs-ISO11): Likewise.
2840 (linknamespace-libs-XPG3): Likewise.
2841 (linknamespace-libs-XPG4): Likewise.
2842 (linknamespace-libs-POSIX): Likewise.
2843 (linknamespace-libs-UNIX98): Likewise.
2844 (linknamespace-libs-XOPEN2K): Likewise.
2845 (linknamespace-libs-POSIX2008): Likewise.
2846 (linknamespace-libs-XOPEN2K8): Likewise.
2847 ($(objpfx)symlist-stdlibs): Replace by
2848 $(linknamespace-symlist-stdlibs-tests). Use
2849 $(linknamespace-libs-$*) as set of libraries.
2850 ($(linknamespace-header-tests)): Update dependencies. Use
2851 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2852 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2853 * conform/linknamespace.pl: Remove comment about considering
2854 definitions of symbols from irrelevant libraries.
2855
d8dd0080
L
28562014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2857
2858 [BZ #13862]
2859 * elf/dl-tls.c: Include <atomic.h>.
2860 (oom): Remove #ifdef SHARED/#endif.
2861 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2862 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2863 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2864 big enough.
2865 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2866 * nptl/Makefile (tests): Add tst-stack4.
2867 (modules-names): Add tst-stack4mod.
2868 ($(objpfx)tst-stack4): New.
2869 (tst-stack4mod.sos): Likewise.
2870 ($(objpfx)tst-stack4.out): Likewise.
2871 ($(tst-stack4mod.sos)): Likewise.
2872 (clean): Likewise.
2873 * nptl/tst-stack4.c: New file.
2874 * nptl/tst-stack4mod.c: Likewise.
2875
167da422
B
28762014-11-27 J. Brown <jb999@gmx.de>
2877
2878 * sysdeps/x86/bits/string.h: Add recent CPUs.
2879
9114625b
JM
28802014-11-27 Joseph Myers <joseph@codesourcery.com>
2881
6b5189eb
JM
2882 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2883 sigblock.
2884
49051f8e
JM
2885 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2886 feof.
2887
9114625b
JM
2888 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2889 variable.
2890
e7300fef
SL
28912014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2892
2893 * nscd/connections.c: Include libc-internal.h because of macro
2894 usage ignore_value.
2895
1721f0a4
SP
28962014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2897
2898 * string/bits/string3.h (__warn_memset_zero_len): Don't
2899 declare for gcc newer than 5.0.
2900 (memset): Don't test for zero-length __LEN for gcc newer than
2901 5.0.
2902
be970916
JM
29032014-11-27 Joseph Myers <joseph@codesourcery.com>
2904
d88548f4
JM
2905 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2906 size_t for %zu format.
2907
be970916
JM
2908 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2909 difference, not %ju.
2910
3b20fd5c
JM
29112014-11-26 Joseph Myers <joseph@codesourcery.com>
2912
8915eace
JM
2913 * include/libc-internal.h (ignore_value): New macro.
2914 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2915 with ignore_value.
2916
f1a5a0e3
JM
2917 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2918 definition.
2919
59ef1715
JM
2920 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2921 pthread_cleanup_push to void *.
2922
a6f3079b
JM
2923 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2924 Undefine.
2925
706688aa
JM
2926 [BZ #16619]
2927 [BZ #16740]
2928 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2929 instead of 1L << 52.
2930
12da14a5
JM
2931 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2932 * libio/bug-rewind2.c (do_test): Likewise.
2933
bd5dadac
JM
2934 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2935 * debug/test-strcpy_chk-ifunc.c: Likewise.
2936 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2937 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2938 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2939 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2940 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2941 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2942 * Rules [$(multi-arch) = no] (tests): Do not filter out
2943 $(tests-ifunc).
2944 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2945 * debug/Makefile (tests-ifunc): Remove variable.
2946 (tests): Do not add $(tests-ifunc).
2947 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2948 (tests): Do not add $(tests-ifunc).
2949 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2950 [TEST_IFUNC]: Remove conditionals.
2951 * string/test-string.h (TEST_IFUNC): Remove macro.
2952 [TEST_IFUNC]: Remove conditionals.
2953
3b20fd5c
JM
2954 * string/test-strchr.c [!WIDE] (L): New macro.
2955 [WIDE] (L): Likewise.
2956 (check1): Use CHAR instead of char. Use L on string and character
2957 constants.
2958
704f7947
AZ
29592014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2960
2961 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2962 tests.
2963 * sysdeps/powerpc/bits/atomic.h
2964 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2965 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2966 (atomic_exchange_and_add_acq): Likewise.
2967 (atomic_exchange_and_add_rel): Likewise.
2968 * sysdeps/powerpc/powerpc32/bits/atomic.h
2969 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2970 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2971 * sysdeps/powerpc/powerpc64/bits/atomic.h
2972 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2973 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2974
cdcb42d7
TR
29752014-11-26 Torvald Riegel <triegel@redhat.com>
2976
2977 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2978 Change synchronization of __sched_fifo_min_prio and
2979 __sched_fifo_max_prio.
2980 * nptl/pthread_mutexattr_getprioceiling.c
2981 (pthread_mutexattr_getprioceiling): Likewise.
2982 * nptl/pthread_mutexattr_setprioceiling.c
2983 (pthread_mutexattr_setprioceiling): Likewise.
2984 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2985 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2986 Likewise.
2987
c82f5c0c
JM
29882014-11-26 Joseph Myers <joseph@codesourcery.com>
2989
2990 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2991 void.
2992
439e1ad6
JM
29932014-11-25 Joseph Myers <joseph@codesourcery.com>
2994
2995 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2996 third argument const.
2997
b1eda10e
PE
29982014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2999
3000 fnmatch: work around GCC compiler warning bug with uninit var
3001 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3002 This works around a bug with x86-64 GCC 4.9.2 and earlier
3003 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3004 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3005 used uninitialized in this function [-Wmaybe-uninitialized]".
3006
bde2667a
JM
30072014-11-25 Joseph Myers <joseph@codesourcery.com>
3008
3009 * posix/bug-regex31.c (main): Return RES not 0.
3010
5fbb5691
AB
30112014-11-25 Anton Blanchard <anton@samba.org>
3012
3013 * sysdeps/powerpc/bits/atomic.h
3014 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3015
467fec0b
BM
30162014-11-24 Sterling Augustine <saugustine@google.com>
3017
3018 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3019
e9ff8efb
RC
30202014-11-24 Ryan Cumming <etaoins@gmail.com>
3021
3022 [BZ #17608]
3023 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3024
9744496f
JM
30252014-11-24 Joseph Myers <joseph@codesourcery.com>
3026
3027 [BZ #17633]
3028 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3029 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3030 variable.
3031 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3032 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3033
6423d475
WD
30342014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3035
3036 * string/strncpy.c (strncpy): Improve performance by using memset.
3037
30382014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3039
3040 * string/strcpy.c (strcpy):
3041 Improve performance by using strlen and memcpy.
3042
5d178c37
LH
30432014-11-24 Leonhard Holz <leonhard.holz@web.de>
3044
3045 * string/strcoll_l.c (get_next_seq): __always_inline.
3046 * string/strcoll_l.c (do_compare): __always_inline.
3047
279bc5b3
SP
30482014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3049
7a9ebfa1
SP
3050 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3051 defined.
3052 * include/mqueue.h: Likewise.
3053 * include/stdlib.h: Likewise.
3054
4f41c682
SP
3055 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3056 (get_null_defines): Adjust.
3057 * sunrpc/Makefile: Adjust comment.
3058 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3059 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3060 (CFLAGS-interp.c): Likewise.
3061 (CFLAGS-ldconfig.c): Likewise.
3062 (CPPFLAGS-.os): Likewise.
3063 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3064 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3065 * extra-modules.mk (extra-modules.mk): Likewise.
3066 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3067 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3068 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3069 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3070 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3071 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3072 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3073 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3074 * iconvdata/Makefile (CPPFLAGS): Likewise.
3075 (cpp-srcs-left): Add libof for all iconvdata routines.
3076 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3077 * include/assert.h: Likewise.
3078 * include/ctype.h: Likewise.
3079 * include/errno.h: Likewise.
3080 * include/libc-symbols.h: Likewise.
3081 * include/math.h: Likewise.
3082 * include/netdb.h: Likewise.
3083 * include/resolv.h: Likewise.
3084 * include/stdio.h: Likewise.
3085 * include/stdlib.h: Likewise.
3086 * include/string.h: Likewise.
3087 * include/sys/stat.h: Likewise.
3088 * include/wctype.h: Likewise.
3089 * intl/l10nflist.c: Likewise.
3090 * libidn/idn-stub.c: Likewise.
3091 * libio/libioP.h: Likewise.
3092 * nptl/libc_multiple_threads.c: Likewise.
3093 * nptl/pthreadP.h: Likewise.
3094 * posix/regex_internal.h: Likewise.
3095 * resolv/res_hconf.c: Likewise.
3096 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3097 * sysdeps/arm/memmove.S: Likewise.
3098 * sysdeps/arm/sysdep.h: Likewise.
3099 * sysdeps/generic/_itoa.h: Likewise.
3100 * sysdeps/generic/symbol-hacks.h: Likewise.
3101 * sysdeps/gnu/errlist.awk: Likewise.
3102 * sysdeps/gnu/errlist.c: Likewise.
3103 * sysdeps/i386/i586/memcpy.S: Likewise.
3104 * sysdeps/i386/i586/memset.S: Likewise.
3105 * sysdeps/i386/i686/memcpy.S: Likewise.
3106 * sysdeps/i386/i686/memmove.S: Likewise.
3107 * sysdeps/i386/i686/mempcpy.S: Likewise.
3108 * sysdeps/i386/i686/memset.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3110 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3111 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3112 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3113 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3114 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3115 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3116 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3117 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3119 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3120 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3121 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3122 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3126 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3146 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3156 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3158 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3159 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3160 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3162 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3163 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3164 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3165 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3166 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3167 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3168 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3169 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3170 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3171 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3172 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3173 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3174 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3175 * sysdeps/posix/closedir.c: Likewise.
3176 * sysdeps/posix/opendir.c: Likewise.
3177 * sysdeps/posix/readdir.c: Likewise.
3178 * sysdeps/posix/rewinddir.c: Likewise.
3179 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3180 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3181 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3182 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3183 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3184 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3185 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3190 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3191 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3192 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3193 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3194 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3195 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3196 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3197 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3198 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3199 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3200 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3201 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3202 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3203 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3207 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3214 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3215 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3216 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3217 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3218 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3219 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3220 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3221 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3223 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3224 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3225 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3226 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3227 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3228 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3229 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3230 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3231 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3232 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3233 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3234 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3235 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3236 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3237 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3238 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3239 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3240 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3241 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3242 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3243 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3244 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3245 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3246 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3247 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3248 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3249 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3250 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3251 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3252 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3253 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3254 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3255 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3256 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3257 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3258 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3259 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3260 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3261 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3262 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3263 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3264 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3265 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3266 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3267 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3268 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3269 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3270 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3271 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3272 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3275 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3277 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3278 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3279 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3280 * sysdeps/unix/alpha/sysdep.S: Likewise.
3281 * sysdeps/unix/alpha/sysdep.h: Likewise.
3282 * sysdeps/unix/make-syscalls.sh: Likewise.
3283 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3284 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3285 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3286 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3287 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3288 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3289 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3290 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3291 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3292 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3293 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3294 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3296 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3297 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3298 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3299 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3300 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3301 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3302 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3303 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3304 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3305 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3306 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3307 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3308 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3309 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3312 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3313 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3316 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3317 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3321 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3322 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3323 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3324 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3325 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3326 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3327 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3333 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3334 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3335 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3336 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3338 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3339 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3341 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3342 * sysdeps/x86_64/memcpy.S: Likewise.
3343 * sysdeps/x86_64/memmove.c: Likewise.
3344 * sysdeps/x86_64/memset.S: Likewise.
3345 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3347 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3348 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3349 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3350 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3352 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3353 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3354 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3355 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3356 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3357 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3358 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3359 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3360 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3361 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3362 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3363 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3364 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3365 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3366 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3367 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3368 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3369 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3370 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3371 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3372 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3373 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3374 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3375 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3376 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3377 * sysdeps/x86_64/strcmp.S: Likewise.
3378
76ca86a5
SP
3379 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3380
a3848485
SP
3381 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3382 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3383 * elf/rtld-Rules: Likewise.
3384 * elf/setup-vdso.h: Likewise.
3385 * include/assert.h: Likewise.
3386 * include/bits/stdlib-float.h: Likewise.
3387 * include/errno.h: Likewise.
3388 * include/sys/stat.h: Likewise.
3389 * include/unistd.h: Likewise.
3390 * sysdeps/aarch64/setjmp.S: Likewise.
3391 * sysdeps/alpha/setjmp.S: Likewise.
3392 * sysdeps/arm/__longjmp.S: Likewise.
3393 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3394 * sysdeps/arm/setjmp.S: Likewise.
3395 * sysdeps/arm/sysdep.h: Likewise.
3396 * sysdeps/generic/_itoa.h: Likewise.
3397 * sysdeps/generic/dl-sysdep.h: Likewise.
3398 * sysdeps/generic/ldsodefs.h: Likewise.
3399 * sysdeps/i386/dl-tls.h: Likewise.
3400 * sysdeps/i386/setjmp.S: Likewise.
3401 * sysdeps/m68k/setjmp.c: Likewise.
3402 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3403 * sysdeps/mach/hurd/opendir.c: Likewise.
3404 * sysdeps/posix/getcwd.c: Likewise.
3405 * sysdeps/posix/opendir.c: Likewise.
3406 * sysdeps/posix/profil.c: Likewise.
3407 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3408 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3409 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3410 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3411 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3412 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3413 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3414 * sysdeps/s390/dl-tls.h: Likewise.
3415 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3416 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3417 * sysdeps/sh/sh3/setjmp.S: Likewise.
3418 * sysdeps/sh/sh4/setjmp.S: Likewise.
3419 * sysdeps/unix/alpha/sysdep.h: Likewise.
3420 * sysdeps/unix/arm/sysdep.S: Likewise.
3421 * sysdeps/unix/i386/sysdep.S: Likewise.
3422 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3423 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3424 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3425 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3426 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3427 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3428 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3429 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3430 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3431 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3432 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3433 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3434 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3437 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3438 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3440 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3441 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3445 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3446 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3447 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3449 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3450 * sysdeps/x86_64/setjmp.S: Likewise.
3451
a109996e
SP
3452 * include/math.h: Use IS_IN instead of IS_IN_libm.
3453 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3455 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3456 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3457 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3458 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3460 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3461 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3462 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3463 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3464 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3465 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3466 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3467 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3468 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3469 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3470 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3471 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3472 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3473 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3474 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3475 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3476 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3477 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3478 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3479 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3480 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3481 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3482 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3483 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3484 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3485 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3487 Likewise.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3489 Likewise.
3490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3491 Likewise.
3492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3493 Likewise.
3494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3495 Likewise.
3496 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3497 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3498 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3499 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3500 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3501 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3507 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3508 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3509 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3510 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3511 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3512 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3513 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3514 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3515 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3516 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3517 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3518 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3519 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3520 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3522 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3523
ce9f10f7
SP
3524 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3525 * nptl/pthreadP.h: Likewise.
3526 * nptl_db/structs.def: Likewise.
3527 * sysdeps/arm/sysdep.h: Likewise.
3528 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3529 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3530 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3531 * sysdeps/unix/alpha/sysdep.h: Likewise.
3532 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3534 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3535 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3536 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3537 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3538 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3539 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3540 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3541 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3542 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3543 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3544 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3545 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3548 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3549 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3550 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3551 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3553 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3554 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3555 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3556 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3557 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3558
016afc75
SP
3559 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3560 * nptl/pthreadP.h: Likewise.
3561 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3562 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3563 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3564 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3565 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3566 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3567 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3568 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3569 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3570 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3571 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3572 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3574 Likewise.
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3576 Likewise.
3577 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3578 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3579 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3580 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3582 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3583 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3584 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3585
9b42a0b3
SP
3586 * dlfcn/dladdr.c: Use IS_IN.
3587 * dlfcn/dladdr1.c: Likewise.
3588 * dlfcn/dlclose.c: Likewise.
3589 * dlfcn/dlerror.c: Likewise.
3590 * dlfcn/dlinfo.c: Likewise.
3591 * dlfcn/dlmopen.c: Likewise.
3592 * dlfcn/dlopen.c: Likewise.
3593 * dlfcn/dlsym.c: Likewise.
3594 * dlfcn/dlvsym.c: Likewise.
3595
85f36372
SP
3596 * include/ifaddrs.h: Use IS_IN.
3597 * inet/check_pf.c: Likewise.
3598 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3599 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3600
fb6784e3
SP
3601 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3602 IS_IN_ldconfig.
3603 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3604 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3605
2886d2d1
SP
3606 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3607 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3608 IS_IN (libc).
3609
9a484857
SP
3610 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3611
a10178bd
SP
3612 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3613 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3614 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3615 * include/libc-symbols.h (IS_IN_LIB): New macro.
3616 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3617 * include/netdb.h: Likewise.
3618 * include/stap-probe.h: Remove all uses of IN_LIB.
3619
279bc5b3
SP
3620 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3621 instead of IN_MODULE.
3622 * include/libc-symbols.h (IN_MODULE): Define using
3623 MODULE_NAME.
3624 (PASTE_NAME, PASTE_NAME1): New macros.
3625 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3626 of IN_LIB.
3627 (STAP_PROBE_ASM): Likewise.
3628
e0cfa510
ST
36292014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3630
3631 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3632 __mach_init in dlopened libc.
3633
34d97d87
MF
36342014-11-22 Mike Frysinger <vapier@gentoo.org>
3635
3636 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3637 * sysdeps/arm/preconfigure: Regenerate.
3638
33cd1f74
RM
36392014-11-21 Roland McGrath <roland@hack.frob.com>
3640
3641 * nptl/pthread_create.c (__pthread_create_2_1): Set
3642 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3643 when copying values from IATTR into PD.
3644
8c230039
WN
36452014-11-21 Will Newton <will.newton@linaro.org>
3646 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3647
6d3db89b
AP
3648 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3649 Refactor inline-asm. Also add comment.
3650
01194ba1
WN
3651 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3652 ElfW macro instead of hardcoded Elf64 types.
3653 (la_aarch64_gnu_pltenter): Likewise.
3654 * sysdeps/aarch64/dl-machine.h
3655 (elf_machine_runtime_setup): Use ElfW(Addr).
3656
8c230039
WN
3657 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3658 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3659 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3660 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3661 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3662 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3663 (R_AARCH64_TLS_DTPMOD): This.
3664 (R_AARCH64_TLS_DTPREL64): Rename to ...
3665 (R_AARCH64_TLS_DTPREL): This.
3666 (R_AARCH64_TLS_TPREL64): Rename to ...
3667 (R_AARCH64_TLS_TPREL): This.
3668 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3669 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3670 R_AARCH64_TLS_TPREL64.
3671 (elf_machine_rela): Likewise.
3672
0d79fa53
TR
36732014-11-21 Torvald Riegel <triegel@redhat.com>
3674
3675 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3676 by setting it to 0. 64b atomics are not supported currently.
3677
b59d114b
AO
36782014-11-21 Alexandre Oliva <aoliva@redhat.com>
3679
3680 [BZ #16469]
3681 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3682 search domain names.
3683
f3d945d5
AO
36842014-11-21 Alexandre Oliva <aoliva@redhat.com>
3685
3686 [BZ #16469]
3687 * NEWS: Update.
3688 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3689 trailing dot.
3690 * posix/tst-getaddrinfo5.c: New.
3691 * posix/Makefile (tests): Add it.
3692
49698902
AO
36932014-11-21 Alexandre Oliva <aoliva@redhat.com>
3694
3695 [BZ #14498]
3696 * NEWS: Fixed.
3697 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3698 after parsing line but before break_if_match.
3699 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3700 if there is a protocol mismatch.
3701
81959214
MS
37022014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3703
3704 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3705 because the potential race is on the user-supplied stream.
3706
7729e0e9
AO
37072014-11-21 Alexandre Oliva <aoliva@redhat.com>
3708
3709 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3710 string literal if not passed a buffer.
3711 * manual/job.texi (ctermid): Update reasoning, note deviation
3712 from posix, suggest mtasurace when not passed a buffer, for
3713 future non-preliminary safety notes.
3714
a4ea5e28
AO
37152014-11-21 Alexandre Oliva <aoliva@redhat.com>
3716
3717 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3718 of not passing it a buffer.
3719 Reported by Peng Haitao.
3720
a2b581cb
AO
37212014-11-21 Alexandre Oliva <aoliva@redhat.com>
3722
3723 * manual/Makefile ($(objpfx)stamp-summary): Require
3724 check-safety.sh to pass.
3725 * manual/check-safety.sh: Wish for verification that every
3726 @deftypefn and @deftypefun is followed by a @safety remark.
3727
f214ff74
RM
37282014-11-20 Roland McGrath <roland@hack.frob.com>
3729
7f0dfae0
RM
3730 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3731
2f531bbb
RM
3732 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3733 PTHREAD_CANCEL_ASYNCHRONOUS.
3734 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3735 send SIGCANCEL.
3736
f214ff74
RM
3737 * nptl/default-sched.h: New file.
3738 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3739 * nptl/pthread_create.c: Include it.
3740 (__pthread_create_2_1): Use collect_default_sched instead of making
3741 Linux syscalls here directly.
3742
e37c91d4
TR
37432014-11-20 Torvald Riegel <triegel@redhat.com>
3744
3745 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3746 __pthread_once): Use C11 atomics.
3747
1eccfecd
TR
37482014-11-20 Torvald Riegel <triegel@redhat.com>
3749
3750 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3751
ff871426
TR
37522014-11-20 Torvald Riegel <triegel@redhat.com>
3753
3754 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3755 atomic_thread_fence_acquire, atomic_thread_fence_release,
3756 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3757 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3758 atomic_compare_exchange_weak_relaxed,
3759 atomic_compare_exchange_weak_acquire,
3760 atomic_compare_exchange_weak_release,
3761 atomic_exchange_acquire, atomic_exchange_release,
3762 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3763 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3764 atomic_fetch_and_acquire,
3765 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3766
1ea339b6
TR
37672014-11-20 Torvald Riegel <triegel@redhat.com>
3768
3769 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3770 USE_ATOMIC_COMPILER_BUILTINS): Define.
3771 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3772 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3773 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3774 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3775 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3776 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3777 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3778 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3779 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3780 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3781 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3782 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3783 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3784 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3785 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3786 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3787 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3788 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3789 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3790 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3791 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3792 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3793 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3794 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3795 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3796 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3797 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3798 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3799 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3800 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3801 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3802 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3803 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3804 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3805 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3806 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3807 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3808 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3809 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3810 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3811
cbd463e2
RM
38122014-11-19 Roland McGrath <roland@hack.frob.com>
3813
d960211f
RM
3814 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3815 the sched_priority value here. It was already checked when the user
3816 called pthread_attr_setschedparam.
3817
cbd463e2
RM
3818 * nptl/tst-bad-schedattr.c: New file.
3819 * nptl/Makefile (tests): Add it.
3820
a39208bd
CD
38212014-11-19 Carlos O'Donell <carlos@redhat.com>
3822 Florian Weimer <fweimer@redhat.com>
3823 Joseph Myers <joseph@codesourcery.com>
3824 Adam Conrad <adconrad@0c3.net>
3825 Andreas Schwab <schwab@suse.de>
3826 Brooks <bmoses@google.com>
3827
3828 [BZ #17625]
3829 * wordexp-test.c (__dso_handle): Add prototype.
3830 (__register_atfork): Likewise.
3831 (__app_register_atfork): New function.
3832 (registered_forks): New global.
3833 (register_fork): New function.
3834 (test_case): Add 3 new tests for WRDE_CMDSUB.
3835 (main): Call __app_register_atfork.
3836 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3837 fork count is non-zero fail the test.
3838 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3839 is set.
3840 (parse_dollars): Remove check for WRDE_NOCMD.
3841 (parse_dquote): Likewise.
3842
9cd47470
SP
38432014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3844
130ac68c
SP
3845 * Makeconfig (built-modules): List non-library modules to be
3846 built.
3847 (module-cppflags): Include libc-modules.h for
3848 everything except shlib-versions.v.i.
3849 (CPPFLAGS): Use it.
3850 (before-compile): Add libc-modules.h.
3851 ($(common-objpfx)libc-modules.h,
3852 $(common-objpfx)libc-modules.stmp): New targets.
3853 (common-generated): Add libc-modules.h and libc-modules.stmp.
3854 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3855 * include/libc-symbols.h: Don't include libc-modules.h.
3856 * include/libc-modules.h: Remove file.
3857 * scripts/gen-libc-modules.awk: New script to generate
3858 libc-modules.h.
3859 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3860 Depend on libc-modules.stmp.
3861
286663c3
SP
3862 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3863
9cd47470
SP
3864 * Makeconfig (in-module): Get value of libof set for the
3865 translation unit.
3866 (CPPFLAGS): Use $(in-module).
3867 * Makerules: Don't suffix routine names for nonlib.
3868 * include/libc-modules.h: New file.
3869 * include/libc-symbols.h: Include libc-modules.h
3870 (IS_IN): New macro to replace IS_IN_* macros.
3871 * elf/Makefile: Set libof-* for each routine.
3872 * elf/rtld-Rules: Likewise.
3873 * extra-modules.mk: Likewise.
3874 * iconv/Makefile: Likewise.
3875 * iconvdata/Makefile: Likewise.
3876 * locale/Makefile: Likewise.
3877 * malloc/Makefile: Likewise.
3878 * nss/Makefile: Likewise.
3879 * sysdeps/gnu/Makefile: Likewise.
3880 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3881 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3882 * sysdeps/s390/s390-64/Makefile: Likewise.
3883 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3884 CPPFLAGS for nscd instead of nonlib.
3885
32fed10f
RM
38862014-11-18 Roland McGrath <roland@hack.frob.com>
3887
d71035bd
RM
3888 * nptl/createthread.c: New file.
3889
6540b991
RM
3890 * nptl/createthread.c: Moved ...
3891 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3892
32fed10f
RM
3893 * nptl/createthread.c: Add proper top-line comment.
3894 (do_clone): Folded into ...
3895 (create_thread): ... here. Take new arguments STOPPED_START and
3896 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3897 increment __nptl_threads, do event-reporting logic, do
3898 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3899 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3900 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3901 just send SIGCANCEL.
3902 * nptl/pthread_create.c: Forward-declare create_thread before
3903 including createthread.c.
3904 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3905 declaration, and new macro START_THREAD_SELF to replace argument.
3906 Remove return statement.
3907 (report_thread_creation): New function.
3908 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3909 synchronization logic, and __nptl_nthreads increment here, around
3910 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3911 PD->parent_cancelhandling here, before create_thread. When
3912 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3913 __deallocate_stack, and ENOMEM translation here.
3914
107a5bf0
JM
39152014-11-18 Joseph Myers <joseph@codesourcery.com>
3916
3917 [BZ #17616]
3918 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3919 (mptwo): Rename to __mptwo.
3920 (__inv): Use __mptwo instead of mptwo.
3921 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3922 (mptwo): Rename to __mptwo.
3923 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3924 of mpone and __mptwo instead of mptwo.
3925 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3926 instead of mpone.
3927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3928 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3929 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3930 of mpone and __mptwo instead of mptwo.
3931 (__mpranred): Use __mpone instead of mpone.
3932 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3933 variable.
3934 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3935 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3936 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3937 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3938 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3939 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3940 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3941 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3942 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3943 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3944 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3945 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3946 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3947 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3948 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3949 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3950 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3951 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3952 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3953
3b679ab3
TV
39542014-11-18 Tom de Vries <tom@codesoucery.com>
3955
3956 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3957 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3958
39592014-11-17 Richard Henderson <rth@redhat.com>
3960
3961 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3962 (_FP_PACK_RAW_2): Remove.
3963 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3964 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3965 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3966 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3967 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3968 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3969 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3970 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3971 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3972 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3973 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3974 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3975 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3976 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3977 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3978 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3979
0781a777
RM
39802014-11-14 Roland McGrath <roland@hack.frob.com>
3981
3982 * signal/signal.h [__USE_MISC]
3983 (struct sigvec): Remove type.
3984 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3985 (sigvec): Remove declaration.
3986 * sysdeps/posix/sigvec.c: Moved ...
3987 * signal/sigvec.c: ... here, replacing old file.
3988 (struct sigvec): New type, copied from old signal.h definition.
3989 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3990 (__sigvec): Convert definition to prototype.
3991 (sigvec): Replace weak_alias with compat_symbol.
3992 * signal/Versions (libc: GLIBC_2.21): New version set.
3993 * include/signal.h: Remove __sigvec declaration.
3994 * sysdeps/unix/bsd/sigvec.c: Remove file.
3995 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3996 * manual/signal.texi (BSD Handler): Remove subsection.
3997 Move siginterrupt up to ...
3998 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3999 (Blocking in BSD): Fold subsection into its parent.
4000 * NEWS: Mention sigvec removal.
4001
a4733812
JM
40022014-11-14 Joseph Myers <joseph@codesourcery.com>
4003
5ae4fe60
JM
4004 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4005 (DLA_FMS): Make definition conditional only on [__FMA4__].
4006 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4007 definition.
4008
6a0dd472
JM
4009 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4010 Make definition conditional only on [PROF].
4011 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4012 definition.
4013 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4014 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4015
a4733812
JM
4016 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4017 !__GNUC__].
4018 * include/signal.h (__sigpause): Move declaration above call to
4019 libc_hidden_proto.
4020 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4021 variable.
4022 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4023 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4024
cf7246dd
DM
40252014-11-14 David S. Miller <davem@davemloft.net>
4026
4027 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4028 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4029
c1b0aadc
JM
40302014-11-14 Joseph Myers <joseph@codesourcery.com>
4031
4863355a
JM
4032 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4033 * configure: Regenerated.
4034 * manual/install.texi (Tools for Compilation): Document a
4035 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4036 compiler verified to work.
4037 * INSTALL: Regenerated.
4038
c1b0aadc
JM
4039 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4040 redeclare with asm name.
4041 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4042 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4043 including <string.h>.
4044 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4045 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4046 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4047 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4048 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4049 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4050 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4051
2a1cfd94
JM
40522014-11-13 Joseph Myers <joseph@codesourcery.com>
4053
bf438382
JM
4054 * stdlib/strtol.c (__strtol): Use prototype definition.
4055
2a1cfd94
JM
4056 [BZ #17594]
4057 * stdlib/strtol.c (SYM__): New macro.
4058 (SYM__1): Likewise.
4059 (__strtol): Likewise.
4060 (strtol): Rename to __strtol and define as weak alias of
4061 __strtol. Use libc_hidden_weak.
4062
20ed0d26
SL
40632014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4064
4065 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4066 Use numbered labels in inline assembly.
4067
53244a4e
SL
40682014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4069
4070 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4071 Add setjmp LIBC_PROBE.
4072 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4073 Likewise.
4074 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4075 Add longjmp, longjmp_target LIBC_PROBE.
4076 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4077 Likewise.
4078
47df8251
SL
40792014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4080
4081 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4082 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4083 to get rid of unused variable warning.
4084
618cebef
SL
40852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4086
4087 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4088 Check for unwind_backtrace == NULL only in SHARED case.
4089 (__backchain_backtrace): Compile only in SHARED case.
4090 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4091 Likewise.
4092 (__backchain_backtrace): Declare as static.
4093
c6aab2cb
RM
40942014-11-12 Roland McGrath <roland@hack.frob.com>
4095
4096 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4097 (__libc_multiple_threads_ptr): Variable moved ...
4098 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4099
5a6fa4d7
JM
41002014-11-12 Joseph Myers <joseph@codesourcery.com>
4101
24f4f825
JM
4102 * conform/GlibcConform.pm: New file.
4103 * conform/conformtest.pl: Use GlibcConform module.
4104 * conform/linknamespace.pl: New file.
4105 * conform/list-header-symbols.pl: Likewise.
4106 * conform/Makefile (linknamespace-symlists-base): New variable.
4107 (linknamespace-symlists-tests): Likewise.
4108 (linknamespace-header-base): Likewise.
4109 (linknamespace-header-tests): Likewise.
4110 (tests-special): Add new tests.
4111 ($(linknamespace-symlists-tests)): New rule.
4112 (linknamespace-libs): New variable.
4113 ($(objpfx)symlist-stdlibs): New rule.
4114 ($(linknamespace-header-tests)): Likewise.
4115 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4116 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4117 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4118 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4119 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4120 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4121 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4122 (test-xfail-ISO/math.h/linknamespace): Likewise.
4123 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4124 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4125 (test-xfail-ISO/time.h/linknamespace): Likewise.
4126 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4127 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4128 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4129 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4130 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4131 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4132 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4133 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4134 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4135 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4136 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4137 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4138 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4139 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4140 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4141 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4142 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4143 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4144 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4145 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4146 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4147 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4148 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4149 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4150 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4151 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4152 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4153 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4154 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4155 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4156 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4157 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4158 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4159 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4160 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4161 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4162 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4163 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4164 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4165 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4166 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4167 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4168 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4169 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4170 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4171 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4172 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4173 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4174 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4175 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4176 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4177 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4178 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4179 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4180 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4181 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4182 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4183 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4184 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4185 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4186 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4187 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4188 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4189 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4190 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4191 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4192 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4193 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4194 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4195 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4196 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4197 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4198 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4199 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4200 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4201 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4202 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4203 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4204 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4205 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4206 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4207 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4208 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4209 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4210 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4211 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4212 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4213 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4214 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4215 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4216 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4217 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4218 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4219 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4220 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4221 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4222 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4223 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4224 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4225 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4226 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4227 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4228 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4229 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4230 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4231 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4232 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4233 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4234 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4235 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4236 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4237 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4238 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4239 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4240 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4241 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4242 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4243 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4244 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4245 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4246 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4247 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4248 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4249 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4250 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4251 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4252 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4253 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4254 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4255 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4256 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4257 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4258 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4259 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4260 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4261 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4262 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4263 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4264 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4265 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4266 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4267 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4268 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4269 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4270 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4271 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4272 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4273 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4274 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4275 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4276
cc67478e
JM
4277 [BZ #17589]
4278 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4279 of fgets_unlocked.
4280
9975e3d3
JM
4281 [BZ #17585]
4282 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4283 (memmem): Rename to __memmem and define as weak alias of
4284 __memmem. Use libc_hidden_weak.
4285 (__memmem): Use libc_hidden_def.
4286 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4287 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4288 memmem.
4289
c4eae752
JM
4290 [BZ #17582]
4291 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4292 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4293 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4294 and define as weak alias of __fgets_unlocked. Use
4295 libc_hidden_weak.
4296 (__fgets_unlocked): Use libc_hidden_def.
4297 * include/stdio.h (__fgets_unlocked): Declare. Use
4298 libc_hidden_proto.
4299 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4300 __fgets_unlocked instead of fgets_unlocked.
4301 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4302 (GET_NPROCS_CONF_PARSER): Likewise.
4303 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4304 (GET_NPROCS_CONF_PARSER): Likewise.
4305
01cad84e
JM
4306 [BZ #17574]
4307 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4308 weak alias of __wmemset. Use libc_hidden_weak.
4309 (__wmemset): Use libc_hidden_def.
4310 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4311 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4312 of wmemset.
4313
939da411
JM
4314 [BZ #17573]
4315 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4316 with asm name __mempcpy.
4317 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4318
293d9a41
JM
4319 [BZ #17572]
4320 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4321 and define as weak alias of __rawmemchr.
4322 (__rawmemchr): Do not define as strong alias of rawmemchr.
4323
bef8fd60
JM
4324 [BZ #17571]
4325 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4326 alias of __qsort_r.
4327 (qsort): Call __qsort_r instead of qsort_r.
4328 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4329 (__qsort_r): Declare. Call libc_hidden_proto.
4330 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4331 instead of qsort_r.
4332 * nscd/gai.c (__qsort_r): Define to qsort_r.
4333 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4334 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4335 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4336
c52ff39e
JM
4337 [BZ #17570]
4338 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4339 define as weak alias of __malloc_info.
4340
2f5c1b00
JM
4341 [BZ #17584]
4342 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4343 as weak alias of __rewinddir. Don't use libc_hidden_def.
4344 (__rewinddir): Use libc_hidden_def.
4345 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4346 as weak alias of __rewinddir. Don't use libc_hidden_def.
4347 (__rewinddir): Use libc_hidden_def.
4348 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4349 weak alias of __rewinddir. Don't use libc_hidden_def.
4350 (__rewinddir): Use libc_hidden_def.
4351 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4352 (__rewinddir): Use libc_hidden_proto.
4353 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4354 rewinddir.
4355 (__getcwd): Use __rewinddir instead of rewinddir.
4356
5a6fa4d7
JM
4357 [BZ #17583]
4358 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4359 alias of __fileno. Use libc_hidden_weak.
4360 (__fileno): Use libc_hidden_def.
4361 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4362 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4363 alias of __ftello.
4364 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4365 __ftello.
4366 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4367 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4368 libc_hidden_def.
4369 (fread_unlocked): Don't use libc_hidden_ver.
4370 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4371 and define as weak alias of __fread_unlocked. Don't use
4372 libc_hidden_def.
4373 (__fread_unlocked): Use libc_hidden_def.
4374 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4375 (ftello): Don't use libc_hidden_proto.
4376 (__ftello): Declare. Use libc_hidden_proto.
4377 (fread_unlocked): Don't use libc_hidden_proto.
4378 (__fread_unlocked): Declare. Use libc_hidden_proto.
4379 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4380 and __ftello instead of fileno, fread_unlocked and ftello.
4381
2581b98e
SP
43822012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4383
4384 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4385 GOT12.
4386 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4387 Likewise.
4388 (_dl_start_user): Likewise.
4389 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4390
533bb7c2
SP
43912014-11-12 Carlos O'Donell <carlos@redhat.com>
4392 Siddhesh Poyarekar <siddhesh@redhat.com>
4393
4394 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4395 Move argv and envp down instead of moving argc up.
4396 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4397
fffa1cf8
LH
43982014-11-12 Leonhard Holz <leonhard.holz@web.de>
4399
4400 [BZ #17506]
4401 * test-skeleton.c (main): Return successful if one of
4402 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4403 * string/tst-strcoll-overflow.c: Define expected status.
4404
fb89b46d
TU
44052014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4406
4407 [BZ #17475]
4408 * locale/iso-639.def: Define Bhili and Tulu language codes.
4409
5c40c3ba
AH
44102014-11-11 Alan Hayward <alan.hayward@arm.com>
4411
4412 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4413
b17fe01b 44142014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4415
4416 [BZ #17555]
4417 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4418
bd805071
AS
44192014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4420
4421 * configure.ac: Updated check of minimal required version to
4422 2.22.
4423 * manual/install.texi (Tools for Compilation): Updated version
4424 number.
4425 * configure: Regenerated.
4426 * INSTALL: Likewise.
4427
1400983e
AS
44282014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4429
4430 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4431 __tls_get_addr.
4432
2c46a66a
JM
44332014-11-07 Joseph Myers <joseph@codesourcery.com>
4434
4435 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4436 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4437 (__waitpid): Don't define as alias. Use libc_hidden_def not
4438 libc_hidden_weak.
4439 (waitpid): Define as alias of __waitpid.
4440 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4441 __waitpid.
4442 (__waitpid): Don't define as alias. Use libc_hidden_def not
4443 libc_hidden_weak.
4444 (waitpid): Define as alias of __waitpid.
4445 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4446 __libc_waitpid alias.
4447 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4448 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4449 Likewise.
4450 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4451 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4452 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4453 alias.
4454 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4455 __waitpid.
4456 (__waitpid): Don't define as alias. Use libc_hidden_def not
4457 libc_hidden_weak.
4458 (waitpid): Define as alias of __waitpid.
4459
da53d6db
CD
44602014-11-06 Carlos O'Donell <carlos@redhat.com>
4461
a2887bdb
CD
4462 * manual/llio.texi: Add comment that write safety has been
4463 fixed in Linux.
4464
da53d6db
CD
4465 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4466 (localplt-build-dso): Add elf/ld.so.
4467 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4468 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4469 and free for ld.so.
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4471 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4473 Likewise.
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4475 Likewise.
4476 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4477 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4478 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4479 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4480 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4481 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4482 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4483 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4484 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4485 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4486 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4487
9cf27b8d
JM
44882014-11-05 Joseph Myers <joseph@codesourcery.com>
4489
4490 [BZ #14132]
4491 * include/libc-symbols.h (INTUSE): Remove macro.
4492 (INTDEF): Likewise.
4493 (INTVARDEF): Likewise.
4494 (_INTVARDEF): Likewise.
4495 (INTDEF2): Likewise.
4496 (INTVARDEF2): Likewise.
4497 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4498 rtld_hidden_def instead of INTVARDEF.
4499 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4500 (_dl_starting_up_internal): Remove declaration.
4501 (_dl_starting_up): Use rtld_hidden_proto.
4502 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4503 declaration.
4504 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4505 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4506 _dl_starting_up.
4507 * elf/dl-writev.h (_dl_writev): Likewise.
4508 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4509 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4510 _dl_starting_up_internal.
4511
af83568d
AZ
45122014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4513
4514 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4515 test-skeleton.c.
4516
b01ee67c
WN
45172014-11-05 Will Newton <will.newton@linaro.org>
4518
4519 * benchtests/Makefile: (bench-malloc): Add malloc thread
4520 scalability benchmark.
4521 * benchtests/bench-malloc-threads.c: New file.
4522
be9d4ccc
RE
45232014-11-05 Richard Earnshaw <rearnsha@arm.com>
4524
4525 * sysdeps/aarch64/strchrnul.S: New file.
4526
7110166d
AZ
45272014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4528
4529 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4530 definition.
4531 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4532 Likwise.
4533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4534 Likewise.
4535 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4536 Likewise.
4537 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4538 Likewise.
4539 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4540 Likewise.
4541
45422014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4543
4544 * catgets/test-gencat.c: Use test-skeleton.c.
4545 * catgets/tst-catgets.c: Likewise.
4546 * csu/tst-empty.c: Likewise.
4547 * elf/tst-audit2.c: Likewise.
4548 * elf/tst-global1.c: Likewise.
4549 * elf/tst-pathopt.c: Likewise.
4550 * elf/tst-piemod1.c: Likewise.
4551 * elf/tst-tls10.c: Likewise.
4552 * elf/tst-tls11.c: Likewise.
4553 * elf/tst-tls12.c: Likewise.
4554 * gnulib/tst-gcc.c: Likewise.
4555 * iconvdata/tst-e2big.c: Likewise.
4556 * iconvdata/tst-loading.c: Likewise.
4557 * iconv/tst-iconv1.c: Likewise.
4558 * iconv/tst-iconv2.c: Likewise.
4559 * inet/test-inet6_opt.c: Likewise.
4560 * inet/tst-gethnm.c: Likewise.
4561 * inet/tst-network.c: Likewise.
4562 * inet/tst-ntoa.c: Likewise.
4563 * intl/tst-codeset.c: Likewise.
4564 * intl/tst-gettext2.c: Likewise.
4565 * intl/tst-gettext3.c: Likewise.
4566 * intl/tst-ngettext.c: Likewise.
4567 * intl/tst-translit.c: Likewise.
4568 * io/test-stat.c: Likewise.
4569 * libio/test-fmemopen.c: Likewise.
4570 * libio/tst-freopen.c: Likewise.
4571 * libio/tst-sscanf.c: Likewise.
4572 * libio/tst-ungetwc1.c: Likewise.
4573 * libio/tst-ungetwc2.c: Likewise.
4574 * libio/tst-widetext.c: Likewise.
4575 * localedata/tst-ctype.c: Likewise.
4576 * localedata/tst-digits.c: Likewise.
4577 * localedata/tst-leaks.c: Likewise.
4578 * localedata/tst-mbswcs1.c: Likewise.
4579 * localedata/tst-mbswcs2.c: Likewise.
4580 * localedata/tst-mbswcs3.c: Likewise.
4581 * localedata/tst-mbswcs4.c: Likewise.
4582 * localedata/tst-mbswcs5.c: Likewise.
4583 * localedata/tst-setlocale.c: Likewise.
4584 * localedata/tst-trans.c: Likewise.
4585 * localedata/tst-wctype.c: Likewise.
4586 * localedata/tst-xlocale1.c: Likewise.
4587 * login/tst-grantpt.c: Likewise.
4588 * malloc/tst-calloc.c: Likewise.
4589 * malloc/tst-malloc.c: Likewise.
4590 * malloc/tst-mallocstate.c: Likewise.
4591 * malloc/tst-mcheck.c: Likewise.
4592 * malloc/tst-mtrace.c: Likewise.
4593 * malloc/tst-obstack.c: Likewise.
4594 * math/atest-exp2.c: Likewise.
4595 * math/atest-exp.c: Likewise.
4596 * math/atest-sincos.c: Likewise.
4597 * math/test-matherr.c: Likewise.
4598 * math/test-misc.c: Likewise.
4599 * math/test-powl.c: Likewise.
4600 * math/tst-definitions.c: Likewise.
4601 * misc/tst-dirname.c: Likewise.
4602 * misc/tst-efgcvt.c: Likewise.
4603 * misc/tst-fdset.c: Likewise.
4604 * misc/tst-hsearch.c: Likewise.
4605 * misc/tst-mntent2.c: Likewise.
4606 * nptl/tst-sem7.c: Likewise.
4607 * nptl/tst-sem8.c: Likewise.
4608 * nptl/tst-sem9.c: Likewise.
4609 * nss/test-netdb.c: Likewise.
4610 * posix/tst-fnmatch.c: Likewise.
4611 * posix/tst-getlogin.c: Likewise.
4612 * posix/tst-gnuglob.c: Likewise.
4613 * posix/tst-mmap.c: Likewise.
4614 * pwd/tst-getpw.c: Likewise.
4615 * resolv/tst-inet_ntop.c: Likewise.
4616 * rt/tst-timer.c: Likewise.
4617 * stdio-common/test-fseek.c: Likewise.
4618 * stdio-common/test-popen.c: Likewise.
4619 * stdio-common/test-vfprintf.c: Likewise.
4620 * stdio-common/tst-cookie.c: Likewise.
4621 * stdio-common/tst-fileno.c: Likewise.
4622 * stdio-common/tst-gets.c: Likewise.
4623 * stdio-common/tst-obprintf.c: Likewise.
4624 * stdio-common/tst-perror.c: Likewise.
4625 * stdio-common/tst-sprintf2.c: Likewise.
4626 * stdio-common/tst-sprintf3.c: Likewise.
4627 * stdio-common/tst-sprintf.c: Likewise.
4628 * stdio-common/tst-swprintf.c: Likewise.
4629 * stdio-common/tst-tmpnam.c: Likewise.
4630 * stdio-common/tst-unbputc.c: Likewise.
4631 * stdio-common/tst-wc-printf.c: Likewise.
4632 * stdlib/tst-environ.c: Likewise.
4633 * stdlib/tst-fmtmsg.c: Likewise.
4634 * stdlib/tst-limits.c: Likewise.
4635 * stdlib/tst-rand48-2.c: Likewise.
4636 * stdlib/tst-rand48.c: Likewise.
4637 * stdlib/tst-random2.c: Likewise.
4638 * stdlib/tst-random.c: Likewise.
4639 * stdlib/tst-strtol.c: Likewise.
4640 * stdlib/tst-strtoll.c: Likewise.
4641 * stdlib/tst-tls-atexit.c: Likewise.
4642 * stdlib/tst-xpg-basename.c: Likewise.
4643 * string/test-ffs.c: Likewise.
4644 * string/tst-bswap.c: Likewise.
4645 * string/tst-inlcall.c: Likewise.
4646 * string/tst-strtok.c: Likewise.
4647 * string/tst-strxfrm.c: Likewise.
4648 * sysdeps/x86_64/tst-audit10.c: Likewise.
4649 * sysdeps/x86_64/tst-audit3.c: Likewise.
4650 * sysdeps/x86_64/tst-audit4.c: Likewise.
4651 * sysdeps/x86_64/tst-audit5.c: Likewise.
4652 * time/tst-ftime_l.c: Likewise.
4653 * time/tst-getdate.c: Likewise.
4654 * time/tst-mktime3.c: Likewise.
4655 * time/tst-mktime.c: Likewise.
4656 * time/tst-posixtz.c: Likewise.
4657 * time/tst-strptime2.c: Likewise.
4658 * time/tst-strptime3.c: Likewise.
4659 * wcsmbs/tst-btowc.c: Likewise.
4660 * wcsmbs/tst-mbrtowc.c: Likewise.
4661 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4662 * wcsmbs/tst-wchar-h.c: Likewise.
4663 * wcsmbs/tst-wcpncpy.c: Likewise.
4664 * wcsmbs/tst-wcrtomb.c: Likewise.
4665 * wcsmbs/tst-wcsnlen.c: Likewise.
4666 * wcsmbs/tst-wcstof.c: Likewise.
4667
2004e7fb
JM
46682014-11-04 Joseph Myers <joseph@codesourcery.com>
4669
ab97ee8f
JM
4670 [BZ #14132]
4671 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4672 INTDEF.
4673 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4674 declaration.
4675 (_dl_mcount): Use rtld_hidden_proto.
4676 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4677 _dl_mcount.
4678 * elf/rtld.c (_rtld_global_ro): Likewise.
4679
c5684fdb
JM
4680 [BZ #14132]
4681 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4682 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4683 of _dl_init_internal.
4684 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4685 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4686 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4687 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4688 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4689 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4690 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4691 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4692 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4693 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4694 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4695 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4696 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4697 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4698 * sysdeps/tile/dl-start.S (_start): Likewise.
4699 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4700 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4701
4243cbea
JM
4702 [BZ #14132]
4703 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4704 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4705 (rtld_progname): Make macro definition unconditional.
4706 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4707 INTDEF.
4708 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4709 (dl_main): Likewise.
4710 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4711 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4712 instead of _dl_argv_internal.
4713 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4714 __GI__dl_argv instead of INTUSE(_dl_argv).
4715 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4716 __GI__dl_argv instead of _dl_argv_internal.
4717
2004e7fb
JM
4718 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4719 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4720 macro.
4721 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4722 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4723 New macro.
4724 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4725 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4726 macro.
4727 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4728 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4729
97827bfc
AS
47302014-11-04 Andreas Schwab <schwab@suse.de>
4731
4732 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4733
5e4df284
AZ
47342014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4735
4736 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4737 mtvsrd instruction in binary form.
4738
04b76b5a
AS
47392014-11-03 Andreas Schwab <schwab@suse.de>
4740
4741 [BZ #17522]
4742 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4743 for less than MB_LEN_MAX use a local buffer of that size.
4744 * libio/tst-fputws.c: New file.
4745 * libio/Makefile (tests): Add tst-fputws.
4746
4c6da7da
JM
47472014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4748
4749 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4750 the size of the fpu_fr.fpu_dregs[] array.
4751
1679ba8e
JM
47522014-11-01 Joseph Myers <joseph@codesourcery.com>
4753
4754 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4755 (__nanosleep): Do not define as alias.
4756 (nanosleep): Define as alias of __nanosleep.
4757 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4758 __libc_nanosleep name.
4759
2626c183
JM
47602014-10-31 Joseph Myers <joseph@codesourcery.com>
4761
4762 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4763 install.texi in comment.
4764
7f981fc2
TR
47652014-10-31 Torvald Riegel <triegel@redhat.com>
4766
4767 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4768 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4769 ... add here and use lwsync or sync ...
4770 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4771 ... and add here using lwsync.
4772
d6f373d2
MF
47732014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4774
4775 * elf/dl-machine-reject-phdr.h: New file.
4776 * elf/dl-load.c: #include that.
4777 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4778 if that returned true.
4779
67c37987
RM
47802014-10-31 Roland McGrath <roland@hack.frob.com>
4781
4782 [BZ #17496]
4783 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4784 gen-as-const-headers chunk. Add a big scare comment after the last
4785 safe place to touch before-compile.
4786
94a42455 47872014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4788
f3f5d895
JM
4789 * manual/install.texi (Tools for Compilation): Update autoconf
4790 version requirements.
4791 * INSTALL: Regenerated.
4792
f62ff286
JM
4793 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4794 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4795 (__libc_pselect): Likewise.
94a42455
JM
4796
4797 [BZ #14138]
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4802
ff9dbdc0
TR
48032014-10-31 Torvald Riegel <triegel@redhat.com>
4804
4805 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4806 correct barrier instruction.
4807 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4808 Likewise.
4809 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4810 Likewise.
4811
b4f66884
RM
48122014-10-30 Roland McGrath <roland@hack.frob.com>
4813
4814 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4815 after defining inlines. Instead, just use parens to defeat macro
4816 expansion of __isctype in its declaration.
4817
e19c95fd
JM
48182014-10-30 Joseph Myers <joseph@codesourcery.com>
4819
4820 * include/sys/uio.h (__libc_readv): Remove declaration.
4821 (__libc_writev): Likewise.
4822 * misc/readv.c (__libc_readv): Rename to __readv.
4823 (__readv): Do not define as alias.
4824 (readv): Define as alias of __readv.
4825 * misc/writev.c (__libc_writev): Rename to __writev.
4826 (__writev): Do not define as alias.
4827 (writev): Define as alias of __writev.
4828 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4829 (__readv): Do not define as alias.
4830 (readv): Define unconditionally as alias of __readv.
4831 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4832 (__writev): Do not define as alias.
4833 (writev): Define unconditionally as alias of __writev.
4834 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4835 name.
4836 (writev): Do not define __libc_writev name.
4837
65b00b6c
RM
48382014-10-30 Roland McGrath <roland@hack.frob.com>
4839
4840 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4841 (convert_charseq): New function, broken out of ...
4842 (use_from_charmap): ... here. Call it.
4843 (use_to_charmap): Use convert_charseq and free instead of duplicating
4844 its code with a variable-length stack struct.
4845
d4e157aa
JM
48462014-10-30 Joseph Myers <joseph@codesourcery.com>
4847
4848 * include/fcntl.h (__libc_creat): Remove declaration.
4849 * io/creat.c (__libc_creat): Rename to creat.
4850 (creat): Do not define as alias.
4851 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4852 of creat instead of __libc_creat.
4853 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4854 to creat.
4855 (creat): Do not define as alias.
4856 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4857 __libc_creat.
4858 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4859 __libc_creat name.
4860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4861 Likewise.
4862
0c6891a0
CD
48632014-10-29 Carlos O'Donell <carlos@redhat.com>
4864
4865 * manual/llio.texi: Add comments discussing why write() may be
4866 considered MT-unsafe on Linux.
4867
cc00cece
CD
48682014-10-28 Carlos O'Donell <carlos@redhat.com>
4869
4870 * dl-load.c (local_strdup): Remove.
4871 (expand_dynamic_string_token): Use __strdup.
4872 (decompose_rpath): Likewise.
4873 (_dl_map_object): Likewise.
4874
51e623f2
JM
48752014-10-28 Joseph Myers <joseph@codesourcery.com>
4876
4877 [BZ #14132]
4878 * sysdeps/generic/unwind-dw2-fde.c
4879 (__register_frame_info_bases_internal): Do not declare.
4880 (__register_frame_info_table_bases_internal): Likewise.
4881 (__deregister_frame_info_bases_internal): Likewise.
4882 (__register_frame_info_bases): Declare and use hidden_proto before
4883 definition. Use hidden_def instead of INTDEF.
4884 (__register_frame_info_table_bases): Likewise.
4885 (__deregister_frame_info_bases): Likewise.
4886 (__register_frame_info): Do not use INTUSE.
4887 (__register_frame): Likewise.
4888 (__register_frame_info_table): Likewise.
4889 (__register_frame_table): Likewise.
4890 (__deregister_frame_info): Likewise.
4891 (__deregister_frame): Likewise.
4892
03d41216
GC
48932014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4894
4895 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4896 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4897 not undefine.
4898 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4899 Likewise.
4900 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4901 Likewise.
4902
a4b3624d
JM
49032014-10-27 Joseph Myers <joseph@codesourcery.com>
4904
4905 [BZ #14138]
4906 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4907 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4908 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4909 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4910 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4911 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4912 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4913 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4914 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4915 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4916 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4917 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4918 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4919 syscall.
4920 (setfsuid): Likewise.
4921 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4922 (setfsuid): Likewise.
4923 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4924 (setfsuid): Likewise.
4925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4926 Likewise.
4927 (setfsuid): Likewise.
4928 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4929 (setfsuid): Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4931 Likewise.
4932 (setfsuid): Likewise.
4933
3574f2fd
AS
49342014-10-27 Andreas Schwab <schwab@suse.de>
4935
4936 [BZ #17501]
4937 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4938 check for Slow_SSE4_2 feature bit.
4939 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4940 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4941 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4942 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4943
70996a37
RM
49442014-10-24 Roland McGrath <roland@hack.frob.com>
4945
461a7b1e
RM
4946 * configure.ac: Validate compiler version with a empirical test of
4947 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4948 $CC -v output.
4949 * configure: Regenerated.
4950
70996a37
RM
4951 * inet/htons.c (htons): Prototypify.
4952 * inet/htonl.c (htonl): Likewise.
4953
e80514b5
WD
49542014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4955
4956 * string/strncat.c (strncat): Improve performance by using strlen.
4957
6e46de42
WD
49582014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4959
4960 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4961
6a9ad2fa
WD
49622014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4963
4964 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4965 Call libc_fetestexcept_aarch64.
4966
1c8810ed
WD
49672014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4968
4969 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4970 Call libc_feholdexcept_aarch64.
4971
8b1af712
WD
49722014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4973
4974 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4975 Call get_rounding_mode.
4976
a7b00c11
WD
49772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4978
4979 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4980 Simplify logic.
4981
3a84f1a6
WD
49822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4983
4984 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4985 Simplify logic.
4986
48eb7a94
JM
49872014-10-24 Joseph Myers <joseph@codesourcery.com>
4988
c8bc4038
JM
4989 [BZ #14138]
4990 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4991 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4992 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4993 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4994 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4995 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4996 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4997 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4998 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4999 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5000 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5001 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5002 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5003 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5004 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5005 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5006 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5007 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5008 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5009 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5010 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5011 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5012 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5013 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5014 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5015 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5016 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5017 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5018 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5019 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5020 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5021 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5022 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5023 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5024 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5025 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5026 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5027 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5028 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5029 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5030 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5031 syscall.
5032 (geteuid): Likewise.
5033 (getgid): Likewise.
5034 (getuid): Likewise.
5035 (getresgid): Likewise.
5036 (getresuid): Likewise.
5037 (getgroups): Likewise.
5038 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5039 (geteuid): Likewise.
5040 (getgid): Likewise.
5041 (getuid): Likewise.
5042 (getresgid): Likewise.
5043 (getresuid): Likewise.
5044 (getgroups): Likewise.
5045 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5046 (geteuid): Likewise.
5047 (getgid): Likewise.
5048 (getuid): Likewise.
5049 (getresgid): Likewise.
5050 (getresuid): Likewise.
5051 (getgroups): Likewise.
5052 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5053 Likewise.
5054 (geteuid): Likewise.
5055 (getgid): Likewise.
5056 (getuid): Likewise.
5057 (getresgid): Likewise.
5058 (getresuid): Likewise.
5059 (getgroups): Likewise.
5060 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5061 (geteuid): Likewise.
5062 (getgid): Likewise.
5063 (getuid): Likewise.
5064 (getresgid): Likewise.
5065 (getresuid): Likewise.
5066 (getgroups): Likewise.
5067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5068 Likewise.
5069 (geteuid): Likewise.
5070 (getgid): Likewise.
5071 (getuid): Likewise.
5072 (getgroups): Likewise.
5073
48eb7a94
JM
5074 [BZ #14138]
5075 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5076 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5077 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5078 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5079 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5080 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5081 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5082 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5083 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5085 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5086 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5087 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5088 __chown.
5089 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5090 (lchown): Likewise.
5091 (fchown): Likewise.
5092 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5093 Likewise.
5094 (lchown): Likewise.
5095 (fchown): Likewise.
5096 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5097 (lchown): Likewise.
5098 (fchown): Likewise.
5099 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5100 Likewise.
5101 (lchown): Likewise.
5102 (fchown): Likewise.
5103
ea9a7c8b
WD
51042014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5105
5106 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5107 Simplify logic.
5108
e226de33
WD
51092014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5110
5111 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5112 Cleanup logic.
5113
6e3d8ed3
WD
51142014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5115
5116 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5117 Remove unused include.
5118
eb04247d
WD
51192014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5120
5121 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5122 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5123 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5124 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5125
13d84554
CD
51262014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5127 Helge Deller <deller@gmx.de>
5128
5129 [BZ #17508]
5130 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5131 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5132 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5133
15f9c5df
JM
51342014-10-23 Joseph Myers <joseph@codesourcery.com>
5135
5136 [BZ #14132]
5137 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5138 Remove macro definition.
5139 (__ashrdi3_v_glibc20): Likewise.
5140 (__lshrdi3_v_glibc20): Likewise.
5141 (__cmpdi2_v_glibc20): Likewise.
5142 (__ucmpdi2_v_glibc20): Likewise.
5143 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5144 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5145 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5146 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5147 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5148 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5149
c6dfed24
RM
51502014-10-22 Roland McGrath <roland@hack.frob.com>
5151
5152 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5153 old GNU extension [0] syntax.
5154 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5155 alloca rather than an array member with variable length.
5156 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5157 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5158 (parse_opt): ... here. Likewise use alloca there.
5159 Validate the -i argument before checking for rootness.
5160 (send_shutdown): New function, broken out of ...
5161 (parse_opt): ... here.
5162
8c2b1ed8
RM
51632014-10-22 Roland McGrath <roland@hack.frob.com>
5164
5165 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5166 macro to get at the _rt_local_ro field.
5167 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5168 ([PIC] case) or _dl_hwcap ([!PIC] case).
5169 * sysdeps/arm/setjmp.S: Likewise.
5170
5171 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5172 * sysdeps/arm/configure.ac: New check to define it.
5173 * sysdeps/arm/configure: Regenerated.
5174 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5175 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5176 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5177 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5178 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5179 Use move/movt pair instead of a load.
5180 (LDST_GLOBAL): Macro removed.
5181 (LDR_GLOBAL): New macro replaces it.
5182 (LDR_HIDDEN): New macro.
5183 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5184 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5185
5186 * setjmp/tst-setjmp-static.c: New file.
5187 * setjmp/Makefile (tests): Add it.
5188 (tests-static): New variable.
5189
b5af9297
MR
51902014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5191
5192 [BZ #17485]
5193 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5194
a13d0d74
JM
51952014-10-21 Joseph Myers <joseph@codesourcery.com>
5196
5197 [BZ #14132]
5198 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5199
f05e73f6
RM
52002014-10-21 Roland McGrath <roland@hack.frob.com>
5201
5202 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5203
6ab1d1ea
RM
52042014-10-20 Roland McGrath <roland@hack.frob.com>
5205
5206 * io/fts.c (dirent_not_directory): New function.
5207 (fts_build): Call it.
5208
ab49e763
RM
52092014-10-20 Roland McGrath <roland@hack.frob.com>
5210
e436eb79
RM
5211 * nptl/version.c (__nptl_main): Use normal __write rather than
5212 INTERNAL_SYSCALL.
5213 (banner): Update copyright years.
5214
6af246cf
RM
5215 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5216 gettimeofday.
5217 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5218 * nptl/pthread_cond_timedwait.c: Likewise.
5219 * nptl/pthread_mutex_timedlock.c: Likewise.
5220 * nptl/sem_timedwait.c: Likewise.
5221
ab49e763
RM
5222 * sysdeps/nptl/bits/libc-lock.h
5223 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5224 (__libc_lock_init_recursive): Return void, not 0.
5225 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5226 (__libc_rwlock_init): Likewise.
5227 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5228
f50277c1
TR
52292014-10-20 Torvald Riegel <triegel@redhat.com>
5230
5231 [BZ #15215]
5232 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5233 (__pthread_once_slow): ... here.
5234 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5235 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5236
63668b70
TR
52372014-10-20 Torvald Riegel <triegel@redhat.com>
5238
5239 [BZ #15215]
5240 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5241 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5242 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5243 * nptl/pthread_once.c (__pthread_once): Likewise.
5244 Update comments.
5245
42b7f5d4
JM
52462014-10-20 Joseph Myers <joseph@codesourcery.com>
5247
5248 [BZ #14138]
5249 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5250 name.
5251 (writev): Use __libc_writev as strong name.
5252 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5253 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5254
b0643088
RM
52552014-10-17 Roland McGrath <roland@hack.frob.com>
5256
114c4e09
RM
5257 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5258
674b8978
RM
5259 * sysdeps/i386/nptl/tls.h
5260 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5261 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5262 New macros.
5263 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5264 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5265 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5266 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5267 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5268 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5269
184ee940
RM
5270 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5271 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5272 on [__NR_futex].
5273 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5274 broken out of ...
5275 (__pthread_mutex_init): ... here. Call it.
5276 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5277 Conditionalize PI cases on [__NR_futex].
5278 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5279 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5280 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5281
327ae257
RM
5282 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5283 conditional on [SIGSETXID].
5284 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5285 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5286 is defined. Likewise for SIGSETXID.
5287 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5288 Conditionalize definitions on [SIGSETXID].
5289 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5290 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5291 unblocking on [SIGCANCEL].
5292
b0643088
RM
5293 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5294 [__NR_set_robust_list].
5295
33cc770b
SP
52962014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5297
5298 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5299 (do_compare): Likewise.
5300
0742aef6
LH
53012014-10-17 Leonhard Holz <leonhard.holz@web.de>
5302
5303 [BZ #15884]
5304 * string/strcoll_l.c: Don't include stdio.h.
5305 (coll_seq): Remove members idxarr and rulearr.
5306 (get_next_seq_cached): Remove function.
5307 (get_next_seq): Likewise.
5308 (get_next_seq_nocache): Rename to get_next_seq.
5309 (do_compare): Remove function.
5310 (do_compare_nocache): Rename to do_compare.
5311 (STRCOLL): Remove weight and rules cache.
5312
ee54ce44
RM
53132014-10-16 Roland McGrath <roland@hack.frob.com>
5314
5315 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5316 * sysdeps/arm/sfp-machine.h: ... to here.
5317 * sysdeps/arm/Implies: Remove arm/soft-fp.
5318
a75d3b02
JM
53192014-10-14 Joseph Myers <joseph@codesourcery.com>
5320
5321 * conform/data/sys/utsname.h-data (*_t): Allow.
5322 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5323 [POSIX] (WEXITED): Do not expect constant.
5324 [POSIX] (WSTOPPED): Likewise.
5325 [POSIX] (WNOHANG): Likewise.
5326 [POSIX] (WNOWAIT): Likewise.
5327 [POSIX] (siginfo_t): Do not expect type or elements.
5328 [POSIX] (pid_t): Do not expect type.
5329 [POSIX] (signal.h): Do not allow header.
5330 [POSIX] (sys/resource.h): Likewise.
5331 [POSIX] (si_*): Do not allow pattern.
5332 [POSIX] (W*): Likewise.
5333 [POSIX] (P_*): Likewise.
5334 [POSIX] (BUS_*): Likewise.
5335 [POSIX] (CLD_*): Likewise.
5336 [POSIX] (FPE_*): Likewise.
5337 [POSIX] (ILL_*): Likewise.
5338 [POSIX] (POLL_*): Likewise.
5339 [POSIX] (SEGV_*): Likewise.
5340 [POSIX] (SI_*): Likewise.
5341 [POSIX] (TRAP_*): Likewise.
5342 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5343 variable.
5344
fda389c8
SP
53452014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5346
5347 [BZ #12926]
5348 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5349 infinite loop when __recvmsg returns 0.
5350
6bc6bd3b
JM
53512014-10-10 Joseph Myers <joseph@codesourcery.com>
5352
fcb32af1
JM
5353 * CANCEL-FCT-WAIVE: Remove file.
5354 * CANCEL-FILE-WAIVE: Likewise.
5355
6bc6bd3b
JM
5356 [BZ #14132]
5357 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5358 instead of INTVARDEF.
5359 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5360 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5361 rtld_hidden_data_def instead of INTVARDEF.
5362 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5363 * elf/dl-deps.c (expand_dst): Likewise.
5364 * elf/dl-load.c (_dl_dst_count): Likewise.
5365 (_dl_dst_substitute): Likewise.
5366 (decompose_rpath): Likewise.
5367 (_dl_init_paths): Likewise.
5368 (open_path): Likewise.
5369 (_dl_map_object): Likewise.
5370 * elf/rtld.c (dl_main): Likewise.
5371 (process_dl_audit): Likewise.
5372 (process_envvars): Likewise.
5373 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5374 Remove declaration.
5375 (__libc_enable_secure): Use rtld_hidden_proto.
5376
b8c80a7e
KS
53772014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5378
5379 * elf/dl-load.c
5380 (add_path): New function broken out of _dl_rtld_di_serinfo.
5381 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5382
ff12c11f
JM
53832014-10-09 Joseph Myers <joseph@codesourcery.com>
5384
5c0508a3
JM
5385 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5386 parentheses around macro arguments.
5387 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5392 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5393 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5397 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5398 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5399 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5400 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5401 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5402 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5403 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5409 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5412 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5416 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5417 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5418 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5419 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5420 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5421 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5422 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5423 Likewise.
5424 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5425 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5426 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5427 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5428 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5429 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5430 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5431 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5432 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5433 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5434 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5435 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5436 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5437 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5438 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5439 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5441 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5442 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5443 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5444 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5445 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5446 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5447 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5448 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5449 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5450 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5451 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5452 (_FP_FRAC_SRS_1): Likewise.
5453 (_FP_FRAC_CLZ_1): Likewise.
5454 (_FP_MUL_MEAT_1_imm): Likewise.
5455 (_FP_MUL_MEAT_1_wide): Likewise.
5456 (_FP_MUL_MEAT_1_hard): Likewise.
5457 (_FP_SQRT_MEAT_1): Likewise.
5458 (_FP_FRAC_ASSEMBLE_1): Likewise.
5459 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5460 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5461 (__FP_CLZ_2): Likewise.
5462 (_FP_MUL_MEAT_2_wide): Likewise.
5463 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5464 (_FP_MUL_MEAT_2_gmp): Likewise.
5465 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5466 (_FP_SQRT_MEAT_2): Likewise.
5467 (_FP_FRAC_ASSEMBLE_2): Likewise.
5468 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5469 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5470 (_FP_FRAC_CLZ_4): Likewise.
5471 (_FP_MUL_MEAT_4_wide): Likewise.
5472 (_FP_MUL_MEAT_4_gmp): Likewise.
5473 (_FP_SQRT_MEAT_4): Likewise.
5474 (_FP_FRAC_ASSEMBLE_4): Likewise.
5475 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5476 * soft-fp/op-common.h (_FP_CMP): Likewise.
5477 (_FP_CMP_EQ): Likewise.
5478 (_FP_CMP_UNORD): Likewise.
5479 (_FP_TO_INT): Likewise.
5480 (_FP_FROM_INT): Likewise.
5481 [!__FP_CLZ] (__FP_CLZ): Likewise.
5482 (_FP_DIV_HELP_imm): Likewise.
5483 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5484 Likewise.
5485 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5486 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5487 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5488 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5489 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5490 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5491 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5492 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5493 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5494 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5495 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5496 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5497 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5498 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5499 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5500 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5501 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5502 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5503 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5504 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5505 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5506 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5507 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5508 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5510 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5511 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5512 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5514 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5515 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5516 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5517 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5518 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5519 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5520 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5521 (FP_UNPACK_RAW_SP): Likewise.
5522 (FP_PACK_RAW_S): Likewise.
5523 (FP_PACK_RAW_SP): Likewise.
5524 (FP_UNPACK_S): Likewise.
5525 (FP_UNPACK_SP): Likewise.
5526 (FP_UNPACK_SEMIRAW_S): Likewise.
5527 (FP_UNPACK_SEMIRAW_SP): Likewise.
5528 (FP_PACK_S): Likewise.
5529 (FP_PACK_SP): Likewise.
5530 (FP_PACK_SEMIRAW_S): Likewise.
5531 (FP_PACK_SEMIRAW_SP): Likewise.
5532 (_FP_SQRT_MEAT_S): Likewise.
5533 (FP_CMP_S): Likewise.
5534 (FP_CMP_EQ_S): Likewise.
5535 (FP_CMP_UNORD_S): Likewise.
5536 (FP_TO_INT_S): Likewise.
5537 (FP_FROM_INT_S): Likewise.
5538
a736ec37
JM
5539 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5540
ff12c11f
JM
5541 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5542 (FP_EX_INVALID_IMZ): Likewise.
5543 (FP_EX_INVALID_IMZ_FMA): Likewise.
5544 (FP_EX_INVALID_ISI): Likewise.
5545 (FP_EX_INVALID_ZDZ): Likewise.
5546 (FP_EX_INVALID_IDI): Likewise.
5547 (FP_EX_INVALID_SQRT): Likewise.
5548 (FP_EX_INVALID_CVI): Likewise.
5549 (FP_EX_INVALID_VC): Likewise.
5550 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5551 "invalid" exceptions.
5552 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5553 (_FP_ADD_INTERNAL): Likewise.
5554 (_FP_MUL): Likewise.
5555 (_FP_FMA): Likewise.
5556 (_FP_DIV): Likewise.
5557 (_FP_CMP_CHECK_NAN): Likewise.
5558 (_FP_SQRT): Likewise.
5559 (_FP_TO_INT): Likewise.
5560 (FP_EXTEND): Likewise.
5561
b6dcfe8c
AM
55622014-10-09 Allan McRae <allan@archlinux.org>
5563
5564 * po/fr.po: Update French translation from translation project.
5565
2d6a47ba
JM
55662014-10-09 Joseph Myers <joseph@codesourcery.com>
5567
cb831245
JM
5568 [BZ #14132]
5569 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5570 of INTDEF.
5571 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5572 (__cxa_atexit): Use libc_hidden_proto.
5573 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5574
5deeb190
JM
5575 [BZ #14132]
5576 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5577 declaration.
5578 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5579 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5580 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5581 [!_ISOMAC] (__iswctype_internal): Likewise.
5582 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5583 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5584 alias.
5585 (fcntl): Remove __fcntl_internal alias.
5586 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5587 __connect_internal alias.
5588 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5589 Likewise.
5590
454ac701
JM
5591 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5592 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5593 FP_DENORM_ZERO.
5594 (_FP_CHECK_FLUSH_ZERO): New macro.
5595 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5596 (_FP_CMP): Likewise.
5597 (_FP_CMP_EQ): Likewise.
5598 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5599 FP_DENORM_ZERO.
5600 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5601 (FP_TRUNC): Likewise.
5602
0022e688
JM
5603 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5604 treated as invalid conversion, not as normal exponent.
5605
73e28d9c
JM
5606 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5607 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5608 (_FP_CMP_EQ): Likewise.
5609 (_FP_CMP_UNORD): Likewise.
5610 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5611 (FP_CMP_EQ_D): Likewise.
5612 (FP_CMP_UNORD_D): Likewise.
5613 * soft-fp/extended.h (FP_CMP_E): Likewise.
5614 (FP_CMP_EQ_E): Likewise.
5615 (FP_CMP_UNORD_E): Likewise.
5616 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5617 (FP_CMP_EQ_Q): Likewise.
5618 (FP_CMP_UNORD_Q): Likewise.
5619 * soft-fp/single.h (FP_CMP_S): Likewise.
5620 (FP_CMP_EQ_S): Likewise.
5621 (FP_CMP_UNORD_S): Likewise.
5622 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5623 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5624 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5625 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5626 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5627 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5628 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5629 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5630 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5631 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5632 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5633 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5634 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5635 to FP_CMP_Q.
5636 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5637 FP_CMP_Q.
5638 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5639 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5640 FP_CMP_EQ_Q.
5641 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5642 FP_CMP_Q.
5643 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5644 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5645 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5646 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5647 FP_CMP_EQ_Q.
5648 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5649 FP_CMP_Q.
5650 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5651 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5652 FP_CMP_EQ_Q.
5653 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5654 FP_CMP_Q.
5655 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5656 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5657 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5658 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5659 FP_CMP_EQ_Q.
5660
43059f42
JM
5661 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5662 a subnormal result, set the underflow exception if trapping on
5663 underflow is enabled.
5664 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5665 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5666 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5667 redefine to 0.
5668 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5669 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5670 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5671 * soft-fp/extendxftf2.c (__extendxftf2): Use
5672 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5673
2d6a47ba
JM
5674 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5675 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5676 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5677 FP_HANDLE_EXCEPTIONS.
5678 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5679 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5680 FP_HANDLE_EXCEPTIONS.
5681 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5682 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5683 FP_HANDLE_EXCEPTIONS.
5684 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5685 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5686 FP_HANDLE_EXCEPTIONS.
5687
620f462e
JM
56882014-10-08 Joseph Myers <joseph@codesourcery.com>
5689
5690 [BZ #14132]
5691 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5692 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5693 use INTUSE.
5694 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5695 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5696 Remove alias.
5697 (__adjtimex): Define using libc_hidden_ver.
5698 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5699 Remove declaration.
5700 (ntp_gettime): Call __adjtimex directly.
5701 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5702 Remove declaration.
5703 (ntp_gettimex): Call __adjtimex directly.
5704 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5705 __adjtimex_internal alias.
5706
c763c5d2
RM
57072014-10-08 Roland McGrath <roland@hack.frob.com>
5708
5709 [BZ #17460]
5710 * nscd/nscd.c (more_help): Rewrite list of tables collection
5711 using xstrdup and asprintf.
5712
5713 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5714
7b8fb2b8
RM
57152014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5716 Roland McGrath <roland@hack.frob.com>
5717
5718 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5719 (do_lookup_unique): ... local function 'enter' here; update callers.
5720
abb280f7
JM
57212014-10-06 Joseph Myers <joseph@codesourcery.com>
5722
f7b42517
JM
5723 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5724 compat_symbol calls on [SHARED].
5725 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5726 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5727 Remove.
5728 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5729 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5730 (oldsetrlimit): Remove.
5731 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5733 (lchown): New syscall entry.
5734 (oldsetrlimit): Remove.
5735 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5736 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5737 (oldsetrlimit): Remove.
5738 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5739
abb280f7
JM
5740 [BZ #14138]
5741 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5742 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5743 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5744 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5745 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5746 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5747 (fchown): Likewise.
5748 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5749 (fchown): Likewise.
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5751 Likewise.
5752
47d46237
AZ
57532014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754
5755 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5756 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5757 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5758 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5759 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5760 Likewise.
5761 (__old_sem_post): Likewise.
5762
57632014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5764
845a7343
CM
5765 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5766 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5767 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5768 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5769 Use INLINE_VSYSCALL macro.
5770 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5771 __vdso_clock_gettime.
5772 * sysdeps/unix/sysv/linux/tile/init-first.c
5773 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5774 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5775 __vdso_clock_gettime.
5776
83d641ef
CM
5777 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5778 to set up frame more cleanly.
5779
d9cd52e6
CM
5780 * sysdeps/tile/memcmp.c: New file.
5781
4b68ea11
CM
5782 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5783
c86f7b80
CM
5784 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5785 * sysdeps/tile/tilegx/strcasestr.c: New file.
5786 * sysdeps/tile/tilegx/strnlen.c: New file.
5787 * sysdeps/tile/tilegx/strstr.c: New file.
5788
1c4c1a6f
CM
5789 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5790
99d86ea3
AS
57912014-10-06 Arjun Shankar <arjun.is@lostca.se>
5792
5793 * nptl/tst-setuid3.c: Write errors to stdout.
5794
06210a44
KS
57952014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5796
5797 * elf/dl-deps.c
5798 (preload): New functions broken out of _dl_map_object_deps.
5799 (_dl_map_object_deps): Remove a nested function. Update call sites.
5800
6268f532
JM
58012014-10-01 Joseph Myers <joseph@codesourcery.com>
5802
5803 [BZ #14138]
5804 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5805 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5806
b925285f
SE
58072014-10-01 Steve Ellcey <sellcey@mips.com>
5808
5809 * sysdeps/mips/strcmp.S: New.
5810
754a15c6
JM
58112014-09-30 Joseph Myers <joseph@codesourcery.com>
5812
5813 [BZ #14138]
5814 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5815 (linkat): Likewise.
5816 (mkdirat): Likewise.
5817 (readlinkat): Likewise.
5818 (renameat): Likewise.
5819 (symlinkat): Likewise.
5820 (unlinkat): Likewise.
5821 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5822 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5823 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5824 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5825 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5826 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5827 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5828
85bb81c9
WN
58292014-09-30 Will Newton <will.newton@linaro.org>
5830
dc6fe23b
WN
5831 * math/math.h: Define long double math functions if
5832 _LIBC_TEST is defined.
5833 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5834
85bb81c9
WN
5835 * localedata/Makefile: Move assignment to tests-special
5836 into an ifdef testing run-built-tests.
5837 * timezone/Makefile: Likewise.
5838
b7e02da4
JM
58392014-09-29 Joseph Myers <joseph@codesourcery.com>
5840
5841 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5842 with $(BASH) not $(SHELL).
5843
62058ce6
CD
58442014-09-29 Carlos O'Donell <carlos@redhat.com>
5845 Matthew LeGendre <legendre1@llnl.gov>
5846
5847 [BZ #17411]
5848 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5849 l_reloc_result.
5850
8e257a29
KS
58512014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5852
5853 * stdio-common/printf_fp.c
5854 (hack_digit): New function, broken out of ...
5855 (__printf_fp): ... local function here. Update call sites.
5856 hack_digit now takes an additional parameter that is a pointer
5857 to a struct of the referenced locals. Those locals moved inside
5858 the struct and references updated.
5859
f4a58f0d
L
58602014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5861
5862 * aclocal.m4: Require autoconf 2.69.
5863 * configure: Regenerated.
5864 * sysdeps/aarch64/configure: Likewise.
5865 * sysdeps/alpha/configure: Likewise.
5866 * sysdeps/arm/armv7/configure: Likewise.
5867 * sysdeps/arm/configure: Likewise.
5868 * sysdeps/ia64/configure: Likewise.
5869 * sysdeps/mach/configure: Likewise.
5870 * sysdeps/mips/configure: Likewise.
5871 * sysdeps/s390/configure: Likewise.
5872 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5874
5875 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5876 file.
5877 * sysdeps/ia64/configure.ac: Likewise.
5878
93ae1eba
JM
58792014-09-26 Joseph Myers <joseph@codesourcery.com>
5880
1810d3ab
JM
5881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5882 specify symbol version for ld.so. Do not include entry for
5883 libpthread.
5884 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5885 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5886 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5887
93ae1eba
JM
5888 [BZ #14171]
5889 * Makeconfig [$(build-shared) = yes]
5890 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5891 makefiles.
5892 [$(build-shared) = yes && $(soversions.mk-done) = t]
5893 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5894 [$(build-shared) = yes && $(soversions.mk-done) = t]
5895 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5896 to Makerules.
5897 [$(build-shared) = yes && $(soversions.mk-done) = t]
5898 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5899 here.
5900 [$(build-shared) = yes && $(soversions.mk-done) = t]
5901 (common-generated): Don't append gnu/lib-names.h and
5902 gnu/lib-names.stmp here.
5903 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5904 (lib-names-h-abi): New variable.
5905 [$(build-shared) = yes && $(soversions.mk-done) = t]
5906 (lib-names-stmp-abi): Likewise.
5907 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5908 abi-variants] (before-compile): Append
5909 $(common-objpfx)$(lib-names-h-abi).
5910 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5911 abi-variants] (common-generated): Append gnu/lib-names.h.
5912 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5913 abi-variants] (install-others-nosubdir): Depend on
5914 $(inst_includedir)/$(lib-names-h-abi).
5915 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5916 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5917 [$(build-shared) = yes && $(soversions.mk-done) = t]
5918 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5919 [$(build-shared) = yes && $(soversions.mk-done) = t]
5920 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5921 [$(build-shared) = yes && $(soversions.mk-done) = t]
5922 (common-generated): Append $(lib-names-h-abi) and
5923 $(lib-names-stmp-abi).
5924 * scripts/lib-names.awk: Do not handle multi being set.
5925 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5926 Remove variable.
5927 (abi-lp64_be-ld-soname): Likewise.
5928 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5929 Likewise.
5930 (abi-hard-ld-soname): Likewise.
5931 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5932 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5933 Remove variable.
5934 (abi-o32_hard-ld-soname): Likewise.
5935 (abi-o32_soft_2008-ld-soname): Likewise.
5936 (abi-o32_hard_2008-ld-soname): Likewise.
5937 (abi-n32_soft-ld-soname): Likewise.
5938 (abi-n32_hard-ld-soname): Likewise.
5939 (abi-n32_soft_2008-ld-soname): Likewise.
5940 (abi-n32_hard_2008-ld-soname): Likewise.
5941 (abi-n64_soft-ld-soname): Likewise.
5942 (abi-n64_hard-ld-soname): Likewise.
5943 (abi-n64_soft_2008-ld-soname): Likewise.
5944 (abi-n64_hard_2008-ld-soname): Likewise.
5945 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5946 Likewise.
5947 (abi-64-v2-ld-soname): Likewise.
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5949 ld.so entries.
5950 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5951 variable.
5952 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5953 entry.
5954 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5955 variable.
5956 (abi-64-ld-soname): Likewise.
5957 (abi-x32-ld-soname): Likewise.
5958 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5959 entry.
5960 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5961
68870f12
JM
59622014-09-23 Joseph Myers <joseph@codesourcery.com>
5963
5964 [BZ #14138]
5965 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5966 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5967 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5968 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5969 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5970 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5971 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5972 syscall entry for GLIBC_2.2 symbol version.
5973 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5974 Likewise.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5976 (setrlimit): Likewise.
5977 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5978 Likewise.
5979
ea58f202
WN
59802014-09-23 Will Newton <will.newton@linaro.org>
5981
5982 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5983 _LINUX_ARM_SYSDEP_H include guard too.
5984 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5985 define.
5986
69eb9a18
RV
59872014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5988
5989 * sysdeps/unix/sysv/linux/eventfd.c:
5990 Make first argument unsigned.
5991 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5992 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5993
20e5a5f7
OB
59942014-09-20 Ondřej Bílka <neleai@seznam.cz>
5995
5996 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5997 * socket/sys/socket.h: Likewise
5998 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5999
d3c827e7
AK
60002014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6001
6002 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6003
fe1cc35a
AS
60042014-09-17 Arjun Shankar <arjun.is@lostca.se>
6005
6006 * time/tst-ftime.c: New test.
6007 * time/Makefile (tests): Add tst-ftime.
6008
4e8afe69
JM
60092014-09-17 Joseph Myers <joseph@codesourcery.com>
6010
c4fe3ea7
JM
6011 * soft-fp/extended.h: Fix comment formatting.
6012 * soft-fp/op-1.h: Likewise.
6013 * soft-fp/op-2.h: Likewise.
6014 * soft-fp/op-4.h: Likewise.
6015 * soft-fp/op-8.h: Likewise.
6016 * soft-fp/op-common.h: Likewise.
6017 * soft-fp/soft-fp.h: Likewise.
6018
4e8afe69
JM
6019 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6020
af296fcd
JM
60212014-09-16 Joseph Myers <joseph@codesourcery.com>
6022
6023 [BZ #6652]
6024 * Makeconfig (soversions-default-setname): Remove variable.
6025 ($(common-objpfx)soversions.i): Don't pass default_setname to
6026 soversions.awk.
6027 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6028 oldest_abi to abi-versions.awk.
6029 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6030 * config.make.in (oldest-abi): Remove variable.
6031 * configure.ac (--enable-oldest-abi): Remove configure option.
6032 * configure: Regenerated.
6033 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6034 text.
6035 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6036 * scripts/soversions.awk: Do not handle default_setname variable.
6037 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6038 variable.
6039 * sysdeps/mach/hurd/configure: Regenerated.
6040 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6041 variable.
6042 * sysdeps/unix/sysv/linux/configure: Regenerated.
6043
545583d6
SP
60442014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6045
d330b980
SP
6046 * elf/Makefile (CFLAGS-interp.c): Remove.
6047 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6048 path string.
6049 * elf/interp.c: Include generated runtime-linker.h
6050
02657da2
SP
6051 * Makerules (lib%.so): Don't include $(+interp) in
6052 prerequisites.
6053 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6054 * dlfcn/eval.c: Remove file.
6055
653b1080
SP
6056 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6057 macros.
6058
602f80ec
SP
6059 [BZ #17266]
6060 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6061 4.2 and newer.
6062
545583d6
SP
6063 [BZ #17370]
6064 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6065
884ddc50
SP
60662014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6067 Jakub Jelinek <jakub@redhat.com>
6068
6069 [BZ #17266]
6070 * libio/stdio.h: Check definition of __fortify_function
6071 instead of __extern_always_inline to include bits/stdio2.h.
6072 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6073 check if __extern_always_inline is defined.
6074 [__USE_MISC || __USE_XOPEN]: Likewise.
6075 [__USE_ISOC99] Likewise.
6076 * misc/sys/cdefs.h (__fortify_function): Define only if
6077 __extern_always_inline is defined.
6078 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6079 __extern_always_inline and __extern_inline only for g++-4.3
6080 and newer or a compatible gcc.
6081
a7b87268
AS
60822014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6083
6084 [BZ #17371]
6085 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6086 last change to handle zero prefix length.
6087
3f41521d
SP
60882014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6089
61fe374a
SP
6090 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6091 _SC_REGEX_VERSION.
6092
3f41521d
SP
6093 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6094 _POSIX_RAW_SOCKETS.
6095
d8f879ee
AM
60962014-09-13 Allan McRae <allan@archlinux.org>
6097
6098 * po/ru.po: Update Russian translation from translation project.
6099
c079afb7
RM
61002014-09-12 Roland McGrath <roland@hack.frob.com>
6101
a62b3c15
RM
6102 * locale/programs/locale.c (show_locale_vars): Inline local function
6103 into its sole call site. Clean up some style nits.
6104 (print_item): New function, broken out of ...
6105 (show_info): ... local function here. Clean up style nits.
6106
d7e49b19
RM
6107 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6108 out of ...
6109 (set_class_defaults): ... local function set_default here.
6110 Define set_default as a macro locally to pass constant parameters.
6111 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6112 rather than a shared local.
6113
c079afb7
RM
6114 * stdlib/rpmatch.c (try): New function, broken out of ...
6115 (rpmatch): ... local function here. Also, prototypify definition.
6116
0bd72468
JM
61172014-09-12 Joseph Myers <joseph@codesourcery.com>
6118
ba90e050
JM
6119 * scripts/soversions.awk: Do not handle configuration names.
6120 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6121 vendor and os variables to soversions.awk.
6122 * configure.ac: Do not modify gnu-* host_os.
6123 * configure: Regenerated
6124 * shlib-versions: Remove first column with configuration names.
6125 * nptl/shlib-versions: Likewise.
6126 * nptl_db/shlib-versions: Likewise.
6127 * sysdeps/hppa/shlib-versions: Likewise.
6128 * sysdeps/m68k/shlib-versions: Likewise.
6129 * sysdeps/mach/hurd/shlib-versions: Likewise.
6130 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6131 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6132 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6133 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6134 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6135 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6136 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6137 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6139 Likewise.
6140 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6141 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6142 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6143 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6144 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6145 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6146 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6148
73a39112
JM
6149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6150 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6152 Regenerated.
6153 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6155 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6156
c729e7c1
JM
6157 * shlib-versions: Remove OS-specific entries. Moved to files in
6158 sysdeps.
6159 * sysdeps/mach/hurd/shlib-versions: New file.
6160 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6161
dc932a24
JM
6162 * nptl/shlib-versions: Remove architecture-specific entries.
6163 Moved to files in sysdeps.
6164 * shlib-versions: Likewise.
6165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6166 file.
6167 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6168 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6169 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6170 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6171
0bd72468
JM
6172 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6173 (UDP_NO_CHECK6_RX): Likewise.
6174
920238e0
SP
61752014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6176
6177 * sysdeps/posix/sysconf.c (__sysconf): Spell
6178 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6179
ba7b4d29
FW
61802014-08-12 Florian Weimer <fweimer@redhat.com>
6181
6182 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6183 loading.
6184 * iconv/Versions (__gconv_transliterate): Export for use from
6185 gconv modules.
6186 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6187 (struct __gconv_trans_data, __gconv_trans_fct,
6188 __gconv_trans_context_fct, __gconv_trans_query_fct,
6189 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6190 definitions.
6191 (struct __gconv_step_data): Remove __trans member.
6192 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6193 longer hidden. Remove unused trans_data argument.
6194 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6195 (__gconv_translit_find): Remove declaration.
6196 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6197 prototype.
6198 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6199 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6200 trans_data argument. Add hidden definition.
6201 (__gconv_translit_find): Remove.
6202 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6203 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6204 * iconv/skeleton.c: Remove transliteration initialization.
6205 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6206 __gconv_step_data initialization.
6207 * libio/iofwide.c (__libio_translit_): Remove.
6208 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6209 * wcsmbs/btowc.c (__btowc): Likewise.
6210 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6211 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6212 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6213 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6214 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6215 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6216 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6217 * wcsmbs/wctob.c (wctob): Likewise.
6218
5379aebd
SP
62192014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6220
6221 [BZ #16194]
6222 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6223 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6224 register usage.
6225 * sysdeps/x86/Makefile: Adjust.
6226
8c0ab919
RM
62272014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6228 Roland McGrath <roland@hack.frob.com>
6229
6230 * locale/weight.h: Add include guard.
6231 (findidx): Make static rather than auto; take new parameters
6232 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6233 * locale/weightwc.h: Likewise.
6234 * posix/fnmatch_loop.c
6235 (FCT): Change type of EXTRA from int32_t to wint_t.
6236 Don't include either header inside the function.
6237 Call FINDIDX rather than findidx, and pass new arguments.
6238 #undef FINDIDX at the end of the file.
6239 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6240 FINDIDX before including fnmatch_loop.c for the non-wide version.
6241 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6242 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6243 for the wide version.
6244 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6245 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6246 Pass new arguments to findidx.
6247 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6248 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6249 Don't #include it inside the function. Pass new arguments to findidx.
6250 * posix/regex_internal.h
6251 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6252 (re_string_elem_size_at): Don't #include it inside the function.
6253 Pass new arguments to findidx.
6254 * string/strcoll_l.c: #include WEIGHT_H at top level.
6255 (get_next_seq): Don't #include it inside the function.
6256 Pass new arguments to findidx.
6257 (get_next_seq_nocache): Likewise.
6258 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6259 (STRXFRM): Don't #include it inside the function.
6260 Pass new arguments to findidx.
6261
52ffbdf2
FW
62622014-09-11 Florian Weimer <fweimer@redhat.com>
6263
6264 [BZ #17344]
6265 * malloc/malloc.c (unlink): Turn asserts into a call to
6266 malloc_printerr.
6267
984c0ea9
TL
62682014-09-11 Tim Lammens <tim.lammens@gmail.com>
6269
6270 [BZ #17370]
6271 * libio/wfileops (do_ftell_wide): Free OUT.
6272
3daee107
CM
62732014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6274
6275 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6276
58b930ae
SP
62772014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6278
6279 [BZ #17363]
6280 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6281 group if the current group is empty.
6282
3b473fec
AZ
62832014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6284
71ae8647
AZ
6285 * benchtests/bench-memset.c (test_main): Add more test from size
6286 from 32 to 512 bytes.
6287 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6288 Add POWER8 memset object.
6289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6290 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6291 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6292 implementation.
6293 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6294 Likewise.
6295 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6296 multiarch POWER8 memset optimization.
6297 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6298 POWER8 memset optimization.
6299
3b473fec
AZ
6300 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6301 Remove bzero multiarch objects.
6302 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6303 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6304 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6305 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6306 Remove define.
6307 [__bzero]: Redefine to specific name.
6308 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6309 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6310 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6311 define.
6312 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6313 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6314
e6fb9587
FW
63152014-09-10 Florian Weimer <fweimer@redhat.com>
6316
6317 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6318 warnings into errors.
6319
6320 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6321 __cxa_thread_atexit_impl prototype.
6322
9d3a350b
SE
63232014-09-09 Steve Ellcey <sellcey@mips.com>
6324
6325 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6326 Fix capitalization of error message.
6327
0febba23
SE
63282014-09-09 Steve Ellcey <sellcey@mips.com>
6329
6330 * sysdeps/mips/preconfigure: Modify ABI tests.
6331
645a0e9c
CD
63322014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6333
6334 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6335
d83f0734
CD
63362014-09-07 Roland McGrath <roland@hack.frob.com>
6337 Carlos O'Donell <carlos@systemhalted.org>
6338
6339 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6340 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6341 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6342 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6343 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6344 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6345 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6346 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6347 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6348 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6349 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6350 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6351 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6352 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6353 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6354 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6355 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6356 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6357 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6358 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6359 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6360 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6361 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6362 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6363 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6364 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6365 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6366 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6367 Deconditionalize the code that was previously under [RESET_PID].
6368 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6369 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6370 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6371 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6372 include sysdep.h.
6373
21c83793
AM
63742014-09-08 Allan McRae <allan@archlinux.org>
6375
6376 * version.h (RELEASE): Set to "development".
6377 (VERSION): Set to "2.20.90"
6378
1cd9b65c
AM
63792014-09-07 Allan McRae <allan@archlinux.org
6380
b8079dd0
AM
6381 * version.h (RELEASE): Set to "stable".
6382 (VERSION): Set to "2.20"
6383 * include/features.h (__GLIBC_MINOR__): Set to 20.
6384
c46303ef
AM
6385 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6386 Liebler.
6387
1cd9b65c
AM
6388 * po/ko.po: Update Korean translation from translation project.
6389
8622092d
CM
63902014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6391
6392 [BZ #17354]
6393 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6394 macro for handling signed relocations.
6395
41488498
FW
63962014-09-03 Florian Weimer <fweimer@redhat.com>
6397
6398 [BZ #17325]
6399 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6400 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6401 assert.
6402 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6403 * iconvdata/ibm935.c (BODY): Likewise.
6404 * iconvdata/ibm937.c (BODY): Likewise.
6405 * iconvdata/ibm939.c (BODY): Likewise.
6406 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6407 assert.
6408 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6409 script.
6410 * iconvdata/run-iconv-test.sh: New test loop for checking for
6411 decoder crashers.
6412
a78b712d
KR
64132014-09-02 Khem Raj <raj.khem@gmail.com>
6414
6415 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6416 libm_hidden_ver.
6417
cb08abc6
AM
64182014-09-01 Allan McRae <allan@archlinux.org>
6419
2c31e102
AM
6420 * po/eo.po: Update Esperanto translation from translation project.
6421
cb08abc6
AM
6422 * po/ca.po: Update Catalan translation from translation project.
6423
17a62de1
ST
64242014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6425
6426 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6427 __proc_dostop call.
6428
9570bc53
MW
64292014-08-27 Mark Wielaard <mjw@redhat.com>
6430
6431 [BZ #17319]
6432 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6433 to call set_thread_area instead of hand written asm.
6434 (__NR_set_thread_area): Removed define.
6435 (TLS_FLAG_WRITABLE): Likewise.
6436 (__ASSUME_SET_THREAD_AREA): Remove check.
6437 (TLS_EBX_ARG): Remove define.
6438 (TLS_LOAD_EBX): Likewise.
6439
b0f955c9
ST
64402014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6441
6442 Simplify atomicity of socket creation in bind.
6443
6444 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6445 looking up the name after linking the file.
6446
529bf515
AM
64472014-08-27 Allan McRae <allan@archlinux.org>
6448
6449 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6450
a1a6a401
FW
64512014-08-26 Florian Weimer <fweimer@redhat.com>
6452
6453 [BZ #17187]
6454 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6455 trans_compare, open_translit, __gconv_translit_find):
6456 Remove module loading code.
6457
686ab290
AM
64582014-08-26 Allan McRae <allan@archlinux.org>
6459
e4e7cfd2
AM
6460 * po/vi.po: Update Vietnamese translation from translation project.
6461
6aa09f71
AM
6462 * po/uk.po: Update Ukrainian translation from translation project.
6463
edc0660e
AM
6464 * po/fr.po: Update French translation from translation project.
6465
7eea72ac
AM
6466 * po/ru.po: Update Russian translation from translation project.
6467
93c49eff
AM
6468 * po/pl.po: Update Polish translation from translation project.
6469
46acaf63
AM
6470 * po/cs.po: Update Czech translation from translation project.
6471
a9f5ce98
AM
6472 * po/de.po: Update German translation from translation project.
6473
373f2b78
AM
6474 * po/bg.po: Update Bulgarian translation from translation project.
6475
e7548bd8
AM
6476 * po/sv.po: Update Sweedish translation from translation project.
6477
c526bf4d
AM
6478 * po/nl.po: Update Dutch translation from translation project.
6479
686ab290
AM
6480 * po/es.po: Update Spanish translation from translation project.
6481
eb72478a
SP
64822014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6483
dd763fdb
SP
6484 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6485
318c7a58
SP
6486 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6487 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6488 (CPPFLAGS-iconvconfig): Likewise.
6489 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6490
eb72478a
SP
6491 * include/libc-symbols.h: Remove unnecessary check for
6492 NOT_IN_libc.
6493 * nptl/pthreadP.h: Likewise.
6494 * sysdeps/aarch64/setjmp.S: Likewise.
6495 * sysdeps/alpha/setjmp.S: Likewise.
6496 * sysdeps/arm/sysdep.h: Likewise.
6497 * sysdeps/i386/setjmp.S: Likewise.
6498 * sysdeps/m68k/setjmp.c: Likewise.
6499 * sysdeps/posix/getcwd.c: Likewise.
6500 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6501 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6502 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6503 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6504 * sysdeps/sh/sh3/setjmp.S: Likewise.
6505 * sysdeps/sh/sh4/setjmp.S: Likewise.
6506 * sysdeps/unix/alpha/sysdep.h: Likewise.
6507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6508 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6509 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6510 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6513 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6514 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6515 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6518 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6520 * sysdeps/x86_64/setjmp.S: Likewise.
6521
d44a052c
JM
65222014-08-13 Joseph Myers <joseph@codesourcery.com>
6523
6524 [BZ #17263]
6525 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6526 <stdint.h>.
6527 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6528 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6529
508ce3ac
SP
65302014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6531
e44c8b0e
SP
6532 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6533
508ce3ac
SP
6534 [BZ #17262]
6535 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6536 and __x86_64__ when disabling x87 inline functions.
6537
b4acef1f
L
65382014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6539
6540 [BZ #17259]
6541 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6542 asm statement with __cpuid_count.
6543
61b1ef6e
MF
65442014-08-12 Mike Frysinger <vapier@gentoo.org>
6545
6546 * configure.ac: Change __ehdr_start code to dereference the struct.
6547 Run readelf on the output to look for relocations.
6548 * configure: Regenerated.
6549
898c62f4
JM
65502014-08-12 Joseph Myers <joseph@codesourcery.com>
6551
6552 [BZ #17261]
6553 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6554 value to 0.
6555 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6556
9a8a5720
RM
65572014-08-12 Roland McGrath <roland@hack.frob.com>
6558
6559 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6560
4e75751c
BO
65612014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6562
6563 [BZ #16892]
6564 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6565 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6566
bb2ce416
SA
65672014-08-12 Sean Anderson <seanga2@gmail.com>
6568
6569 * malloc/malloc.c: Fix typo in comment.
6570
7950a4ee
AM
65712014-08-09 Allan McRae <allan@archlinux.org>
6572
6573 * Regenerate libc.po.
6574
f469c49f
MF
65752014-08-08 Mike Frysinger <vapier@gentoo.org>
6576
6577 * intl/tst-gettext2.sh: Check every lang file for creation.
6578
656b84c2
WD
65792014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6580
6581 * sysdeps/aarch64/fpu/math_private.h
6582 (libc_feholdsetround_noex_aarch64_ctx): New function.
6583
538e9e45
W
65842014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6585
6586 * sysdeps/arm/armv6/strcpy.S (strcpy):
6587 Fix performance issue in misaligned cases.
6588
d4795e4a
AZ
65892014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6590
6591 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6592 Move definition from termios.h.
6593 (struct termio): Likewise.
6594 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6595 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6596 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6597 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6598 Likewise.
6599 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6600 Move definition to ioctl-types.h
6601 (struct termio): Likewise.
6602 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6603 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6604 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6605 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6606 Likewise.
6607
64accb62
RH
66082014-08-05 Richard Henderson <rth@redhat.com>
6609
27bb6dc0
RH
6610 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6611 exceptions.
6612 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6613 Add fraiseexcpt.
6614 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6615 Use __feraiseexcept.
6616 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6617 Protect libm symbols with IS_IN_libm.
6618
64accb62
RH
6619 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6620
e5292691
BO
66212014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6622
6623 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6624
5b4bd2d4
WN
66252014-08-04 Will Newton <will.newton@linaro.org>
6626
6627 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6628 file.
6629
fcadaeef
MF
66302014-08-04 Mike Frysinger <vapier@gentoo.org>
6631
6632 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6633 variants for each function.
6634
43a94c64
RM
66352014-08-04 Roland McGrath <roland@hack.frob.com>
6636
6637 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6638 appended ...
6639 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6640 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6641 appended ...
6642 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6643 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6644 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6645 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6646 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6647 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6648 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6649 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6650 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6651 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6652 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6653 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6654 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6655 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6656 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6657 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6658 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6660 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6661 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6662 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6663 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6664 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6666 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6667 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6668 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6669 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6670 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6672 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6673 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6674 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6675 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6676 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6678 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6679 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6680 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6681 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6682 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6683 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6684 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6685 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6686 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6687 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6688 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6689 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6690 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6691 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6692 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6693 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6694 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6695 Update #include.
6696 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6697 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6698
8f3c1fa4
RM
66992014-08-04 Roland McGrath <roland@hack.frob.com>
6700
6701 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6702 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6703 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6704 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6705 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6706 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6707
ca08746f
RM
67082014-08-04 Roland McGrath <roland@hack.frob.com>
6709
6710 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6711 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6712 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6713 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6714
9c925ff9
RM
67152014-08-04 Roland McGrath <roland@hack.frob.com>
6716
6717 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6718 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6719 (__libc_vfork): Define function under this name.
6720 (__vfork): Define as an alias.
6721 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6722 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6723
e641054c
RM
67242014-08-04 Roland McGrath <roland@hack.frob.com>
6725
6726 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6727 that was previously under [RESET_PID].
6728 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6729
dacdc867
AS
67302014-08-04 Andreas Schwab <schwab@suse.de>
6731
6732 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6733
41f725ff
MF
67342014-08-03 Mike Frysinger <vapier@gentoo.org>
6735
6736 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6737 (main): Likewise.
6738
277cfb31
RM
67392014-08-01 Roland McGrath <roland@hack.frob.com>
6740
6741 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6742
4896f049
RH
67432014-08-01 Richard Henderon <rth@redhat.com>
6744
6745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6746 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6747 typo in exact zero test.
6748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6751
6f64e7d7
RM
67522014-08-01 Roland McGrath <roland@hack.frob.com>
6753
6754 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6755 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6756 * sysdeps/arm/sysdep.h: ... here.
6757 [!__ASSEMBLER__]: Include <stdint.h>.
6758
3f3dd810
SP
67592014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6760
a476ac4b
SP
6761 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6762 (HAVE_WCTYPE_H): Likewise.
6763 (HAVE_ISWCTYPE): Likewise.
6764 (ENABLE_NLS): Likewise.
6765 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6766 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6767
78dd658a
SP
6768 * posix/regex_internal.c: Check if DEBUG is defined and is
6769 set.
6770
3f3dd810
SP
6771 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6772 (HAVE_MBSRTOWCS): Likewise.
6773 * posix/fnmatch.c: Include string.h unconditionally.
6774
95ee7fb1
SL
67752014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6776
6777 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6778 reversal.
6779
23fe486b
RM
67802014-07-31 Roland McGrath <roland@hack.frob.com>
6781
f61a113f
RM
6782 * sysdeps/generic/safe-fatal.h: New file.
6783 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6784 * nptl/forward.c: Include it.
6785 (__pthread_unwind): Use __safe_fatal as default action, rather
6786 than a bogus use of INTERNAL_SYSCALL that could never work.
6787
9fe7e787
RM
6788 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6789 * configure.ac (libc_cv_builtin_trap): New test.
6790 * configure: Regenerated.
6791 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6792 (ABORT_INSTRUCTION): Define using __builtin_trap.
6793
23fe486b
RM
6794 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6795 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6796 * sysdeps/nptl/nptl-signals.h: New file.
6797 * nptl/pthreadP.h: Include <nptl-signals.h>.
6798
f349489e
SL
67992014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6800
6801 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6802 (ONE_DIRECTION): Define.
6803 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6804 (ONE_DIRECTION): Define.
6805 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6806 (ONE_DIRECTION): Define.
6807
2f438e20
SL
68082014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6809
6810 * sysdeps/s390/Makefile: Delete file.
6811 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6812 * sysdeps/s390/__longjmp.c: Delete file.
6813 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6814 Remove fields __flags and __reserved.
6815 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6816 and add versioning.
6817 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6818 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6819 * sysdeps/s390/rtld-setjmp.S: Likewise.
6820 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6821 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6822 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6823 * sysdeps/s390/s390-32/setjmp.S: ... here.
6824 Add versioning.
6825 (__sigsetjmp): Remove setting __flags field.
6826 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6827 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6828 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6829 * sysdeps/s390/s390-64/setjmp.S: ... here.
6830 Add versioning.
6831 (__sigsetjmp): Remove setting __flags field.
6832 * sysdeps/s390/setjmp.S: Delete file.
6833 * sysdeps/s390/sigjmp.c: Likewise.
6834 * sysdeps/s390/v1-longjmp.c: Likewise.
6835 * sysdeps/s390/v1-setjmp.h: Likewise.
6836 * sysdeps/s390/v1-sigjmp.c: Likewise.
6837 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6838 Remove v1-longjmp_chk.
6839 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6840 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6841 Include debug/longjmp_chk.c and add versioning.
6842 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6843 Include nptl/pt-longjmp.c and add versioning.
6844 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6845 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6846 Include __longjmp.c.
6847 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6848 Move to ...
6849 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6850 (__getcontext): Remove setting __flags field.
6851 Add versioning.
6852 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6853 Don't restore upper high grps.
6854 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6855 Likewise.
6856 (__swapcontext): Remove setting uc_flags field.
6857 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6858 Delete file.
6859 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6860 Include __longjmp.c.
6861 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6862 Move to ...
6863 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6864 (__getcontext): Remove setting __flags field.
6865 Add versioning.
6866 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6867 (__swapcontext): Remove setting uc_flags field.
6868 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6869 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6870 Remove fields uc_high_gprs and __reserved.
6871 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6872 New file with reverted content.
6873 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6874 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6875 Regenerated.
6876 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6877 Regenerated.
6878
6c9578a2
AS
68792014-07-31 Andreas Schwab <schwab@suse.de>
6880
6881 * config.h.in (HAVE_IFUNC): Define to 0.
6882 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6883 definedness.
6884
05f3633d
LM
68852014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6886
6887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6888 memmove-avx-unaligned, memcpy-avx-unaligned and
6889 mempcpy-avx-unaligned.
6890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6891 Add tests for AVX memcpy functions.
6892 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6893 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6894 memcpy_chk.
6895 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6896 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6897 memmove_chk.
6898 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6899 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6900 mempcpy_chk.
6901 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6902 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6903 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6904
a53fbd8e
AZ
69052013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 [BZ #17213]
6908 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6909 powerpc64le.
6910
0961f7e1
JL
69112014-07-29 Jeff Layton <jlayton@poochiereds.net>
6912
6913 [BZ #16839]
6914 * manual/llio.texi: Add section about open file description locks.
6915 * manual/examples/ofdlocks.c: Example of open file description
6916 lock usage.
6917 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6918 F_OFD_SETLK, and F_OFD_SETLKW.
6919
cc5fb300
AM
69202014-07-23 Allan McRae <allan@archlinux.org>
6921
6922 * po/es.po: Update Spanish translation from translation project.
6923
23329dca
AS
69242014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6925
6926 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6927
9c82da17
MR
69282014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6929
6930 [BZ #17078]
6931 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6932 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6933 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6934
29c4f53e
JM
69352014-07-17 Joseph Myers <joseph@codesourcery.com>
6936
831b9896
JM
6937 [BZ #17088]
6938 * math/fesetenv.c (__fesetenv)
6939 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6940 * math/feupdateenv.c (__feupdateenv)
6941 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6942
b21c2d50
JM
6943 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6944 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6945 (__ASSUME_SOCKETCALL): Do not define.
6946
067764ef
JM
6947 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6948 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6949 (__ASSUME_SOCKETCALL): Do not define.
6950 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6951 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6952 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6953 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6954 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6955 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6956 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6957 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6958
642530c1
JM
6959 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6960 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6961 (__ASSUME_SOCKETCALL): Do not define.
6962 (__ASSUME_IPC64): Define unconditionally.
6963 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6964 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6965 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6966 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6967 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6968 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6969 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6970 Likewise.
6971
03f77315
JM
6972 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6973 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6974 (__ASSUME_SOCKETCALL): Do not define.
6975 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6976 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6977 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6978 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6979 (__ASSUME_REQUEUE_PI): Define unconditionally.
6980 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6981 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6982 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6983 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6984 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6985 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6986
083b1f7c
JM
6987 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6988 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6989 (__ASSUME_SOCKETCALL): Do not define.
6990 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6991 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6992 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6993 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6994 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6995 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6996
5be44ea6
JM
6997 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6998 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6999 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7000 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7001 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7002 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7003 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7004 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7005 (__ASSUME_GETCPU_SYSCALL): Likewise.
7006
d95ffd4c
JM
7007 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7008 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7009 cases for individual architectures.
7010 * sysdeps/gnu/configure: Regenerated.
7011 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7012 LIBC_SLIBDIR_RTLDDIR.
7013 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7014 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7015 LIBC_SLIBDIR_RTLDDIR.
7016 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7018 LIBC_SLIBDIR_RTLDDIR.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7020 Regenerated.
7021 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7022 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7023 file.
7024 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7025 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7026 file.
7027 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7028 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7029 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7030 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7031
29c4f53e
JM
7032 * sysdeps/aarch64/shlib-versions: Move to ...
7033 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7034 * sysdeps/alpha/shlib-versions: Move to ...
7035 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7036 * sysdeps/arm/shlib-versions: Move to ...
7037 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7038 * sysdeps/hppa/shlib-versions: Move all contents except for
7039 libgcc_s entry to ...
7040 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7041 entry from ...
7042 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7043 * sysdeps/ia64/shlib-versions: Move to ...
7044 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7045 entry from ...
7046 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7047 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7048 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7049 * sysdeps/microblaze/shlib-versions: Move to ...
7050 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7051 * sysdeps/mips/shlib-versions: Move to ...
7052 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7053 entry from ...
7054 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7055 * sysdeps/tile/shlib-versions: Move to ...
7056 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7057 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7058 from ...
7059 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7060 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7061 entry from ...
7062 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7063
32bead5b
WN
70642014-07-17 Will Newton <will.newton@linaro.org>
7065
57977c4b
WN
7066 * sysdeps/arm/bits/atomic.h
7067 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7068 (__arch_compare_and_exchange_bool_16_int): Likewise.
7069 (__arch_compare_and_exchange_bool_64_int): Likewise.
7070
32bead5b
WN
7071 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7072 into an #else block.
7073
37fccd41
RM
70742014-07-16 Roland McGrath <roland@hack.frob.com>
7075
7076 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7077 just Linux configurations. Test empirically that the compiler sets
7078 __ARM_EABI__, rather than using the tuple to decide.
7079 * sysdeps/arm/preconfigure: Regenerated.
7080 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7081 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7082 contents appended ...
7083 * sysdeps/arm/configure.ac: ... here.
7084 * sysdeps/arm/configure: Regenerated.
7085
b365f3ec
RM
70862014-07-15 Roland McGrath <roland@hack.frob.com>
7087
8badf496
RM
7088 * nptl/pthread_kill.c: New file.
7089 * nptl/pthread_sigmask.c: New file.
7090 * nptl/pthread_sigqueue.c: New file.
7091
3df6f22e
RM
7092 * sysdeps/nptl/lowlevellock.h: New file.
7093 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7094 * sysdeps/nptl/lowlevellock-futex.h: New file.
7095
b365f3ec
RM
7096 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7097 Remove dead declarations.
7098
f2fef657
L
70992014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7100
7101 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7102 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7103 config-cflags-avx2.
7104 * sysdeps/x86_64/configure.ac: Likewise.
7105 * sysdeps/i386/configure: Regenerated.
7106 * sysdeps/x86_64/configure: Likewise.
7107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7108 memset-avx2 only if config-cflags-avx2 is yes.
7109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7110 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7111 defined.
7112 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7113 only if HAVE_AVX2_SUPPORT is defined.
7114 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7115
f6c44d47
AM
71162014-07-14 Alan Modra <amodra@gmail.com>
7117
7118 [BZ #17153]
7119 * elf/elf.h (DT_PPC64_NUM): Correct value.
7120 * NEWS: Add to fixed bug list.
7121
7ee03f00
JM
71222014-07-13 Jim Meyering <meyering@fb.com>
7123
7124 [BZ 17150]
7125 regex: don't deref NULL upon heap allocation failure
7126 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7127 failure in one more place.
7128 To trigger the segfault, configure grep -with-included-regex,
7129 build it, and run these commands:
7130 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7131
9d39d517
AS
71322014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7133
7134 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7135
a75b89b7
RH
71362014-07-11 Richard Henderson <rth@redhat.com>
7137
7138 * sysdeps/aarch64/libm-test-ulps: Update.
7139
771eb141
FW
71402014-07-10 Florian Weimer <fweimer@redhat.com>
7141
7142 [BZ #17135]
7143 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7144 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7145 (__nptl_setxid): Initialize error member. Call
7146 __nptl_setxid_error.
7147 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7148 * nptl/descr.h (struct xid_command): Add error member.
7149 * nptl/tst-setuid3.c: New file.
7150 * nptl/Makefile (tests): Add it.
7151
bc1da176
AZ
71522014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153
7154 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7155 New define.
7156 (__lll_trylock): Use __lll_base_trylock.
7157 (__lll_cond_trylock): Likewise.
7158
887865fc
RM
71592014-07-10 Roland McGrath <roland@hack.frob.com>
7160
c0c6bac9
RM
7161 * nptl/pthread_create.c (start_thread): Use atomic_or and
7162 lll_futex_wake directly rather than lll_robust_dead.
7163 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7164 (lll_robust_dead): Macro removed.
6a42be57 7165 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7166 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7167 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7168 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7169 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7170 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7171 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7172 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7173 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7174 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7175 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7176 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7177 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7178 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7179 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7180
887865fc
RM
7181 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7182 Use atomic_compare_and_exchange_val_acq directly rather than
7183 lll_robust_trylock.
7184 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7185 (__lll_robust_trylock, lll_robust_trylock): Removed.
7186 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7187 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7188 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7189 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7190 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7191 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7192 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7193 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7194 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7195 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7196 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7198 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7199 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7200
58536726
FW
72012014-07-02 Florian Weimer <fweimer@redhat.com>
7202
7203 * manual/locale.texi (Locale Names): New section documenting
7204 locale name syntax. Adjust menu and node chaining accordingly.
7205 (Choosing Locale): Reference Locale Names, Locale Categories.
7206 Mention setting LC_ALL=C. Reflect that name syntax is now
7207 documented.
7208 (Locale Categories): New section title. Reference Locale Names.
7209 LC_ALL is an environment variable, but not a category.
7210 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7211 description, now in Locale Name. Reference that section. Locale
7212 name syntax is now documented.
7213
4e8f95a0
FW
72142014-07-02 Florian Weimer <fweimer@redhat.com>
7215
7216 [BZ #17137]
7217 * locale/findlocale.c (name_present, valid_locale_name): New
7218 functions.
7219 (_nl_find_locale): Use the loc_name variable to store name
7220 candidates. Call name_present and valid_locale_name to check and
7221 validate locale names. Return an error if the locale is invalid.
7222
d1836456
FW
72232014-07-02 Florian Weimer <fweimer@redhat.com>
7224
7225 * locale/setlocale.c (setlocale): Use strdup for allocating
7226 composite name copy.
7227
d69b7f5a
SP
72282014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
888c679b
SP
7230 Sync up with gnulib.
7231 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7232 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7233 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7234 and _GL_ARG_NONNULL.
7235 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7236 [!_LIBC]: Include code for Windows and Cygwin.
7237 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7238 Include prototype for int strerror_r.
7239 [!_LIBC] (is_open): New function.
7240 (flush_stdout): New function.
7241 (print_errno_message): Use it.
7242 (error): Likewise.
7243 (error_at_line): Likewise.
7244 (error_tail) Add function attribute macros. Use
7245 __builtin_expect.
7246
180e0e4b
SP
7247 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7248
d22f1fe2
SP
7249 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7250
12f2254b
SP
7251 * io/ftw.c: Include sys/param.h unconditionally.
7252
c3c7c360
SP
7253 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7254
d62aa75a
SP
7255 [BZ #17125]
7256 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7257 libc_freeres_ptr.
7258 (freecache): New function to free CACHE on exit.
7259
d69b7f5a
SP
7260 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7261 initialization.
7262
5efe06a1
DM
72632014-07-09 David S. Miller <davem@davemloft.net>
7264
7265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7266
7000d82e
DM
7267 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7268 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7269 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7270 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7271 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7272 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7273 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7274 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7275 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7276 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7277 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7278 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7279 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7280
c213442d
AS
72812014-07-09 Andreas Schwab <schwab@suse.de>
7282
4a2552c3
AS
7283 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7284 output.
7285 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7286 (do_test): Likewise.
7287
c213442d
AS
7288 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7289
82374e65
WN
72902014-07-09 Will Newton <will.newton@linaro.org>
7291
7292 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7293 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7294 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7295 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7296 * sysdeps/hppa/start.S (_start): Likewise.
7297
6680738a
SP
72982014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7299
6ee3eab4
SP
7300 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7301
6680738a
SP
7302 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7303 defined.
7304
80b5c505
SP
73052014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7306
e35c53e3
SP
7307 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7308 after checking that it is non-NULL.
7309
80b5c505
SP
7310 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7311
91f4b564
AZ
73122014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7313
27b75f56
AZ
7314 * sysdeps/powerpc/memmove.c: Remove file.
7315 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7316 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7318 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7320 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7321 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7322 string memmove instead of removed powerpc one.
7323
e7f95bb5
AZ
7324 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7325 [weak_alias]: Fix compiler warning due trailing data.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7327 [weak_alias]: Likewise.
7328 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7329 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7330
91f4b564
AZ
7331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7332 (__libc_ifunc_impl_list): Add memmove functions.
7333
7c33f1e5
SP
73342014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7335
7336 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7337 Remove code.
7338 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7339 Likewise
7340 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7341 Likewise
7342 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7343 Likewise
7344 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7345 Likewise
7346 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7347 Likewise
7348 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7349 Likewise
7350 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7351 Likewise
7352 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7353 Likewise
7354 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7355 Likewise
7356 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7357 Likewise
7358 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7359 Likewise
7360 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7361 Likewise
7362 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7363 Likewise
7364 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7365 Likewise
7366 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7367 Likewise
7368 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7369 Likewise
7370
3f17b03b
AZ
73712014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7372
87868c24
AZ
7373 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7374 to avoid alignment traps in non-cacheable memory.
7375 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7376
07aedd78
AZ
7377 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7378 multiarch objects.
7379 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7380 file: multiarch power7 memmove.
7381 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7382 multiarch default memmove.
7383 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7384 multiarch memove for powerpc32/power4.
7385
17762f66
AZ
7386 * string/bcopy.c: Use full path to include memmove.c.
7387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7388 multiarch objects.
7389 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7390 bcopy for powerpc64.
7391 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7392 bcopy for powerpc64.
7393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7394 and memmove implementations.
7395 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7396 optimized multiarch memmove for POWER7/powerpc64.
7397 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7398 default multiarch memmove for powerpc64.
7399 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7400 multiarch for powerpc64.
7401 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7402 for POWER7/powerpc64.
7403 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7404 memmove for POWER7/powerpc64.
7405
d6f68bbe
AZ
7406 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7407 glibc default one.
7408
3f17b03b
AZ
7409 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7410 __ELF_NATIVE_CLASS equal to 64.
7411
08192659
RM
74122014-07-07 Roland McGrath <roland@hack.frob.com>
7413
f4c4021b
RM
7414 * sysdeps/nptl/lowlevellock.h: File removed.
7415
f083450f
RM
7416 * NEWS: NPTL is no longer an add-on!
7417 * nptl/internaltypes.h: Moved ...
7418 * sysdeps/nptl/internaltypes.h: ... here.
7419 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7420 * sysdeps/nptl/fork.c: Likewise.
7421 * sysdeps/nptl/gai_misc.h: Likewise.
7422 * sysdeps/nptl/librt-cancellation.c: Likewise.
7423 * sysdeps/nptl/jmp-unwind.c: Likewise.
7424 * sysdeps/nptl/setxid.h: Likewise.
7425 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7426 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7427 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7428 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7429 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7430 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7431 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7432 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7433 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7434 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7435 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7436 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7437 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7438 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7439 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7440 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7441 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7442 * nptl/Makeconfig: Moved ...
7443 * sysdeps/nptl/Makeconfig: ... here.
7444 * nptl/configure: File removed.
7445 * nptl/ANNOUNCE: File removed.
7446 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7447 * sysdeps/unix/sysv/linux/configure: Regenerated.
7448
08192659
RM
7449 * nptl/Makefile (routines): Add libc_pthread_init,
7450 libc_multiple_threads, register-atfork and unregister-atfork.
7451 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7452 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7453 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7454 pthread-pi-defines.sym, structsem.sym.
7455 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7456 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7457 [$(subdir) = nptl] (tests): Add tst-setgetname.
7458 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7459 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7460 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7461 [!LIBC_SIGACTION]: Remove aliases.
7462 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7463 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7464 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7465 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7466 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7467 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7470 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7471 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7472 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7473 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7474 __libc_allocate_rtsig_private.
7475 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7476 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7477 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7478 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7479 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7480 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7481 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7482 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7483 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7484 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7485 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7486 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7487 * nptl/internaltypes.h: ... here.
7488 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7489 * sysdeps/nptl/jmp-unwind.c: ... here.
7490 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7491 * nptl/libc-lowlevellock.c: ... here.
7492 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7493 * nptl/libc_multiple_threads.c: ... here.
7494 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7495 * nptl/libc_pthread_init.c: ... here.
7496 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7497 * nptl/lowlevelbarrier.sym: ... here.
7498 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7499 * nptl/lowlevelcond.sym: ... here.
7500 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7501 * nptl/lowlevellock.c: ... here.
7502 * nptl/lowlevellock.h: Moved ...
7503 * sysdeps/nptl/lowlevellock.h: ... here.
7504 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7505 * nptl/lowlevelrobustlock.c: ... here.
7506 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7507 * nptl/lowlevelrobustlock.sym: ... here.
7508 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7509 * nptl/lowlevelrwlock.sym: ... here.
7510 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7511 * nptl/pt-fork.c: ... here.
7512 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7513 * nptl/pthread-pi-defines.sym: ... here.
7514 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7515 * nptl/pthread_attr_getaffinity.c: ... here.
7516 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7517 * nptl/pthread_attr_setaffinity.c: ... here.
7518 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7519 * nptl/pthread_mutex_cond_lock.c: ... here.
7520 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7521 Update #include.
7522 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7523 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7524 * nptl/pthread_once.c: ... here, replacing old file.
7525 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7526 * nptl/pthread_yield.c: ... here.
7527 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7528 * nptl/register-atfork.c: ... here.
7529 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7530 * nptl/sem_post.c: ... here.
7531 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7532 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7533 * nptl/sem_timedwait.c: ... here.
7534 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7535 * nptl/sem_trywait.c: ... here.
7536 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7537 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7538 * nptl/sem_wait.c: ... here.
7539 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7540 * nptl/structsem.sym: ... here.
7541 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7542 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7543 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7544 * nptl/unregister-atfork.c: ... here.
7545 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7546 * nptl/unwindbuf.sym: ... here.
7547 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7548 * sysdeps/nptl/fork.c: ... here.
7549 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7550 * sysdeps/nptl/fork.h: ... here.
7551 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7552 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7553 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7554 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7555 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7556 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7557 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7558 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7559 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7560 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7561 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7562 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7563 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7564 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7565 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7566 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7567 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7568 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7569 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7570 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7571 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7572 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7573 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7574 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7575 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7576 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7577 * sysdeps/unix/sysv/linux/raise.c: ... here.
7578 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7579 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7580 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7581 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7582 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7583 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7584 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7585 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7586 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7587 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7588 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7589 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7590 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7591 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7592 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7593
96baf6ff
SP
75942014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7595
7596 * sysdeps/generic/memcopy.h: Add comment for
7597 MEMCPY_OK_FOR_FWD_MEMMOVE.
7598
6b7b14b2
WN
75992014-07-04 Will Newton <will.newton@linaro.org>
7600
1570a72b
WN
7601 * string/memchr.c: Merge from gnulib.
7602 [_LIBC]: Remove conditionals.
7603 (__ptr_t): Remove define.
7604 (LONG_MAX_32_BITS): Likewise.
7605 (LONG_MAX): Likewise.
7606 (MEMCHR): Use ANSI prototype and optimize algorithm.
7607
6b7b14b2
WN
7608 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7609
38851324
SP
76102014-07-03 Roland McGrath <roland@hack.frob.com>
7611
3d9eb57c
RM
7612 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7613 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7614
78b984ae
RM
7615 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7616 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7617 in a bare environment with no <stdlib.h> installed.
7618 * sysdeps/nptl/configure: Regenerated.
7619
2d5976a5
RM
7620 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7621
c1f5acd4
RM
7622 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7623 AC_EGREP_CPP for kernel header checks, so they only succeed if
7624 including <linux/version.h> actually works right.
7625 * sysdeps/unix/sysv/linux/configure: Regenerated.
7626
4d614fe5
RM
7627 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7628 value so it's not diagnosed as unused.
7629
38851324
SP
7630 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7631 thing) with "ifeq ($(subdir),rt)".
7632
b3ec00e5
RH
76332014-07-03 Richard Henderson <rth@redhat.com>
7634
69862e25
RH
7635 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7636 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7637 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7638
d5e16ade
RH
7639 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7640 (math_force_eval): New.
7641
ca7b945c
RH
7642 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7643 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7644
cd1175a3
RH
7645 * sysdeps/alpha/fpu/s_round.c: Remove file.
7646 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7647
b3ec00e5
RH
7648 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7649 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7650 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7651 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7652 (_dl_start, print_statistics): Likewise.
7653 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7654 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7655
7656 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7657 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7658 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7659 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7660 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7661 (HP_SMALL_TIMING_AVAIL): Define.
7662 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7663 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7664 (HP_SMALL_TIMING_AVAIL): Define.
7665 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7666 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7667
7668 * sysdeps/aarch64/hp-timing.h: New file.
7669
7670 * sysdeps/generic/hp-timing.h: Remove dead comment.
7671 * sysdeps/generic/hp-timing-common.h: New file.
7672 * sysdeps/alpha/hp-timing.h: Include it.
7673 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7674 * sysdeps/i386/i686/hp-timing.h: Likewise.
7675 * sysdeps/ia64/hp-timing.h: Likewise.
7676 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7677 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7678 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7679 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7680 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7681 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7682 (hp_timing_t): New.
7683
7684 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7685 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7686 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7687 * elf/rtld.c (_dl_start_final): Likewise.
7688 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7689 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7690 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7691 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7692 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7693 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7694 (HP_TIMING_DIFF_INIT): Remove.
7695 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7696 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7697 (HP_TIMING_DIFF_INIT): Remove.
7698 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7699 * sysdeps/i386/i686/hp-timing.c: Remove file.
7700 * sysdeps/x86_64/hp-timing.c: Remove file.
7701 * sysdeps/ia64/hp-timing.c: Remove file.
7702 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7703 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7704 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7705 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7706
7707 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7708 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7709 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7710 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7711 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7712 (HP_TIMING_ACCUM): Remove.
7713 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7714 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7715 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7716
7717 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7718 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7719 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7720 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7722 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7723 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7724 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7725
7726 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7727
225f410f
MR
77282014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7729
7730 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7731
3247f285
SP
77322014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7733
7734 Sync up with gettext.
7735 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7736 [_MSC_VER]: Include malloc.h
7737 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7738 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7739 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7740 TEMP_FAILURE_RETRY. Cast return of alloca.
7741 [!_LIBC] Call gl_rwlock_init.
7742 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7743
d12704c7
SP
77442014-07-02 Roland McGrath <roland@hack.frob.com>
7745
7746 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7747 before checking its value.
7748
99f8dc92
SP
77492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7750
05fdac77
SP
7751 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7752
99f8dc92
SP
7753 * debug/memcpy_chk.c: Don't include pagecopy.h.
7754 * debug/mempcpy_chk.c: Likewise.
7755 * string/memcpy.c: Likewise.
7756 * string/memmove.c: Likewise.
7757 * sysdeps/powerpc/memmove.c: Likewise.
7758 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7759 definition of PAGE_COPY_FWD_MAYBE here...
7760 * sysdeps/generic/pagecopy.h: ... from here.
7761 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7762
bc8ea385
VR
77632014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7764 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7765
7766 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7768 optimizations.
7769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7770 (__libc_ifunc_impl_list): Likewise.
7771 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7772 multiarch strcat for PPC64.
7773 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7774 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7775
fe5f34e4
RM
77762014-07-02 Roland McGrath <roland@hack.frob.com>
7777
7778 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7779
256aa665
SP
77802014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7781
d4eb8195
SP
7782 * intl/loadmsgcat.c: Remove declaration of
7783 get_sysdep_segment_value.
7784 (get_sysdep_segment_value): Use ISO C style.
7785 (_nl_load_domain): Use ISO C style. Get rid of redundant
7786 semicolon. Fix typo and formatting in comment.
7787 (_nl_unload_domain): Use ISO C style.
7788
256aa665
SP
7789 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7790
b100f9aa
WN
77912014-07-02 Will Newton <will.newton@linaro.org>
7792
7793 * malloc/obstack.c: Merge from gnulib master.
7794 [HAVE_CONFIG_H]: Remove conditional code.
7795 [!_LIBC]: Include config.h.
7796 [!ELIDE_CODE]: Don't include inttypes.h, include
7797 stdint.h unconditionally.
7798 (print_and_abort): Mark as _Noreturn.
7799 (_obstack_allocated_p): Mark as __attribute_pure__.
7800 (obstack_free): Rename to __obstack_free.
7801 [!__attribute__]: Remove conditional code.
7802 * malloc/obstack.h: Merge from gnulib master.
7803 [__cplusplus]: Move conditional down.
7804 [!__attribute_pure__]: Define __attribute_pure__ here
7805 if it is not already defined.
7806 (_obstack_memory_used): Mark as __attribute_pure__.
7807 [!__obstack_free]: Define as obstack_free.
7808 [__GNUC__]: Remove check for ancient NeXT gcc.
7809
c4c41244
PE
78102014-07-02 Will Newton <will.newton@linaro.org>
7811 Paul Eggert <eggert@cs.ucla.edu>
7812
7813 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7814
e1e041c4
SP
78152014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7816
7817 * resolv/gethnamaddr.c: Add comment warning that the file is
7818 not maintained.
7819
ccf431ff
CD
78202014-07-01 Carlos O'Donell <carlos@redhat.com>
7821
d34570a6
CD
7822 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7823 entries.
7824
ccf431ff
CD
7825 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7826 entry for aio_cancel and aio_cancel64.
7827 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7828 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7829 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7830 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7831 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7832 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7833 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7834 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7835 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7836 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7837 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7838 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7839 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7840
ca06321d
RM
78412014-07-01 Roland McGrath <roland@hack.frob.com>
7842
7843 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7844 * nptl/pthread_mutex_lock.c: Likewise.
7845 * nptl/pthread_mutex_timedlock.c: Likewise.
7846 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7847
a1ac3184
RH
78482014-07-01 Richard henderson <rth@redhat.com>
7849
631021e0
RH
7850 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7851 (__isnan, __isnanl): Remove.
7852 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7853
a1ac3184
RH
7854 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7855
0c1d731f
SL
78562014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7857
7858 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7859
76985d3e
SP
78602014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7861
7862 * resolv/nss_dns/dns-host.c (getanswer_r)
7863 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7864
b0cb3096
JM
78652014-07-01 Joseph Myers <joseph@codesourcery.com>
7866
7867 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7868 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7869 undefine.
7870 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7871 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7872
4d76cb39
RM
78732014-07-01 Roland McGrath <roland@hack.frob.com>
7874
7875 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7876 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7877
7878 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7879 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7880
7881 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7882 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7883 ... here.
7884 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7885 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7886
7887 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7888 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7889 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7890 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7891
7892 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7893 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7894 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7895 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7896 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7897 Moved ...
7898 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7899 ... here.
7900 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7901 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7903 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7905 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7906 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7907 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7908 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7911 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7912 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7913 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7914 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7915 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7917 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7918 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7919 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7920 ... here.
7921 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7922 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7923 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7924 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7925 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7926 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7927 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7928 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7929
0cdcad17
DH
79302014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7931
7932 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7933 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7934 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7935 Add sysdep.
7936
9b71d0e3
AZ
79372014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7938
7939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7940
665390c2
JM
79412014-06-30 Joseph Myers <joseph@codesourcery.com>
7942
ae05a9d7
JM
7943 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7944 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7945
a7672a2f
JM
7946 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7947
665390c2
JM
7948 * sysdeps/arm/libm-test-ulps: Regenerated.
7949
d7a05d07
MR
79502014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7951 Roland McGrath <roland@hack.frob.com>
7952
7953 * test-skeleton.c (signal_handler): Kill the whole process group
7954 before killing the child individually.
7955 (main): Report any failure on `setpgid'.
7956
46f1d8a6
RM
79572014-06-30 Roland McGrath <roland@hack.frob.com>
7958
7959 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7960 from _TLS_H to _ARM_NPTL_TLS_H.
7961 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7962 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7963
9c37ec0b
JM
79642014-06-30 Joseph Myers <joseph@codesourcery.com>
7965
ce9c5b3e
JM
7966 [BZ #16539]
7967 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7968 (__expm1l): Return argument unchanged when small but not
7969 subnormal.
7970
3a6e9887
JM
7971 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7972 include macro name.
7973 (_FP_UNPACK_RAW_1_P): Likewise.
7974 (_FP_PACK_RAW_1): Likewise.
7975 (_FP_PACK_RAW_1_P): Likewise.
7976 (_FP_MUL_MEAT_1_wide): Likewise.
7977 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7978 (_FP_MUL_MEAT_1_hard): Likewise.
7979 (_FP_DIV_MEAT_1_imm): Likewise.
7980 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7981 (_FP_DIV_MEAT_1_udiv): Likewise.
7982 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7983 (_FP_UNPACK_RAW_2): Likewise.
7984 (_FP_UNPACK_RAW_2_P): Likewise.
7985 (_FP_PACK_RAW_2): Likewise.
7986 (_FP_PACK_RAW_2_P): Likewise.
7987 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7988 (_FP_MUL_MEAT_2_wide): Likewise.
7989 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7990 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7991 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7992 (_FP_MUL_MEAT_2_gmp): Likewise.
7993 (_FP_DIV_MEAT_2_udiv): Likewise.
7994 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7995 (_FP_FRAC_SRL_4): Likewise.
7996 (_FP_FRAC_SRST_4): Likewise.
7997 (_FP_FRAC_SRS_4): Likewise.
7998 (_FP_UNPACK_RAW_4): Likewise.
7999 (_FP_UNPACK_RAW_4_P): Likewise.
8000 (_FP_PACK_RAW_4): Likewise.
8001 (_FP_PACK_RAW_4_P): Likewise.
8002 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8003 (_FP_MUL_MEAT_4_wide): Likewise.
8004 (_FP_MUL_MEAT_4_gmp): Likewise.
8005 (umul_ppppmnnn): Likewise.
8006 (_FP_DIV_MEAT_4_udiv): Likewise.
8007 (__FP_FRAC_ADD_4): Likewise.
8008 (__FP_FRAC_SUB_3): Likewise.
8009 (__FP_FRAC_SUB_4): Likewise.
8010 (__FP_FRAC_DEC_3): Likewise.
8011 (__FP_FRAC_DEC_4): Likewise.
8012 (__FP_FRAC_ADDI_4): Likewise.
8013 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8014 (_FP_FRAC_SRL_8): Likewise.
8015 (_FP_FRAC_SRS_8): Likewise.
8016
9c37ec0b
JM
8017 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8018 include macro name.
8019 (FP_UNPACK_RAW_EP): Likewise.
8020 (FP_PACK_RAW_E): Likewise.
8021 (FP_PACK_RAW_EP): Likewise.
8022 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8023 (_FP_ISSIGNAN): Likewise.
8024 (_FP_ADD_INTERNAL): Likewise.
8025 (_FP_FMA): Likewise.
8026 (_FP_CMP): Likewise.
8027 (_FP_SQRT): Likewise.
8028 (_FP_TO_INT): Likewise.
8029 (_FP_FROM_INT): Likewise.
8030 (FP_EXTEND): Likewise.
8031 (_FP_DIV_MEAT_N_loop): Likewise.
8032
2125f674
MR
80332014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8034
8035 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8036 throughout.
8037
edea4028
JM
80382014-06-29 Joseph Myers <joseph@codesourcery.com>
8039
8040 [BZ #17097]
8041 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8042 result with correct sign in case of exponents that produce
8043 overflow except for X very close to 1.
8044
dd0ba018
PE
80452014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8046
8047 mktime: merge #if/#ifdef usage from glibc
8048 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8049 as that works with both Glibc's and Gnulib's style.
8050 See thread starting at Siddhesh Poyarekar's bug report at:
8051 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8052
64df73c2
SP
80532014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8054
8055 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8056 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8057 * sysdeps/tile/tilegx/memmove.c: Remove file.
8058
f1eafb41
JM
80592014-06-27 Joseph Myers <joseph@codesourcery.com>
8060
8061 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8062 abi-name definition.
8063 * scripts/soversions.awk: Do not handle or generate ABI lines.
8064 * shlib-versions: Remove ABI entries.
8065 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8066 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8067
58eb0862
RM
80682014-06-27 Roland McGrath <roland@hack.frob.com>
8069
37caf178
RM
8070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8071 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8072 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8073 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8075 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8077 Moved ...
8078 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8079 ... here.
8080 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8081 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8083 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8087 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8089 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8090 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8091 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8093 Moved ...
8094 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8096 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8097 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8098 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8100 Moved ...
8101 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8103 Moved ...
8104 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8106 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8108 Moved ...
8109 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8111 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8113 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8115 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8117 Moved ...
8118 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8120 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8122 Moved ...
8123 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8124 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8125 Moved ...
8126 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8128 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8130 Moved ...
8131 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8132 ... here.
8133 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8134 Identical file removed.
8135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8136 Moved ...
8137 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8138 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8139 Identical file removed.
8140 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8143 Moved ...
8144 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8146 Identical file removed.
8147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8148 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8149 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8150 Identical file removed.
8151 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8152 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8153 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8154 Identical file removed.
8155 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8156 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8157 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8158 Identical file removed.
8159 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8160 Moved ...
8161 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8162 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8163 Identical file removed.
8164 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8165 Moved ...
8166 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8167 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8168 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8170 Identical file removed.
8171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8172 Moved ...
8173 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8174 ... here.
8175 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8176 Identical file removed.
8177 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8178 Moved ...
8179 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8180 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8181 Identical file removed.
8182 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8183 Moved ...
8184 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8185 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8186 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8188 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8189 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8190 Moved ...
8191 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8192 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8193 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8194
58eb0862
RM
8195 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8196 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8197 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8198 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8199 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8200
6f12d062
AS
82012014-06-27 Arjun Shankar <arjun.is@lostca.se>
8202
8203 [BZ #17092]
8204 * nscd/nscd.c (monitor_child): Return exit status of child
8205 instead of return value from wait syscall.
8206
be254932
JM
82072014-06-27 Joseph Myers <joseph@codesourcery.com>
8208
cb403c34
JM
8209 * configure.ac (libc_commonpagesize): Remove variable.
8210 (libc_relro_required): Likewise.
8211 (libc_cv_z_relro): Remove configure test.
8212 * configure: Regenerated.
8213 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8214 variable.
8215 (libc_relro_required): Likewise.
8216 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8217 (libc_relro_required): Likewise.
8218 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8219 (libc_relro_required): Likewise.
8220 * sysdeps/arm/preconfigure: Regenerated.
8221 * sysdeps/ia64/preconfigure: Remove file.
8222 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8223 variable.
8224 (libc_relro_required): Likewise.
8225
be254932
JM
8226 [BZ #16561]
8227 [BZ #16562]
8228 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8229 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8230 recompute overflowing results in original rounding mode.
8231 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8232 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8233 recompute overflowing results in original rounding mode.
8234 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8235 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8236 recompute overflowing results in original rounding mode.
8237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8238 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8239 recompute overflowing results in original rounding mode.
8240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8241 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8242 recompute overflowing results in original rounding mode.
8243 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8244 (libc_feholdsetround_ctx): New macro.
8245 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8246 * sysdeps/i386/fpu/libm-test-ulps: Update.
8247 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8248
b351d85a
JM
82492014-06-26 Joseph Myers <joseph@codesourcery.com>
8250
8251 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8252 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8253 corresponding .cpsetup call.
8254
3cb4de47
RM
82552014-06-26 Roland McGrath <roland@hack.frob.com>
8256
8257 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8258 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8259 * sysdeps/arm/Makefile [$(subdir) = csu]
8260 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8261 (static-only-routines): Add aeabi_read_tp here.
8262 (shared-only-routines): Add libc-aeabi_read_tp here.
8263 (CFLAGS-libc-start.c): Add -fexceptions here.
8264 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8265 (sysdep_routines, static-only-routines, shared-only-routines):
8266 Don't add to these here.
8267 (CFLAGS-libc-start.c): Likewise.
8268
8269 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8270 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8271 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8272 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8273 * sysdeps/arm/Makefile [$(subdir) = rt]
8274 (librt-sysdep_routines, librt-shared-only-routines):
8275 Append rt-aeabi_unwind_cpp_pr1 here.
8276 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8277 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8278 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8279 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8280 Append nptl-aeabi_unwind_cpp_pr1 here.
8281 (tests): Filter out tst-cleanupx4 here.
8282 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8283 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8284 Don't do those here.
8285
354426bb
JM
82862014-06-26 Joseph Myers <joseph@codesourcery.com>
8287
8288 * scripts/list-sources.sh: Do not handle ports specially.
8289
28b0a8c9
RM
82902014-06-26 Roland McGrath <roland@hack.frob.com>
8291
a3dd035d
RM
8292 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8293 * sysdeps/arm/feupdateenv.c: Likewise.
8294
28b0a8c9
RM
8295 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8296
e66a8203
JM
82972014-06-26 Joseph Myers <joseph@codesourcery.com>
8298
8299 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8300 trailing whitespace removed.
8301 * scripts/config.guess: Update to version 2014-03-23.
8302 * scripts/config.sub: Update to version 2014-05-01
8303 * scripts/install-sh: Update to version 2013-12-25.23.
8304 * scripts/move-if-change: Update from gnulib.
8305
74171115
SP
83062014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8307
b97c9ce5
SP
8308 * debug/memmove_chk.c: Remove pagecopy.h include.
8309
4000f892
SP
83102014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8311
74171115
SP
8312 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8313 identical to gnulib mktime.
8314
a8779c28
JM
83152014-06-26 Joseph Myers <joseph@codesourcery.com>
8316
e64708de
JM
8317 * configure.ac: Do not test for machine being rs6000. Do not test
8318 for powerpc*-*soft.
8319 * configure: Regenerated.
8320
a8779c28
JM
8321 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8322 test.
8323 * configure: Regenerated.
8324 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8325 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8326 Remove configure test.
8327 * sysdeps/arm/configure: Regenerated.
8328 * sysdeps/nptl/configure.ac: Do not check
8329 libc_cv_asm_cfi_directives.
8330 * sysdeps/nptl/configure: Regenerated.
8331 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8332 * sysdeps/x86_64/nptl/configure: Remove generated file.
8333 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8334 unconditional.
8335 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8336
2aac0a86
SP
83372014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8338
059bf913
SP
8339 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8340 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8341 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8342 it is defined.
8343
4cf5b6d0
SP
8344 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8345 instead of whether it is defined.
8346 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8347 * sysdeps/hppa/dl-machine.h: Likewise.
8348 * sysdeps/ia64/dl-machine.h: Likewise.
8349 * sysdeps/m68k/dl-machine.h: Likewise.
8350 * sysdeps/microblaze/dl-machine.h: Likewise.
8351 * sysdeps/mips/dl-machine.: Likewise.
8352 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8353 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8354 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8355 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8356 * sysdeps/sh/dl-machine.h: Likewise.
8357 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8358 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8359 * sysdeps/tile/dl-machine.h: Likewise.
8360 * sysdeps/x86_64/dl-machine.h: Likewise.
8361
2aac0a86
SP
8362 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8363 code.
8364 (verify_persistent_db): Likewise.
8365
6ad2df0b
RM
83662014-06-26 Roland McGrath <roland@hack.frob.com>
8367
d8a483f3
RM
8368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8369 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8371 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8373 Moved ...
8374 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8375 ... here.
8376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8377 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8379 Identical file removed.
8380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8381 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8383 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8385 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8387 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8389 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8391 Moved ...
8392 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8394 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8396 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8398 Moved ...
8399 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8401 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8403 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8405 Identical file removed.
8406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8407 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8409 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8411 Moved ...
8412 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8413 ... here.
8414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8415 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8417 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8419 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8421 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8423 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8425 Moved ...
8426 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8428 Moved ...
8429 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8431 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8433 Moved ...
8434 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8436 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8437
52ae23b4
RM
8438 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8439 folded into ...
8440 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8441 * sysdeps/unix/sysv/linux/s390/Versions
8442 (libpthread: GLIBC_2.19): New version set.
8443 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8444 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8445 (librt: GLIBC_2.3.3): New version set.
8446 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8447 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8448 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8449 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8450 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8451 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8452 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8453 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8454 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8455 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8456 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8458 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8459 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8460 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8461 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8462 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8463 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8464 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8465 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8466 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8467 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8468 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8469 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8470 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8471 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8472 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8473 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8474 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8475 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8476 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8477 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8479 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8482 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8484 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8486 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8488 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8490 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8491
39507e4a
RM
8492 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8493 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8494 (__libc_vfork): Define the function under this name.
8495 [!NOT_IN_libc] (__vfork): Make this an alias.
8496 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8498 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8499 (__libc_vfork): Define the function under this name.
8500 [!NOT_IN_libc] (__vfork): Make this an alias.
8501 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8502 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8503 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8506 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8507
e549ee56
RM
8508 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8509 code that was previously under [RESET_PID].
8510 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8511 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8512 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8513
6ad2df0b
RM
8514 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8515 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8516 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8517 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8518 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8519 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8520 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8521 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8522 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8523 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8525 Moved ...
8526 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8528 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8529 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8530 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8531 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8532 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8533 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8534 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8535 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8536 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8537 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8538 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8539 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8540 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8541 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8542 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8544 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8545 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8546 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8547 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8548 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8549 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8550 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8551 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8552 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8554 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8555
7c1c1d8e
RM
85562014-06-25 Roland McGrath <roland@hack.frob.com>
8557
8558 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8559 that was previously under [RESET_PID].
8560 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8561
3e239be6
JM
85622014-06-25 Joseph Myers <joseph@codesourcery.com>
8563
74385da5
JM
8564 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8565 not undefine and redefine.
8566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8567 [O_CLOEXEC]: Make code unconditional.
8568 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8569 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8570 <kernel-features.h>.
8571 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8572 conditional variable definition.
8573 (shm_open) [O_CLOEXEC]: Make code unconditional.
8574 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8575 code.
8576
c2570a0b
JM
8577 * configure.ac (USE_REGPARMS): Don't define here.
8578 * configure: Regenerated.
8579 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8580 * sysdeps/i386/configure: Regenerated.
8581
11b076bb
JM
8582 * nptl/createthread.c: Don't include kernel-features.h.
8583 * nptl/pthread_cancel.c: Likewise.
8584 * nptl/pthread_condattr_setclock.c: Likewise.
8585 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8586 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8587 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8588 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8589 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8590 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8591 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8592 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8593 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8594 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8595 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8596 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8597 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8598 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8599 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8600 * nscd/gai.c: Likewise.
8601 * nss/nss_db/db-open.c: Likewise.
8602 * sysdeps/generic/ldsodefs.h: Likewise.
8603 * sysdeps/sh/nptl/tls.h: Likewise.
8604 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8605 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8606 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8607 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8608 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8609 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8610 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8611 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8612 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8613 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8614 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8615 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8616 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8617 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8618 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8619 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8620 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8621 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8622 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8623 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8624 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8626 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8627 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8628 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8629 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8630 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8631 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8632 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8633 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8634 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8635 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8636 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8637 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8638 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8639 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8640 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8641 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8642 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8643 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8644 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8645 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8646 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8647 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8648 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8649 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8650 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8651 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8652 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8653 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8654 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8655 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8656 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8657 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8658 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8659 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8660 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8661 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8684 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8685 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8686 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8687 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8688 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8689 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8690 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8691 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8692 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8693 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8694 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8695 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8696 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8697 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8698 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8699 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8700 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8701 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8702 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8703 * sysdeps/unix/sysv/linux/system.c: Likewise.
8704 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8705 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8706 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8707 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8708 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8709 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8710 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8711
92072d57
JM
8712 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8713 * configure: Regenerated.
8714 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8715
3e239be6
JM
8716 * configure.ac (base_machine): Do not set specially for particular
8717 machines here.
8718 * configure: Regenerated.
8719 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8720 settings from configure.ac.
8721 * sysdeps/i386/preconfigure: New file.
8722 * sysdeps/s390/preconfigure: Likewise.
8723 * sysdeps/sh/preconfigure: Likewise.
8724 * sysdeps/sparc/preconfigure: Likewise.
8725
06d50baa
RM
87262014-06-25 Roland McGrath <roland@hack.frob.com>
8727
74836003
RM
8728 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8729 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8730 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8731 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8732 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8733 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8734 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8735 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8736 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8737 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8738 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8739 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8740 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8741 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8742 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8743 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8744 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8745 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8746 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8747
8748 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8749 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8750 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8751 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8752 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8753 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8754 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8755 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8756 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8757 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8758 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8759 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8760 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8761 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8762 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8763 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8764 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8765 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8766 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8767 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8768 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8769 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8770 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8771 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8772 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8773 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8775 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8776 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8777 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8778 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8779 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8780 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8781 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8782 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8783 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8784 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8785 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8786
06d50baa
RM
8787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8788 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8790 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8792 Moved ...
8793 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8794 ... here.
8795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8796 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8800 Moved ...
8801 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8803 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8805 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8807 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8809 Moved ...
8810 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8812 Moved ...
8813 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8815 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8817 Moved ...
8818 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8820 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8822 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8824 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8826 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8828 Moved ...
8829 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8830 ... here.
8831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8832 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8834 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8836 Moved ...
8837 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8839 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8845 Moved ...
8846 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8848 Moved ...
8849 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8853 Moved ...
8854 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8856 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8858 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8859
a4ccbc9b
JM
88602014-06-25 Joseph Myers <joseph@codesourcery.com>
8861
0828edbf
JM
8862 * timezone/checktab.awk: Update from tzcode 2014e.
8863 * timezone/private.h: Likewise.
8864 * timezone/tzfile.h: Likewise.
8865 * timezone/zdump.c: Likewise.
8866 * timezone/zic.c: Likewise.
8867
a4ccbc9b
JM
8868 * sysdeps/unix/sysv/linux/kernel-features.h
8869 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8871 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8872 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8873 Remove conditional code.
8874
9aea0cb8
WN
88752014-06-25 Will Newton <will.newton@linaro.org>
8876
8877 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8878 (_dl_arm_cap_flags): Add HWCAP2 values.
8879 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8880 (_DL_HWCAP_COUNT): Increase to 37.
8881 (_DL_HWCAP_LAST): New define.
8882 (_DL_HWCAP2_LAST): New define.
8883 (_dl_procinfo): Add support for printing
8884 AT_HWCAP2 entries.
8885 (_dl_string_hwcap): Use _dl_hwcap_string.
8886
6eaa65ce
AZ
88872014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8888
8889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8890
0f5b7185
JM
88912014-06-25 Joseph Myers <joseph@codesourcery.com>
8892
cfd2ea50
JM
8893 * README: Do not mention ports directory.
8894
cecf2ed4
JM
8895 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8896 Remove macro.
8897 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8898 <kernel-features.h>.
8899 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8900 conditional variable definition.
8901 (__futimes): Update comment.
8902 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8903 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8904
a638de82
JM
8905 [BZ #16560]
8906 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8907 arguments close to 0.
8908 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8909 Likewise.
8910 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8911 Likewise.
8912 * math/auto-libm-test-in: Add more tests of exp10.
8913 * math/auto-libm-test-out: Regenerated.
8914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8915
0f5b7185
JM
8916 * sysdeps/unix/sysv/linux/kernel-features.h
8917 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8918 * sysdeps/unix/sysv/linux/readv.c: Do not include
8919 <kernel-features.h>.
8920 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8921 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8922 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8923 unconditional.
8924 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8925 conditional code.
8926 * sysdeps/unix/sysv/linux/writev.c: Do not include
8927 <kernel-features.h>.
8928 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8929 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8930 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8931 unconditional.
8932 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8933 conditional code.
8934
c7aec4be
WN
89352014-06-25 Will Newton <will.newton@linaro.org>
8936
8937 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8938 comment changes throughout the file. Remove checks
8939 for HAVE_*_H definitions that are not required.
8940 (__gen_tempname): Call abort if an unknown kind value is
8941 passed.
8942
c5241f95
AS
89432014-06-25 Andreas Schwab <schwab@suse.de>
8944
8945 [BZ #17086]
8946 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8947 scalbln, scalblnf, scalblnl in libc.
8948
911422da
SP
89492014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8950
8951 [BZ #17086]
8952 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8953 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8954 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8955
0d749bbe
RM
89562014-06-24 Roland McGrath <roland@hack.frob.com>
8957
8958 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8959 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8960 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8961 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8962 Update #include.
8963 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8964 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8965 Update #include.
8966 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8967 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8968 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8969 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8970 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8971 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8972 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8973 * sysdeps/x86/bits/semaphore.h: ... here.
8974 * sysdeps/x86/nptl/elide.h: Moved ...
8975 * sysdeps/x86/elide.h: ... here.
8976 * sysdeps/x86_64/nptl/Implies: File removed.
8977 * sysdeps/i386/nptl/Implies: File removed.
8978
0ea5d373
JM
89792014-06-24 Joseph Myers <joseph@codesourcery.com>
8980
4060283d
JM
8981 [BZ #16539]
8982 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8983 return the argument for normal arguments with exponent below -64.
8984 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8985 Likewise.
8986 * math/auto-libm-test-in: Add another test of expm1.
8987 * math/auto-libm-test-out: Regenerated.
8988
e7dd3c8c
JM
8989 [BZ #16287]
8990 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8991 calling __erfcl for arguments at least 16.
8992 * math/auto-libm-test-in: Add more tests of erf.
8993 * math/auto-libm-test-out: Regenerated.
8994
0ea5d373
JM
8995 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8996 individual architectures.
8997 * sysdeps/unix/sysv/linux/configure: Regenerated.
8998 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8999 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9000 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9001 (ldd_rewrite_script): Define variable.
9002 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9004 file.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9006 generated file.
9007 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9008 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9009 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9010 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9011 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9012 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9013 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9014 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9015
2307e126
SP
90162014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9017
9018 [BZ #17084]
9019 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9020 Rename member __data.d to __data.__elision_data.
9021
c0a4ed77
W
90222014-06-24 Wilco <wdijkstr@arm.com>
9023
9024 * NEWS: Add 16918 to fixed bug list.
9025
b8c00573
W
90262014-06-24 Wilco <wdijkstr@arm.com>
9027
9028 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9029
b5570d92
W
90302014-06-24 Wilco <wdijkstr@arm.com>
9031
9032 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9033 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9034 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9035 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9036 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9037 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9038 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9039 Use _FPU_MASK_RM.
9040
947bdca2
W
90412014-06-24 Wilco <wdijkstr@arm.com>
9042
9043 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9044
00f669ed
W
90452014-06-24 Wilco <wdijkstr@arm.com>
9046
9047 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9048 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9049 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9050 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9051
db59bad3
W
90522014-06-24 Wilco <wdijkstr@arm.com>
9053
9054 [BZ #16918]
9055 * sysdeps/arm/feupdateenv.c (feupdateenv):
9056 Rewrite to reduce FPSCR accesses and fix return value.
9057
001f7b77
W
90582014-06-24 Wilco <wdijkstr@arm.com>
9059
9060 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9061 Optimize to avoid unnecessary FPSCR writes.
9062 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9063 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9064 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9065 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9066
4841e6a6
W
90672014-06-24 Wilco <wdijkstr@arm.com>
9068
9069 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9070 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9071 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9072 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9073 Call libc_fetestexcept_vfp.
9074 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9075 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9076 __SOFTFP__ ifdef so that they can be built for softfp.
9077
0813022c
SP
90782014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9079
08e5862f
SP
9080 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9081 argument type signed char.
9082
0813022c
SP
9083 * Makerules (check-abi): Dump diff of symlist if the test
9084 fails.
9085
3fc7236a
RM
90862014-06-23 Roland McGrath <roland@hack.frob.com>
9087
aba8ef95
RM
9088 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9089 using abort.
9090
3fc7236a
RM
9091 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9092 Remove unused variable ST.
9093
4da6db51
JM
90942014-06-23 Joseph Myers <joseph@codesourcery.com>
9095
4648909d
JM
9096 [BZ #16354]
9097 [BZ #17061]
9098 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9099 small arguments before calling __expm1.
9100 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9101 small arguments before calling __expm1f.
9102 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9103 small arguments before calling __expm1l.
9104 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9105 Likewise.
9106 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9107 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9108 spurious underflow for some cosh tests.
9109 * math/auto-libm-test-out: Regenerated.
9110 * sysdeps/i386/fpu/libm-test-ulps: Update.
9111
46a3d3c7
JM
9112 [BZ #17050]
9113 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9114 (__ieee754_y1): Set errno if return value overflows.
9115 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9116 (__ieee754_y1f): Set errno if return value overflows.
9117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9118 (__ieee754_y1l): Set errno if return value overflows.
9119 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9120 (__ieee754_y1l): Set errno if return value overflows.
9121 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9122 * math/auto-libm-test-out: Regenerated.
9123
863893ec
JM
9124 * math/gen-auto-libm-tests.c: Document use of
9125 ignore-zero-inf-sign.
9126 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9127 (input_flags): Add ignore-zero-inf-sign.
9128 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9129 * math/gen-libm-test.pl (generate_testfile): Handle
9130 ignore-zero-inf-sign.
9131 * math/auto-libm-test-in: Mark some cpow tests with
9132 ignore-zero-inf-sign and some with xfail-rounding.
9133 * math/auto-libm-test-out: Regenerated.
9134 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9135 * sysdeps/i386/fpu/libm-test-ulps: Update.
9136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9137
4da6db51
JM
9138 [BZ #16315]
9139 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9140 overflowing or underflowing operations take place with sign of
9141 result.
9142 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9143 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9144 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9145 (__ieee754_pow): Recompute overflowing and underflowing results in
9146 original rounding mode.
9147 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9148 (__powl_helper): Allow negative argument X and scale negated value
9149 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9150 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9151 overflowing or underflowing operations take place with sign of
9152 result.
9153 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9154 Include <math.h>.
9155 * math/auto-libm-test-in: Add more tests of pow.
9156 * math/auto-libm-test-out: Regenerated.
9157 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9158 (pow_tonearest_test_data): Remove.
9159 (pow_test_tonearest): Likewise.
9160 (pow_towardzero_test_data): Likewise.
9161 (pow_test_towardzero): Likewise.
9162 (pow_downward_test_data): Likewise.
9163 (pow_test_downward): Likewise.
9164 (pow_upward_test_data): Likewise.
9165 (pow_test_upward): Likewise.
9166 (main): Don't call removed functions.
9167 * sysdeps/i386/fpu/libm-test-ulps: Update.
9168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9169
5686b236
RM
91702014-06-23 Roland McGrath <roland@hack.frob.com>
9171
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9173 Moved ...
9174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9176 Moved ...
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9179 Moved ...
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9182 Moved ...
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9185 File removed.
9186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9187 File removed.
9188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9189 File removed.
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9191 File removed.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9193 File removed.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9195 File removed.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9197 File removed.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9199 File removed.
9200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9201 File removed.
9202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9203 File removed.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9205 File removed.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9207 File removed.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9209 Moved ...
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9212 Moved ...
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9214 ... here.
9215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9216 Moved ...
9217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9219 Moved ...
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9222 Moved ...
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9225 Moved ...
9226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9228 Moved ...
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9231 Moved ...
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9234 Moved ...
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9238 ... here.
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9240 Moved ...
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9243 Moved ...
9244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9245 ... here.
9246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9247 Moved ...
9248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9249 ... here.
9250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9251 Moved ...
9252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9253 ... here.
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9255 Moved ...
9256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9258 Moved ...
9259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9263 Moved ...
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9265 ... here.
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9267 Moved ...
9268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9269 ... here.
9270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9271 Moved ...
9272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9274 Moved ...
9275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9277 Moved ...
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9280 Moved ...
9281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9283 Moved ...
9284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9285 ... here.
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9287 Moved ...
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9290 Moved ...
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9293 Moved ...
9294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9296 Moved ...
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9301 Moved ...
9302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9304 Moved ...
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9307 Moved ...
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9309 ... here.
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9311 Moved ...
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9313 ... here.
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9315 Moved ...
9316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9317 ... here.
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9319 Moved ...
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9322 Moved ...
9323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9325 Moved ...
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9328 Moved ...
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9330 ... here.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9332 Moved ...
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9334 ... here.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9336 Moved ...
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9338 ... here.
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9340 Moved ...
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9343 Moved ...
9344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9345
e6d90d67
WD
93462014-06-23 Will Newton <will.newton@linaro.org>
9347 Wilco <wdijkstr@arm.com>
9348
9349 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9350 implementation. Include get-rounding-mode.h.
9351 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9352 [!libc_feholdsetround_noex_ctx]: Define
9353 libc_feholdsetround_noex_ctx.
9354 [!libc_feholdsetround_noexf_ctx]: Define
9355 libc_feholdsetround_noexf_ctx.
9356 [!libc_feholdsetround_noexl_ctx]: Define
9357 libc_feholdsetround_noexl_ctx.
9358 (libc_feholdsetround_ctx): New function.
9359 (libc_feresetround_ctx): New function.
9360 (libc_feholdsetround_noex_ctx): New function.
9361 (libc_feresetround_noex_ctx): New function.
9362
d42df555
RM
93632014-06-23 Roland McGrath <roland@hack.frob.com>
9364
88a46474
RM
9365 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9366 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9367 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9368 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9369 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9370 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9371
15bed472
RM
9372 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9373 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9374 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9375 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9376 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9377 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9378 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9379 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9380 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9381 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9383 Moved ...
9384 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9385 ... here.
9386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9387 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9389 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9391 Moved ...
9392 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9394 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9395 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9396 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9397 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9398 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9399 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9400 Moved ...
9401 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9403 Moved ...
9404 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9405 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9406 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9407 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9408 Moved ...
9409 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9411 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9412 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9413 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9414 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9415 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9416 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9417 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9418 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9419 Moved ...
9420 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9421 ... here.
9422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9423 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9425 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9427 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9428 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9429 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9431 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9433 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9435 Moved ...
9436 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9438 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9439 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9440 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9441 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9442 Moved ...
9443 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9447 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9448
d42df555
RM
9449 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9450 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9451 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9452 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9453 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9454 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9455 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9456 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9457 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9458 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9459 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9460 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9461 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9462 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9463 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9464 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9465 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9466 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9467 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9468 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9469 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9470 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9471 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9472 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9473 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9474 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9476 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9477
76e5216e
JM
94782014-06-23 Joseph Myers <joseph@codesourcery.com>
9479
9480 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9481 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9482 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9483 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9484 (IPV6_PMTUDISC_INTERFACE): Likewise.
9485 (IPV6_PMTUDISC_OMIT): Likewise.
9486
7a81cbcc
AS
94872014-06-23 Andreas Schwab <schwab@suse.de>
9488
9489 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9490 Remove unused errout label.
9491
db224009
AZ
94922014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9493
9494 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9495 macro: hardware supports Vector Crypto instructions.
9496
f393b4aa
WN
94972014-06-23 Will Newton <will.newton@linaro.org>
9498
cc7d0447
WN
9499 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9500 rather than __builtin_expect.
9501
d6d06225
WN
9502 * elf/dl-lookup.c (undefined_msg): Remove variable.
9503 (_dl_lookup_symbol_x): Replace undefined_msg with string
9504 literal.
9505
f393b4aa
WN
9506 * elf/dl-lookup.c (do_lookup_unique): New function.
9507 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9508 to a separate function.
9509
ac60763e
AS
95102014-06-23 Andreas Schwab <schwab@suse.de>
9511
9512 [BZ #17079]
9513 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9514 before reading the next line.
9515
c5c13355
WN
95162014-06-23 Will Newton <will.newton@linaro.org>
9517
9518 * test-skeleton.c (signal_handler): Use printf and %m
9519 rather than perror. Use printf rather than fprintf to
9520 stderr. Use puts rather than fputs to stderr.
9521 (main): Likewise.
9522
bd3675f9
LC
95232014-06-22 Ludovic Courtès <ludo@gnu.org>
9524
9525 * nscd/nscd.c (thread_info_t): Remove typedef.
9526 (thread_info): Remove variable.
9527
d03efb2f
AM
95282014-06-21 Allan McRae <allan@archlinux.org>
9529
9530 * NEWS: Mention CVE-2014-4043.
9531
bc4a86fa
RM
95322014-06-20 Roland McGrath <roland@hack.frob.com>
9533
dc9a54f8
RM
9534 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9535 * nptl/smp.h: ... here.
9536
bd7022c4
RM
9537 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9538
26ffd5e6
RM
9539 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9540 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9541 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9542 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9543
93a6d082
RM
9544 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9545 * nptl/stack-aliasing.h: New file.
9546 * sysdeps/i386/i686/stack-aliasing.h: New file.
9547 * sysdeps/i386/i686/nptl/Makefile: File removed.
9548 * sysdeps/x86_64/stack-aliasing.h: New file.
9549 * sysdeps/x86_64/nptl/Makefile
9550 (CFLAGS-pthread_create.c): Variable removed.
9551
bc4a86fa
RM
9552 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9553 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9554 old file.
9555 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9556 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9557 old file.
9558
2272ffc1
JM
95592014-06-21 Joseph Myers <joseph@codesourcery.com>
9560
9561 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9562 (__ASSUME_SIGFRAME_V2): Remove macro.
9563 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9564 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9565 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9566 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9567 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9568 Declare as function. Remove conditional macro definitions.
9569 (__default_rt_sa_restorer): Likewise.
9570 (__default_sa_restorer_v1): Remove declaration.
9571 (__default_sa_restorer_v2): Likewise.
9572 (__default_rt_sa_restorer_v1): Likewise.
9573 (__default_rt_sa_restorer_v2): Likewise.
9574 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9575 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9576 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9577
4b88139b
RM
95782014-06-20 Roland McGrath <roland@hack.frob.com>
9579
9580 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9581 (libpthread-routines): Add sysdep.
9582 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9583 * sysdeps/unix/sysv/linux/sparc/Versions
9584 (libpthread: GLIBC_2.3.3): New version set.
9585 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9586 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9587 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9588 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9589 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9590 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9591 Moved ...
9592 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9593 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9594 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9595 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9596 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9597 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9598 * sysdeps/sparc/nptl/sem_init.c: ... here.
9599 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9600 * sysdeps/sparc/nptl/sem_post.c: ... here.
9601 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9602 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9603 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9604 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9605 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9606 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9607 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9608 (libpthread-routines): Add cpu_relax.
9609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9610 File removed.
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9612 (librt: GLIBC_2.3.3): New version set.
9613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9614 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9615 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9616 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9619 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9621 Moved ...
9622 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9624 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9626 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9628 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9630 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9632 Moved ...
9633 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9634 Update #include.
9635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9636 Moved ...
9637 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9638 Update #include.
9639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9640 Moved ...
9641 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9642 Update #include.
9643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9644 Moved ...
9645 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9646 Update #include.
9647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9648 Moved ...
9649 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9650 Update #include.
9651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9652 Moved ...
9653 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9654 Update #include.
9655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9656 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9662 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9664 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9666 Moved ...
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9669 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9672
d7109027
JM
96732014-06-20 Joseph Myers <joseph@codesourcery.com>
9674
9bc6103d
JM
9675 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9676 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9677 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9678 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9679 * nscd/nscd.c: Likewise.
9680 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9681 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9682 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9683 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9684
d7109027
JM
9685 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9686 <kernel-features.h>.
9687 (init_mq_netlink): Remove conditional have_sock_cloexec
9688 definitions. Remove code conditional on have_sock_cloexec < 0.
9689 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9690 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9691 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9692 <kernel-features.h>.
9693 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9694 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9695
d92d8f8a
L
96962014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9697
9698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9699 Add tests for memset_chk and memset.
9700
9701 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9702 with AVX2_Usable.
9703
4e6d2347
MR
97042014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9705
257ce712
MR
9706 [BZ #16046]
9707 * elf/tst-dl-iter-static.c: New file.
9708 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9709
4e6d2347
MR
9710 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9711 error.
9712
a2a76afe
JM
97132014-06-20 Joseph Myers <joseph@codesourcery.com>
9714
7fd00f99
JM
9715 * sysdeps/unix/sysv/linux/kernel-features.h
9716 (__ASSUME_F_GETOWN_EX): Remove macro.
9717 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9718 <kernel-features.h>.
9719 (miss_F_GETOWN_EX): Remove variable or macro.
9720 (do_fcntl): Do not check miss_F_GETOWN_EX.
9721 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9722
4a103975
JM
9723 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9724 Remove macro.
9725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9726 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9727 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9728
a2a76afe
JM
9729 * sysdeps/unix/sysv/linux/kernel-features.h
9730 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9731 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9732 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9733 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9734
90e5dd48
MR
97352014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9736
9737 [BZ #17075]
9738 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9739 Fix calculation of the symbol's value.
9740 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9741 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9742 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9743 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9744 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9745 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9746 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9747 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9748 (modules-names): Add `tst-armtlsdescmod',
9749 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9750 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9751 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9752 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9753 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9754 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9755 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9756 ($(objpfx)tst-armtlsdescloc): New dependency.
9757 ($(objpfx)tst-armtlsdescextnow): Likewise.
9758 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9759 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9760 TLS scheme support.
9761 * sysdeps/arm/configure: Regenerate.
9762
809fdf0d
JM
97632014-06-20 Joseph Myers <joseph@codesourcery.com>
9764
9765 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9766 (__atfct_seterrno_2): Likewise.
9767 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9768 <kernel-features.h>.
9769 (__ASSUME_ATFCTS): Do not undefine and redefine.
9770 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9771 (__have_atfcts): Remove conditional definition.
9772 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9773 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9774 unreachable if [__ASSUME_ATFCTS].
9775 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9776 not undefine and redefine.
9777 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9778 <kernel-features.h>.
9779 (faccessat) [__NR_faccessat]: Make code unconditional.
9780 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9781 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9782 <kernel-features.h>.
9783 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9784 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9785 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9786 <kernel-features.h>.
9787 (fchownat) [__NR_fchownat]: Make code unconditional.
9788 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9789 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9790 <kernel-features.h>.
9791 (futimesat) [__NR_futimesat]: Make code unconditional.
9792 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9793 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9794 <kernel-features.h>.
9795 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9796 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9797 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9798 <kernel-features.h>.
9799 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9800 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9801 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9802 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9803 <kernel-features.h>.
9804 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9805 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9806 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9807 <kernel-features.h>.
9808 (linkat) [__NR_linkat]: Make code unconditional.
9809 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9810 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9811 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9812 <kernel-features.h>.
9813 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9814 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9815 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9816 <kernel-features.h>.
9817 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9818 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9819 * sysdeps/unix/sysv/linux/openat.c: Do not include
9820 <kernel-features.h>.
9821 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9822 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9823 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9824 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9825 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9826 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9827 <kernel-features.h>.
9828 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9829 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9830 result of INLINE_SYSCALL directly, not via int variable.
9831 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9832 <kernel-features.h>.
9833 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9834 (renameat) [__NR_renameat]: Make code unconditional.
9835 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9836 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9837 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9838 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9839 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9840 (__ASSUME_ATFCTS): Do not undefine and redefine.
9841 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9842 <kernel-features.h>.
9843 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9844 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9845 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9846 <kernel-features.h>.
9847 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9848 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9849 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9850 (__ASSUME_ATFCTS): Do not undefine and redefine.
9851 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9852 <kernel-features.h>.
9853 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9854 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9855 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9856 <kernel-features.h>.
9857 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9858 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9859
224c6c51
L
98602014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9861
9862 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9863
aa6ec754
AS
98642014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9865
9866 [BZ #17069]
9867 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9868 constructed tree before returning error.
9869 * posix/bug-regexp36.c: Expand test case.
9870
d8c2869d
SL
98712014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9872
3ef6b850
SL
9873 [BZ #6803]
9874 * math/libm-test.inc (scalbln_test_date):
9875 Add errno expectations.
9876 * math/w_scalblnf.c: New File.
9877 Add wrapper which checks for setting errno to ERANGE.
9878 Add weak_alias for corresponding scalbln function.
9879 * math/w_scalbln.c: Likewise.
9880 * math/w_scalblnl.c: Likewise.
9881 * math/Makefile (libm-calls): Add w_scalbln.
9882 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9883 Remove weak_alias for corresponding scalbln function.
9884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9885 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9886 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9888 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9889 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9890 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9891 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9892 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9893 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9894 Remove long_double_symbol for scalblnl function in libm, libc.
9895 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9896 Add wrapper which checks for setting errno to ERANGE.
9897 Add long_double_symbol for scalblnl function in libm, libc.
9898 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9899 Remove long_double_symbol for scalblnl in libm.
9900 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9901 Add wrapper which checks for setting errno to ERANGE.
9902 Add long_double_symbol for scalblnl function in libm.
9903 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9904 Do not use wrapper because of own implementation.
9905
c8daec5c
L
99062014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9909 3 bytes for __pad1 for x32.
9910 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9911
5c74e47c
LM
99122014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9913 H.J. Lu <hongjiu.lu@intel.com>
9914
9915 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9916 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9917 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9918 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9919 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9920
4d43ef1e
AS
99212014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9922
9923 [BZ #17069]
9924 * posix/regcomp.c (parse_expression): Deallocate partially
9925 constructed tree before returning error.
9926 * posix/Makefile.c (tests): Add bug-regex36.
9927 (generated): Add bug-regex36.mtrace.
9928 (tests-special): Add $(objpfx)bug-regex36-mem.out
9929 (bug-regex36-ENV): New variable.
9930 ($(objpfx)bug-regex36-mem.out): New rule.
9931 * posix/bug-regex36.c: New file.
9932
51a7380b
WN
99332014-06-19 Will Newton <will.newton@linaro.org>
9934
9935 * malloc/malloc.c (systrim): If extra is zero then return
9936 early.
9937
91b84fe5
SP
99382014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9939
9940 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9941
f940b965
RE
99422014-06-19 Richard Earnshaw <rearnsha@arm.com>
9943
9944 * sysdeps/aarch64/strchr.S: New file.
9945
4ba7a00f
JM
99462014-06-18 Joseph Myers <joseph@codesourcery.com>
9947
9948 [BZ #17022]
9949 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9950 from arguments -2 or below.
9951 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9952 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9953
b3a9f56b
AS
99542014-06-18 Andreas Schwab <schwab@suse.de>
9955
9956 [BZ #17062]
9957 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9958 of a bracket expr not to run off the end of the string.
9959 * posix/Makefile (tests): Add tst-fnmatch3.
9960 * posix/tst-fnmatch3.c: New file.
9961
85d89278
JM
99622014-06-18 Joseph Myers <joseph@codesourcery.com>
9963
9964 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9965 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9966 [$(cross-compiling) = no]: Likewise.
9967 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9968 [$(cross-compiling) = no]: Likewise.
9969
754c5a08
RS
99702014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9971
9972 [BZ #17031]
9973 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9974 double, adjusted for any remainder from the high double.
9975 * math/libm-test.inc (nearbyint): Add tests.
9976 (rint): Likewise.
9977
556f529d
AZ
99782014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9979
9980 * nptl/sysdeps/powerpc/Makefile: Moved ...
9981 * sysdeps/powerpc/nptl/Makefile: ... here.
9982 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9983 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9984 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9985 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9986 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9987 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9988 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9989 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9990 * nptl/sysdeps/powerpc/tls.h: Moved ...
9991 * sysdeps/powerpc/nptl/tls.h: ... here.
9992
91c03c53
JM
99932014-06-16 Joseph Myers <joseph@codesourcery.com>
9994
9995 [BZ #16681]
9996 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9997 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9998 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9999 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10000 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10001 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10002 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10003 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10004 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10005
a76e63c5
AS
100062014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10007
10008 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10009
f2f6d82f
AS
100102014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10011
ea8a15f6
AS
10012 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10013 defined operator.
10014
f2f6d82f
AS
10015 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10016 $TIMEOUTFACTOR.
10017
a7291117
FW
100182014-06-16 Florian Weimer <fweimer@redhat.com>
10019
10020 [BZ #17058]
10021 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10022 non-executed part of the test.
10023
3d7c00e3
AS
100242014-06-16 Andreas Schwab <schwab@suse.de>
10025
10026 * string/bits/string2.h (strdup, strndup): Update feature guard.
10027
6957fb31
DM
100282014-06-14 David S. Miller <davem@davemloft.net>
10029
10030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10031
11b9e55b
AS
100322014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10033
1d2a0492
AS
10034 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10035 that was previously under [RESET_PID].
10036 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10037
11b9e55b
AS
10038 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10039 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10040 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10041 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10042 (__libc_vfork): New strong alias.
10043 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10044
0f6901d0
AK
100452014-06-14 Andi Kleen <ak@linux.intel.com>
10046
10047 * sysdeps/generic/elide.h: New file.
10048
38bbbb9f
SL
100492014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10050
10051 * Makefile (installed-headers): Adjust path of pthread.h header.
10052
45193bb8
RM
100532014-06-13 Roland McGrath <roland@hack.frob.com>
10054
9a25fd1e
RM
10055 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10056 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10057 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10058 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10059
4004f7e4
RM
10060 * nptl/sysdeps/s390/Makefile: Moved ...
10061 * sysdeps/s390/nptl/Makefile: ... here.
10062 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10063 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10064 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10065 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10066 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10067 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10068 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10069 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10070 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10071 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10072 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10073 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10074 * nptl/sysdeps/s390/tls.h: Moved ...
10075 * sysdeps/s390/nptl/tls.h: ... here.
10076
45193bb8
RM
10077 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10078 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10079
f6fdf533
DM
100802014-06-13 David S. Miller <davem@davemloft.net>
10081
10082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10084 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10085 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10088 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10089 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10090 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10091 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10092 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10093 Remove RESET_PID cpp guards.
10094 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10095 Remove RESET_PID cpp guards.
10096 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10097
f5d71e14
AS
100982014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10099
10100 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10101 __sp to uintptr_t.
10102
b7aa8caa
AK
101032014-06-13 Andi Kleen <ak@linux.intel.com>
10104
4b266200
AZ
10105 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10106 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10107 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10108 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10110 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10111 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10112 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10113 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10114 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10116 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10117 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10118 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10119 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10121 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10122 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10123 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10124 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10125
10126 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10127 (pthread_rwlock_rdlock): Add elision.
10128 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10129 (pthread_rwlock_wrlock): Add elision.
10130 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10131 (pthread_rwlock_trywrlock): Add elision.
10132 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10133 (pthread_rwlock_tryrdlock): Add elision.
10134 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10135 (pthread_rwlock_tryrdlock): Add elision unlock.
10136 * nptl/sysdeps/pthread/pthread.h:
10137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10138 (PTHREAD_RWLOCK_INITIALIZER,
10139 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10140 Handle new elision field.
10141 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10142 * sysdeps/arm/nptl/bits/pthreadtypes.h
10143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10144 * sysdeps/sh/nptl/bits/pthreadtypes.h
10145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10146 * sysdeps/tile/nptl/bits/pthreadtypes.h
10147 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10148 * sysdeps/a/nptl/bits/pthreadtypes.h
10149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10150 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10152 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10154 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10156 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10158 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10160 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10162 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10164 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10166 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10167 (elision_init): Set try_xbegin to zero when no RTM.
10168 * sysdeps/x86/nptl/bits/pthreadtypes.h
10169 (pthread_rwlock_t): Change __pad1 to __rwelision.
10170 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10171
a832bdd3
AK
101722014-06-13 Andi Kleen <ak@linux.intel.com>
10173
10174 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10175 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10176 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10177 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10178
995a46bb
MI
101792014-06-13 Meador Inge <meadori@codesourcery.com>
10180
10181 [BZ #16996]
03ed7738 10182 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10183 that the cached result has been set before returning it.
10184
45262aee
RM
101852014-06-12 Roland McGrath <roland@hack.frob.com>
10186
febf6cc5
RM
10187 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10188 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10189 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10190 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10191 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10192 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10193
e2682246
RM
10194 * nptl/sysdeps/sparc/Makefile: Moved ...
10195 * sysdeps/sparc/nptl/Makefile: ... here.
10196 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10197 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10198 * nptl/sysdeps/sparc/tls.h: Moved ...
10199 * sysdeps/sparc/nptl/tls.h: ... here.
10200 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10201 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10202 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10203 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10204 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10205 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10206 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10207 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10208 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10209 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10210 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10211 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10212 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10213 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10214 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10215 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10216 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10217 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10218 Update #include.
10219 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10221 Update #include.
10222 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10223 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10224 Update #include.
10225 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10226 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10227 Update #include.
10228
b0725f43
RM
10229 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10230
b14368b8
RM
10231 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10232 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10233
c5620eb3
RM
10234 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10235 (struct list_links): Type removed.
10236 (struct thread_node, struct timer_node): Replace struct list_links
10237 with struct list_head.
10238 (list_unlink_ip): Likewise.
10239 * sysdeps/pthread/timer_routines.c
10240 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10241 (list_append, list_insbefore): Likewise.
10242 (list_init): Function removed.
10243 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10244 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10245 * sysdeps/pthread/Makefile: ... here, new file.
10246
10247 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10248 * sysdeps/nptl/Implies: ... here.
10249 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10250 * nptl/sysdeps/pthread/list.h: Moved ...
10251 * include/list.h: ... here.
10252 * nptl/sysdeps/pthread/createthread.c: Moved ...
10253 * nptl/createthread.c: ... here.
10254 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10255 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10256 * nptl/pt-longjmp.c: ... here.
10257 * nptl/sysdeps/pthread/Makefile: Moved ...
10258 * sysdeps/nptl/Makefile: ... here.
10259 * nptl/sysdeps/pthread/Subdirs: Moved ...
10260 * sysdeps/nptl/Subdirs: ... here.
10261 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10262 * sysdeps/nptl/aio_misc.h: ... here.
10263 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10264 * sysdeps/nptl/bits/libc-lock.h: ... here.
10265 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10266 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10267 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10268 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10269 * nptl/sysdeps/pthread/configure: Moved ...
10270 * sysdeps/nptl/configure: ... here.
10271 * nptl/sysdeps/pthread/configure.ac: Moved ...
10272 * sysdeps/nptl/configure.ac: ... here.
10273 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10274 * sysdeps/nptl/gai_misc.h: ... here.
10275 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10276 * sysdeps/nptl/librt-cancellation.c: ... here.
10277 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10278 * sysdeps/nptl/malloc-machine.h: ... here.
10279 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10280 * sysdeps/nptl/pthread-functions.h: ... here.
10281 * nptl/sysdeps/pthread/pthread.h: Moved ...
10282 * sysdeps/nptl/pthread.h: ... here.
10283 * nptl/sysdeps/pthread/setxid.h: Moved ...
10284 * sysdeps/nptl/setxid.h: ... here.
10285 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10286 * sysdeps/nptl/sigfillset.c: ... here.
10287 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10288 * sysdeps/nptl/tcb-offsets.h: ... here.
10289 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10290 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10291 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10292 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10293 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10294 * sysdeps/pthread/allocalim.h: ... here.
10295 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10296 * sysdeps/pthread/bits/sigthread.h: ... here.
10297 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10298 * sysdeps/pthread/flockfile.c: ... here.
10299 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10300 * sysdeps/pthread/ftrylockfile.c: ... here.
10301 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10302 * sysdeps/pthread/funlockfile.c: ... here.
10303 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10304 * sysdeps/pthread/posix-timer.h: ... here.
10305 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10306 * sysdeps/pthread/timer_create.c: ... here.
10307 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10308 * sysdeps/pthread/timer_delete.c: ... here.
10309 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10310 * sysdeps/pthread/timer_getoverr.c: ... here.
10311 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10312 * sysdeps/pthread/timer_gettime.c: ... here.
10313 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10314 * sysdeps/pthread/timer_routines.c: ... here.
10315 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10316 * sysdeps/pthread/timer_settime.c: ... here.
10317 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10318 * sysdeps/pthread/tst-timer.c: ... here.
10319 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10320 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10321
e876b090
RM
10322 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10323 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10324
f6b07b3d
RM
10325 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10326 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10327 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10328 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10329 Update #include target.
10330 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10331 * sysdeps/i386/i686/nptl/Makefile: ... here.
10332 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10333 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10334 Update #include target.
10335 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10336 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10337 * nptl/sysdeps/i386/Makefile: Moved ...
10338 * sysdeps/i386/nptl/Makefile: ... here.
10339 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10340 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10341 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10342 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10343 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10344 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10345 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10346 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10347 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10348 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10349 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10350 * nptl/sysdeps/i386/tls.h: Moved ...
10351 * sysdeps/i386/nptl/tls.h: ... here.
10352
45262aee
RM
10353 * sysdeps/sh/Makefile [$(subdir) = csu]
10354 (gen-as-const-headers): Add tcb-offsets.sym.
10355 * nptl/sysdeps/sh/Makefile: File removed.
10356 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10357 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10358 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10359 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10360 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10361 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10362 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10363 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10364 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10365 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10366 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10367 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10368 * nptl/sysdeps/sh/tls.h: Moved ...
10369 * sysdeps/sh/nptl/tls.h: ... here.
10370 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10371 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10372 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10373 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10374 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10375 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10376 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10377 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10378 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10379 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10380 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10381 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10382 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10383 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10384 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10385 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10386 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10387 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10389 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10391 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10392 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10393 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10395 Moved ...
10396 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10397 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10398 Moved ...
10399 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10401 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10402 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10403 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10404 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10405 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10406 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10407 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10408 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10409 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10410 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10411 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10412 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10413 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10414 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10415 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10416 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10417 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10418
35a5e3e3
SL
104192014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10420
10421 * posix/spawn_faction_addopen.c: Include string.h.
10422
14642b85
RM
104232014-06-11 Roland McGrath <roland@hack.frob.com>
10424
10425 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10426 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10427 * nptl/sysdeps/x86_64/Makefile: Moved ...
10428 * sysdeps/x86_64/nptl/Makefile: ... here.
10429 * nptl/sysdeps/x86_64/configure: Moved ...
10430 * sysdeps/x86_64/nptl/configure: ... here.
10431 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10432 * sysdeps/x86_64/nptl/configure.ac: ... here.
10433 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10434 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10435 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10436 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10437 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10438 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10439 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10440 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10441 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10442 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10443 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10444 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10445 * nptl/sysdeps/x86_64/tls.h: Moved ...
10446 * sysdeps/x86_64/nptl/tls.h: ... here.
10447 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10448 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10449 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10450 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10451
10452 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10453
31c44fea
AZ
104542014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10455
10456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10457
e81a4f9a
JM
104582014-06-11 Joseph Myers <joseph@codesourcery.com>
10459
10460 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10461 type.
10462 [POSIX] (off_t): Likewise.
10463 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10464 [POSIX] (S_ISBLK): Require macro.
10465 [POSIX] (S_ISCHR): Likewise.
10466 [POSIX] (S_ISDIR): Likewise.
10467 [POSIX] (S_ISFIFO): Likewise.
10468 [POSIX] (S_ISREG): Likewise.
10469 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10470 optional-macro.
10471 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10472 type.
10473 [POSIX] (time_t): Likewise.
10474 [POSIX] (timer_t): Likewise.
10475
89e435f3
FW
104762014-06-11 Florian Weimer <fweimer@redhat.com>
10477
10478 [BZ #17048]
10479 * posix/spawn_int.h (struct __spawn_action): Make the path string
10480 non-const to support deallocation.
10481 * posix/spawn_faction_addopen.c
10482 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10483 * posix/spawn_faction_destroy.c
10484 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10485 path in all spawn_do_open actions.
10486 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10487 posix_spawn_file_actions_addopen.
10488
c3a2ebe1
CM
104892014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10490
10491 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10492 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10493 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10494 conditional code always true.
10495 (__libc_vfork): New alias.
10496
9503784a
RM
104972014-06-11 Roland McGrath <roland@hack.frob.com>
10498
c9cab3d2
RM
10499 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10500 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10501
d3996c79
RM
10502 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10503
ba5ec611
RM
10504 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10505 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10506
f12b4814
RM
10507 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10508 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10509
9503784a
RM
10510 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10511 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10512
e23d3d26
VR
105132014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10514
10515 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10516 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10517 multiarch strcmp for PPC64.
10518 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10519 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10521 multiarch optimizations.
10522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10523 (__libc_ifunc_impl_list): Likewise.
10524
42b1161e
SP
105252014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10526
10527 * benchtests/scripts/validate_benchout.py: New script.
10528 * benchtests/Makefile (bench-func): Call it.
10529 * benchtests/scripts/benchout.schema.json: New file.
10530
2d0fc4dc
CM
105312014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10532
4a594c34
AZ
10533 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10534 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10535 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10536 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10537 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10538 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10539 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10540 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10541 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10542 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10543 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10544 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10545 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10546 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10547 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10548 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10550 Moved ...
4a594c34 10551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10552 ... here.
4a594c34 10553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10554 Moved ...
4a594c34
AZ
10555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10557 Moved ...
4a594c34 10558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10559 ... here.
4a594c34 10560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10561 Moved ...
4a594c34 10562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10563 ... here.
4a594c34 10564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10565 Moved ...
4a594c34
AZ
10566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10568 Moved ...
4a594c34 10569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10570 ... here.
4a594c34 10571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10572 Moved ...
4a594c34 10573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10574 ... here.
4a594c34 10575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10576 Moved ...
4a594c34
AZ
10577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10579 Moved ...
4a594c34 10580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10581 ... here.
4a594c34 10582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10583 Moved ...
4a594c34 10584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10585 ... here.
4a594c34 10586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10587 Moved ...
4a594c34 10588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10589 ... here.
4a594c34 10590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10591 Moved ...
4a594c34
AZ
10592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10594 Moved ...
4a594c34 10595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10596 ... here.
4a594c34 10597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10598 Moved ...
4a594c34 10599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10600 ... here.
4a594c34 10601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10602 Moved ...
4a594c34 10603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10604 ... here.
4a594c34 10605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10606 Moved ...
4a594c34
AZ
10607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10609 Moved ...
4a594c34 10610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10611 ... here.
4a594c34 10612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10613 Moved ...
4a594c34 10614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10615 ... here.
4a594c34 10616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10617 Moved ...
4a594c34
AZ
10618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10620 Moved ...
4a594c34 10621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10622 ... here.
4a594c34 10623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10624 Moved ...
4a594c34
AZ
10625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10627 Moved ...
4a594c34
AZ
10628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10630 Moved ...
4a594c34 10631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10632 ... here.
4a594c34 10633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10634 Moved ...
4a594c34 10635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10636 ... here.
4a594c34 10637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10638 Moved ...
4a594c34 10639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10640 ... here.
4a594c34 10641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10642 Moved ...
4a594c34
AZ
10643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10645 Moved ...
4a594c34 10646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10647 ... here.
4a594c34 10648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10649 Moved ...
4a594c34 10650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10651 ... here.
4a594c34
AZ
10652 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10653 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10654 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10655 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10657 Moved ...
4a594c34 10658 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10659 ... here.
4a594c34
AZ
10660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10661 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10663 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10665 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10667 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10669 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10671 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10673 Moved ...
4a594c34
AZ
10674 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10676 Moved ...
4a594c34
AZ
10677 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10679 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10681 Moved ...
4a594c34
AZ
10682 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10684 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10686 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10687 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10688 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10689
0570cfed
W
106902014-06-10 Wilco <wdijkstr@arm.com>
10691
10692 * math/test-fenv-return.c: New file.
10693 * math/Makefile: Add new test test-fenv-return.
10694
f8ba1b56
JM
106952014-06-10 Joseph Myers <joseph@codesourcery.com>
10696
10697 [BZ #17042]
10698 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10699 when x - 1 is zero.
10700 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10701 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10702 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10703 0.0L for an argument of 1.0L.
10704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10705 Likewise.
10706 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10707 value when x - 1 is zero.
10708 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10709 * sysdeps/i386/fpu/libm-test-ulps: Update.
10710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10711
2c3520d9
BO
107122014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10713
10714 [BZ #15119]
10715 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10716
acaa4d24
RM
107172014-06-09 Roland McGrath <roland@hack.frob.com>
10718
10719 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10720 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10721
962b744d
RM
107222014-06-09 Roland McGrath <roland@hack.frob.com>
10723
d752f0cc
RM
10724 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10725 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10726
34eda6d1
RM
10727 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10728 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10729
50f0a637
RM
10730 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10731 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10732
08f41f04
RM
10733 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10734 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10735
962b744d
RM
10736 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10737 if not already defined.
10738 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10739 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10740 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10741 (TLS_INIT_TP): Use it.
10742 (TLS_DEFINE_INIT_TP): New macro.
10743 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10744
09f19b05
JM
107452014-06-09 Joseph Myers <joseph@codesourcery.com>
10746
10747 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10748 constant.
10749 [POSIX] (IXANY): Likewise.
10750 [POSIX] (OLCUC): Likewise.
10751 [POSIX || POSIX2008] (CBAUD): Do not allow.
10752 [POSIX || POSIX2008] (DEFECHO): Likewise.
10753 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10754 [POSIX || POSIX2008] (ECHOKE): Likewise.
10755 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10756 [POSIX || POSIX2008] (EXTA): Likewise.
10757 [POSIX || POSIX2008] (EXTB): Likewise.
10758 [POSIX || POSIX2008] (FLUSHO): Likewise.
10759 [POSIX || POSIX2008] (LOBLK): Likewise.
10760 [POSIX || POSIX2008] (PENDIN): Likewise.
10761 [POSIX || POSIX2008] (SWTCH): Likewise.
10762 [POSIX || POSIX2008] (VDISCARD): Likewise.
10763 [POSIX || POSIX2008] (VDSUSP): Likewise.
10764 [POSIX || POSIX2008] (VLNEXT): Likewise.
10765 [POSIX || POSIX2008] (VREPRINT): Likewise.
10766 [POSIX || POSIX2008] (VSTATUS): Likewise.
10767 [POSIX || POSIX2008] (VWERASE): Likewise.
10768 (B*): Change to B[0123456789]*.
10769 * conform/data/time.h-data [POSIX || UNIX98]
10770 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10771 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10772 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10773 [POSIX] (tm_*): Do not allow.
10774
686554bf
JM
107752014-06-07 Joseph Myers <joseph@codesourcery.com>
10776
10777 * Makefile (install): Don't set LANGUAGE.
10778 * Makefile.in (install): Likewise.
10779 * assert/Makefile (test-assert-ENV): Remove variable.
10780 (test-assert-perr-ENV): Likewise.
10781 * elf/Makefile (neededtest4-ENV): Likewise.
10782 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10783 [$(cross-compiling) = no]: Don't set LANGUAGE.
10784 * io/ftwtest-sh (LANG): Remove variable.
10785 * libio/Makefile (tst-widetext-ENV): Likewise.
10786 * manual/install.texi (Running make install): Don't refer to
10787 environment settings for make install.
10788 * INSTALL: Regenerated.
10789 * nptl/tst-tls6.sh: Don't set LANG.
10790 * posix/globtest.sh (LANG): Remove variable.
10791 * string/Makefile (tester-ENV): Likewise.
10792 (inl-tester-ENV): Likewise.
10793 (noinl-tester-ENV): Likewise.
10794 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10795 [$(cross-compiling) = no]: Don't set LANGUAGE.
10796 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10797 without explicit environment settings.
10798
68e6b6b1
RM
107992014-06-06 Roland McGrath <roland@hack.frob.com>
10800
10801 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10802 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10803 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10804 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10805
4d3ae034
CM
108062014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10807
10808 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10809 other files in the crypt directory.
10810 * crypt/crypt.c: Remove duplicate includes.
10811 * crypt/crypt-entry.c: Likewise.
10812 * crypt/crypt_util.c: Likewise.
10813
8540f6d2
JM
108142014-06-06 Joseph Myers <joseph@codesourcery.com>
10815
10816 * Makeconfig (run-program-env): New variable.
10817 (run-program-prefix-before-env): Likewise.
10818 (run-program-prefix-after-env): Likewise.
10819 (run-program-prefix): Define in terms of new variables.
10820 (built-program-cmd-before-env): New variable.
10821 (built-program-cmd-after-env): Likewise.
10822 (built-program-cmd): Define in terms of new variables.
10823 (test-program-prefix-before-env): New variable.
10824 (test-program-prefix-after-env): Likewise.
10825 (test-program-prefix): Define in terms of new variables.
10826 (test-program-cmd-before-env): New variable.
10827 (test-program-cmd-after-env): Likewise.
10828 (test-program-cmd): Define in terms of new variables.
10829 * Rules (make-test-out): Use $(run-program-env).
10830 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10831 (help): Do not mention environment variables. Mention
10832 --timeoutfactor option.
10833 (timeoutfactor): New variable.
10834 (blacklist_exports): Remove function.
10835 (exports): Remove variable.
10836 (command): Do not include ${exports}.
10837 * manual/install.texi (Configuring and compiling): Do not mention
10838 test wrappers preserving environment variables. Mention that last
10839 assignment to a variable must take precedence.
10840 * INSTALL: Regenerated.
10841 * benchtests/Makefile (run-bench): Use $(run-program-env).
10842 * catgets/Makefile ($(objpfx)test1.cat): Use
10843 $(built-program-cmd-before-env), $(run-program-env) and
10844 $(built-program-cmd-after-env).
10845 ($(objpfx)test2.cat): Do not specify environment variables
10846 explicitly.
10847 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10848 $(run-program-env) and $(built-program-cmd-after-env).
10849 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10850 $(run-program-env) and $(test-program-cmd-after-env).
10851 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10852 explicitly.
10853 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10854 run_program_env and test_program_cmd_after_env arguments.
10855 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10856 * elf/tst-pathopt.sh: Use run_program_env argument.
10857 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10858 $(test-wrapper-env) and $(run-program-env).
10859 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10860 run_program_env arguments.
10861 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10862 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10863 $(test-program-prefix-before-env), $(run-program-env) and
10864 $(test-program-prefix-after-env).
10865 ($(objpfx)tst-gettext2.out): Likewise.
10866 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10867 run_program_env and test_program_prefix_after_env arguments.
10868 * intl/tst-gettext2.sh: Likewise.
10869 * intl/tst-gettext4.sh: Do not set environment variables
10870 explicitly.
10871 * intl/tst-gettext6.sh: Likewise.
10872 * intl/tst-translit.sh: Likewise.
10873 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10874 $(test-program-prefix-before-env), $(run-program-env) and
10875 $(test-program-prefix-after-env).
10876 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10877 run_program_env and test_program_prefix_after_env arguments.
10878 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10879 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10880 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10881 explicitly with each use of ${test_wrapper_env}.
10882 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10883 $(test-program-prefix-before-env), $(run-program-env) and
10884 $(test-program-prefix-after-env).
10885 * posix/tst-getconf.sh: Do not set environment variables
10886 explicitly.
10887 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10888 run_program_env and test_program_prefix_after_env arguments.
10889 * stdio-common/tst-printf.sh: Do not set environment variables
10890 explicitly.
10891 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10892 $(test-program-prefix-before-env), $(run-program-env) and
10893 $(test-program-prefix-after-env).
10894 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10895 run_program_env and test_program_prefix_after_env arguments.
10896 Split $test calls into $test_pre and $test.
10897 * timezone/Makefile (build-testdata): Use
10898 $(built-program-cmd-before-env), $(run-program-env) and
10899 $(built-program-cmd-after-env).
10900
ed36bfa1
AZ
109012014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10902
10903 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10904 strlen for non SHARED builds.
10905
fc75bf46
SP
109062014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10907
10908 * nptl/allocatestack.c (check_list): Inlined function...
10909 (__reclaim_stacks): ... here.
10910
d89b3d80
OB
109112014-06-05 Ondřej Bílka <neleai@seznam.cz>
10912
10913 [BZ #15698]
10914 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10915 memory overrun.
10916
2bf18041
JM
109172014-06-05 Joseph Myers <joseph@codesourcery.com>
10918
10919 * Rules (make-test-out): Include
10920 LOCPATH=$(common-objpfx)localedata in default environment.
10921 * debug/Makefile (tst-chk1-ENV): Remove variable.
10922 (tst-chk2-ENV): Likewise.
10923 (tst-chk3-ENV): Likewise.
10924 (tst-chk4-ENV): Likewise.
10925 (tst-chk5-ENV): Likewise.
10926 (tst-chk6-ENV): Likewise.
10927 (tst-lfschk1-ENV): Likewise.
10928 (tst-lfschk2-ENV): Likewise.
10929 (tst-lfschk3-ENV): Likewise.
10930 (tst-lfschk4-ENV): Likewise.
10931 (tst-lfschk5-ENV): Likewise.
10932 (tst-lfschk6-ENV): Likewise.
10933 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10934 (tst-iconv7-ENV): Likewise.
10935 * intl/Makefile (LOCPATH-ENV): Likewise.
10936 (tst-codeset-ENV): Likewise.
10937 (tst-gettext3-ENV): Likewise.
10938 (tst-gettext5-ENV): Likewise.
10939 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10940 (tst-fopenloc-ENV): Likewise.
10941 (tst-fgetws-ENV): Remove variable.
10942 (tst-ungetwc1-ENV): Likewise.
10943 (tst-ungetwc2-ENV): Likewise.
10944 (bug-ungetwc2-ENV): Likewise.
10945 (tst-swscanf-ENV): Likewise.
10946 (bug-ftell-ENV): Likewise.
10947 (tst-fgetwc-ENV): Likewise.
10948 (tst-fseek-ENV): Likewise.
10949 (tst-ftell-partial-wide-ENV): Likewise.
10950 (tst-ftell-active-handler-ENV): Likewise.
10951 (tst-ftell-append-ENV): Likewise.
10952 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10953 (tst-regexloc-ENV): Likewise.
10954 (bug-regex1-ENV): Likewise.
10955 (tst-regex-ENV): Likewise.
10956 (tst-regex2-ENV): Likewise.
10957 (bug-regex5-ENV): Likewise.
10958 (bug-regex6-ENV): Likewise.
10959 (bug-regex17-ENV): Likewise.
10960 (bug-regex18-ENV): Likewise.
10961 (bug-regex19-ENV): Likewise.
10962 (bug-regex20-ENV): Likewise.
10963 (bug-regex22-ENV): Likewise.
10964 (bug-regex23-ENV): Likewise.
10965 (bug-regex25-ENV): Likewise.
10966 (bug-regex26-ENV): Likewise.
10967 (bug-regex30-ENV): Likewise.
10968 (bug-regex32-ENV): Likewise.
10969 (bug-regex33-ENV): Likewise.
10970 (bug-regex34-ENV): Likewise.
10971 (bug-regex35-ENV): Likewise.
10972 (tst-rxspencer-ENV): Likewise.
10973 (tst-rxspencer-no-utf8-ENV): Likewise.
10974 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10975 (tst-sscanf-ENV): Likewise.
10976 (tst-swprintf-ENV): Likewise.
10977 (tst-swscanf-ENV): Likewise.
10978 (test-vfprintf-ENV): Likewise.
10979 (scanf13-ENV): Likewise.
10980 (bug14-ENV): Likewise.
10981 (tst-grouping-ENV): Likewise.
10982 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10983 (tst-strtod3-ENV): Likewise.
10984 (tst-strtod4-ENV): Likewise.
10985 (tst-strtod5-ENV): Likewise.
10986 (testmb2-ENV): Likewise./
10987 * string/Makefile (tst-strxfrm-ENV): Likewise.
10988 (tst-strxfrm2-ENV): Likewise.
10989 (bug-strcoll1-ENV): Likewise.
10990 (test-strcasecmp-ENV): Likewise.
10991 (test-strncasecmp-ENV): Likewise.
10992 * time/Makefile (tst-strptime-ENV): Likewise.
10993 (tst-ftime_l-ENV): Likewise.
10994 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10995 (tst-mbrtowc-ENV): Likewise.
10996 (tst-wcrtomb-ENV): Likewise.
10997 (tst-mbrtowc2-ENV): Likewise.
10998 (tst-c16c32-1-ENV): Likewise.
10999 (tst-mbsnrtowcs-ENV): Likewise.
11000
cd1fb604
OB
110012014-06-05 Ondřej Bílka <neleai@seznam.cz>
11002
11003 * manual/resource.texi (How to get information about the memory
11004 subsystem?): Fix typo.
11005 Reported by Peon de la Parra Ivan <peon@keba.com>
11006
b42eca7d
GY
110072014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11008
11009 [BZ #16882]
11010 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11011 (pthread_spin_lock): Branch out of spin loop to proper location.
11012 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11013 (pthread_spin_lock): Likewise.
11014
902b71f9
DM
11015 * nptl/tst-spin4.c: New test.
11016 * nptl/Makefile (tests): Add tst-spin4.
11017
f9d2d032
AS
110182014-06-03 Andreas Schwab <schwab@suse.de>
11019
11020 [BZ #15946]
11021 * resolv/res_send.c (send_dg): Reload file descriptor after
11022 calling reopen.
11023
cf7bfd28
SL
110242014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11025
11026 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11027
111cc714
RH
110282014-06-03 Richard Henderson <rth@redhat.com>
11029
89b4bd6b
RH
11030 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11031 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11032 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11033 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11034 in the SAVE_PID block.
11035 (__libc_vfork): New alias.
71840409 11036 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11037
111cc714
RH
11038 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11039 child in registers, not on the stack. Remove RESET_PID conditionals.
11040 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11041
ccc39911
MS
110422014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11043
11044 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11045
693096cc
W
110462014-06-03 Wilco <wdijkstr@arm.com>
11047
11048 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11049 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11050 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11051 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11052 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11053 Likewise.
11054
0b4366bc
W
110552014-06-03 Wilco <wdijkstr@arm.com>
11056
11057 * sysdeps/aarch64/fpu/math_private.h
11058 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11059 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11060 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11061 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11062 Fix declarations.
11063
8747cd03
KS
110642014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11065
11066 * crypt/crypt-private.h: Include ufc-crypt.h.
11067 (__b64_from_24bit): Declare extern.
11068 * crypt/crypt_util.c(__b64_from_24bit): New function.
11069 (b64t): New static const variable.
11070 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11071 (b64t): Remove variable.
11072 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11073 * crypt/sha256-crypt.c: Include crypt-private.h.
11074 (b64t): Remove variable.
11075 (__sha256_crypt_r): Remove b64_from_24bit and replace
11076 with __b64_from_24bit.
11077 * crypt/sha512-crypt.c: Likewise.
11078
d936d379
RM
110792014-06-02 Roland McGrath <roland@hack.frob.com>
11080
11081 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11082 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11083 Label the code __libc_vfork rather than __vfork.
11084 [!NOT_IN_libc] (vfork): Define as weak alias.
11085 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11086 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11087 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11088
9fa76613
SP
110892014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11090
11091 * malloc/malloc.c (malloc_info): Fix format specifier for
11092 n_mmaps.
11093
a88dadbe
W
110942014-06-02 Wilco <wdijkstr@arm.com>
11095
11096 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11097 FPCR write.
11098
c95b3011
W
110992014-06-02 Wilco <wdijkstr@arm.com>
11100
11101 [BZ #17009]
11102 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11103 Rewrite to reduce FPCR/FPSR accesses.
11104
6b4d7a90
DM
111052014-06-01 David S. Miller <davem@davemloft.net>
11106
11107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11108
30f3d07c
DM
111092014-05-31 David S. Miller <davem@davemloft.net>
11110
11111 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11112 to occur in round to nearest mode when |x| >= 2.0
11113
74f31c18
RH
111142014-05-30 Richard Henderson <rth@twiddle.net>
11115
f0712b54
RH
11116 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11117 (PSEUDO_RET_NOERRNO): Remove.
11118 (ret): Don't redefine.
11119 (ret_NOERRNO): Define in terms of ret.
11120 (ret_ERRVAL): Likewise.
11121
74f31c18
RH
11122 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11123 use of PSEUDO_RET; perform the error check directly.
11124
30477995
MM
111252014-05-30 Marko Myllynen <myllynen@redhat.com>
11126
11127 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11128 with __int128_t.
11129
62a58816
SP
111302014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11131
11132 * malloc/malloc (malloc_info): Fix formatting.
11133
4d653a59
SP
111342014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11135 Roland McGrath <roland@hack.frob.com>
11136
11137 * malloc/malloc (malloc_info): Also print mmapped statistics.
11138
5190c17f
RM
111392014-05-30 Roland McGrath <roland@hack.frob.com>
11140
11141 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11142 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11143
987c0269
OB
111442014-05-30 Ondřej Bílka <neleai@seznam.cz>
11145
11146 * malloc/malloc.c (malloc_info): Inline mi_arena.
11147
af4e8ef9
RH
111482014-05-29 Richard Henderson <rth@twiddle.net>
11149
1670e207
RH
11150 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11151 Remove comma before expanding ASM_ARGS_##nr.
11152 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11153 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11154 of ASM_ARGS_##nr.
11155 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11156 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11157 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11158 (ASM_ARGS_1): Add leading comma.
11159
11a28aee
RH
11160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11161 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11162 to __errno_location.
11163 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11164 Remove the expected plt for __errno_location.
11165
a17e5ffb 11166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11167 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11168 call to __read_tp.
11169
b5be4597
RH
11170 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11171 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11172 it and break it down.
11173 (DOCARGS_0, DOCARGS_1): Do nothing.
11174 (DOCARGS_2): Update to store into the new stack frame.
11175 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11176 (UNDOCARGS_1): Update to restore from the new stack frame.
11177 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11178 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11179
645d44ab
RH
11180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11181 (SINGLE_THREAD_P): New parameter for result regno.
11182 (PSEUDO): Update to match; use cbz instead of beq.
11183
a8b4f04a
RH
11184 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11185 Use ENTRY to define the _nocancel entry point. Share the syscall
11186 and syscall error check paths with the cancel path.
11187 (PSEUDO_END): New.
11188
af4e8ef9
RH
11189 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11190 whitespace; tabs before and after asm mnemonics.
11191
26b0d2e1
EW
111922014-05-29 Eric Wong <normalperson@yhbt.net>
11193
11194 [BZ #15132]
11195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11196 Call fstat64 or stat64 internally, depending on arguments passed.
11197 Replace stat buffer argument with file descriptor argument.
11198 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11199 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11200 Pass fd to __internal_statvfs instead of calling fstat64.
11201 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11202 Pass fd to __internal_statvfs64 instead of calling fstat64.
11203 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11204 Pass -1 to __internal_statvfs instead of calling stat64.
11205 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11206 Pass -1 to __internal_statvfs64 instead of calling stat64.
11207
1efe2bd9
RM
112082014-05-28 Roland McGrath <roland@hack.frob.com>
11209
0d3b7a19
RM
11210 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11211 that was previously under [RESET_PID].
11212 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11213
1efe2bd9
RM
11214 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11215 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11216
a6bea3ca
RM
112172014-05-27 Roland McGrath <roland@hack.frob.com>
11218
30b6629e
RM
11219 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11220
a6bea3ca
RM
11221 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11222 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11223
3dfb9a5c
OB
112242014-05-27 Ondřej Bílka <neleai@seznam.cz>
11225
11226 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11227
774f9285
AS
112282014-05-27 Andreas Schwab <schwab@suse.de>
11229
11230 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11231 TLS_INIT_TP macro.
11232 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11233 * elf/rtld.c (init_tls, dl_main): Likewise.
11234 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11235 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11236 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11237 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11238 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11239 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11240 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11241 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11242 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11243 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11244 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11245 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11246 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11247 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11248 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11249 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11250 * sysdeps/generic/tls.h: Update description.
11251
36ffe739
WN
112522014-05-27 Will Newton <will.newton@linaro.org>
11253
11254 [BZ #16990]
11255 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11256 and restore r2 rather than just restoring.
11257
2482ae43
SP
112582014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11259
11260 [BZ #16724]
11261 * libio/tst-ftell-append.c: New test case.
11262 * libio/Makefile (tests): Add test case.
11263 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11264 append mode.
11265 * libio/wfileops.c (do_ftell_wide): Likewise.
11266
3d1024e8
AZ
112672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11268
bab90016
AZ
11269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11270
c7a8d667
AZ
11271 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11272 ...
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11275 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11276 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11277 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11278 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11279 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11280 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11282 Moved ...
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11285 Moved ...
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11288 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11290 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11291 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11292 ...
11293 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11294 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11295 Moved ...
11296 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11297 here.
11298 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11299 ...
11300 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11302 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11303
daee7851
AZ
11304 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11305 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11306 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11307 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11308
50a40819
AZ
11309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11310 merge into ...
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11313 ...
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11316 ...
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11319 Moved ...
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11321 here.
11322 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11323 Moved ...
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11325 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11326 Moved ...
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11328
8464c2a1
AZ
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11330 conditional [RESET_PID].
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11332 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11333 removed.
11334 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11335 removed.
11336
3d1024e8
AZ
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11338 <tcb-offsets.h>.
11339 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11340 (__libc_vfork): New strong alias.
11341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11342 removed.
11343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11344 Removed.
11345
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11347 <tcb-offsets.h>.
11348 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11349 (__libc_vfork): New strong alias.
11350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11351 removed.
11352 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11353 removed.
11354
fdfd175d
CD
113552014-05-26 Carlos O'Donell <carlos@redhat.com>
11356
11357 * malloc/malloc.c (mi_arena): New function.
11358 (malloc_info): Remove nested function mi_arena. Call non-nosted
11359 function mi_arena.
11360
d298c416
AZ
113612014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11362
11363 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11364 by insrwi.
11365 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11366 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11367 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11368 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11369 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11370 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11371 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11372
b60ea6ff
AS
113732014-05-26 Andreas Schwab <schwab@suse.de>
11374
11375 [BZ #16984]
11376 * locale/programs/repertoire.c (repertoire_read): Add slash
11377 between I18NPATH element and file name.
11378 * locale/programs/locfile.c (locfile_read): Likewise.
11379
67365926
SL
113802014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11381
11382 * nptl/pthread_mutexattr_settype.c
11383 (__pthread_mutexattr_settype):
11384 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11385
f8bdf1f0
SL
113862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11387
11388 * nptl/tst-mutex5 (do_test):
11389 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11390
15eaf6ff
SP
113912014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11392
11393 * benchtests/README: Document 'init' directive.
11394 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11395 BENCH_INIT.
11396 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11397 (parse_file): Recognize 'init' directive.
11398
75f11331
KM
113992014-05-26 Kyle McMartin <kyle@redhat.com>
11400
11401 [BZ #16796]
11402 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11403 alignment of struct pthread.
11404
c3ec475c
SP
114052014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11406
11407 [BZ #16878]
11408 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11409 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11410 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11411 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11412
82aab97c
RH
114132014-05-25 Richard Henderson <rth@twiddle.net>
11414
aa2f176d
RH
11415 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11416 (SINGLE_THREAD_P_PIC): Remove.
11417 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11418 (SINGLE_THREAD_P_PIC): Remove.
11419
ca3cfa40
RH
11420 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11421 branch to syscall error ...
11422 (PSEUDO): ... here.
11423 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11424 from __local_syscall_error to .Lsyscall_error.
11425 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11426 (SYSCALL_ERROR): Update label name.
11427
6e6c2d01
RH
11428 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11429 Do not use DOARGS/UNDOARGS.
11430 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11431 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11432 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11433 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11434 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11435
c69abcee
RH
11436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11437 block comment.
11438
82aab97c
RH
11439 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11440 define if !NOT_IN_libc.
11441 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11442 define with non-default symbol versions.
11443
8820e3ac
RH
114442014-05-23 Richard Henderson <rth@twiddle.net>
11445
900e445f
RH
11446 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11447 (vfork, __vfork): Define via compat_symbol.
11448
8820e3ac
RH
11449 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11450 [!HAVE_IFUNC] (vfork_compat): Remove.
11451 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11452
e59252a5
JM
114532014-05-23 Joseph Myers <joseph@codesourcery.com>
11454
11455 [BZ #16978]
11456 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11457 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11458 variable.
11459
132c7f5f
RH
114602014-05-23 Richard Henderson <rth@twiddle.net>
11461
bc89e962
RH
11462 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11463 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11464 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11465 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11466
11467 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11468 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11469 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11470 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11471 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11472 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11473 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11474 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11475 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11476 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11477 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11478 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11479 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11480 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11481 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11482 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11483 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11484 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11485 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11486 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11487 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11488 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11489 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11490 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11491 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11492 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11493 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11494 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11495 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11496 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11497 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11498 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11499 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11500 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11501 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11502 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11503 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11504 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11505 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11506 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11507 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11508 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11509 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11510 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11511 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11512 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11514 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11516 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11517 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11518 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11519 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11520 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11521 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11522 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11523
e2fa4bc2
RH
11524 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11525 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11526 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11527 before exiting on error.
11528 (__libc_vfork): New strong alias.
11529 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11530 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11531
279b24e2
RH
11532 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11533 that was previously under [RESET_PID].
11534 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11535
132c7f5f
RH
11536 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11537
b72592e7
JM
115382014-05-23 Joseph Myers <joseph@codesourcery.com>
11539
11540 [BZ #16977]
11541 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11542 value when x - 1 is zero.
11543 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11544 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11545 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11546 0.0L for an argument of 1.0L.
11547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11548 Likewise.
11549 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11550 value when x - 1 is zero.
11551 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11552 * sysdeps/i386/fpu/libm-test-ulps: Update.
11553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11554
2302d679
RV
115552014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11556
11557 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11558 alphasort and versionsort.
11559
32999d63
AZ
115602014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11561
11562 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11563 macro.
11564 [copysignf]: Likewise.
11565
019324d0
SP
115662014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11567
11568 * crypt/md5-crypt.c: Fix formatting.
11569
34fff5c2
KS
115702014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11571
11572 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11573 (b64_from_24bit): New function.
11574
3d2badac
AZ
115752014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11576
11577 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11578 libc_hidden_builtin_def to ifunc.
11579 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11580 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11581
f7bb179f 115822014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11583
11584 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11585 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11586
4134b50d
JM
115872014-05-21 Joseph Myers <joseph@codesourcery.com>
11588
bb7d0337
JM
11589 * nscd/Depend (linuxthreads): Remove.
11590 (nptl): Add.
11591 * resolv/Depend (linuxthreads): Remove.
11592 * rt/Depend (linuxthreads): Remove.
11593
4134b50d
JM
11594 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11595 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11596 $(common-objpfx)elf/.
11597 (link-libc-before-gnulib): Likewise.
11598 (elfobjdir): Remove variable.
11599 * Makefile (install): Use $(elf-objpfx) instead of
11600 $(common-objpfx)elf/.
11601 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11602 $(elfobjdir)/.
11603 (link-libc-deps): Likewise.
11604 ($(common-objpfx)libc.so): Likewise.
11605 ($(common-objpfx)linkobj/libc.so): Likewise.
11606 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11607 instead of $(common-objpfx)elf/.
11608 (symbolic-link-list): Likewise.
11609 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11610 [$(cross-compiling) = no]: Likewise.
11611 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11612 $(elfobjdir)/.
11613 (static-gnulib-arch): Likewise.
11614 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11615 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11616 $(common-objpfx)elf/.
11617
3612eb8f
RH
116182014-05-21 Richard Henderson <rth@redhat.com>
11619
a6b3657b
RH
11620 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11621 (SINGLE_THREAD_P): Use the correct width load. Fold
11622 into the ldr offset.
11623
3612eb8f
RH
11624 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11625 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11626
175cef41
JM
116272014-05-20 Joseph Myers <joseph@codesourcery.com>
11628
11629 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11630 (libgcc_s_resume): Use __attribute_used__.
11631 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11632 Likewise.
11633
e13bccd3
AZ
116342014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11635
11636 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11637 optimization when used with float constants.
11638
7c112a38
AZ
11639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11640
ae75a883
AJ
116412014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11642
11643 [BZ #16915]
11644 * locale/nl_langinfo_l.c: Make direct reference to every
11645 _nl_current_CATEGORY symbol.
11646 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11647 (tests-static): Add tst-langinfo-static.
11648 (tests-special): Add tst-langinfo-static.out.
11649 ($(objpfx)tst-langinfo.out): Redirect output.
11650 ($(objpfx)tst-langinfo-static.out): New.
11651 * localedata/tst-langinfo.sh: Send output to stdout.
11652 * localedata/tst-langinfo-static.c: New file.
11653
4406c41c
AJ
11654 [BZ #16965]
11655 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11656 when the shift amount is modulo the limb size.
11657
4c0a1e63
RH
116582014-05-20 Richard Henderson <rth@redhat.com>
11659
de9d8f20
RH
11660 [BZ #16967]
11661 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11662 Change type of sa_flags from unsigned int to int.
11663
4c0a1e63
RH
11664 [BZ #16966]
11665 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11666
11667 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11668
a60339aa
WN
116692014-05-20 Will Newton <will.newton@linaro.org>
11670
11671 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11672 Test the return value of the system call in the nocancel case.
11673
7d05a816
YR
116742014-05-20 Will Newton <will.newton@linaro.org>
11675 Yvan Roux <yvan.roux@linaro.org>
11676
11677 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11678 #include of asm/ptrace.h.
11679 (PTRACE_GET_THREAD_AREA): Remove #undef.
11680 (PTRACE_GETHBPREGS): Likewise.
11681 (PTRACE_SETHBPREGS): Likewise.
11682 (struct user_regs_struct): New structure.
11683 (struct user_fpsimd_struct): New structure.
11684 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11685 #include of asm/ptrace.h and second #include of sys/user.h.
11686 (PTRACE_GET_THREAD_AREA): Remove #undef.
11687 (PTRACE_GETHBPREGS): Likewise.
11688 (PTRACE_SETHBPREGS): Likewise.
11689 (ELF_NGREG): Use new struct user_regs_struct.
11690 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11691
af121e37
AZ
116922014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693
11694 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11695 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11696
834caf06
JM
116972014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11698
11699 [BZ #16958]
11700 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11701 membar to avoid block loads/stores to overlap previous stores.
11702
e184a918
RH
117032014-05-17 Richard Henderson <rth@redhat.com>
11704
11705 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11706 Create the __##syscall_name##_nocancel entry point.
11707 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11708 Remove; let the sysdep-cancel.h code create it.
11709
f56c7a6a
DM
117102014-05-17 David S. Miller <davem@davemloft.net>
11711
11712 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11713 Protect with __USE_GNU.
11714 (TIOCSET_TEMPT): Likewise.
11715 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11716 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11717 these are already provided in bits/ioctl-types.h
11718
f75616b2
RM
117192014-05-16 Roland McGrath <roland@hack.frob.com>
11720
3edeca86
RM
11721 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11722 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11723
f75616b2
RM
11724 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11725 Use wait4 regardless of [__NR_waitpid].
11726
deb0f7f6
MR
117272014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11728
11729 PR libgcc/60166
11730 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11731 (_FP_NANSIGN_Q): Set the quiet bit.
11732
79520f4b
JM
117332014-05-16 Joseph Myers <joseph@codesourcery.com>
11734
11735 * benchtests/Makefile
11736 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11737 not $(common-objpfx)math/libm.so.
11738 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11739 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11740 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11741 $(common-objpfx)dlfcn/libdl.so.
11742 ($(objpfx)tst-audit8): Depend on $(libm), not
11743 $(common-objpfx)math/libm.so.
11744 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11745 not $(common-objpfx)dlfcn/libdl.so.
11746 * math/Makefile
11747 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11748 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11749 [$(build-shared) = yes].
11750 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11751 $(common-objpfx)nptl/libpthread.so.
11752 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11753 $(common-objpfx)math/libm.so$(libm.so-version) or
11754 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11755 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11756 $(common-objpfx)dlfcn/libdl.so.
11757 * setjmp/Makefile (link-libm): Remove variable.
11758 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11759 * stdio-common/Makefile (link-libm): Remove variable.
11760 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11761 * stdlib/Makefile (link-libm): Remove variable.
11762 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11763 ($(objpfx)tst-strtod-round): Likewise.
11764 ($(objpfx)tst-tininess): Likewise.
11765 ($(objpfx)tst-strtod-underflow): Likewise.
11766 ($(objpfx)tst-strtod6): Likewise.
11767 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11768 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11769 $(common-objpfx)dlfcn/libdl.so.
11770
026b0fe4
AZ
117712014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11772
11773 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11774 BSD terminal modes definitions.
11775
def4bcb2
RM
117762014-05-16 Roland McGrath <roland@hack.frob.com>
11777
fe39b021
RM
11778 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11779 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11780
1d1fc46e 11781 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11782 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11783 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11784 Don't do #include_next.
11785 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11786 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11787 Don't do #include_next.
11788 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11789 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11790 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11791 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11792
c72399fb
AM
117932014-05-16 Allan McRae <allan@archlinux.org>
11794
d51d659d
AM
11795 * po/sv.po: Update Swedish translation from translation project.
11796
c72399fb
AM
11797 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11798 in sed expression.
11799
d0583c40
AJ
118002014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11801
11802 [BZ #16917]
11803 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11804 errno if the TIOCGPTN ioctl fails with an error different than
11805 EINVAL.
11806 * login/tst-ptsname.c: New file.
11807 * login/Makefile (tests): Add tst-ptsname.
11808
d16e6ec7
AJ
11809 [BZ #16943]
11810 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11811 and prlimit64.
11812
cf26a0cb
SP
118132014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11814
11815 [BZ #16849]
11816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11817 herrno to return EAI_AGAIN.
11818
5675da1e
RM
118192014-05-14 Roland McGrath <roland@hack.frob.com>
11820
a5d87b3d
RM
11821 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11822 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11823 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11824 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11825 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11826 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11827 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11828 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11829 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11830 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11831 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11832 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11833 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11834 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11835 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11836 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11837 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11838 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11839 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11840 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11841 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11842 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11843 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11844 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11845 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11846 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11847 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11848 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11849 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11850 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11852 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11854 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11856 Moved ...
11857 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11859 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11861 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11863 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11865 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11867 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11869 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11871 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11873 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11875 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11877 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11879 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11881 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11883 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11885 Moved ...
11886 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11888 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11890 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11892 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11894 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11896 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11898 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11900 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11902 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11904 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11906 Moved ...
11907 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11909 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11910
039890a6
RM
11911 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11912 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11913 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11914 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11915 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11916 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11917 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11918 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11919 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11920 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11921 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11922 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11923 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11924 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11925 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11926 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11927 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11928 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11929 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11930 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11931 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11932 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11933 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11934 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11935 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11936 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11937 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11938 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11939 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11940 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11941 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11942
65c89320
RM
11943 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11944 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11945
348f8e8c
RM
11946 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11947 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11948 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11949 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11950 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11952 Moved ...
11953 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11955 Moved ...
11956 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11958 Moved ...
11959 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11960 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11961 Moved ...
11962 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11963 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11964 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11965 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11966 Moved ...
11967 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11968 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11969 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11970 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11971 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11972 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11973 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11974 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11975 Moved ...
11976 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11977 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11978 Moved ...
11979 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11980 ... here.
11981 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11982 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11983 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11984 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11985 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11986 Moved ...
11987 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11988 ... here.
11989 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11990 Moved ...
11991 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11992 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11993 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11994 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11995 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11997 Moved ...
11998 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12000 Moved ...
12001 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12003 Moved ...
12004 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12005 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12006 Moved ...
12007 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12008 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12009 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12010 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12011 Moved ...
12012 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12013 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12014 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12015 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12016 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12017 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12018 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12019 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12020 Moved ...
12021 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12022 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12023 Moved ...
12024 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12025 ... here.
12026 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12027 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12028 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12029 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12030 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12031 Moved ...
12032 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12033 ... here.
12034 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12035 Moved ...
12036 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12037 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12038 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12039 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12040 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12041 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12042 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12043 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12044 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12045 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12046 Moved ...
12047 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12049 Moved ...
12050 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12052 Moved ...
12053 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12054 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12055 Moved ...
12056 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12057 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12058 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12059 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12060 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12061 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12062 Moved ...
12063 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12064 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12065 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12066 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12067 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12068 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12069 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12070 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12071 Moved ...
12072 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12073 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12074 Moved ...
12075 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12076 ... here.
12077 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12078 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12079 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12080 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12081 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12082 Moved ...
12083 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12084 ... here.
12085 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12086 Moved ...
12087 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12088 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12089 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12090 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12091 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12092 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12093 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12094 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12095 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12096 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12097 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12098
5085af05
RM
12099 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12100 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12101
708f0813
RM
12102 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12103 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12104
c96067bc
RM
12105 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12106 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12107 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12108 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12109 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12110 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12111 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12112 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12113 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12114 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12115 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12116 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12117 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12118 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12119 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12121 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12122 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12123 Moved ...
12124 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12126 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12128 Moved ...
12129 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12131 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12132 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12133 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12134 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12135 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12137 Moved ...
12138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12140 Moved ...
12141 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12143 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12144 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12145 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12147 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12148 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12149 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12150 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12151 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12152 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12153 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12154 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12155 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12156 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12157 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12158
ec136444
RM
12159 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12160 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12161 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12162 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12163 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12164
2fbdf533
RM
12165 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12166 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12167 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12168 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12169 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12170 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12171 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12172 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12173 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12174 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12175
4c68138b
RM
12176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12178
4eaae765
RM
12179 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12180 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12181 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12182 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12183 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12184 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12185 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12186 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12187 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12188 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12189 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12190 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12191 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12192 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12194 Update #include.
12195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12196 Likewise.
12197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12198 Likewise.
12199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12200 Likewise.
12201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12202 Likewise.
12203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12204 Likewise.
12205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12206 Likewise.
12207 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12208 Likewise.
12209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12210 Likewise.
12211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12212 Likewise.
4ef6befa
RM
12213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12215 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12216 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12219 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12220 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12221 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12222 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12224 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12225 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12226 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12227 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12228
941d7dfd
RM
12229 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12230 that was previously under [RESET_PID].
12231 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12232 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12233 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12234
1b731c35
RM
12235 * sysdeps/i386/nptl/Implies: New file.
12236 * sysdeps/x86_64/nptl/Implies: New file.
12237 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12238 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12239 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12240 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12241
e2787137
RM
12242 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12243 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12244 (__libc_vfork): New strong alias.
12245 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12246 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12247
12248 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12249 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12250 (__libc_vfork): New strong alias.
12251 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12252 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12253
5675da1e
RM
12254 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12255 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12256 (__libc_vfork): New strong alias.
12257 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12258 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12259 * nptl/pt-vfork.c: New file.
12260 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12261 (libpthread: GLIBC_2.20): New version set (empty).
12262
4f02e2b8
WN
122632014-05-14 Will Newton <will.newton@linaro.org>
12264
12265 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12266 rather than #if.
12267
0bf061d3
JM
122682014-05-14 Joseph Myers <joseph@codesourcery.com>
12269
1a84c3d6
JM
12270 [BZ #16564]
12271 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12272 arguments with exponent 65 or above.
12273 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12274 arguments 0x1p113L or above.
12275 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12276 to arguments 0x1p107L or above.
12277 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12278 positive arguments with exponent 65 or above.
12279 * math/auto-libm-test-in: Add more tests of log1p.
12280 * math/auto-libm-test-out: Regenerated.
12281
01dbacd2
JM
12282 [BZ #16928]
12283 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12284 non-finite arguments is +0.
12285 * math/s_cacosf.c (__cacosf): Likewise.
12286 * math/s_cacosl.c (__cacosl): Likewise.
12287 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12288 * sysdeps/i386/fpu/libm-test-ulps: Update.
12289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12290
913d03c8
JM
12291 [BZ #16927]
12292 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12293 value.
12294 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12295 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12296 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12297 for explicit high bit of mantissa when testing for argument equal
12298 to 1.
12299 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12300 * sysdeps/i386/fpu/libm-test-ulps: Update.
12301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12302
0bf061d3
JM
12303 [BZ #16516]
12304 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12305 (__erf): Scale by 16 instead of 8 in potentially underflowing
12306 case. Ensure exception if result actually underflows.
12307 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12308 (__erff): Scale by 16 instead of 8 in potentially underflowing
12309 case. Ensure exception if result actually underflows.
12310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12311 (efx8): Remove variable.
12312 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12313 case. Ensure exception if result actually underflows.
12314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12315 (efx8): Remove variable.
12316 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12317 case. Ensure exception if result actually underflows.
12318 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12319 (efx8): Remove variable.
12320 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12321 case. Ensure exception if result actually underflows.
12322 * math/auto-libm-test-in: Add more tests of erf.
12323 * math/auto-libm-test-out: Regenerated.
12324
73ba67cb
AS
123252014-05-14 Andreas Schwab <schwab@suse.de>
12326
3d8c8bff
AS
12327 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12328 Remove code conditionalized on USE___THREAD.
12329
73ba67cb
AS
12330 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12331 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12332 not definedness.
12333
5c521ecd
JM
123342014-05-14 Joseph Myers <joseph@codesourcery.com>
12335
5e7698c6
JM
12336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12337 Define unconditionally.
12338 (__ASSUME_O_CLOEXEC): Likewise.
12339 (__ASSUME_SOCK_CLOEXEC): Likewise.
12340 (__ASSUME_IN_NONBLOCK): Likewise.
12341 (__ASSUME_PIPE2): Likewise.
12342 (__ASSUME_EVENTFD2): Likewise.
12343 (__ASSUME_SIGNALFD4): Likewise.
12344 (__ASSUME_DUP3): Likewise.
12345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12346 (__ASSUME_DUP3): Do not define.
12347 (__ASSUME_EVENTFD2): Likewise.
12348 (__ASSUME_IN_NONBLOCK): Likewise.
12349 (__ASSUME_O_CLOEXEC): Likewise.
12350 (__ASSUME_PIPE2): Likewise.
12351 (__ASSUME_SIGNALFD4): Likewise.
12352 (__ASSUME_SOCK_CLOEXEC): Likewise.
12353 (__ASSUME_UTIMES): Undefine.
12354 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12355 (__ASSUME_UTIMES): Do not define.
12356 (__ASSUME_O_CLOEXEC): Likewise.
12357 (__ASSUME_SOCK_CLOEXEC): Likewise.
12358 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12359 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12360 0x020621].
12361 (__ASSUME_PIPE2): Likewise.
12362 (__ASSUME_EVENTFD2): Likewise.
12363 (__ASSUME_SIGNALFD4): Likewise.
12364 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12365 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12366 Do not define.
12367 (__ASSUME_EVENTFD2): Likewise.
12368 (__ASSUME_SIGNALFD4): Likewise.
12369 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12370 (__ASSUME_32BITUIDS): Likewise.
12371 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12372 (__ASSUME_IPC64): Likewise.
12373 (__ASSUME_ST_INO_64_BIT): Likewise.
12374 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12375 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12376 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12377 (__ASSUME_UTIMES): Do not define.
12378 (__ASSUME_PSELECT): Likewise.
12379 (__ASSUME_PPOLL): Likewise.
12380 (__ASSUME_O_CLOEXEC): Likewise.
12381 (__ASSUME_SOCK_CLOEXEC): Likewise.
12382 (__ASSUME_IN_NONBLOCK): Likewise.
12383 (__ASSUME_PIPE2): Likewise.
12384 (__ASSUME_EVENTFD2): Likewise.
12385 (__ASSUME_SIGNALFD4): Likewise.
12386 (__ASSUME_DUP3): Likewise.
12387 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12388 (__ASSUME_UTIMES): Likewise.
12389 (__ASSUME_O_CLOEXEC): Likewise.
12390 (__ASSUME_SOCK_CLOEXEC): Likewise.
12391 (__ASSUME_IN_NONBLOCK): Likewise.
12392 (__ASSUME_PIPE2): Likewise.
12393 (__ASSUME_EVENTFD2): Likewise.
12394 (__ASSUME_SIGNALFD4): Likewise.
12395 (__ASSUME_DUP3): Likewise.
12396 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12397 (__ASSUME_UTIMES): Likewise.
12398 (__ASSUME_O_CLOEXEC): Likewise.
12399 (__ASSUME_SOCK_CLOEXEC): Likewise.
12400 (__ASSUME_IN_NONBLOCK): Likewise.
12401 (__ASSUME_PIPE2): Likewise.
12402 (__ASSUME_EVENTFD2): Likewise.
12403 (__ASSUME_SIGNALFD4): Likewise.
12404 (__ASSUME_DUP3): Likewise.
12405 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12406 Likewise.
12407 (__ASSUME_UTIMES): Likewise.
12408 (__ASSUME_EVENTFD2): Likewise.
12409 (__ASSUME_SIGNALFD4): Likewise.
12410 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12411 (__ASSUME_O_CLOEXEC): Likewise.
12412 (__ASSUME_SOCK_CLOEXEC): Likewise.
12413 (__ASSUME_IN_NONBLOCK): Likewise.
12414 (__ASSUME_PIPE2): Likewise.
12415 (__ASSUME_EVENTFD2): Likewise.
12416 (__ASSUME_SIGNALFD4): Likewise.
12417 (__ASSUME_DUP3): Likewise.
12418 (__ASSUME_UTIMES): Undefine.
12419
5c521ecd
JM
12420 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12421 feclearexcept. Remove symbol versioning code.
12422 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12423 symbol versioning code.
12424 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12425 symbol versioning code.
12426 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12427 feupdateenv. Remove symbol versioning code.
12428 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12429 fegetexceptflag. Remove symbol versioning code.
12430 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12431 fesetexceptflag. Remove symbol versioning code.
12432 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12433 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12434 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12435 (__posix_fadvise64_l32): Remove prototype.
12436 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12437 code.
12438
5da9dfad
RM
124392014-05-13 Roland McGrath <roland@hack.frob.com>
12440
12441 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12442 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12443 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12444 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12445
893b4f37
SK
124462014-05-13 Sami Kerola <kerolasa@iki.fi>
12447
12448 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12449 current working directory
12450
e0db6517
RM
124512014-05-13 Roland McGrath <roland@hack.frob.com>
12452
58aa195d
RM
12453 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12454 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12455 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12456 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12457 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12458 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12459 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12460 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12461 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12462 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12463 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12464 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12465 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12466 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12467 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12468 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12469 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12470 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12471 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12472 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12473 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12474 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12475 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12476 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12477 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12478 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12479 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12480 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12481 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12482 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12483 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12484 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12485 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12486 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12487 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12488 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12489 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12490 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12491 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12492 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12493 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12494 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12495
8c6d01f0
RM
12496 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12497 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12498
12499 * sysdeps/unix/sysv/linux/arm/Makefile
12500 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12501 Add rt-aeabi_unwind_cpp_pr1.
12502 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12503 Add nptl-aeabi_unwind_cpp_pr1.
12504 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12505 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12506 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12507 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12508 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12509 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12510
12511 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12512 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12513 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12514 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12515
bba6da4e
RM
12516 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12517 Deconditionalize the code that was previously under [RESET_PID].
12518 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12519
e0db6517
RM
12520 * sysdeps/generic/exit-thread.h: New file.
12521 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12522 * include/unistd.h (__exit_thread): Remove declaration.
12523 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12524 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12525 * csu/libc-start.c: Include <exit-thread.h>.
12526 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12527 * nptl/pthread_create.c: Include <exit-thread.h>.
12528 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12529 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12530 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12531 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12532 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12533 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12534 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12535 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12536 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12537 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12538 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12539 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12540 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12541 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12542 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12543 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12544 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12545
01eb16fd
AS
125462014-05-13 Andreas Schwab <schwab@suse.de>
12547
12548 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12549
637461d9
JM
125502014-05-12 Joseph Myers <joseph@codesourcery.com>
12551
12552 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12553 (__ASSUME_UTIMES): Do not condition on kernel version.
12554 (__ASSUME_PSELECT): Define unconditionally.
12555 (__ASSUME_PPOLL): Likewise.
12556 (__ASSUME_ATFCTS): Likewise.
12557 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12558 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12559 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12560 (__ASSUME_UTIMENSAT): Define unconditionally.
12561 (__ASSUME_PRIVATE_FUTEX): Likewise.
12562 (__ASSUME_FALLOCATE): Likewise.
12563 (__ASSUME_O_CLOEXEC): Likewise.
12564 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12565 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12566 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12567 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12568 (__ASSUME_IN_NONBLOCK): Likewise.
12569 (__ASSUME_PIPE2): Likewise.
12570 (__ASSUME_EVENTFD2): Likewise.
12571 (__ASSUME_SIGNALFD4): Likewise.
12572 (__ASSUME_DUP3): Likewise.
12573 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12574 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12575 (__ASSUME_AT_RANDOM): Likewise.
12576 (__ASSUME_PREADV): Likewise.
12577 (__ASSUME_PWRITEV): Likewise.
12578 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12579 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12580 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12581 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12582 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12583 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12584 (__ASSUME_O_CLOEXEC): Define unconditionally.
12585 (__ASSUME_PSELECT): Do not undefine conditionally.
12586 (__ASSUME_PPOLL): Likewise.
12587 (__ASSUME_ATFCTS): Likewise.
12588 (__ASSUME_SET_ROBUST_LIST): Likewise.
12589 (__ASSUME_UTIMENSAT): Likewise.
12590 (__ASSUME_FDATASYNC): Define unconditionally.
12591 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12592 (__ASSUME_SIGFRAME_V2): Likewise.
12593 )__ASSUME_EVENTFD2): Likewise.
12594 (__ASSUME_SIGNALFD4): Likewise.
12595 (__ASSUME_PSELECT): Do not undefine conditionally.
12596 (__ASSUME_PPOLL): Likewise.
12597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12598 (__ASSUME_PSELECT): Define unconditionally.
12599 (__ASSUME_PPOLL): Likewise.
12600 (__ASSUME_O_CLOEXEC): Likewise.
12601 (__ASSUME_SOCK_CLOEXEC): Likewise.
12602 (__ASSUME_IN_NONBLOCK): Likewise.
12603 (__ASSUME_PIPE2): Likewise.
12604 (__ASSUME_EVENTFD2): Likewise.
12605 (__ASSUME_SIGNALFD4): Likewise.
12606 (__ASSUME_DUP3): Likewise.
12607 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12608 (__ASSUME_O_CLOEXEC): Likewise.
12609 (__ASSUME_SOCK_CLOEXEC): Likewise.
12610 (__ASSUME_IN_NONBLOCK): Likewise.
12611 (__ASSUME_PIPE2): Likewise.
12612 (__ASSUME_EVENTFD2): Likewise.
12613 (__ASSUME_SIGNALFD4): Likewise.
12614 (__ASSUME_DUP3): Likewise.
12615 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12616 (__ASSUME_EVENTFD2): Likewise.
12617 (__ASSUME_SIGNALFD4): Likewise.
12618 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12619
315eb1d8
AS
126202014-05-12 Andreas Schwab <schwab@suse.de>
12621
12622 [BZ #16932]
12623 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12624 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12625 than maximum RPC packet size.
12626 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12627 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12628 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12629 (_nss_nis_getservbyport_r): Likewise.
12630
91df99f7
WN
126312014-05-12 Will Newton <will.newton@linaro.org>
12632
12633 * malloc/Makefile (tests): Add tst-mallopt.
12634 * malloc/tst-mallopt.c: New file.
12635
0a982a29
RM
126362014-05-09 Roland McGrath <roland@hack.frob.com>
12637
12638 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12639 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12640
0ded08a5
AZ
126412014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12642
12643 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12644 (tst-tlsmod6.so): Likewise.
12645
55d4d550
RM
126462014-05-09 Roland McGrath <roland@hack.frob.com>
12647
12648 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12649
77d08aca
JM
126502014-05-09 Joseph Myers <joseph@codesourcery.com>
12651
12652 [BZ #16064]
12653 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12654 and <dl-procinfo.h>.
12655 (__fegetenv): Save SSE state in envp->__eip if supported.
12656 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12657 envp->__eip if supported.
12658 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12659 and <dl-procinfo.h>.
12660 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12661 __data_offset and __data_selector in environment to 0. Set SSE
12662 state if supported.
12663 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12664 test-fenv-sse.
12665 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12666 -mfpmath=sse.
12667 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12668
28162f4d
WN
126692014-05-09 Will Newton <will.newton@linaro.org>
12670
12671 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12672 and libc_relro_required for ARM.
12673 * sysdeps/arm/preconfigure: Regenerate.
12674
5a414ff7
DV
126752014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12676 Stefan Liebler <stli@linux.vnet.ibm.com>
12677
12678 * config.make.in (enable-lock-elision): New Makefile variable.
12679 * configure.ac: Likewise.
12680 * configure: Regenerate.
12681 * sysdeps/s390/configure.ac:
12682 Add check for gcc transactions support.
12683 * sysdeps/s390/configure: Regenerate.
12684 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12685 Build elision files if enabled.
12686 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12687 Add lock elision support for s390.
12688 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12689 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12690 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12691 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12692 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12693 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12694 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12695 Likewise.
12696 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12697 Likewise.
12698 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12699 Likewise.
12700 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12701 Likewise.
12702 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12703 (__lll_timedlock_elision, __lll_lock_elision)
12704 (__lll_unlock_elision, __lll_trylock_elision)
12705 (lll_timedlock_elision, lll_lock_elision)
12706 (lll_unlock_elision, lll_trylock_elision): Add.
12707 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12708 (pthread_mutex_t): Add lock elision support for s390.
12709
1a2f40e5
W
127102014-05-14 Wilco <wdijkstr@arm.com>
12711
12712 * sysdeps/arm/fclrexcpt.c: Cleanup.
12713 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12714 * sysdeps/arm/feenablxcpt.c: Cleanup.
12715 * sysdeps/arm/fegetenv.c: Cleanup.
12716 * sysdeps/arm/fegetexcept.c: Cleanup.
12717 * sysdeps/arm/fegetround.c: Cleanup.
12718 * sysdeps/arm/feholdexcpt.c: Cleanup.
12719 * sysdeps/arm/fesetenv.c: Cleanup.
12720 * sysdeps/arm/fesetround.c: Cleanup.
12721 * sysdeps/arm/feupdateenv.c: Cleanup.
12722 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12723 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12724 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12725 * sysdeps/arm/ftestexcept.c: Cleanup.
12726 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12727 * sysdeps/arm/setfpucw.c: Cleanup.
12728
f63c86fe
WN
127292014-05-09 Will Newton <will.newton@linaro.org>
12730
12731 * sysdeps/arm/armv7/strcmp.S: New file.
12732 * NEWS: Mention addition of ARMv7 optimized strcmp.
12733
7a1a51b5
RM
127342014-05-08 Roland McGrath <roland@hack.frob.com>
12735
95afbbe5
RM
12736 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12737 look for %.ac rather than %.in.
12738
12739 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12740 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12741 * sysdeps/mach/hurd/configure: Regenerated.
12742 * sysdeps/unix/sysv/linux/configure: Regenerated.
12743
7a1a51b5
RM
12744 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12745
5057ad3b
SE
127462014-05-07 Steve Ellcey <sellcey@mips.com>
12747
12748 [BZ# 16922]
12749 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12750 (LONG_SUB): Ditto.
12751 (PTR_SUB): Ditto.
12752
8dc97517
AS
127532014-05-07 Andreas Schwab <schwab@suse.de>
12754
12755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12756 when skipping over non-matching result from nscd.
12757
ce0c5b8f
OB
127582014-05-07 Ondřej Bílka <neleai@seznam.cz>
12759
12760 [BZ #16876]
12761 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12762
a1189263
OB
12763 [BZ #16877]
12764 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12765 nscd security class.
ce0c5b8f 12766
0f58d252
RM
127672014-05-06 Roland McGrath <roland@hack.frob.com>
12768
12769 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12770 * sysdeps/arm/unwind.h: ... here.
12771
83df9ad0
AJ
127722014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12773
ce0c5b8f
OB
12774 [BZ# 16916]
12775 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12776 Define.
83df9ad0 12777
f360f94a
VR
127782014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12779
12780 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12781 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12782 multiarch strncpy for PPC64.
12783 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12784 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12786 multiarch optimizations.
12787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12788 (__libc_ifunc_impl_list): Likewise.
12789 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12790 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12791 multiarch stpncpy for PPC64.
12792 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12793 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12794
978a41c3
AS
127952014-05-06 Andreas Schwab <schwab@suse.de>
12796
12797 [BZ #16912]
12798 * gmon/mcount.c (_MCOUNT_DECL): Use
12799 atomic_compare_and_exchange_bool_acq instead of
12800 catomic_compare_and_exchange_bool_acq.
12801
eb1ed03d
RM
128022014-05-05 Roland McGrath <roland@hack.frob.com>
12803
fe658845
RM
12804 * elf/Makefile (others, install-bin): Remove pldd.
12805 (pldd-modules): Variable removed.
12806 ($(objpfx)pldd): Target removed.
12807 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12808 (others, install-bin): Append pldd here.
12809 ($(objpfx)pldd): New target.
12810
eb1ed03d
RM
12811 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12812 to 0, so the first #if test emitted later doesn't see it undefined.
12813 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12814 * sysdeps/gnu/errlist.c: Regenerated.
12815
19c4bec0
AZ
128162014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12817
12818 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12819 [libc_hidden_builtin_def]: Define to empty value.
12820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12821 [libc_hidden_builtin_def]: Likewise.
12822 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12823 [libc_hidden_builtin_def]: Likewise.
12824 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12825 [libc_hidden_builtin_def]: Likewise.
12826 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12827 __redirect_memcpy and define ifunc as default hidden symbol.
12828 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12829 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12830
7776e669
AC
128312014-05-04 Adam Conrad <adconrad@0c3.net>
12832
12833 * locale/iso-4217.def: Reintroduce XDR currency.
12834
d69aeb12
AM
128352014-05-04 Allan McRae <allan@archlinux.org>
12836
12837 * po/eo.po: Update Esperanto translation from translation project.
12838
8f1df5cf
CD
128392014-05-02 Carlos O'Donell <carlos@redhat.com>
12840
12841 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12842 and FEATURE_INDEX_MAX to 1.
12843 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12844
13e402e7
SE
128452014-05-01 Steve Ellcey <sellcey@mips.com>
12846
12847 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12848 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12849 * iconvdata/big5.c (ONE_DIRECTION): Define.
12850 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12851 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12852 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12853 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12854 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12855 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12856 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12857 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12858 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12859 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12860 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12861 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12862 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12863 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12864 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12865 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12866 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12867 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12868 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12869 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12870 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12871 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12872 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12873 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12874 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12875 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12876 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12877 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12878 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12879 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12880 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12881 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12882 * iconvdata/johab.c (ONE_DIRECTION): Define.
12883 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12884 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12885 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12886 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12887 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12888 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12889 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12890 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12891 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12892 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12893
c727f032
RM
128942014-05-01 Roland McGrath <roland@hack.frob.com>
12895
8f2f08d0
RM
12896 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12897 (_IO_JUMPS_OFFSET): Define to 0.
12898
c727f032
RM
12899 * nptl/sysdeps/pthread/bits/libc-lock.h
12900 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12901 (__libc_lock_define_initialized_recursive): Always define using
12902 initializer. Modern compilers treat uninitialized (implicit zero) and
12903 explicit zero initializers the same (i.e. put the datum in bss).
12904
a849e800
AS
129052014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12906
12907 * nscd/nscd-client.h: Include <string.h>.
12908
5331255b
DM
129092014-05-01 David S. Miller <davem@davemloft.net>
12910
12911 [BZ #16885]
12912 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12913 multiple zero bytes exist at the end of a string.
12914 Reported by Aurelien Jarno <aurelien@aurel32.net>
12915
12916 * string/test-strcmp.c (check): Add explicit test for situations where
12917 there are multiple zero bytes after the first.
12918
4fdfe821
AS
129192014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12920
12921 [BZ #16890]
12922 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12923 when compiling wprintf.
12924 * stdio-common/tstdiomisc.c (t3): New function.
12925 (main): Call it.
12926
0cdddc25
SE
129272014-05-01 Steve Ellcey <sellcey@mips.com>
12928
12929 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12930 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12931 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12932 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12933
6426d77e
SE
129342014-05-01 Steve Ellcey <sellcey@mips.com>
12935
12936 * stdlib/longlong.h: Updated from GCC.
12937
6d96f5e4
WN
129382014-05-01 Will Newton <will.newton@linaro.org>
12939 Bernard Ogden <bernie.ogden@linaro.org>
12940
7470db0c
WN
12941 * NEWS: Update fixed bug list.
12942
6d96f5e4
WN
12943 [BZ #15119]
12944 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12945
211d653c
DM
129462014-04-30 David S. Miller <davem@davemloft.net>
12947
4fa262fa
DM
12948 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12949 (libc_feholdexcept_setround_sparc_ctx): New function.
12950 (libc_fesetenv_sparc_ctx): Likewise.
12951 (libc_feupdateenv_sparc_ctx): Likewise.
12952 (libc_feholdsetround_sparc_ctx): Likewise.
12953 (libc_feholdexcept_setround_ctx): Define.
12954 (libc_feholdexcept_setroundf_ctx): Likewise.
12955 (libc_feholdexcept_setroundl_ctx): Likewise.
12956 (libc_fesetenv_ctx): Likewise.
12957 (libc_fesetenvf_ctx): Likewise.
12958 (libc_fesetenvl_ctx): Likewise.
12959 (libc_feupdateenv_ctx): Likewise.
12960 (libc_feupdateenvf_ctx): Likewise.
12961 (libc_feupdateenvl_ctx): Likewise.
12962 (libc_feresetround_ctx): Likewise.
12963 (libc_feresetroundf_ctx): Likewise.
12964 (libc_feresetroundl_ctx): Likewise.
12965 (libc_feholdsetround_ctx): Likewise.
12966 (libc_feholdsetroundf_ctx): Likewise.
12967 (libc_feholdsetroundl_ctx): Likewise.
12968
1d3d93ef
DM
12969 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12970 with __USE_GNU instead of XOPEN cpp guards.
12971
8aa583c3
DM
12972 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12973 0.
12974
211d653c
DM
12975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12976 with XOPEN cpp guards.
12977
60c8f1f6
JB
129782014-04-30 Julian Brown <julian@codesourcery.com>
12979
12980 [BZ #16888]
12981 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12982 handling.
12983
9a461d46
JM
129842014-04-30 Joseph Myers <joseph@codesourcery.com>
12985
d0f5b3f8
JM
12986 [BZ #9894]
12987 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12988 Change to 2.6.32.
12989 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12990 * sysdeps/unix/sysv/linux/configure: Regenerated.
12991 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12992 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12993 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12994 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12995 * README: Update reference to required Linux kernel version.
12996 * manual/install.texi (Linux): Update reference to required Linux
12997 kernel headers version.
12998 * INSTALL: Regenerated.
12999
9a461d46
JM
13000 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13001 header inclusion.
13002 [POSIX] (limits.h): Likewise.
13003 [POSIX] (math.h): Likewise.
13004 [POSIX] (sys/wait.h): Likewise.
13005 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13006 function.
13007 [POSIX] (stddef.h): Do not allow header inclusion.
13008
1775babf
AZ
130092014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13010
57f41c40 13011 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13012
8f630cca
YY
130132014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13014
13015 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13016 Return immediately after lll_futex_wake.
13017
1cdeb237
SP
130182014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13019
bc8f194c
SP
13020 [BZ #16791]
13021 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13022 structure.
13023 (datahead_init_pos): Call datahead_init_common early.
13024 (datahead_init_neg): Likewise.
13025
1cdeb237
SP
13026 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13027 datahead_init_neg): New functions.
13028 * nscd/aicache.c (addhstaiX): Use them.
13029 * nscd/grpcache.c (cache_addgr): Likewise.
13030 * nscd/hstcache.c (cache_addhst): Likewise.
13031 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13032 * nscd/netgroupcache.c (do_notfound): Likewise.
13033 (addgetnetgrentX): Likewise.
13034 (addinnetgrX): Likewise.
13035 * nscd/pwdcache.c (cache_addpw): Likewise.
13036 * nscd/servicescache.c (cache_addserv): Likewise.
13037
16b293a7
SP
130382014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13039 Atsushi Onoe <atsushi@onoe.org>
13040
13041 [BZ #14308]
13042 [BZ #12994]
13043 [BZ #13651]
13044 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13045 one response is valid.
13046 * resolv/res_send.c (send_dg): Check for validity of other
13047 response if the current response is a referral.
13048
a28a9b94
SE
130492014-04-29 Steve Ellcey <sellcey@mips.com>
13050
13051 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13052
2ca180e9
SL
130532014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13054
13055 [BZ #16823]
13056 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13057 Always divide by positive zero when computing -Inf result.
13058 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13059 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13060
18f2945a
AZ
130612014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13062
13063 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13064 FPSCR if value do not change.
13065 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13066 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13067 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13068 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13069 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13070 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13071 function.
13072
5abebba4
CD
130732014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13074
13075 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13076 * sysdeps/unix/sysv/linux/hppa: Move directory from
13077 ports/systeps/unix/sysv/linux/hppa.
13078 * README: Update listing for hppa-*-linux-gnu.
13079
f7ed60c2
OB
130802014-04-28 Ondřej Bílka <neleai@seznam.cz>
13081
fff763a5
OB
13082 [BZ #16754]
13083 * manual/stdio.texi (Hook functions): Fix types of stream hook
13084 functions.
f7ed60c2
OB
13085 [BZ #16854]
13086 * socket/sys/socket.h: Fix typo in comment.
13087
df639d73
WD
130882014-04-28 Wilco <wdijkstr@arm.com>
13089
f7ed60c2 13090 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13091 * sysdeps/arm/math_private.h: New file.
13092 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13093
48332d82
L
130942014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13095
13096 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13097 with __int128_t.
13098 (La_x86_64_retval): Likewise.
13099
e5e0d9a4
IB
131002014-04-24 Ian Bolton <ian.bolton@arm.com>
13101
13102 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13103 fpsr if value didn't change.
13104 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13105 to fpcr if value didn't change.
13106 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13107 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13108 fpsr or fpcr if value didn't change.
13109 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13110 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13111 fpcr if value didn't change.
13112 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13113 to fpsr if value didn't change.
13114
bacc75f7
SP
131152014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13116
13117 * nptl/tst-sem3.c: Use test-skeleton.c
13118 (main): Rename to do_test. Use return instead of
13119 exit.
13120 * nptl/tst-sem4.c: Use test-skeleton.c
13121 (main): Rename to do_test.
13122
a059d359
DM
131232014-04-22 David S. Miller <davem@davemloft.net>
13124
13125 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13126 (struct sigaction): New struct member __glibc_reserved0, change
13127 type of sa_flags to int.
13128
ea6c92f3
YZ
131292014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13130
13131 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13132 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13133
766c4a36
SP
131342014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13135
13136 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13137 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13138
140cc7ab
VK
131392014-04-22 Will Newton <will.newton@linaro.org>
13140 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13141
13142 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13143 (__longjmp): Add longjmp and longjmp_target SystemTap
13144 probes.
13145 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13146 (__sigsetjmp): Add setjmp SystemTap probe.
13147
c54e5cf7
CD
131482014-04-17 Carlos O'Donell <carlos@redhat.com>
13149
13150 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13151 match manual order.
13152
75ffb047
AZ
131532014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13154
13155 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13156
2cd925f7
AZ
13157 * sysdeps/powerpc/fpu/fenv_private.h
13158 (libc_feholdexcept_setroundl_ctx): Define to
13159 libc_feholdexcept_setround_ppc_ctx.
13160 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13161 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13162 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13163 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13164
39e6cd8d
IB
131652014-04-17 Ian Bolton <ian.bolton@arm.com>
13166
13167 * sysdeps/aarch64/math-tests.h: New file.
13168
f9281df9
SY
131692014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13170
13171 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13172 New.
13173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13174 Check and set bit_AVX2_Usable.
13175 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13176 macro.
13177 (bit_AVX2): Likewise.
13178 (index_AVX2_Usable): Likewise.
13179 (CPUID_AVX2): Likewise.
13180 (HAS_AVX2): Likewise.
13181
37d35007
WN
131822014-04-17 Will Newton <will.newton@linaro.org>
13183
7c677662
WN
13184 * manual/setjmp.texi (System V contexts): Add note that
13185 calling setcontext on a context created by a call to a
13186 signal handler is undefined. Update text to note that
13187 setcontext from a signal handler is possible but not
13188 recommended.
13189
37d35007 13190 [BZ #16629]
e04a4e9d
WN
13191 * stdlib/tst-setcontext.c: Include signal.h.
13192 (main): Check that the signal stack before and
13193 after swapcontext is the same.
13194
37d35007
WN
13195 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13196 Re-implement to restore registers in user code and avoid
13197 rt_sigreturn system call.
13198
423a7160
W
131992014-04-17 Wilco <wdijkstr@arm.com>
13200
13201 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13202 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13203 * math/test-fenv.c: Skip exception trap tests on targets which only
13204 support non-stop mode.
13205
bc93ab29
IB
132062014-04-17 Ian Bolton <ian.bolton@arm.com>
13207 Wilco Dijkstra <wilco.dijkstra@arm.com>
13208
13209 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13210 (libc_feholdsetround_aarch64_ctx)
13211 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13212 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13213 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13214 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13215 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13216 (libc_feresetround_noexl_ctx): Define.
13217
95fc5fa3
RH
132182014-04-16 Richard Henderson <rth@redhat.com>
13219
ddb04724
RH
13220 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13221
d77c0899
RH
13222 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13223 unwind tables.
13224
a3df56fc
RH
13225 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13226 const from the non-libc, non-ldso copy.
13227
95fc5fa3
RH
13228 * sysdeps/alpha/libm-test-ulps: Regenerate.
13229
7e0b6763
IB
132302014-04-16 Ian Bolton <ian.bolton@arm.com>
13231 Wilco Dijkstra <wilco.dijkstra@arm.com>
13232
13233 * sysdeps/aarch64/fpu/math_private.h: New file.
13234
a9ea2e0c
MS
132352014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13236
13237 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13238
ea8ba7cd
IZ
132392014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13240
7e54fd04 13241 [BZ #16275]
ea8ba7cd
IZ
13242 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13243 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13245 Intel MPX bound registers before _dl_profile_fixup.
13246 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13247 registers after _dl_profile_fixup. Save and restore bound
13248 registers bnd0/bnd1 when calling _dl_call_pltexit.
13249 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13250 (LR_BND_OFFSET): Likewise.
13251 (LRV_BND0_OFFSET): Likewise.
13252 (LRV_BND1_OFFSET): Likewise.
13253
9f2a4fbc
ST
132542014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13255
13256 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13257 to...
13258 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13259 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13260 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13261 fields.
9f2a4fbc 13262
fd15a59b
ST
132632014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13264
13265 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13266
f19dfa0a
SL
132672014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13268
13269 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13270
4fa8bc3b
SL
132712014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13272
13273 [BZ #14770]
13274 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13275 * sysdeps/s390/configure: Regenerate.
13276
8ea587db
SL
13277 [BZ #16824]
13278 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13279 Set round-to-nearest internally to reduce error accumulation.
13280
aa5f0ff1
AM
132812014-04-16 Alan Modra <amodra@gmail.com>
13282
13283 [BZ #16740]
13284 [BZ #16619]
13285 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13286 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13287 * NEWS: Update fixed bug list.
aa5f0ff1 13288
bb9c256f
SP
132892014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13290
13291 * benchtests/Makefile: Depend on libraries in build directory.
13292 (bench-math): Separate out math tests.
13293 (bench-pthread): Separate out pthread tests.
13294 (bench): Include math and pthread tests.
13295
f737dfd0
CD
132962014-04-14 Carlos O'Donell <carlos@redhat.com>
13297
13298 [BZ #16831]
13299 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13300 _dl_debug_initialize.
13301
0699f766
CD
13302 * configure.ac: Remove SELinux header check.
13303 * configure: Regenerate.
13304 * nscd/selinux.c (perms): Array of const char* to permission names.
13305 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13306 default policy. Call string_to_security_class and string_to_av_perm to
13307 translate strings. Enforce default policy and call avs_has_perm with
13308 results of translated strings.
13309
809bd45f
DM
133102014-04-13 David S. Miller <davem@davemloft.net>
13311
13312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13313
89e691f2
AM
133142014-04-12 Allan McRae <allan@archlinux.org>
13315
13316 [BZ #16838]
13317 * manual/string.texi (Collation Functions): Fix qsort argument
13318 order in example.
13319 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13320
9c9daaeb
CM
133212014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13322
13323 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13324 Make the test a no-op if there are no exceptions defined.
13325
95561fb9
PP
133262014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13327
fe8d072c 13328 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13329 enable-hardcoded-path-in-tests
13330
970c602a
WN
133312014-04-11 Will Newton <will.newton@linaro.org>
13332
13333 * benchtests/Makefile (extra-objs): Add json-lib.o.
13334 (bench-func): Tidy up JSON output.
13335 * benchtests/bench-skeleton.c: Include json-lib.h.
13336 (main): Use JSON library functions to do output of
13337 benchmark results.
13338 * benchtests/bench-timing-type.c (main): Output the
13339 timing type simply, leaving formatting to the user.
13340 * benchtests/json-lib.c: New file.
13341 * benchtests/json-lib.h: Likewise.
13342
36875b06
TR
133432014-04-11 Torvald Riegel <triegel@redhat.com>
13344
13345 [BZ #15215]
13346 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13347 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13348 memory barriers. Add comments.
13349 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13350 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13351 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13352 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13353 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13354 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13355
579db35a
SL
133562014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13357
13358 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13359 * sysdeps/s390/s390-64/configure.ac: ... this ...
13360 * sysdeps/s390/configure.ac: ... to here.
13361 * sysdeps/s390/s390-32/configure: Delete file.
13362 * sysdeps/s390/s390-64/configure: Delete file.
13363 * sysdeps/s390/configure: Regenerate.
13364
c12e9f37
JAPH
133652014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13366
13367 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13368
439bda32
WN
133692014-04-11 Will Newton <will.newton@linaro.org>
13370
13371 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13372 to zero if it is not defined elsewhere. (mtrim): Test
13373 the value of MALLOC_DEBUG with #if rather than #ifdef.
13374
6a5d6ea1
TR
133752014-04-10 Torvald Riegel <triegel@redhat.com>
13376
13377 * benchtests/pthread_once-inputs: New file.
13378 * benchtests/pthread_once-source.c: New file.
13379 * benchtests/README: Update documentation.
13380
a4c75cfd
IZ
133812014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13382 H.J. Lu <hongjiu.lu@intel.com>
13383
7e54fd04 13384 [BZ #16275]
a4c75cfd
IZ
13385 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13386 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13387 * sysdeps/x86_64/configure: Regenerated.
13388 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13389 macro.
13390 (REGISTER_SAVE_RAX): Likewise.
13391 (REGISTER_SAVE_RCX): Likewise.
13392 (REGISTER_SAVE_RDX): Likewise.
13393 (REGISTER_SAVE_RSI): Likewise.
13394 (REGISTER_SAVE_RDI): Likewise.
13395 (REGISTER_SAVE_R8): Likewise.
13396 (REGISTER_SAVE_R9): Likewise.
13397 (REGISTER_SAVE_BND0): Likewise.
13398 (REGISTER_SAVE_BND1): Likewise.
13399 (REGISTER_SAVE_BND2): Likewise.
13400 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13401 bound registers when calling _dl_fixup.
13402
27822ce6
AZ
134032014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13404
13405 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13406 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13407 of its definition.
27822ce6
AZ
13408 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13409 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13410 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13411 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13412 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13413 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13414 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13415
a88ddc90
PTB
134162014-04-09 Peter Brett <peter@peter-b.co.uk>
13417
13418 [BZ #15514]
13419 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13420 pathconf(_PC_NAME_MAX).
13421
01f8eac2
AZ
134222014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13423
13424 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13425 Remove macro usage.
13426 (__PTHREAD_SPINS): Move definition to ...
13427 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13428 (__PTHREAD_SPINS): ... here.
13429 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13430 (__PTHREAD_SPIN): Likewise.
13431 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13432 (__PTHREAD_SPIN): Likewise.
13433 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13434 (__PTHREAD_SPIN): Likewise.
13435 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13436 (__PTHREAD_SPIN): Likewise.
13437 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13438 (__PTHREAD_SPIN): Likewise.
13439 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13440 (__PTHREAD_SPIN): Likewise.
13441 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13442 (__PTHREAD_SPIN): Likewise.
13443 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13444 (__PTHREAD_SPIN): Likewise.
13445 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13446 (__PTHREAD_SPIN): Likewise.
13447 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13448 (__PTHREAD_SPIN): Likewise.
13449 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13450 (__PTHREAD_SPIN): Likewise.
13451 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13452 (__PTHREAD_SPIN): Likewise.
13453
de21c33c
AZ
13454 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13455 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13456 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13457 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13458 imply folder.
13459 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13460 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13461 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13462 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13463 correct imply path.
13464 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13465 strlen symbol for non multi-arch builds.
13466 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13467 missing hidden_def and weak_alias.
13468
862c472e
CD
134692014-04-08 Carlos O'Donell <carlos@redhat.com>
13470
13471 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13472
8667f90e
WN
134732014-04-07 Will Newton <will.newton@linaro.org>
13474
13475 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13476 and contents. [!_LIBC] Remove #ifndef and contents.
13477 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13478 * string/memccpy.c (__memccpy): Use ANSI prototype.
13479 * string/memfrob.c (memfrob): Likewise.
13480 * string/strcoll.c (STRCOLL): Likewise.
13481 * string/strlen.c (strlen): Likewise.
13482 * string/strtok.c (STRTOK): Likewise.
13483 * string/strcat.c: Remove unused #include of memcopy.h.
13484 (strcat): Use ANSI prototype.
13485 * string/strchr.c: Remove unused #include of memcopy.h.
13486 (strchr): Use ANSI prototype.
13487 * string/strcmp.c: Remove unused #include of memcopy.h.
13488 (strcmp): Use ANSI prototype.
13489 * string/strcpy.c: Remove unused #include of memcopy.h.
13490 (strcpy): Use ANSI prototype.
13491
7ffa9423
AZ
134922014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13493
13494 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13495 * config.make.in (config-extra-cppflags): Set it from
13496 libc_extra_cppflags.
13497 * configure.ac (libc_extra_cflags): Make it accumulate over
13498 configure fragments.
13499 (libc_extra_cppflags): New flag.
13500 * configure. Regenerate.
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13502 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13503 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13505
8bd70862
AZ
13506 [BZ #16815]
13507 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13508 result for FE_DOWNWARD rounding mode.
13509 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13510 Likewise.
13511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13512
d42f3448
CM
135132014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13514
13515 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13516 in function argument name.
13517
1c21d115
DS
135182014-04-03 David Svoboda <svoboda@cert.org>
13519
13520 [BZ #5666]
13521 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13522 explicitly.
13523
fcccd512
RM
135242014-04-03 Roland McGrath <roland@hack.frob.com>
13525
13526 * elf/dl-unmap-segments.h: New file.
13527 * sysdeps/generic/ldsodefs.h
13528 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13529 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13530 * elf/dl-fptr.c: Likewise.
13531 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13532 * sysdeps/aarch64/tlsdesc.c: Likewise.
13533 * sysdeps/arm/tlsdesc.c: Likewise.
13534 * sysdeps/i386/tlsdesc.c: Likewise.
13535 * sysdeps/tile/dl-runtime.c: Likewise.
13536 * sysdeps/x86_64/tlsdesc.c: Likewise.
13537 * elf/dl-load.h: New file.
13538 * elf/dl-load.c: Include it.
13539 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13540 Macros moved to dl-load.h.
13541 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13542 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13543 Use _dl_unmap_segments in place of __munmap.
13544 Break out segment-mapping loop into ...
13545 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13546
f6488e2b
WN
135472014-04-03 Will Newton <will.newton@linaro.org>
13548
13549 * elf/dl-lookup.c (do_lookup_x): Remove comment
13550 referring to nested function and move variable
13551 declarations down to before first use.
13552
6f05bafe
JM
135532014-04-02 Joseph Myers <joseph@codesourcery.com>
13554
a84e78c8
JM
13555 [BZ #16799]
13556 [BZ #16800]
13557 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13558 with 0 numerator.
13559 * math/s_catanf.c (__catanf): Likewise.
13560 * math/s_catanh.c (__catanh): Likewise.
13561 * math/s_catanhf.c (__catanhf): Likewise.
13562 * math/s_catanhl.c (__catanhl): Likewise.
13563 * math/s_catanl.c (__catanl): Likewise.
13564 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13565 by positive zero when computing -Inf result.
13566 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13567 (catanh_test): Likewise.
13568 * sysdeps/i386/fpu/libm-test-ulps: Update.
13569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13570
6f05bafe
JM
13571 [BZ #16789]
13572 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13573 instead of using underflowing value in computing result.
13574 * math/s_clog10.c (__clog10): Likewise.
13575 * math/s_clog10f.c (__clog10f): Likewise.
13576 * math/s_clog10l.c (__clog10l): Likewise.
13577 * math/s_clogf.c (__clogf): Likewise.
13578 * math/s_clogl.c (__clogl): Likewise.
13579 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13580 (clog10_test): Likewise.
13581 * sysdeps/i386/fpu/libm-test-ulps: Update.
13582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13583
b0abbc21
AM
135842014-04-02 Alan Modra <amodra@gmail.com>
13585
13586 [BZ #16739]
13587 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13588 output when value is near a power of two. Use int64_t for lx and
13589 remove casts. Use decimal rather than hex exponent constants.
13590 Don't use long double multiplication when double will suffice.
13591 * math/libm-test.inc (nextafter_test_data): Add tests.
13592 * NEWS: Add 16739 and 16786 to bug list.
13593
af6b1797
AM
13594 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13595
483818d7
AM
13596 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13597
f6c55796
WN
135982014-04-01 Will Newton <will.newton@linaro.org>
13599
13600 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13601 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13602
13f7fe35
FW
136032014-04-01 Florian Weimer <fweimer@redhat.com>
13604
13605 [BZ #13347]
13606 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13607 * nptl/tst-setuid2.c: New file.
13608 * nptl/Makefile (xtests): Add tst-setuid2.
13609
c859b32e
AM
136102014-04-01 Alan Modra <amodra@gmail.com>
13611
13612 [BZ #16786]
13613 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13614
54fa2475
JM
136152014-03-31 Joseph Myers <joseph@codesourcery.com>
13616
8795b4a4
JM
13617 [BZ #6803]
13618 [BZ #6804]
13619 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13620 set errno as appropriate.
13621 * math/w_scalbf.c (__scalbf): Likewise.
13622 * math/w_scalbl.c (__scalbl): Likewise.
13623 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13624 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13625 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13626 Add more NaN tests.
13627
54fa2475
JM
13628 [BZ #16349]
13629 * math/w_atan2.c: Include <errno.h>.
13630 (__atan2): Set errno for result underflowing to zero.
13631 * math/w_atan2f.c: Include <errno.h>.
13632 (__atan2f): Set errno for result underflowing to zero.
13633 * math/w_atan2l.c: Include <errno.h>.
13634 (__atan2l): Set errno for result underflowing to zero.
13635 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13636 tests.
13637 * math/auto-libm-test-out: Regenerated.
13638
757d9dd5
AZ
136392014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13640
13641 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13642 Encode instruction correctly in little endian.
13643 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13644 Likewise.
13645 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13646 Likewise.
13647 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13648 Likewise.
13649 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13650 Likewise.
13651
d7a68734
JM
136522014-03-31 Joseph Myers <joseph@codesourcery.com>
13653
47c5adeb
JM
13654 [BZ #9894]
13655 * sysdeps/unix/sysv/linux/kernel-features.h
13656 [__sparc__ && !__arch64__ && !__sparc_v9__]
13657 (__ASSUME_SET_ROBUST_LIST): Do not define.
13658 [__sparc__ && !__arch64__ && !__sparc_v9__]
13659 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13660 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13661 Likewise.
13662 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13663 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13664 (__ASSUME_REQUEUE_PI): Likewise.
13665 (__ASSUME_SET_ROBUST_LIST): Likewise.
13666 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13667 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13668 Undefine.
13669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13670 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13671 Likewise.
13672 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13673 Likewise.
13674 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13675 Likewise.
13676 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13677 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13678 Undefine.
13679 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13680 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13681 Likewise.
13682
d7a68734
JM
13683 [BZ #16648]
13684 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13685 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13686 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13687
c760f5c2
WN
136882014-03-31 Will Newton <will.newton@linaro.org>
13689
13690 * benchtests/Makefile (bench): Add ffs and ffsll to list
13691 of tests.
13692 * benchtests/ffs-inputs: New file.
13693 * benchtests/ffsll-inputs: Likewise.
13694
ea6029b1
JM
136952014-03-29 Joseph Myers <joseph@codesourcery.com>
13696
13697 [BZ #16770]
13698 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13699 too large before casting to int.
13700 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13701 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13702 * math/libm-test.inc (scalb_test_data): Add more tests.
13703
cf806aff
SP
137042014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13705
56737508
SP
13706 * benchtests/Makefile (DETAILED_OPT): New make option.
13707 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13708 set.
13709 * benchtests/bench-skeleton.c: Include stdbool.h.
13710 (main): Store and print timings per input.
13711 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13712 member to each argument value.
13713 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13714 (_print_arg_data): Initialize per-input timing to 0.
13715
cb5e4aad
SP
13716 * benchtests/Makefile (timing-type): New binary.
13717 (bench-clean): Also remove bench-timing-type.
13718 (bench): New target for timing-type.
13719 (bench-func): Print output in JSON format.
13720 * benchtests/bench-skeleton.c (main): Print output in JSON
13721 format.
13722 * benchtests/bench-timing-type.c: New file.
13723 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13724 (TIMING_PRINT_STATS): Remove.
13725 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13726 name separately.
13727
cf806aff
SP
13728 * benchtests/bench-modf.c: Remove.
13729 * benchtests/modf-inputs: New inputs file.
13730
289e0779
JM
137312014-03-28 Joseph Myers <joseph@codesourcery.com>
13732
13733 [BZ #16362]
13734 * math/s_clog10.c (M_PI_LOG10E): New macro.
13735 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13736 imaginary parts are 0.
13737 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13738 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13739 imaginary parts are 0.
13740 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13741 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13742 imaginary parts are 0.
13743 * math/libm-test.inc (clog10_test_data): Update expected results
13744 for when real and imaginary parts are 0.
13745
277ae3f1
PP
137462014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13747
13748 * elf/dl-load.c: Finish conversion of __builtin_expect into
13749 __glibc_{un}likely.
13750
03a7091f
JM
137512014-03-27 Joseph Myers <joseph@codesourcery.com>
13752
13753 [BZ #16348]
13754 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13755 1+x for argument with exponent below -67.
13756 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13757 Likewise.
13758 * math/auto-libm-test-in: Add more tests of exp.
13759 * math/auto-libm-test-out: Regenerated.
13760
ea7d8b95
SP
137612014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13762
dd3022d7
SP
13763 [BZ #16759]
13764 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13765 (nscd_getnetgrent): Use it.
13766
ea7d8b95
SP
13767 [BZ #16760]
13768 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13769 of stpcpy.
13770
df5b85da
AK
137712014-03-27 Andi Kleen <ak@linux.intel.com>
13772
57f41c40
AS
13773 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13774 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13775 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13776 (lll_robust_unlock): Remove out of line section. Use cfi
13777 intrinsics.
df5b85da 13778 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13779 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13780 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13781 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13782 (lll_robust_unlock): Remove out of line section. Use cfi
13783 intrinsics.
df5b85da
AK
13784 (LLL_STUB_UNWIND_INFO*): Remove.
13785
fbd6b5a4
SP
137862014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13787
13788 [BZ #16758]
13789 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13790 blank values.
13791
1b26b855
PP
137922014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13793
13794 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13795
9be36fb8
JM
137962014-03-26 Joseph Myers <joseph@codesourcery.com>
13797
13798 [BZ #16198]
13799 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13800 fnstenv.
13801 * math/test-fenv-preserve.c: New file.
13802 * math/Makefile (tests): Add test-fenv-preserve.
13803
60a2f3c1
WN
138042014-03-26 Will Newton <will.newton@linaro.org>
13805
13806 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13807
a5e5f1e2
RM
138082014-03-25 Roland McGrath <roland@hack.frob.com>
13809
13810 * scripts/versionlist.awk: Partition the version sets and emit all
13811 GLIBC_* (sorted) before all others (sorted).
13812
00f4012a
JM
138132014-03-25 Joseph Myers <joseph@codesourcery.com>
13814
13815 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13816 GLIBC_2.2.5 version.
13817
7bc5a741
AZ
138182014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13819
13820 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13821 calls.
13822
7578473b
AZ
13823 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13824 previous change.
13825
f3f1dab3
AZ
13826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13827
6da36183
AS
138282014-03-25 Andreas Schwab <schwab@suse.de>
13829
13830 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13831 label to be used after in6ailist is initialized.
13832
f3f1dab3 138332014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13834
7578473b 13835 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13836 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13837
046651c1
JM
138382014-03-25 Joseph Myers <joseph@codesourcery.com>
13839
13840 [BZ #16357]
13841 [BZ #16599]
13842 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13843 min_plus_half.
13844 (fp_formats): Update initializers.
13845 (init_fp_formats): Initialize new field.
13846 (output_for_one_input_case): Allow underflow for results up to
13847 min_plus_half.
13848 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13849 * math/auto-libm-test-in: Don't mark some underflows from asin and
13850 atanh as spurious.
13851 * math/auto-libm-test-out: Regenerated.
13852 * sysdeps/i386/fpu/libm-test-ulps: Update.
13853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13854
003e49ed
AS
138552014-03-25 Andreas Schwab <schwab@suse.de>
13856
13857 * libio/Makefile (tst-ftell-partial-wide-ENV)
13858 (tst-ftell-active-handler-ENV): Define.
13859
de031874
SL
138602014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13861
13862 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13863
55a81e3b
PP
138642014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13865
13866 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13867
f3426898
JM
138682014-03-24 Joseph Myers <joseph@codesourcery.com>
13869
13870 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13871 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13872 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13873
a42faf59
PP
138742014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13875
13876 [BZ #16634]
a42faf59 13877 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13878 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13879 (open_path): Change from boolean 'secure' to complete flag 'mode'
13880 (_dl_map_object): Adjust.
a42faf59
PP
13881 * elf/Makefile (tests): Add tst-dlopen-aout.
13882 * elf/tst-dlopen-aout.c: New test.
13883
50936127
SL
138842014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13885
13886 [BZ #16714]
13887 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13888 (struct stat): Rename member pad0 to __glibc_reserved0.
13889
26011b5c
SL
13890 [BZ #16712]
13891 * sysdeps/s390/s390-32/bits/wordsize.h
13892 (__WORDSIZE32_SIZE_ULONG): New define.
13893 * sysdeps/s390/s390-64/bits/wordsize.h
13894 (__WORDSIZE32_SIZE_ULONG): Likewise.
13895 * sysdeps/generic/stdint.h (SIZE_MAX):
13896 Define as UL if __WORDSIZE32_SIZE_ULONG.
13897
a2d86bf1
SL
13898 [BZ #16713]
13899 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13900 (__glibc_reserved0): New variable.
13901 (sa_flags): Change type to int.
13902
78b6eebc
SL
13903 * posix/Makefile (before-compile): Use += before-compile instead
13904 of a :=.
13905
f1399b5a
SL
13906 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13907 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13908
a071766e
AS
139092014-03-20 Andreas Schwab <schwab@suse.de>
13910
13911 [BZ #16743]
13912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13913 non-matching result from nscd.
13914
27c673b8
SP
139152014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13916
13917 * scripts/bench.py: Moved to ...
13918 * benchtests/scripts/bench.py: ... here.
13919 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13920
44152e4b
AS
139212014-03-24 Andreas Schwab <schwab@suse.de>
13922
13923 [BZ #16002]
13924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13925 alloca_account and account alloca use for struct in6ailist.
13926
b376a11a
JM
139272014-03-24 Joseph Myers <joseph@codesourcery.com>
13928
13929 [BZ #16284]
13930 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13931 rounding mode to recompute results that overflow to infinity or
13932 underflow to zero.
13933 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13934 bug 16284.
13935 * math/auto-libm-test-out: Regenerated.
13936 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13937 (ccosh_test): Likewise.
13938 (csin_test_data): Use plus_oflow.
13939 (csin_test): Use ALL_RM_TEST.
13940 (csinh_test_data): Use plus_oflow.
13941 (csinh_test): Use ALL_RM_TEST.
13942 * sysdeps/i386/fpu/libm-test-ulps: Update.
13943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13944
f7be7376
JM
139452014-03-21 Joseph Myers <joseph@codesourcery.com>
13946
1ca2d03e
JM
13947 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13948 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13949 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13950
f7be7376
JM
13951 [BZ #16731]
13952 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13953 when x - 1 is zero.
13954 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13955 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13956 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13957 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13958 argument is 1.
13959 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13960 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13961 zero.
13962 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13963 * sysdeps/i386/fpu/libm-test-ulps: Update.
13964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13965
fdf4534d
SP
139662014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13967
df26ea53
SP
13968 * scripts/bench.pl: Remove file.
13969 * scripts/bench.py: New benchmark script.
13970 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13971 * benchtests/README: Mention python dependency.
13972 * scripts/pylintrc: New file.
13973 * scripts/pylint: New file.
13974
fdf4534d
SP
13975 * bits/mathdef.h: Use #ifdef instead of #if.
13976 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13977 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13978 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13979 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13980 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13981 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13982
6f23d093
AZ
139832014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13984 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13985
13986 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13988 and strpbrk-ppc64 objects.
13989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13990 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13991 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13992 multiarch strpbrk for POWER7.
13993 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13994 multiarch strpbrk for PPC64.
13995 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13996 ifunc selector.
13997 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13998 strpbrk for POWER7.
13999
8c92dfff
JM
140002014-03-20 Joseph Myers <joseph@codesourcery.com>
14001
14002 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14003 (atan_test): Likewise.
14004 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14005 (atanh_test): Use ALL_RM_TEST.
14006 (atan2_test_data): Likewise.
14007 (cabs_test): Likewise.
14008 (cacosh_test): Likewise.
14009 (carg_test): Likewise.
14010 (casin_test): Likewise.
14011 (casinh_test): Likewise.
14012 (cbrt_test): Likewise.
14013 (csqrt_test): Likewise.
14014 (erf_test): Likewise.
14015 (erfc_test): Likewise.
14016 (pow10_test): Likewise.
14017 (exp2_test): Likewise.
14018 (hypot_test): Likewise.
14019 (j0_test): Likewise.
14020 (j1_test): Likewise.
14021 (lgamma_test): Likewise.
14022 (gamma_test): Likewise.
14023 (sincos_test): Likewise.
14024 (tanh_test): Likewise.
14025 (y0_test): Likewise.
14026 (y1_test): Likewise.
14027 * sysdeps/i386/fpu/libm-test-ulps: Update.
14028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14029
6eaf95cb
AZ
140302014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14031
a387428c
SP
14032 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14034 and strcspn-ppc64 objects.
14035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14036 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14037 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14038 multiarch strcspn for POWER7.
14039 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14040 multiarch strcspn for PPC64.
14041 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14042 ifunc selector.
14043 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14044 strcspn for POWER7.
14045
ae3a5dff
JM
140462014-03-20 Joseph Myers <joseph@codesourcery.com>
14047
14048 * math/gen-libm-test.pl (generate_testfile): Expect only function
14049 name as argument to AUTO_TESTS_* and pass results for all rounding
14050 modes to parse_args.
14051 (parse_auto_input): Separate inputs of automatic tests from
14052 outputs before storing in %auto_tests.
14053 * math/libm-test.inc (acos_test_data): Update call to
14054 AUTO_TESTS_f_f.
14055 (acos_test): Use ALL_RM_TEST.
14056 (acos_tonearest_test_data): Remove.
14057 (acos_test_tonearest): Likewise.
14058 (acos_towardzero_test_data): Likewise.
14059 (acos_test_towardzero): Likewise.
14060 (acos_downward_test_data): Likewise.
14061 (acos_test_downward): Likewise.
14062 (acos_upward_test_data): Likewise.
14063 (acos_test_upward): Likewise.
14064 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14065 (asin_test_data): Likewise.
14066 (asin_test): Use ALL_RM_TEST.
14067 (asin_tonearest_test_data): Remove.
14068 (asin_test_tonearest): Likewise.
14069 (asin_towardzero_test_data): Likewise.
14070 (asin_test_towardzero): Likewise.
14071 (asin_downward_test_data): Likewise.
14072 (asin_test_downward): Likewise.
14073 (asin_upward_test_data): Likewise.
14074 (asin_test_upward): Likewise.
14075 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14076 (atan_test_data): Likewise.
14077 (atanh_test_data): Likewise.
14078 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14079 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14080 (carg_test_data): Likewise.
14081 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14082 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14083 (ccosh_test_data): Likewise.
14084 (cexp_test_data): Likewise.
14085 (clog_test_data): Likewise.
14086 (clog10_test_data): Likewise.
14087 (cos_test_data): Update call to AUTO_TESTS_f_f.
14088 (cos_test): Use ALL_RM_TEST.
14089 (cos_tonearest_test_data): Remove.
14090 (cos_test_tonearest): Likewise.
14091 (cos_towardzero_test_data): Likewise.
14092 (cos_test_towardzero): Likewise.
14093 (cos_downward_test_data): Likewise.
14094 (cos_test_downward): Likewise.
14095 (cos_upward_test_data): Likewise.
14096 (cos_test_upward): Likewise.
14097 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14098 (cosh_test): Use ALL_RM_TEST.
14099 (cosh_tonearest_test_data): Remove.
14100 (cosh_test_tonearest): Likewise.
14101 (cosh_towardzero_test_data): Likewise.
14102 (cosh_test_towardzero): Likewise.
14103 (cosh_downward_test_data): Likewise.
14104 (cosh_test_downward): Likewise.
14105 (cosh_upward_test_data): Likewise.
14106 (cosh_test_upward): Likewise.
14107 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14108 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14109 (ctan_test_data): Likewise.
14110 (ctan_test): Use ALL_RM_TEST.
14111 (ctan_tonearest_test_data): Remove.
14112 (ctan_test_tonearest): Likewise.
14113 (ctan_towardzero_test_data): Likewise.
14114 (ctan_test_towardzero): Likewise.
14115 (ctan_downward_test_data): Likewise.
14116 (ctan_test_downward): Likewise.
14117 (ctan_upward_test_data): Likewise.
14118 (ctan_test_upward): Likewise.
14119 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14120 (ctanh_test): Use ALL_RM_TEST.
14121 (ctanh_tonearest_test_data): Remove.
14122 (ctanh_test_tonearest): Likewise.
14123 (ctanh_towardzero_test_data): Likewise.
14124 (ctanh_test_towardzero): Likewise.
14125 (ctanh_downward_test_data): Likewise.
14126 (ctanh_test_downward): Likewise.
14127 (ctanh_upward_test_data): Likewise.
14128 (ctanh_test_upward): Likewise.
14129 (erf_test_data): Update call to AUTO_TESTS_f_f.
14130 (erfc_test_data): Likewise.
14131 (exp_test_data): Likewise.
14132 (exp_test): Use ALL_RM_TEST.
14133 (exp_tonearest_test_data): Remove.
14134 (exp_test_tonearest): Likewise.
14135 (exp_towardzero_test_data): Likewise.
14136 (exp_test_towardzero): Likewise.
14137 (exp_downward_test_data): Likewise.
14138 (exp_test_downward): Likewise.
14139 (exp_upward_test_data): Likewise.
14140 (exp_test_upward): Likewise.
14141 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14142 (exp10_test): Use ALL_RM_TEST.
14143 (exp10_tonearest_test_data): Remove.
14144 (exp10_test_tonearest): Likewise.
14145 (exp10_towardzero_test_data): Likewise.
14146 (exp10_test_towardzero): Likewise.
14147 (exp10_downward_test_data): Likewise.
14148 (exp10_test_downward): Likewise.
14149 (exp10_upward_test_data): Likewise.
14150 (exp10_test_upward): Likewise.
14151 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14152 (expm1_test_data): Likewise.
14153 (expm1_test): Use ALL_RM_TEST.
14154 (expm1_tonearest_test_data): Remove.
14155 (expm1_test_tonearest): Likewise.
14156 (expm1_towardzero_test_data): Likewise.
14157 (expm1_test_towardzero): Likewise.
14158 (expm1_downward_test_data): Likewise.
14159 (expm1_test_downward): Likewise.
14160 (expm1_upward_test_data): Likewise.
14161 (expm1_test_upward): Likewise.
14162 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14163 (fma_test): Use ALL_RM_TEST.
14164 (fma_towardzero_test_data): Remove.
14165 (fma_test_towardzero): Likewise.
14166 (fma_downward_test_data): Likewise.
14167 (fma_test_downward): Likewise.
14168 (fma_upward_test_data): Likewise.
14169 (fma_test_upward): Likewise.
14170 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14171 (j0_test_data): Update call to AUTO_TESTS_f_f.
14172 (j1_test_data): Likewise.
14173 (jn_test_data): Update call to AUTO_TESTS_if_f.
14174 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14175 (log_test_data): Update call to AUTO_TESTS_f_f.
14176 (log10_test_data): Likewise.
14177 (log1p_test_data): Likewise.
14178 (log2_test_data): Likewise.
14179 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14180 (pow_tonearest_test_data): Likewise.
14181 (sin_test_data): Update call to AUTO_TESTS_f_f.
14182 (sin_test): Use ALL_RM_TEST.
14183 (sin_tonearest_test_data): Remove.
14184 (sin_test_tonearest): Likewise.
14185 (sin_towardzero_test_data): Likewise.
14186 (sin_test_towardzero): Likewise.
14187 (sin_downward_test_data): Likewise.
14188 (sin_test_downward): Likewise.
14189 (sin_upward_test_data): Likewise.
14190 (sin_test_upward): Likewise.
14191 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14192 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14193 (sinh_test): Use ALL_RM_TEST.
14194 (sinh_tonearest_test_data): Remove.
14195 (sinh_test_tonearest): Likewise.
14196 (sinh_towardzero_test_data): Likewise.
14197 (sinh_test_towardzero): Likewise.
14198 (sinh_downward_test_data): Likewise.
14199 (sinh_test_downward): Likewise.
14200 (sinh_upward_test_data): Likewise.
14201 (sinh_test_upward): Likewise.
14202 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14203 (sqrt_test): Use ALL_RM_TEST.
14204 (sqrt_tonearest_test_data): Remove.
14205 (sqrt_test_tonearest): Likewise.
14206 (sqrt_towardzero_test_data): Likewise.
14207 (sqrt_test_towardzero): Likewise.
14208 (sqrt_downward_test_data): Likewise.
14209 (sqrt_test_downward): Likewise.
14210 (sqrt_upward_test_data): Likewise.
14211 (sqrt_test_upward): Likewise.
14212 (tan_test_data): Update call to AUTO_TESTS_f_f.
14213 (tan_test): Use ALL_RM_TEST.
14214 (tan_tonearest_test_data): Remove.
14215 (tan_test_tonearest): Likewise.
14216 (tan_towardzero_test_data): Likewise.
14217 (tan_test_towardzero): Likewise.
14218 (tan_downward_test_data): Likewise.
14219 (tan_test_downward): Likewise.
14220 (tan_upward_test_data): Likewise.
14221 (tan_test_upward): Likewise.
14222 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14223 (tgamma_test_data): Likewise.
14224 (y0_test_data): Likewise.
14225 (y1_test_data): Likewise.
14226 (yn_test_data): Update call to AUTO_TESTS_if_f.
14227 (main): Do not call removed functions.
14228
d71aeee8
JM
142292014-03-19 Joseph Myers <joseph@codesourcery.com>
14230
14231 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14232 (ldexp_test_data): Remove.
14233 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14234 scalbn_test_data.
14235 (scalb_test): Use ALL_RM_TEST.
14236
baaf1ded
AS
142372014-03-19 Andreas Schwab <schwab@suse.de>
14238
14239 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14240
b1115e91
JM
142412014-03-19 Joseph Myers <joseph@codesourcery.com>
14242
14243 [BZ #16649]
14244 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14245 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14246 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14248 (__ASSUME_PREADV): Undefine.
14249 (__ASSUME_PWRITEV): Likewise.
14250
0283ecca
RM
142512014-03-18 Roland McGrath <roland@hack.frob.com>
14252
7d375303
RM
14253 * bits/mman-linux.h: Add comment about non-Linux use.
14254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14255 bits/mman-linux.h resting place.
14256
0283ecca
RM
14257 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14258 * bits/mman-linux.h: ... here.
14259
aebe1003
AZ
142602014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14261
14262 * conform/conformtest.pl: Add standard definition when calling C
14263 preprocessor on data files.
14264 (checknamespace): Remove unused variable.
14265
b29b6bb8
JM
142662014-03-18 Joseph Myers <joseph@codesourcery.com>
14267
14268 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14269 minus_oflow, plus_uflow and minus_uflow in expected results.
14270 * math/libm-test.inc (scalbn_test_data): Add more tests of
14271 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14272 minus_uflow.
14273 (scalbn_test): Use ALL_RM_TEST.
14274 (scalbln_test_data): Add more tests of negative arguments. Use
14275 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14276 (scalbln_test): Use ALL_RM_TEST.
14277
c8f8fa15
RM
142782014-03-18 Roland McGrath <roland@hack.frob.com>
14279
14280 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14281
fede7a5f
WN
142822014-03-18 Will Newton <will.newton@linaro.org>
14283
14284 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14285 inaccurate comment.
14286
80cf0a58
JM
142872014-03-18 Joseph Myers <joseph@codesourcery.com>
14288
14289 * Makerules [!subdir] (check-abi): Exit with error status if a
14290 test failed.
14291
b3620862
JM
142922014-03-17 Joseph Myers <joseph@codesourcery.com>
14293
14294 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14295 for rint. Include results for all rounding modes.
14296 (nearbyint_test): Use ALL_RM_TEST.
14297 (rint_test_data): Include all tests used for nearbyint.
14298
788bba36
WN
142992014-03-17 Will Newton <will.newton@linaro.org>
14300
04ec140a
WN
14301 * nptl/sysdeps/pthread/pthread.h: Revert previous
14302 change.
14303
7579d8d5
WN
14304 * sysdeps/generic/ldsodefs.h: Revert previous
14305 change.
14306
c15cf13a
WN
14307 * libio/genops.c: Revert previous change.
14308 * libio/libioP.h: Likewise.
14309 * stdio-common/vfprintf.c: Likewise.
14310
d0ac1324
WN
14311 * sysdeps/generic/math_private.h: Revert previous
14312 change.
14313
9290130a
WN
14314 * sysdeps/generic/math_private.h: Check whether
14315 HAVE_RM_CTX is defined with #ifdef rather
14316 than #if.
14317
afb466fc
WN
14318 * argp/argp-fmtstream.h: Check whether
14319 __STRICT_ANSI__ is defined with #ifdef rather
14320 than #if.
14321 * argp/argp.h: Likewise.
14322
f7efd7c3
WN
14323 * libio/genops.c: Check whether
14324 _IO_JUMPS_OFFSET is defined with #ifdef rather
14325 than #if.
14326 * libio/libioP.h: Likewise.
14327 * stdio-common/vfprintf.c: Likewise.
14328
53f1bed3
WN
14329 * sysdeps/generic/ldsodefs.h: Check whether
14330 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14331 than #if.
14332
788bba36
WN
14333 * nptl/sysdeps/pthread/pthread.h: Check
14334 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14335 its value.
14336
fcd89ebe
SP
143372014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14338
ae42bbc5
SP
14339 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14340 setting O_APPEND.
14341 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14342 test case.
14343
ea33158c
SP
14344 [BZ #16680]
14345 * libio/fileops.c (_IO_file_open): Seek to end of file but
14346 don't cache the offset.
14347 (get_file_offset): Remove function.
14348 (do_ftell): Use cached offset when available.
14349 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14350 don't cache the offset.
14351 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14352 case.
14353 (do_one_test): Call it.
14354 (do_ftell_test): Fix up expected old offset for a+ mode.
14355 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14356 available.
14357
b1dbb426
SP
14358 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14359 up test status with function return status.
14360 (do_write_test): Likewise.
14361 (do_append_test): Likewise.
14362
fcd89ebe
SP
14363 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14364 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14365 Remove.
14366
9962a2d3
JM
143672014-03-17 Joseph Myers <joseph@codesourcery.com>
14368
14369 * math/gen-libm-test.pl (parse_args): Handle results specified for
14370 each rounding mode separately.
14371 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14372 tests and results from lrint_tonearest_test_data,
14373 lrint_towardzero_test_data, lrint_downward_test_data and
14374 lrint_upward_test_data.
14375 (lrint_test): Use ALL_RM_TEST.
14376 (lrint_tonearest_test_data): Remove.
14377 (lrint_test_tonearest): Likewise.
14378 (lrint_towardzero_test_data): Likewise.
14379 (lrint_test_towardzero): Likewise.
14380 (lrint_downward_test_data): Likewise.
14381 (lrint_test_downward): Likewise.
14382 (lrint_upward_test_data): Likewise.
14383 (lrint_test_upward): Likewise.
14384 (llrint_test_data): Merge in per-rounding-mode tests and results
14385 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14386 llrint_downward_test_data and llrint_upward_test_data.
14387 (llrint_test): Use ALL_RM_TEST.
14388 (llrint_tonearest_test_data): Remove.
14389 (llrint_test_tonearest): Likewise.
14390 (llrint_towardzero_test_data): Likewise.
14391 (llrint_test_towardzero): Likewise.
14392 (llrint_downward_test_data): Likewise.
14393 (llrint_test_downward): Likewise.
14394 (llrint_upward_test_data): Likewise.
14395 (llrint_test_upward): Likewise.
14396 (rint_test_data): Merge in per-rounding-mode tests and results
14397 from rint_tonearest_test_data, rint_towardzero_test_data,
14398 rint_downward_test_data and rint_upward_test_data. Add
14399 per-rounding-mode results for tests not in those arrays.
14400 (rint_test): Use ALL_RM_TEST.
14401 (rint_tonearest_test_data): Remove.
14402 (rint_test_tonearest): Likewise.
14403 (rint_towardzero_test_data): Likewise.
14404 (rint_test_towardzero): Likewise.
14405 (rint_downward_test_data): Likewise.
14406 (rint_test_downward): Likewise.
14407 (rint_upward_test_data): Likewise.
14408 (rint_test_upward): Likewise.
14409 (main): Don't call removed functions.
14410
5006148e
RM
144112014-03-14 Roland McGrath <roland@hack.frob.com>
14412
14413 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14414 "Compiled on ..." crapola. It is anti-useful.
14415
d6fe5e58
JM
144162014-03-14 Joseph Myers <joseph@codesourcery.com>
14417
14418 * scripts/evaluate-test.sh: Handle fourth argument to determine
14419 whether test run should stop on failure.
14420 * Makeconfig (stop-on-test-failure): New variable.
14421 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14422 $(stop-on-test-failure).
14423 * Makefile (tests): Give a summary of results from testing and
14424 exit with failure status if they include an ERROR or FAIL.
14425 (xtests): Likewise.
14426 * manual/install.texi (Configuring and compiling): Mention
14427 stop-on-test-failure=y.
14428 * INSTALL: Regenerated.
14429
498a2233
RM
144302014-03-14 Roland McGrath <roland@hack.frob.com>
14431
22dbc19d
RM
14432 * scripts/versionlist.awk: New file.
14433 * Makerules [$(build-shared) = yes]
14434 (postclean-generated): Add Versions.def, not Versions.def.v and
14435 Versions.def.v.i.
14436 ($(common-objpfx)Versions.def.v.i): Target removed.
14437 ($(common-objpfx)Versions.def): New target.
14438 ($(common-objpfx)Versions.all): Depend on that rather that
14439 $(common-objpfx)Versions.def.v.
14440 * Versions.def: File removed.
14441
498a2233
RM
14442 * Makeconfig (+gccwarn): Add -Wundef.
14443 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14444 a dl-sysdep.h breaking its contract.
14445 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14446 * include/stackinfo.h: New file.
14447 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14448 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14449 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14450 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14451 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14452 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14453 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14454 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14455 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14456 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14457 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14458 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14459 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14460 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14461 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14462
c7de5025
AZ
144632014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14464
14465 [BZ #16707]
14466 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14467 implementation.
14468 * math/libm-test.inc (round_test_data): Add more tests.
14469
98fb27a3
AZ
14470 [BZ #16706]
14471 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14472 implementation.
14473 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14474
374f7f61
AZ
14475 [BZ #16701]
14476 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14477 implementation.
14478 * math/libm-test.inc (ceil_test_data): Add more tests.
14479
4655c291
AZ
14480 * math/libm-test.inc (trunc_test_data): Add more tests related to
14481 BZ#16414.
14482
d7329d4b
RM
144832014-03-14 Roland McGrath <roland@hack.frob.com>
14484
14485 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14486 with #if rather than #ifdef.
14487 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14488
aa4de9ce
L
144892014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14490
14491 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14492 first. Disable AVX-512 GCC support if assembler doesn't support
14493 it.
14494 * sysdeps/x86_64/configure: Regenerated.
14495
2e03fae7
CD
144962014-03-13 Carlos O'Donell <carlos@redhat.com>
14497
14498 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14499 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14500 (__old_pthread_attr_setstack): Likewise.
14501 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14502 [!_STACK_GROWS_DOWN]: Likewise.
14503
43ca83ec
MF
145042014-03-13 Mike Frysinger <vapier@gentoo.org>
14505
14506 * config.make.in (have-bash2): Delete.
14507 * configure.ac (libc_cv_have_bash2): Delete.
14508 * configure: Regenerate.
14509 * elf/Makefile (common-ldd-rewrite): Rename to ...
14510 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14511 (sh-ldd-rewrite): Delete.
14512 (bash-ldd-rewrite): Delete.
14513 (have-bash2): Delete checks.
57f41c40
AS
14514 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14515 ldd-rewrite.
c66e48b4
MF
14516
14517 * config.make.in (have-ksh): Delete.
14518 (KSH): Delete.
14519 * configure.ac (libc_cv_have_ksh): Delete.
14520 * configure: Regenerate.
14521
b93834ef
MF
14522 * elf/Makefile: Delete $(have-ksh) check.
14523 ($(objpfx)sotruss): Change KSH to BASH.
14524 * elf/sotruss.ksh: Rename to ...
14525 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14526 function style to match POSIX. Drop ksh vim mode setting.
14527
f3a4632a
MF
14528 * manual/time.texi (Specifying the Time Zone with TZ): Change
14529 Tuesday to Thursday.
14530
5896c8bd
MF
14531 * debug/tst-longjmp_chk2.c: Update header comment.
14532 (stackoverflow_handler): Add comment. Call assert on pass value.
14533
2d63a517
IZ
145342014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14535
7e54fd04 14536 [BZ #16194]
2d63a517
IZ
14537 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14538 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14539 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14540 (La_x86_64_vector): Add zmm.
14541 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14542 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14543 ($(objpfx)tst-audit10): New target.
14544 ($(objpfx)tst-audit10.out): Likewise.
14545 (tst-audit10-ENV): New.
14546 (AVX512-CFLAGS): Likewise.
14547 (CFLAGS-tst-audit10.c): Likewise.
14548 (CFLAGS-tst-auditmod10a.c): Likewise.
14549 (CFLAGS-tst-auditmod10b.c): Likewise.
14550 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14551 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14552 * sysdeps/x86_64/configure: Regenerated.
14553 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14554 AVX-512 zmm register support.
14555 (_dl_x86_64_save_sse): Likewise.
14556 (_dl_x86_64_restore_sse): Likewise.
14557 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14558 size vector registers.
14559 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14560 (ZMM_SIZE): Likewise.
14561 * sysdeps/x86_64/tst-audit10.c: New file.
14562 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14563 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14564
44c4e5d5
RM
145652014-03-13 Roland McGrath <roland@hack.frob.com>
14566
14567 * configure.ac (HAVE_EHDR_START): New check.
14568 * configure: Regenerated.
14569 * config.h.in (HAVE_EHDR_START): New #undef.
14570 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14571 assuming the lowest-addressed segment maps the start of the file.
14572
acd6e389
JM
145732014-03-13 Joseph Myers <joseph@codesourcery.com>
14574
14575 * INSTALL: Regenerated.
14576
6f918f36
WN
145772014-03-13 Will Newton <will.newton@linaro.org>
14578
14579 * manual/setjmp.texi (System V contexts): Improve
14580 clarity and grammar of documentation.
14581
798212a0
PP
145822014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14583
14584 [BZ #16381]
798212a0 14585 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14586 (tests-pie): Add tst-pie2.
798212a0
PP
14587 * elf/tst-pie2.c: New file.
14588 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14589 for ET_EXEC.
14590 * elf/rtld.c (map_doit): Load executable as lt_executable.
14591 (dl_main): Likewise.
14592
abe6d90c
JM
145932014-03-12 Joseph Myers <joseph@codesourcery.com>
14594
14595 [BZ #16642]
14596 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14597 (__ASSUME_PSELECT): Undefine.
14598
dd3946c6
AZ
145992014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14600
14601 [BZ #16689]
14602 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14603 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14604 static build.
14605 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14606 selector for static builds.
14607
c44496df
SP
146082014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14609
14610 [BZ #16695]
14611 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14612 key in the buffer.
14613
27c7220a
AZ
146142014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14615
57f41c40
AS
14616 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14617 IFUNC selector for static builds.
27c7220a 14618
600fa361
JM
146192014-03-11 Joseph Myers <joseph@codesourcery.com>
14620
76c96cf7
JM
14621 * sysdeps/mips/math_private.h [__mips_hard_float]
14622 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14623 libc_feresetround_mips_ctx.
14624 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14625 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14626 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14627
600fa361
JM
14628 [BZ #16677]
14629 * math/s_nextafter.c (__nextafter): Do not return value from
14630 overflowing computation.
14631 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14632 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14634 Likewise.
14635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14636 Likewise.
14637 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14638 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14639
d7706c32
RM
146402014-03-11 Roland McGrath <roland@hack.frob.com>
14641
14642 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14643 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14644 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14645 the new mov targetting sp.
14646
4facea47
AZ
146472014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14648
14649 [BZ #16683]
14650 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14651 Define it for static builds as well.
14652 (NO_BZERO_IMPL): Likewise.
14653
e65caf1f
VR
146542014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14655
14656 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14657 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14658 multiarch strspn for PPC64.
14659 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14660 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14662 (__libc_ifunc_impl_list): Likewise.
14663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14664 multiarch optimizations
14665 * string/strspn.c (strspn): Using macro to redefine symbol name.
14666
ba9cc071
AZ
146672014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14668 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14669
14670 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14671 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14672 multiarch strncat for PPC64.
14673 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14674 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14676 (__libc_ifunc_impl_list): Likewise.
14677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14678 multiarch optimizations
14679
8b4ff974
SP
146802014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14681
14682 [BZ #16639]
14683 * nscd/nscd.service: Make service type forking.
14684
54b46a4b
AZ
146852014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14686
14687 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14688 sign in non default rounding modes.
14689 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14690
e9996ef7
JM
146912014-03-08 Joseph Myers <joseph@codesourcery.com>
14692
14693 * math/libm-test.inc (ALL_RM_TEST): New macro.
14694 (ceil_test): Use ALL_RM_TEST.
14695 (cimag_test): Likewise.
14696 (conj_test): Likewise.
14697 (copysign_test): Likewise.
14698 (cproj_test): Likewise.
14699 (creal_test): Likewise.
14700 (fabs_test): Likewise.
14701 (floor_test): Likewise.
14702 (fmax_test): Likewise.
14703 (fmin_test): Likewise.
14704 (fmod_test): Likewise.
14705 (fpclassify_test): Likewise.
14706 (frexp_test): Likewise.
14707 (ilogb_test): Likewise.
14708 (isfinite_test): Likewise.
14709 (finite_test): Likewise.
14710 (isgreater_test): Likewise.
14711 (isgreaterequal_test): Likewise.
14712 (isinf_test): Likewise.
14713 (isless_test): Likewise.
14714 (islessequal_test): Likewise.
14715 (islessgreater_test): Likewise.
14716 (isnan_test): Likewise.
14717 (isnormal_test): Likewise.
14718 (issignaling_test): Likewise.
14719 (isunordered_test): Likewise.
14720 (logb_test): Likewise.
14721 (logb_downward_test_data): Remove.
14722 (logb_test_downward): Likewise.
14723 (lround_test): Use ALL_RM_TEST.
14724 (llround_test): Likewise.
14725 (modf_test): Likewise.
14726 (nexttoward_test): Likewise.
14727 (remainder_test): Likewise.
14728 (drem_test): Likewise.
14729 (remainder_tonearest_test_data): Likewise.
14730 (remainder_test_tonearest): Likewise.
14731 (drem_test_tonearest): Likewise.
14732 (remainder_towardzero_test_data): Likewise.
14733 (remainder_test_towardzero): Likewise.
14734 (drem_test_towardzero): Likewise.
14735 (remainder_downward_test_data): Likewise.
14736 (remainder_test_downward): Likewise.
14737 (drem_test_downward): Likewise.
14738 (remainder_upward_test_data): Likewise.
14739 (remainder_test_upward): Likewise.
14740 (drem_test_upward): Likewise.
14741 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14742 (round_test): Use ALL_RM_TEST.
14743 (signbit_test): Likewise.
14744 (trunc_test): Likewise.
14745 (significand_test): Likewise.
14746 (main): Don't call removed functions.
14747
bc61d27c
JM
147482014-03-07 Joseph Myers <joseph@codesourcery.com>
14749
5c780849
JM
14750 [BZ #16674]
14751 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14752 || __USE_XOPEN2K8].
14753 (ILL_ILLOPN): Likewise.
14754 (ILL_ILLADR): Likewise.
14755 (ILL_ILLTRP): Likewise.
14756 (ILL_PRVOPC): Likewise.
14757 (ILL_PRVREG): Likewise.
14758 (ILL_COPROC): Likewise.
14759 (ILL_BADSTK): Likewise.
14760 (FPE_INTDIV): Likewise.
14761 (FPE_INTOVF): Likewise.
14762 (FPE_FLTDIV): Likewise.
14763 (FPE_FLTOVF): Likewise.
14764 (FPE_FLTUND): Likewise.
14765 (FPE_FLTRES): Likewise.
14766 (FPE_FLTINV): Likewise.
14767 (FPE_FLTSUB): Likewise.
14768 (SEGV_MAPERR): Likewise.
14769 (SEGV_ACCERR): Likewise.
14770 (BUS_ADRALN): Likewise.
14771 (BUS_ADRERR): Likewise.
14772 (BUS_OBJERR): Likewise.
14773 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14774 (TRAP_TRACE): Likewise.
14775 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14776 __USE_XOPEN2K8].
14777 (CLD_KILLED): Likewise.
14778 (CLD_DUMPED): Likewise.
14779 (CLD_TRAPPED): Likewise.
14780 (CLD_STOPPED): Likewise.
14781 (CLD_CONTINUED): Likewise.
14782 (POLL_IN): Likewise.
14783 (POLL_OUT): Likewise.
14784 (POLL_MSG): Likewise.
14785 (POLL_ERR): Likewise.
14786 (POLL_PRI): Likewise.
14787 (POLL_HUP): Likewise.
14788 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14789 Likewise.
14790 (ILL_ILLOPN): Likewise.
14791 (ILL_ILLADR): Likewise.
14792 (ILL_ILLTRP): Likewise.
14793 (ILL_PRVOPC): Likewise.
14794 (ILL_PRVREG): Likewise.
14795 (ILL_COPROC): Likewise.
14796 (ILL_BADSTK): Likewise.
14797 (FPE_INTDIV): Likewise.
14798 (FPE_INTOVF): Likewise.
14799 (FPE_FLTDIV): Likewise.
14800 (FPE_FLTOVF): Likewise.
14801 (FPE_FLTUND): Likewise.
14802 (FPE_FLTRES): Likewise.
14803 (FPE_FLTINV): Likewise.
14804 (FPE_FLTSUB): Likewise.
14805 (SEGV_MAPERR): Likewise.
14806 (SEGV_ACCERR): Likewise.
14807 (BUS_ADRALN): Likewise.
14808 (BUS_ADRERR): Likewise.
14809 (BUS_OBJERR): Likewise.
14810 (BUS_MCEERR_AR): Likewise.
14811 (BUS_MCEERR_AO): Likewise.
14812 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14813 (TRAP_TRACE): Likewise.
14814 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14815 __USE_XOPEN2K8].
14816 (CLD_KILLED): Likewise.
14817 (CLD_DUMPED): Likewise.
14818 (CLD_TRAPPED): Likewise.
14819 (CLD_STOPPED): Likewise.
14820 (CLD_CONTINUED): Likewise.
14821 (POLL_IN): Likewise.
14822 (POLL_OUT): Likewise.
14823 (POLL_MSG): Likewise.
14824 (POLL_ERR): Likewise.
14825 (POLL_PRI): Likewise.
14826 (POLL_HUP): Likewise.
14827 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14828 (ILL_ILLOPN): Likewise.
14829 (ILL_ILLADR): Likewise.
14830 (ILL_ILLTRP): Likewise.
14831 (ILL_PRVOPC): Likewise.
14832 (ILL_PRVREG): Likewise.
14833 (ILL_COPROC): Likewise.
14834 (ILL_BADSTK): Likewise.
14835 (FPE_INTDIV): Likewise.
14836 (FPE_INTOVF): Likewise.
14837 (FPE_FLTDIV): Likewise.
14838 (FPE_FLTOVF): Likewise.
14839 (FPE_FLTUND): Likewise.
14840 (FPE_FLTRES): Likewise.
14841 (FPE_FLTINV): Likewise.
14842 (FPE_FLTSUB): Likewise.
14843 (SEGV_MAPERR): Likewise.
14844 (SEGV_ACCERR): Likewise.
14845 (BUS_ADRALN): Likewise.
14846 (BUS_ADRERR): Likewise.
14847 (BUS_OBJERR): Likewise.
14848 (BUS_MCEERR_AR): Likewise.
14849 (BUS_MCEERR_AO): Likewise.
14850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14851 (TRAP_TRACE): Likewise.
14852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14853 __USE_XOPEN2K8].
14854 (CLD_KILLED): Likewise.
14855 (CLD_DUMPED): Likewise.
14856 (CLD_TRAPPED): Likewise.
14857 (CLD_STOPPED): Likewise.
14858 (CLD_CONTINUED): Likewise.
14859 (POLL_IN): Likewise.
14860 (POLL_OUT): Likewise.
14861 (POLL_MSG): Likewise.
14862 (POLL_ERR): Likewise.
14863 (POLL_PRI): Likewise.
14864 (POLL_HUP): Likewise.
14865 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14866 Likewise.
14867 (ILL_ILLOPN): Likewise.
14868 (ILL_ILLADR): Likewise.
14869 (ILL_ILLTRP): Likewise.
14870 (ILL_PRVOPC): Likewise.
14871 (ILL_PRVREG): Likewise.
14872 (ILL_COPROC): Likewise.
14873 (ILL_BADSTK): Likewise.
14874 (ILL_BADIADDR): Likewise.
14875 (ILL_BREAK): Likewise.
14876 (FPE_INTDIV): Likewise.
14877 (FPE_INTOVF): Likewise.
14878 (FPE_FLTDIV): Likewise.
14879 (FPE_FLTOVF): Likewise.
14880 (FPE_FLTUND): Likewise.
14881 (FPE_FLTRES): Likewise.
14882 (FPE_FLTINV): Likewise.
14883 (FPE_FLTSUB): Likewise.
14884 (FPE_DECOVF): Likewise.
14885 (FPE_DECDIV): Likewise.
14886 (FPE_DECERR): Likewise.
14887 (FPE_INVASC): Likewise.
14888 (FPE_INVDEC): Likewise.
14889 (SEGV_MAPERR): Likewise.
14890 (SEGV_ACCERR): Likewise.
14891 (SEGV_PSTKOVF): Likewise.
14892 (BUS_ADRALN): Likewise.
14893 (BUS_ADRERR): Likewise.
14894 (BUS_OBJERR): Likewise.
14895 (BUS_MCEERR_AR): Likewise.
14896 (BUS_MCEERR_AO): Likewise.
14897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14898 (TRAP_TRACE): Likewise.
14899 (TRAP_BRANCH): Likewise.
14900 (TRAP_HWBKPT): Likewise.
14901 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14902 __USE_XOPEN2K8].
14903 (CLD_KILLED): Likewise.
14904 (CLD_DUMPED): Likewise.
14905 (CLD_TRAPPED): Likewise.
14906 (CLD_STOPPED): Likewise.
14907 (CLD_CONTINUED): Likewise.
14908 (POLL_IN): Likewise.
14909 (POLL_OUT): Likewise.
14910 (POLL_MSG): Likewise.
14911 (POLL_ERR): Likewise.
14912 (POLL_PRI): Likewise.
14913 (POLL_HUP): Likewise.
14914 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14915 (ILL_ILLOPN): Likewise.
14916 (ILL_ILLADR): Likewise.
14917 (ILL_ILLTRP): Likewise.
14918 (ILL_PRVOPC): Likewise.
14919 (ILL_PRVREG): Likewise.
14920 (ILL_COPROC): Likewise.
14921 (ILL_BADSTK): Likewise.
14922 (FPE_INTDIV): Likewise.
14923 (FPE_INTOVF): Likewise.
14924 (FPE_FLTDIV): Likewise.
14925 (FPE_FLTOVF): Likewise.
14926 (FPE_FLTUND): Likewise.
14927 (FPE_FLTRES): Likewise.
14928 (FPE_FLTINV): Likewise.
14929 (FPE_FLTSUB): Likewise.
14930 (SEGV_MAPERR): Likewise.
14931 (SEGV_ACCERR): Likewise.
14932 (BUS_ADRALN): Likewise.
14933 (BUS_ADRERR): Likewise.
14934 (BUS_OBJERR): Likewise.
14935 (BUS_MCEERR_AR): Likewise.
14936 (BUS_MCEERR_AO): Likewise.
14937 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14938 (TRAP_TRACE): Likewise.
14939 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14940 __USE_XOPEN2K8].
14941 (CLD_KILLED): Likewise.
14942 (CLD_DUMPED): Likewise.
14943 (CLD_TRAPPED): Likewise.
14944 (CLD_STOPPED): Likewise.
14945 (CLD_CONTINUED): Likewise.
14946 (POLL_IN): Likewise.
14947 (POLL_OUT): Likewise.
14948 (POLL_MSG): Likewise.
14949 (POLL_ERR): Likewise.
14950 (POLL_PRI): Likewise.
14951 (POLL_HUP): Likewise.
14952 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): 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 (FPE_INTDIV): Likewise.
14961 (FPE_INTOVF): Likewise.
14962 (FPE_FLTDIV): Likewise.
14963 (FPE_FLTOVF): Likewise.
14964 (FPE_FLTUND): Likewise.
14965 (FPE_FLTRES): Likewise.
14966 (FPE_FLTINV): Likewise.
14967 (FPE_FLTSUB): Likewise.
14968 (SEGV_MAPERR): Likewise.
14969 (SEGV_ACCERR): Likewise.
14970 (BUS_ADRALN): Likewise.
14971 (BUS_ADRERR): Likewise.
14972 (BUS_OBJERR): Likewise.
14973 (BUS_MCEERR_AR): Likewise.
14974 (BUS_MCEERR_AO): Likewise.
14975 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14976 (TRAP_TRACE): Likewise.
14977 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14978 __USE_XOPEN2K8].
14979 (CLD_KILLED): Likewise.
14980 (CLD_DUMPED): Likewise.
14981 (CLD_TRAPPED): Likewise.
14982 (CLD_STOPPED): Likewise.
14983 (CLD_CONTINUED): Likewise.
14984 (POLL_IN): Likewise.
14985 (POLL_OUT): Likewise.
14986 (POLL_MSG): Likewise.
14987 (POLL_ERR): Likewise.
14988 (POLL_PRI): Likewise.
14989 (POLL_HUP): Likewise.
14990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14991 (ILL_ILLOPN): Likewise.
14992 (ILL_ILLADR): Likewise.
14993 (ILL_ILLTRP): Likewise.
14994 (ILL_PRVOPC): Likewise.
14995 (ILL_PRVREG): Likewise.
14996 (ILL_COPROC): Likewise.
14997 (ILL_BADSTK): Likewise.
14998 (FPE_INTDIV): Likewise.
14999 (FPE_INTOVF): Likewise.
15000 (FPE_FLTDIV): Likewise.
15001 (FPE_FLTOVF): Likewise.
15002 (FPE_FLTUND): Likewise.
15003 (FPE_FLTRES): Likewise.
15004 (FPE_FLTINV): Likewise.
15005 (FPE_FLTSUB): Likewise.
15006 (SEGV_MAPERR): Likewise.
15007 (SEGV_ACCERR): Likewise.
15008 (BUS_ADRALN): Likewise.
15009 (BUS_ADRERR): Likewise.
15010 (BUS_OBJERR): Likewise.
15011 (BUS_MCEERR_AR): Likewise.
15012 (BUS_MCEERR_AO): Likewise.
15013 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15014 (TRAP_TRACE): Likewise.
15015 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15016 __USE_XOPEN2K8].
15017 (CLD_KILLED): Likewise.
15018 (CLD_DUMPED): Likewise.
15019 (CLD_TRAPPED): Likewise.
15020 (CLD_STOPPED): Likewise.
15021 (CLD_CONTINUED): Likewise.
15022 (POLL_IN): Likewise.
15023 (POLL_OUT): Likewise.
15024 (POLL_MSG): Likewise.
15025 (POLL_ERR): Likewise.
15026 (POLL_PRI): Likewise.
15027 (POLL_HUP): Likewise.
15028 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15029 (ILL_ILLOPN): Likewise.
15030 (ILL_ILLADR): Likewise.
15031 (ILL_ILLTRP): Likewise.
15032 (ILL_PRVOPC): Likewise.
15033 (ILL_PRVREG): Likewise.
15034 (ILL_COPROC): Likewise.
15035 (ILL_BADSTK): Likewise.
15036 (ILL_DBLFLT): Likewise.
15037 (ILL_HARDWALL): Likewise.
15038 (FPE_INTDIV): Likewise.
15039 (FPE_INTOVF): Likewise.
15040 (FPE_FLTDIV): Likewise.
15041 (FPE_FLTOVF): Likewise.
15042 (FPE_FLTUND): Likewise.
15043 (FPE_FLTRES): Likewise.
15044 (FPE_FLTINV): Likewise.
15045 (FPE_FLTSUB): Likewise.
15046 (SEGV_MAPERR): Likewise.
15047 (SEGV_ACCERR): Likewise.
15048 (BUS_ADRALN): Likewise.
15049 (BUS_ADRERR): Likewise.
15050 (BUS_OBJERR): Likewise.
15051 (BUS_MCEERR_AR): Likewise.
15052 (BUS_MCEERR_AO): Likewise.
15053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15054 (TRAP_TRACE): Likewise.
15055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15056 __USE_XOPEN2K8].
15057 (CLD_KILLED): Likewise.
15058 (CLD_DUMPED): Likewise.
15059 (CLD_TRAPPED): Likewise.
15060 (CLD_STOPPED): Likewise.
15061 (CLD_CONTINUED): Likewise.
15062 (POLL_IN): Likewise.
15063 (POLL_OUT): Likewise.
15064 (POLL_MSG): Likewise.
15065 (POLL_ERR): Likewise.
15066 (POLL_PRI): Likewise.
15067 (POLL_HUP): Likewise.
15068 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15069 (ILL_ILLOPN): Likewise.
15070 (ILL_ILLADR): Likewise.
15071 (ILL_ILLTRP): Likewise.
15072 (ILL_PRVOPC): Likewise.
15073 (ILL_PRVREG): Likewise.
15074 (ILL_COPROC): Likewise.
15075 (ILL_BADSTK): Likewise.
15076 (FPE_INTDIV): Likewise.
15077 (FPE_INTOVF): Likewise.
15078 (FPE_FLTDIV): Likewise.
15079 (FPE_FLTOVF): Likewise.
15080 (FPE_FLTUND): Likewise.
15081 (FPE_FLTRES): Likewise.
15082 (FPE_FLTINV): Likewise.
15083 (FPE_FLTSUB): Likewise.
15084 (SEGV_MAPERR): Likewise.
15085 (SEGV_ACCERR): Likewise.
15086 (BUS_ADRALN): Likewise.
15087 (BUS_ADRERR): Likewise.
15088 (BUS_OBJERR): Likewise.
15089 (BUS_MCEERR_AR): Likewise.
15090 (BUS_MCEERR_AO): Likewise.
15091 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15092 (TRAP_TRACE): Likewise.
15093 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15094 __USE_XOPEN2K8].
15095 (CLD_KILLED): Likewise.
15096 (CLD_DUMPED): Likewise.
15097 (CLD_TRAPPED): Likewise.
15098 (CLD_STOPPED): Likewise.
15099 (CLD_CONTINUED): Likewise.
15100 (POLL_IN): Likewise.
15101 (POLL_OUT): Likewise.
15102 (POLL_MSG): Likewise.
15103 (POLL_ERR): Likewise.
15104 (POLL_PRI): Likewise.
15105 (POLL_HUP): Likewise.
15106 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15107 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15108
bc61d27c
JM
15109 [BZ #16670]
15110 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15111 before #include of <time.h>.
15112 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15113 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15114 (test-xfail-UNIX98/sched.h/conform): Likewise.
15115
302949e2
MS
151162014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15117
15118 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15119 error absence of trapping exception support.
15120 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15121
a00f522a
JM
151222014-03-07 Joseph Myers <joseph@codesourcery.com>
15123
6f99f280
JM
15124 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15125 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15126 * timezone/Makefile (testdata): Move definition above include of
15127 Rules.
15128 (test-zones): New variable.
15129 (tests-special): Add zone files.
15130 (build-testdata): Use $(evaluate-test).
15131
0b20a9e8
JM
15132 * elf/Makefile (tests-special): Rename tests to end with .out.
15133 ($(objpfx)noload-mem): Likewise.
15134 ($(objpfx)tst-leaks1-mem): Likewise.
15135 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15136 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15137 $(objpfx)test-iconvconfig.out.
15138 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15139 set -e inside subshell and redirect output to file.
15140 * iconvdata/Makefile (generated): Rename tests to end with .out.
15141 Correct type.
15142 (tests-special): Rename tests to end with .out.
15143 ($(objpfx)mtrace-tst-loading): Likewise.
15144 * intl/Makefile (generated): Likewise.
15145 (tests-special): Likewise.
15146 ($(objpfx)mtrace-tst-gettext): Likewise.
15147 * misc/Makefile (generated): Likewise.
15148 (tests-special): Likewise.
15149 ($(objpfx)tst-error1-mem): Likewise.
15150 * nptl/Makefile (tests-special): Likewise.
15151 ($(objpfx)tst-stack3-mem): Likewise.
15152 (generated): Likewise.
15153 * posix/Makefile (generated): Likewise.
15154 (tests-special): Likewise.
15155 (xtests-special): Likewise.
15156 ($(objpfx)tst-fnmatch-mem): Likewise.
15157 ($(objpfx)bug-regex2-mem): Likewise.
15158 ($(objpfx)bug-regex14-mem): Likewise.
15159 ($(objpfx)bug-regex21-mem): Likewise.
15160 ($(objpfx)bug-regex31-mem): Likewise.
15161 ($(objpfx)tst-vfork3-mem): Likewise.
15162 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15163 ($(objpfx)tst-pcre-mem): Likewise.
15164 ($(objpfx)tst-boost-mem): Likewise.
15165 ($(objpfx)bug-ga2-mem): Likewise.
15166 ($(objpfx)bug-glob2-mem): Likewise.
15167 * resolv/Makefile (generate): Likewise.
15168 (tests-special): Likewise.
15169 (xtests-special): Likewise.
15170 (generated): Likewise.
15171 ($(objpfx)mtrace-tst-leaks): Likewise.
15172 ($(objpfx)mtrace-tst-leaks2): Likewise.
15173
265d52ab
JM
15174 * scripts/merge-test-results.sh: New file.
15175 * Makefile (tests-special-notdir): New variable.
15176 (tests): Run merge-test-results.sh.
15177 (xtests): Likewise.
15178 * Rules (tests-special-notdir): New variable.
15179 (xtests-special-notdir): Likewise.
15180 (tests): Run merge-test-results.sh
15181 (xtests): Likewise.
15182
54ee292d
JM
15183 * Makeconfig (test-xfail-name): New variable.
15184 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15185 compute variable name for expected failures.
15186 * conform/Makefile (conformtest-headers-data): New variable.
15187 (conformtest-standards): Likewise.
15188 (conformtest-headers-ISO): Likewise.
15189 (conformtest-headers-ISO99): Likewise.
15190 (conformtest-headers-ISO11): Likewise.
15191 (conformtest-headers-POSIX): Likewise.
15192 (conformtest-headers-XPG3): Likewise.
15193 (conformtest-headers-XPG4): Likewise.
15194 (conformtest-headers-UNIX98): Likewise.
15195 (conformtest-headers-XOPEN2K): Likewise.
15196 (conformtest-headers-POSIX2008): Likewise.
15197 (conformtest-headers-XOPEN2K8): Likewise.
15198 (conformtest-header-list-base): Likewise.
15199 (conformtest-header-list-tests): Likewise.
15200 (conformtest-header-base): Likewise.
15201 (conformtest-header-tests): Likewise.
15202 (tests-special): Add $(conformtest-header-list-tests). If
15203 [$(fast-check) && !$(cross-compiling)], add
15204 $(conformtest-header-tests) instead of
15205 $(objpfx)run-conformtest.out.
15206 (generated): Add $(conformtest-header-list-base). If
15207 [$(fast-check) && !$(cross-compiling)], add
15208 $(conformtest-header-base). Remove previous setting.
15209 ($(conformtest-header-list-tests)): New target.
15210 (test-xfail-run-conformtest): Remove variable.
15211 ($(objpfx)run-conformtest.out): Remove target.
15212 (test-xfail-ISO11/complex.h/conform): New variable.
15213 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15214 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15215 (test-xfail-XPG3/varargs.h/conform): Likewise.
15216 (test-xfail-XPG4/varargs.h/conform): Likewise.
15217 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15218 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15219 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15220 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15221 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15222 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15223 (test-xfail-XPG3/ftw.h/conform): Likewise.
15224 (test-xfail-XPG3/grp.h/conform): Likewise.
15225 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15226 (test-xfail-XPG3/limits.h/conform): Likewise.
15227 (test-xfail-XPG3/pwd.h/conform): Likewise.
15228 (test-xfail-XPG3/search.h/conform): Likewise.
15229 (test-xfail-XPG3/signal.h/conform): Likewise.
15230 (test-xfail-XPG3/stdio.h/conform): Likewise.
15231 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15232 (test-xfail-XPG3/string.h/conform): Likewise.
15233 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15234 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15235 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15236 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15237 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15238 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15239 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15240 (test-xfail-XPG3/termios.h/conform): Likewise.
15241 (test-xfail-XPG3/time.h/conform): Likewise.
15242 (test-xfail-XPG3/unistd.h/conform): Likewise.
15243 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15244 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15245 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15246 (test-xfail-XPG4/netdb.h/conform): Likewise.
15247 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15248 (test-xfail-XPG4/signal.h/conform): Likewise.
15249 (test-xfail-XPG4/stdio.h/conform): Likewise.
15250 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15251 (test-xfail-XPG4/stropts.h/conform): Likewise.
15252 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15253 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15254 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15255 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15256 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15257 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15258 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15259 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15260 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15261 (test-xfail-XPG4/termios.h/conform): Likewise.
15262 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15263 (test-xfail-XPG4/unistd.h/conform): Likewise.
15264 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15265 (test-xfail-POSIX/sched.h/conform): Likewise.
15266 (test-xfail-POSIX/signal.h/conform): Likewise.
15267 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15268 (test-xfail-POSIX/tar.h/conform): Likewise.
15269 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15270 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15271 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15272 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15273 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15274 (test-xfail-UNIX98/sched.h/conform): Likewise.
15275 (test-xfail-UNIX98/signal.h/conform): Likewise.
15276 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15277 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15278 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15279 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15280 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15281 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15282 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15283 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15284 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15285 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15286 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15287 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15288 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15289 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15290 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15291 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15292 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15293 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15294 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15295 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15296 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15297 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15298 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15299 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15300 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15301 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15302 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15303 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15304 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15305 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15306 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15307 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15308 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15309 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15310 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15311 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15312 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15313 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15314 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15315 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15316 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15317 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15318 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15319 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15320 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15321 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15322 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15323 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15324 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15325 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15326 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15327 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15328 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15329 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15330 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15331 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15332 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15333 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15334 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15335 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15336 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15337 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15338 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15339 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15340 (conformtest-cc-flags): Likewise.
15341 ($(conformtest-header-tests): New target.
15342 * conform/check-header-lists.sh: New file.
15343 * conform/run-conformtest.sh: Remove.
15344
a00f522a
JM
15345 * conform/conformtest.pl: Allow ' and \ in values given for
15346 constants.
15347 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15348 inclusion.
15349 [POSIX] (sys/types.h): Likewise.
15350 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15351 inclusion.
15352 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15353 inclusion.
15354 * conform/data/signal.h-data (SIGIO): Remove expectation.
15355 [XPG3] (SIGBUS): Do not expect.
15356 [POSIX || XPG3] (SIGPOLL): Likewise.
15357 [POSIX || XPG3] (SIGPROF): Likewise.
15358 [POSIX || XPG3] (SIGSYS): Likewise.
15359 [XPG3] (SIGTRAP): Likewise.
15360 [POSIX || XPG3] (SIGURG): Likewise.
15361 [POSIX || XPG3] (SIGVTALRM): Likewise.
15362 [POSIX || XPG3] (SIGXCPU): Likewise.
15363 [POSIX || XPG3] (SIGXFSZ): Likewise.
15364 [POSIX] (SA_SIGINFO): Expect.
15365 [XPG3] (siginfo_t): Do not expect type or contents.
15366 [POSIX] (si_pid): Do not expect element.
15367 [POSIX] (si_uid): Likewise.
15368 [POSIX] (si_addr): Likewise.
15369 [POSIX] (si_status): Likewise.
15370 [POSIX] (si_band): Likewise.
15371 [XPG4] (si_value): Likewise.
15372 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15373 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15374 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15375 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15376 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15377 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15378 [POSIX || XPG3] (ILL_COPROC): Likewise.
15379 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15380 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15381 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15382 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15383 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15384 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15385 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15386 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15387 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15388 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15389 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15390 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15391 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15392 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15393 [POSIX || XPG3] (CLD_EXITED): Likewise.
15394 [POSIX || XPG3] (CLD_KILLED): Likewise.
15395 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15396 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15397 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15398 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15399 [POSIX || XPG3] (POLL_IN): Likewise.
15400 [POSIX || XPG3] (POLL_OUT): Likewise.
15401 [POSIX || XPG3] (POLL_MSG): Likewise.
15402 [POSIX || XPG3] (POLL_ERR): Likewise.
15403 [POSIX || XPG3] (POLL_PRI): Likewise.
15404 [POSIX || XPG3] (POLL_HUP): Likewise.
15405 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15406 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15407 (SIG*): Do not allow.
15408 [XPG3] (si_*): Likewise.
15409 [XPG3] (SI_*): Likewise.
15410 [XPG3 || XPG4] (sigev_*): Likewise.
15411 [XPG3 || XPG4] (SIGEV_*): Likewise.
15412 [XPG3 || XPG4] (sival_*): Likewise.
15413 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15414 [POSIX || XPG3] (BUS_*): Likewise.
15415 [POSIX || XPG3] (CLD_*): Likewise.
15416 [POSIX || XPG3] (FPE_*): Likewise.
15417 [POSIX || XPG3] (ILL_*): Likewise.
15418 [POSIX || XPG3] (POLL_*): Likewise.
15419 [POSIX || XPG3] (SEGV_*): Likewise.
15420 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15421 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15422 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15423 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15424 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15425 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15426 Specify type and value.
15427 (TVERSLEN): Likewise.
15428 (REGTYPE): Likewise.
15429 (AREGTYPE): Likewise.
15430 (LNKTYPE): Likewise.
15431 (SYMTYPE): Likewise.
15432 (CHRTYPE): Likewise.
15433 (BLKTYPE): Likewise.
15434 (DIRTYPE): Likewise.
15435 (FIFOTYPE): Likewise.
15436 (CONTTYPE): Likewise.
15437 (TSUID): Likewise.
15438 (TSGID): Likewise.
15439 (TSVTX): Likewise.
15440 (TUREAD): Likewise.
15441 (TUWRITE): Likewise.
15442 (TUEXEC): Likewise.
15443 (TGREAD): Likewise.
15444 (TGWRITE): Likewise.
15445 (TGEXEC): Likewise.
15446 (TOREAD): Likewise.
15447 (TOWRITE): Likewise.
15448 (TOEXEC): Likewise.
15449 [POSIX] (TSVTX): Expect constant.
15450
aa97dee1
JM
154512014-03-06 Joseph Myers <joseph@codesourcery.com>
15452
f214606a
JM
15453 * Makefile (tests): Change dependencies to ....
15454 (tests-special): ... additions to this variable.
15455 (tests): Depend on $(tests-special).
15456 * Makerules (check-abi-list): New variable.
15457 (check-abi): Depend on $(check-abi-list).
15458 [$(subdir) = elf] (tests-special): Add
15459 $(objpfx)check-abi-libc.out.
15460 [$(build-shared) = yes && subdir] (tests-special): Add
15461 $(check-abi-list).
15462 [$(build-shared) = yes && subdir] (tests): Do not depend on
15463 check-abi.
15464 * Rules (tests): Depend on $(tests-special).
15465 (xtests): Depend on $(xtests-special).
15466 * catgets/Makefile (tests): Change dependencies to ....
15467 (tests-special): ... additions to this variable.
15468 * conform/Makefile (tests): Change dependencies to ....
15469 (tests-special): ... additions to this variable.
15470 * elf/Makefile (tests): Change dependencies to ....
15471 (tests-special): ... additions to this variable.
15472 * grp/Makefile (tests): Change dependencies to ....
15473 (tests-special): ... additions to this variable.
15474 * iconv/Makefile (xtests): Change dependencies to ....
15475 (xtests-special): ... additions to this variable.
15476 * iconvdata/Makefile (tests): Change dependencies to ....
15477 (tests-special): ... additions to this variable.
15478 * intl/Makefile (tests): Change dependencies to ....
15479 (tests-special): ... additions to this variable. Also add
15480 $(objpfx)tst-gettext.out.
15481 * io/Makefile (tests): Change dependencies to ....
15482 (tests-special): ... additions to this variable.
15483 * libio/Makefile (tests): Change dependencies to ....
15484 (tests-special): ... additions to this variable.
15485 * malloc/Makefile (tests): Change dependencies to ....
15486 (tests-special): ... additions to this variable.
15487 * misc/Makefile (tests): Change dependencies to ....
15488 (tests-special): ... additions to this variable.
15489 * nptl/Makefile (tests): Change dependencies to ....
15490 (tests-special): ... additions to this variable.
15491 * nptl_db/Makefile (tests): Change dependencies to ....
15492 (tests-special): ... additions to this variable.
15493 * posix/Makefile (tests): Change dependencies to ....
15494 (tests-special): ... additions to this variable.
15495 (xtests): Change dependencies to ....
15496 (xtests-special): ... additions to this variable.
15497 * resolv/Makefile (tests): Change dependencies to ....
15498 (tests-special): ... additions to this variable.
15499 (xtests): Change dependencies to ....
15500 (xtests-special): ... additions to this variable.
15501 * stdio-common/Makefile (tests): Change dependencies to ....
15502 (tests-special): ... additions to this variable.
15503 (do-tst-unbputc): Remove target.
15504 (do-tst-printf): Likewise.
15505 * stdlib/Makefile (tests): Change dependencies to ....
15506 (tests-special): ... additions to this variable.
15507 * string/Makefile (tests): Change dependencies to ....
15508 (tests-special): ... additions to this variable.
15509 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15510 (tests-special): ... additions to this variable.
15511
81700b53
JM
15512 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15513 whole file.
15514 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15515 whole file.
15516 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15517 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15518
2ea18461
JM
15519 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15520 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15521 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15522 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15523 * conform/data/libgen.h-data [XPG3]: Likewise.
15524 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15525 * conform/data/ndbm.h-data [XPG3]: Likewise.
15526 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15527 * conform/data/netdb.h-data [XPG3]: Likewise.
15528 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15529 * conform/data/poll.h-data [XPG3]: Likewise.
15530 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15531 * conform/data/strings.h-data [XPG3]: Likewise.
15532 * conform/data/stropts.h-data [XPG3]: Likewise.
15533 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15534 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15535 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15536 Likewise.
15537 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15538 * conform/data/sys/time.h-data [XPG3]: Likewise.
15539 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15540 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15541 * conform/data/sys/un.h-data [XPG3]: Likewise.
15542 * conform/data/syslog.h-data [XPG3]: Likewise.
15543 * conform/data/ucontext.h-data [XPG3]: Likewise.
15544 * conform/data/utmpx.h-data [XPG3]: Likewise.
15545 * conform/data/varargs.h-data [UNIX98]: Enable file.
15546
355bc986
JM
15547 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15548
215db402
JM
15549 * math/libm-test.inc (struct test_f_f_data): Move expected results
15550 into structure for each rounding mode.
15551 (struct test_ff_f_data): Likewise.
15552 (struct test_ff_f_data_nexttoward): Likewise.
15553 (struct test_fi_f_data): Likewise.
15554 (struct test_fl_f_data): Likewise.
15555 (struct test_if_f_data): Likewise.
15556 (struct test_fff_f_data): Likewise.
15557 (struct test_c_f_data): Likewise.
15558 (struct test_f_f1_data): Likewise.
15559 (struct test_fF_f1_data): Likewise.
15560 (struct test_ffI_f1_data): Likewise.
15561 (struct test_c_c_data): Likewise.
15562 (struct test_cc_c_data): Likewise.
15563 (struct test_f_i_data): Likewise.
15564 (struct test_ff_i_data): Likewise.
15565 (struct test_f_l_data): Likewise.
15566 (struct test_f_L_data): Likewise.
15567 (struct test_fFF_11_data): Likewise.
15568 (RM_): New macro.
15569 (RM_FE_DOWNWARD): Likewise.
15570 (RM_FE_TONEAREST): Likewise.
15571 (RM_FE_TOWARDZERO): Likewise.
15572 (RM_FE_UPWARD): Likewise.
15573 (RUN_TEST_LOOP_f_f): Update references to expected results.
15574 (RUN_TEST_LOOP_2_f): Likewise.
15575 (RUN_TEST_LOOP_fff_f): Likewise.
15576 (RUN_TEST_LOOP_c_f): Likewise.
15577 (RUN_TEST_LOOP_f_f1): Likewise.
15578 (RUN_TEST_LOOP_fF_f1): Likewise.
15579 (RUN_TEST_LOOP_fI_f1): Likewise.
15580 (RUN_TEST_LOOP_ffI_f1): Likewise.
15581 (RUN_TEST_LOOP_c_c): Likewise.
15582 (RUN_TEST_LOOP_cc_c): Likewise.
15583 (RUN_TEST_LOOP_f_i): Likewise.
15584 (RUN_TEST_LOOP_f_i_tg): Likewise.
15585 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15586 (RUN_TEST_LOOP_f_b): Likewise.
15587 (RUN_TEST_LOOP_f_b_tg): Likewise.
15588 (RUN_TEST_LOOP_f_l): Likewise.
15589 (RUN_TEST_LOOP_f_L): Likewise.
15590 (RUN_TEST_LOOP_fFF_11): Likewise.
15591 * math/gen-libm-test.pl (parse_args): Output four copies of
15592 expected results for each test.
15593
67737b8f
JM
15594 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15595 (__ASSUME_UTIMES): Remove.
15596 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15597 (__ASSUME_UTIMES): Likewise.
15598
aa97dee1
JM
15599 * math/gen-auto-libm-tests.c: Update comment on output format.
15600 (output_for_one_input_case): Generate before-rounding and
15601 after-rounding information as conditions on output flags not
15602 floating-point format.
15603 * math/auto-libm-test-out: Regenerated.
15604 * math/gen-libm-test.pl (cond_value): New function.
15605 (or_cond_value): Use cond_value.
15606 (generate_testfile): Handle conditional exceptions.
15607
e6b6a857
JM
156082014-03-05 Joseph Myers <joseph@codesourcery.com>
15609
2f0a0f44
JM
15610 * math/libm-test.inc (max_valid_error): New variable.
15611 (init_max_error): Take new argument specifying whether function
15612 results are exactly determined. Set max_valid_error and bound
15613 other variables for errors based on this argument.
15614 (set_max_error): Do not record results above max_valid_error.
15615 (check_float_internal): Only accept errors of up to 0.5ulps if
15616 also at most max_valid_error.
15617 (START): Take new argument EXACT and pass it to init_max_error.
15618 (acos_test): Update call to START.
15619 (acos_test_tonearest): Likewise.
15620 (acos_test_towardzero): Likewise.
15621 (acos_test_downward): Likewise.
15622 (acos_test_upward): Likewise.
15623 (acosh_test): Likewise.
15624 (asin_test): Likewise.
15625 (asin_test_tonearest): Likewise.
15626 (asin_test_towardzero): Likewise.
15627 (asin_test_downward): Likewise.
15628 (asin_test_upward): Likewise.
15629 (asinh_test): Likewise.
15630 (atan_test): Likewise.
15631 (atanh_test): Likewise.
15632 (atan2_test): Likewise.
15633 (cabs_test): Likewise.
15634 (cacos_test): Likewise.
15635 (cacosh_test): Likewise.
15636 (carg_test): Likewise.
15637 (casin_test): Likewise.
15638 (casinh_test): Likewise.
15639 (catan_test): Likewise.
15640 (catanh_test): Likewise.
15641 (cbrt_test): Likewise.
15642 (ccos_test): Likewise.
15643 (ccosh_test): Likewise.
15644 (ceil_test): Likewise.
15645 (cexp_test): Likewise.
15646 (cimag_test): Likewise.
15647 (clog_test): Likewise.
15648 (clog10_test): Likewise.
15649 (conj_test): Likewise.
15650 (copysign_test): Likewise.
15651 (cos_test): Likewise.
15652 (cos_test_tonearest): Likewise.
15653 (cos_test_towardzero): Likewise.
15654 (cos_test_downward): Likewise.
15655 (cos_test_upward): Likewise.
15656 (cosh_test): Likewise.
15657 (cosh_test_tonearest): Likewise.
15658 (cosh_test_towardzero): Likewise.
15659 (cosh_test_downward): Likewise.
15660 (cosh_test_upward): Likewise.
15661 (cpow_test): Likewise.
15662 (cproj_test): Likewise.
15663 (creal_test): Likewise.
15664 (csin_test): Likewise.
15665 (csinh_test): Likewise.
15666 (csqrt_test): Likewise.
15667 (ctan_test): Likewise.
15668 (ctan_test_tonearest): Likewise.
15669 (ctan_test_towardzero): Likewise.
15670 (ctan_test_downward): Likewise.
15671 (ctan_test_upward): Likewise.
15672 (ctanh_test): Likewise.
15673 (ctanh_test_tonearest): Likewise.
15674 (ctanh_test_towardzero): Likewise.
15675 (ctanh_test_downward): Likewise.
15676 (ctanh_test_upward): Likewise.
15677 (erf_test): Likewise.
15678 (erfc_test): Likewise.
15679 (exp_test): Likewise.
15680 (exp_test_tonearest): Likewise.
15681 (exp_test_towardzero): Likewise.
15682 (exp_test_downward): Likewise.
15683 (exp_test_upward): Likewise.
15684 (exp10_test): Likewise.
15685 (exp10_test_tonearest): Likewise.
15686 (exp10_test_towardzero): Likewise.
15687 (exp10_test_downward): Likewise.
15688 (exp10_test_upward): Likewise.
15689 (pow10_test): Likewise.
15690 (exp2_test): Likewise.
15691 (expm1_test): Likewise.
15692 (expm1_test_tonearest): Likewise.
15693 (expm1_test_towardzero): Likewise.
15694 (expm1_test_downward): Likewise.
15695 (expm1_test_upward): Likewise.
15696 (fabs_test): Likewise.
15697 (fdim_test): Likewise.
15698 (floor_test): Likewise.
15699 (fma_test): Likewise.
15700 (fma_test_towardzero): Likewise.
15701 (fma_test_downward): Likewise.
15702 (fma_test_upward): Likewise.
15703 (fmax_test): Likewise.
15704 (fmin_test): Likewise.
15705 (fmod_test): Likewise.
15706 (fpclassify_test): Likewise.
15707 (frexp_test): Likewise.
15708 (hypot_test): Likewise.
15709 (ilogb_test): Likewise.
15710 (isfinite_test): Likewise.
15711 (finite_test): Likewise.
15712 (isgreater_test): Likewise.
15713 (isgreaterequal_test): Likewise.
15714 (isinf_test): Likewise.
15715 (isless_test): Likewise.
15716 (islessequal_test): Likewise.
15717 (islessgreater_test): Likewise.
15718 (isnan_test): Likewise.
15719 (isnormal_test): Likewise.
15720 (issignaling_test): Likewise.
15721 (isunordered_test): Likewise.
15722 (j0_test): Likewise.
15723 (j1_test): Likewise.
15724 (jn_test): Likewise.
15725 (ldexp_test): Likewise.
15726 (lgamma_test): Likewise.
15727 (gamma_test): Likewise.
15728 (lrint_test): Likewise.
15729 (lrint_test_tonearest): Likewise.
15730 (lrint_test_towardzero): Likewise.
15731 (lrint_test_downward): Likewise.
15732 (lrint_test_upward): Likewise.
15733 (llrint_test): Likewise.
15734 (llrint_test_tonearest): Likewise.
15735 (llrint_test_towardzero): Likewise.
15736 (llrint_test_downward): Likewise.
15737 (llrint_test_upward): Likewise.
15738 (log_test): Likewise.
15739 (log10_test): Likewise.
15740 (log1p_test): Likewise.
15741 (log2_test): Likewise.
15742 (logb_test): Likewise.
15743 (logb_test_downward): Likewise.
15744 (lround_test): Likewise.
15745 (llround_test): Likewise.
15746 (modf_test): Likewise.
15747 (nearbyint_test): Likewise.
15748 (nextafter_test): Likewise.
15749 (nexttoward_test): Likewise.
15750 (pow_test): Likewise.
15751 (pow_test_tonearest): Likewise.
15752 (pow_test_towardzero): Likewise.
15753 (pow_test_downward): Likewise.
15754 (pow_test_upward): Likewise.
15755 (remainder_test): Likewise.
15756 (drem_test): Likewise.
15757 (remainder_test_tonearest): Likewise.
15758 (drem_test_tonearest): Likewise.
15759 (remainder_test_towardzero): Likewise.
15760 (drem_test_towardzero): Likewise.
15761 (remainder_test_downward): Likewise.
15762 (drem_test_downward): Likewise.
15763 (remainder_test_upward): Likewise.
15764 (drem_test_upward): Likewise.
15765 (remquo_test): Likewise.
15766 (rint_test): Likewise.
15767 (rint_test_tonearest): Likewise.
15768 (rint_test_towardzero): Likewise.
15769 (rint_test_downward): Likewise.
15770 (rint_test_upward): Likewise.
15771 (round_test): Likewise.
15772 (scalb_test): Likewise.
15773 (scalbn_test): Likewise.
15774 (scalbln_test): Likewise.
15775 (signbit_test): Likewise.
15776 (sin_test): Likewise.
15777 (sin_test_tonearest): Likewise.
15778 (sin_test_towardzero): Likewise.
15779 (sin_test_downward): Likewise.
15780 (sin_test_upward): Likewise.
15781 (sincos_test): Likewise.
15782 (sinh_test): Likewise.
15783 (sinh_test_tonearest): Likewise.
15784 (sinh_test_towardzero): Likewise.
15785 (sinh_test_downward): Likewise.
15786 (sinh_test_upward): Likewise.
15787 (sqrt_test): Likewise.
15788 (sqrt_test_tonearest): Likewise.
15789 (sqrt_test_towardzero): Likewise.
15790 (sqrt_test_downward): Likewise.
15791 (sqrt_test_upward): Likewise.
15792 (tan_test): Likewise.
15793 (tan_test_tonearest): Likewise.
15794 (tan_test_towardzero): Likewise.
15795 (tan_test_downward): Likewise.
15796 (tan_test_upward): Likewise.
15797 (tanh_test): Likewise.
15798 (tgamma_test): Likewise.
15799 (trunc_test): Likewise.
15800 (y0_test): Likewise.
15801 (y1_test): Likewise.
15802 (yn_test): Likewise.
15803 (significand_test): Likewise.
15804
e6b6a857
JM
15805 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15806 individual tests in comment.
15807 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15808 (prev_max_error): New variable.
15809 (prev_real_max_error): Likewise.
15810 (prev_imag_max_error): Likewise.
15811 (compare_ulp_data): Don't refer to test names in comment.
15812 (find_test_ulps): Remove function.
15813 (find_function_ulps): Likewise.
15814 (find_complex_function_ulps): Likewise.
15815 (init_max_error): Take function name as argument. Look up ulps
15816 for that function.
15817 (print_ulps): Remove function.
15818 (print_max_error): Use prev_max_error instead of calling
15819 find_function_ulps.
15820 (print_complex_max_error): Use prev_real_max_error and
15821 prev_imag_max_error instead of calling find_complex_function_ulps.
15822 (check_float_internal): Take max_ulp parameter instead of calling
15823 find_test_ulps. Don't call print_ulps.
15824 (check_float): Update call to check_float_internal.
15825 (check_complex): Update calls to check_float_internal.
15826 (START): Pass argument to init_max_error.
15827 * math/gen-libm-test.pl (%results): Don't include "kind"
15828 information.
15829 (parse_ulps): Don't handle ulps of individual tests.
15830 (print_ulps_file): Likewise.
15831 (output_ulps): Likewise.
15832 * math/README.libm-test: Update.
15833 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15834 individual tests.
15835 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15836 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15837 * sysdeps/arm/libm-test-ulps: Likewise.
15838 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15839 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15840 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15841 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15842 * sysdeps/microblaze/libm-test-ulps: Likewise.
15843 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15844 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15846 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15847 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15848 * sysdeps/sh/libm-test-ulps: Likewise.
15849 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15850 * sysdeps/tile/libm-test-ulps: Likewise.
15851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15852
45adef3c
JM
158532014-03-04 Joseph Myers <joseph@codesourcery.com>
15854
15855 * math/libm-test.inc (print_complex_max_error): Check separately
15856 whether real and imaginary errors are within allowed range and
15857 pass 0 to print_complex_function_ulps instead of value within
15858 allowed range.
15859
000232b9
SP
158602014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15861
d4b17258
SP
15862 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15863 formatting.
15864 (get_handles_fopen): Likewise.
15865 (do_write_test): Likewise.
15866
091eff71
SP
15867 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15868
fa3cd248
SP
15869 * libio/fileops.c (do_ftell): Use cached offset when
15870 available.
15871 * libio/iofwide.c (do_ftell_wide): Likewise.
15872 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15873 _IO_file_attach.
15874 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15875
000232b9
SP
15876 [BZ #16532]
15877 * libio/libioP.h (get_file_offset): New function.
15878 * libio/fileops.c (get_file_offset): Likewise.
15879 (do_ftell): Likewise.
15880 (_IO_new_file_seekoff): Split out ftell logic.
15881 * libio/wfileops.c (do_ftell_wide): Likewise.
15882 (_IO_wfile_seekoff): Split out ftell logic.
15883 * libio/tst-ftell-active-handler.c: New test case.
15884 * libio/Makefile (tests): Add it.
15885
116f4d1a
RM
158862014-03-03 Roland McGrath <roland@hack.frob.com>
15887
15888 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15889 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15890
532a6035
SP
158912014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15892
15893 [BZ #16639]
15894 * nscd/connections.c (nscd_init): Call do_exit.
15895 (start_threads): Call do_exit and notify_parent.
15896 (begin_drop_privileges): Call do_exit.
15897 (finish_drop_privileges): Likewise.
15898 * nscd/selinux.c (preserve_capabilities): Likewise.
15899 (install_real_capabilities): Likewise.
15900 (nscd_selinux_enabled): Likewise.
15901 (avc_create_thread): Likewise.
15902 (avc_alloc_lock): Likewise.
15903 (nscd_avc_init): Likewise.
15904 * nscd/nscd.c (parent_fd): New static variable.
15905 (main): Create a pipe between parent and child processes.
15906 Skip closing parent_fd.
15907 (monitor_child): New function.
15908 (do_exit): Likewise.
15909 (notify_parent): Likewise.
15910 * nscd/nscd.h (notify_parent): Likewise.
15911 (do_exit): Likewise.
15912
d6285c9f
CD
159132014-03-03 Carlos O'Donell <carlos@redhat.com>
15914
15915 * malloc/malloc.c (__libc_calloc): Revert last change.
15916
2b85d2a0
AZ
159172014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15918
15919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15920
c7debbdf
RS
159212014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15922
15923 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15925 implementation.
15926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15927 (__libc_ifunc_impl_list): Likewise.
15928 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15929 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15930 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15931 * string/strrchr.c: Define STRRCHR.
15932
235eed86
OB
159332014-02-28 Ondřej Bílka <neleai@seznam.cz>
15934
15935 * benchtest/bench-strtok.c (simple_strtok): Delete.
15936 (strtok_string): Use as benchmark.
15937 * string/strtok (STRTOK): New macro.
15938
8e25d1e7
CD
159392014-02-28 Carlos O'Donell <carlos@redhat.com>
15940
ef563f92
CD
15941 * manual/threads.texi: Add header and standard comments to all
15942 functions.
15943
8e25d1e7
CD
15944 * elf/dl-lookup.c (check_match): New function.
15945 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15946 (do_lookup_x): Remove nested function check_match. Use non-nested
15947 function check_match.
15948
ff71cc37
RM
159492014-02-28 Roland McGrath <roland@hack.frob.com>
15950
f08e9a26
RM
15951 * csu/Makefile (generated, before-compile): Use += rather than =.
15952 * catgets/Makefile (generated, generated-dirs): Likewise.
15953 * debug/Makefile (generated): Likewise.
15954 * dlfcn/Makefile (generated): Likewise.
15955 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15956 * iconvdata/Makefile (before-compile, generated): Likewise.
15957 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15958 * libio/Makefile (generated): Likewise.
15959 * malloc/Makefile (generated): Likewise.
15960 * manual/Makefile (generated, generated-dirs): Likewise.
15961 * misc/Makefile (generated): Likewise.
15962 * posix/Makefile (generated): Likewise.
15963 * resolv/Makefile (generated): Likewise.
15964 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15965 * timezone/Makefile (generated, generated-dirs): Likewise.
15966
ff71cc37
RM
15967 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15968
fe13a20c
AZ
159692014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15970
57f41c40
AS
15971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15972 power8 implementation.
15973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15974 file: POWER8 llround ifunc implementation.
15975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15976 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15977 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15978 POWER8 llround implementation.
15979
57f41c40
AS
15980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15981 power8 implementation.
15982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15983 file: POWER8 llrint ifunc implementation.
15984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15985 Add POWER8 implementation.
1ad8950a
AZ
15986 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15987 POWER8 llrint implementation.
15988
57f41c40
AS
15989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15990 power8 implementation.
15991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15992 file: POWER8 finite ifunc implementation.
15993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15994 Add POWER8 implementation.
cac626d6
AZ
15995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15996 Likewise.
15997 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15998 POWER8 finite implementation.
15999 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16000
57f41c40
AS
16001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16002 power8 implementation.
16003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16004 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16006 POWER8 implementation.
16007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16008 Likewise.
57f41c40
AS
16009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16010 isinf implementation.
4393fc11
AZ
16011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16012
57f41c40
AS
16013 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16014 (INIT_ARCH): Add hwcap2 initialization.
16015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16016 power8 implementation.
16017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16018 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16020 POWER8 implementation.
16021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16022 Likewise.
57f41c40
AS
16023 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16024 isnan implementation.
487972ae
AZ
16025 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16026
7d92b787
JY
160272014-02-27 Joey Ye <joey.ye@arm.com>
16028
16029 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16030 (_FP_NANFRAC_Q): Set to zero.
16031
1cadc858
SP
160322014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16033
16034 [BZ #16623]
16035 * math/auto-libm-test-in: New test inputs.
16036 * math/auto-libm-test-out: Regenerate.
16037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16038 and DA.
16039 (__cos): Likewise.
16040 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16041
f8c17e79
JM
160422014-02-27 Joseph Myers <joseph@codesourcery.com>
16043
16044 * scripts/evaluate-test.sh: Take new argument indicating whether
16045 failure is expected.
16046 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16047 indicating whether failure is expected.
16048 * conform/Makefile (test-xfail-run-conformtest): New variable.
16049 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16050 level.
16051 * posix/Makefile (test-xfail-annexc): New variable.
16052 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16053
a5f891ac
JM
160542014-02-26 Joseph Myers <joseph@codesourcery.com>
16055
16056 * argp/Makefile: Include Makeconfig immediately after defining
16057 subdir.
16058 * assert/Makefile: Likewise.
16059 * benchtests/Makefile: Likewise.
16060 * catgets/Makefile: Likewise.
16061 * conform/Makefile: Likewise.
16062 * crypt/Makefile: Likewise.
16063 * csu/Makefile: Likewise.
16064 (all): Remove target.
16065 * ctype/Makefile: Include Makeconfig immediately after defining
16066 subdir.
16067 * debug/Makefile: Likewise.
16068 * dirent/Makefile: Likewise.
16069 * dlfcn/Makefile: Likewise.
16070 * gmon/Makefile: Likewise.
16071 * gnulib/Makefile: Likewise.
16072 * grp/Makefile: Likewise.
16073 * gshadow/Makefile: Likewise.
16074 * hesiod/Makefile: Likewise.
16075 * hurd/Makefile: Likewise.
16076 (all): Remove target.
16077 * iconvdata/Makefile: Include Makeconfig immediately after
16078 defining subdir.
16079 * inet/Makefile: Likewise.
16080 * intl/Makefile: Likewise.
16081 * io/Makefile: Likewise.
16082 * libio/Makefile: Likewise.
16083 (all): Remove target.
16084 * locale/Makefile: Include Makeconfig immediately after defining
16085 subdir.
16086 * login/Makefile: Likewise.
16087 * mach/Makefile: Likewise.
16088 (all): Remove target.
16089 * malloc/Makefile: Include Makeconfig immediately after defining
16090 subdir.
16091 (all): Remove target.
16092 * manual/Makefile: Include Makeconfig immediately after defining
16093 subdir.
16094 * math/Makefile: Likewise.
16095 * misc/Makefile: Likewise.
16096 * nis/Makefile: Likewise.
16097 * nss/Makefile: Likewise.
16098 * po/Makefile: Likewise.
16099 (all): Remove target.
16100 * posix/Makefile: Include Makeconfig immediately after defining
16101 subdir.
16102 * pwd/Makefile: Likewise.
16103 * resolv/Makefile: Likewise.
16104 * resource/Makefile: Likewise.
16105 * rt/Makefile: Likewise.
16106 * setjmp/Makefile: Likewise.
16107 * shadow/Makefile: Likewise.
16108 * signal/Makefile: Likewise.
16109 * socket/Makefile: Likewise.
16110 * soft-fp/Makefile: Likewise.
16111 * stdio-common/Makefile: Likewise.
16112 * stdlib/Makefile: Likewise.
16113 * streams/Makefile: Likewise.
16114 * string/Makefile: Likewise.
16115 * sunrpc/Makefile: Likewise.
16116 (all): Remove target.
16117 * sysvipc/Makefile: Include Makeconfig immediately after defining
16118 subdir.
16119 * termios/Makefile: Likewise.
16120 * time/Makefile: Likewise.
16121 * timezone/Makefile: Likewise.
16122 (all): Remove target.
16123 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16124 subdir.
16125 * wctype/Makefile: Likewise.
16126
5b456e9d
SE
161272014-02-26 Steve Ellcey <sellcey@mips.com>
16128
16129 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16130 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16131 (libc_feholdexcept_setround_mips): Ditto.
16132 (libc_feholdsetround): New.
16133 (libc_feholdsetroundf): New.
16134 (libc_feholdsetroundl): New.
16135 (libc_feupdateenv_test_mips): New.
16136 (libc_feupdateenv_test): New.
16137 (libc_feupdateenv_testf): New.
16138 (libc_feupdateenv_testl): New.
16139 (libc_feresetround): New.
16140 (libc_feresetroundf): New.
16141 (libc_feresetroundl): New.
16142 (libc_fetestexcept_mips): New.
16143 (libc_fetestexcept): New.
16144 (libc_fetestexceptf): New.
16145 (libc_fetestexceptl): New.
16146 (HAVE_RM_CTX): New.
16147 (libc_feholdexcept_setround_mips_ctx): New.
16148 (libc_feholdexcept_setround_ctx): New.
16149 (libc_feholdexcept_setroundf_ctx): New.
16150 (libc_feholdexcept_setroundl_ctx): New.
16151 (libc_fesetenv_mips_ctx): New.
16152 (libc_fesetenv_ctx): New.
16153 (libc_fesetenv_ctxf): New.
16154 (libc_fesetenv_ctxl): New.
16155 (libc_feupdateenv_mips_ctx): New.
16156 (libc_feupdateenv_ctx): New.
16157 (libc_feupdateenvf_ctx): New.
16158 (libc_feupdateenvl_ctx): New.
16159 (libc_feholdsetround_mips_ctx): New.
16160 (libc_feholdsetround_ctx): New.
16161 (libc_feholdsetroundf_ctx): New.
16162 (libc_feholdsetroundl_ctx): New.
16163 (libc_feresetround_mips_ctx): New.
16164 (libc_feresetround_ctx): New.
16165 (libc_feresetroundf_ctx): New.
16166 (libc_feresetroundl_ctx): New.
16167
085d0e35
CD
161682014-02-26 Carlos O'Donell <carlos@redhat.com>
16169
f067bf1f
CD
16170 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16171
085d0e35
CD
16172 * manual/ipc.texi: New file.
16173 * manual/Makefile (chapters): Add ipc.
16174 * manual/job.texi: Add "Inter-Process Communication" to next.
16175 * manual/process.texi: Add "Inter-Process Communication" to prev.
16176
86e58c08
AZ
161772014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16178
16179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16180
4248f0da
OB
161812014-02-26 Ondřej Bílka <neleai@seznam.cz>
16182
16183 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16184
cf822e3c
OB
16185 * manual/arith.texi: Fix spaces after sentences.
16186 * manual/charset.texi: Likewise.
16187 * manual/errno.texi: Likewise.
16188 * manual/install.texi: Likewise.
16189 * manual/llio.texi: Likewise.
16190 * manual/locale.texi: Likewise.
16191 * manual/maint.texi: Likewise.
16192 * manual/math.texi: Likewise.
16193 * manual/memory.texi: Likewise.
16194 * manual/message.texi: Likewise.
16195 * manual/probes.texi: Likewise.
16196 * manual/resource.texi: Likewise.
16197 * manual/signal.texi: Likewise.
16198 * manual/socket.texi: Likewise.
16199 * manual/stdio.texi: Likewise.
16200 * manual/string.texi: Likewise.
16201 * manual/time.texi: Likewise.
16202 * manual/users.texi: Likewise.
16203
ade40b10
CD
162042014-02-25 Carlos O'Donell <carlos@redhat.com>
16205
16206 [BZ #16632]
16207 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16208 _DEFAULT_SOURCE is defined.
16209
d0503676
CD
162102014-02-25 Ulrich Drepper <drepper@gmail.com>
16211 Carlos O'Donell <carlos@redhat.com>
16212
16213 [BZ #16613]
16214 * elf/dl-tls.c (_dl_count_modids): New function.
16215 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16216 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16217 audit library and increment generation counter.
16218 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16219 * elf/tst-audit9.c: New file.
16220 * elf/tst-auditmod9a.c: New file.
16221 * elf/tst-auditmod9b.c: New file.
16222 * elf/Makefile: Add rules to build and run tst-audit9.
16223
4cbf380c
FW
162242014-02-25 Florian Weimer <fweimer@redhat.com>
16225
16226 [BZ #15347]
16227 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16228
80a56cc3
WN
162292014-02-25 Will Newton <will.newton@linaro.org>
16230
16231 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16232 (__longjmp): Restore sp and lr before restoring callee
16233 saved registers. Add longjmp and longjmp_target
16234 SystemTap probe point.
16235 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16236 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16237 Define to zero to match jmpbuf layout.
16238 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16239 (__sigsetjmp): Save sp and lr before saving callee
16240 saved registers. Add setjmp SystemTap probe point.
16241
3ea0f74e
SL
162422014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16243
16244 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16245
b04acb26
AS
162462014-02-24 Andreas Schwab <schwab@suse.de>
16247
16248 [BZ #15804]
16249 * elf/pldd.c (wait_for_ptrace_stop): New function.
16250 (main): Call it after attaching.
16251
098ad55c
RM
162522014-02-22 Roland McGrath <roland@hack.frob.com>
16253
d4ec6ae1
RM
16254 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16255 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16256 Versions files is now verboten.
16257 * hurd/Versions (libc: GLIBC_2.0):
16258 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16259 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16260 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16261 * mach/Versions: Likewise.
16262
098ad55c
RM
16263 * csu/Versions: Remove unused %include.
16264 * resolv/Versions: Likewise.
16265
acd7f096
JM
162662014-02-21 Joseph Myers <joseph@codesourcery.com>
16267
f0881698
JM
16268 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16269 ($(objpfx)check-local-headers.out): Likewise.
16270 ($(objpfx)begin-end-check.out): Likewise.
16271 * Makerules (check-abi-%.out): Likewise.
16272 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16273 ($(objpfx)test2.cat): Likewise.
16274 ($(objpfx)de/libc.cat): Likewise.
16275 ($(objpfx)test-gencat.out): Likewise.
16276 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16277 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16278 ($(objpfx)noload-mem): Likewise.
16279 ($(objpfx)tst-pathopt.out): Likewise.
16280 ($(objpfx)tst-rtld-load-self.out): Likewise.
16281 ($(objpfx)tst-array1-cmp.out): Likewise.
16282 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16283 ($(objpfx)tst-array2-cmp.out): Likewise.
16284 ($(objpfx)tst-array3-cmp.out): Likewise.
16285 ($(objpfx)tst-array4-cmp.out): Likewise.
16286 ($(objpfx)tst-array5-cmp.out): Likewise.
16287 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16288 ($(objpfx)check-textrel.out): Likewise.
16289 ($(objpfx)check-execstack.out): Likewise.
16290 ($(objpfx)check-localplt.out): Likewise.
16291 ($(objpfx)order2-cmp.out): Likewise.
16292 ($(objpfx)tst-leaks1-mem): Likewise.
16293 ($(objpfx)tst-leaks1-static-mem): Likewise.
16294 ($(objpfx)tst-initorder-cmp.out): Likewise.
16295 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16296 ($(objpfx)tst-unused-dep.out): Likewise.
16297 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16298 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16299 * iconv/Makefile (test-iconvconfig): Likewise.
16300 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16301 ($(objpfx)iconv-test.out): Likewise.
16302 ($(objpfx)tst-tables.out): Likewise.
16303 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16304 ($(objpfx)tst-gettext.out): Likewise.
16305 ($(objpfx)tst-translit.out): Likewise.
16306 ($(objpfx)tst-gettext2.out): Likewise.
16307 ($(objpfx)tst-gettext4.out): Likewise.
16308 ($(objpfx)tst-gettext6.out): Likewise.
16309 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16310 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16311 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16312 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16313 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16314 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16315 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16316 ($(objpfx)wordexp-tst.out): Likewise.
16317 ($(objpfx)annexc.out): Likewise.
16318 ($(objpfx)tst-fnmatch-mem): Likewise.
16319 ($(objpfx)bug-regex2-mem): Likewise.
16320 ($(objpfx)bug-regex14-mem): Likewise.
16321 ($(objpfx)bug-regex21-mem): Likewise.
16322 ($(objpfx)bug-regex31-mem): Likewise.
16323 ($(objpfx)tst-vfork3-mem): Likewise.
16324 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16325 ($(objpfx)tst-pcre-mem): Likewise.
16326 ($(objpfx)tst-boost-mem): Likewise.
16327 ($(objpfx)tst-getconf.out): Likewise.
16328 ($(objpfx)bug-ga2-mem): Likewise.
16329 ($(objpfx)bug-glob2-mem): Likewise.
16330 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16331 ($(objpfx)mtrace-tst-leaks2): Likewise.
16332 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16333 ($(objpfx)tst-printf.out): Likewise.
16334 ($(objpfx)tst-setvbuf1.out): Likewise.
16335 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16336 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16337 ($(objpfx)tst-fmtmsg.out): Likewise.
16338 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16339 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16340
acd7f096
JM
16341 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16342 * bits/sigaction.h [__USE_MISC]: Likewise.
16343 * bits/waitstatus.h: Update #endif comments.
16344 * ctype/ctype.h: Likewise.
16345 * dirent/dirent.h: Likewise.
16346 [__USE_MISC]: Remove redundant conditionals.
16347 * grp/grp.h: Update #endif comments.
16348 [__USE_GNU]: Remove redundant conditionals.
16349 [__USE_MISC]: Likewise.
16350 * inet/netinet/in.h [__USE_GNU]: Likewise.
16351 * io/sys/stat.h [__USE_MISC]: Likewise.
16352 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16353 * libio/bits/stdio.h: Update #endif comments.
16354 [__USE_MISC]: Remove redundant conditionals.
16355 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16356 * libio/stdio.h: Update #endif comments.
16357 [__USE_MISC]: Remove redundant conditionals.
16358 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16359 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16360 * math/math.h: Update #else and #endif comments.
16361 [__USE_MISC]: Remove redundant conditionals.
16362 * misc/sys/uio.h: Update #endif comments.
16363 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16364 * posix/glob.h [__USE_MISC]: Likewise.
16365 * posix/sys/types.h: Update #endif comments.
16366 [__USE_MISC]: Remove redundant conditionals.
16367 * posix/sys/wait.h: Update #endif comments.
16368 [__USE_MISC]: Remove redundant conditionals.
16369 * posix/unistd.h: Update #endif comments.
16370 [__USE_MISC]: Remove redundant conditionals.
16371 * pwd/pwd.h [__USE_GNU]: Likewise.
16372 [__USE_MISC]: Likewise.
16373 * resolv/netdb.h [__USE_GNU]: Likewise.
16374 * signal/signal.h: Update #endif comments.
16375 [__USE_MISC]: Remove redundant conditionals.
16376 * stdlib/stdlib.h: Update #else and #endif comments.
16377 [__USE_MISC]: Remove redundant conditionals.
16378 [__USE_GNU]: Likewise.
16379 * string/bits/string2.h [__USE_MISC]: Likewise.
16380 * string/string.h: Update #endif comments.
16381 [__USE_MISC]: Remove redundant conditionals.
16382 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16383 Likewise.
16384 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16385 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16386 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16387 Likewise.
16388 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16389 Likewise.
16390 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16391 comments.
16392 [__USE_MISC]: Remove redundant conditionals.
16393 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16394 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16395 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16396 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16397 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16398 Likewise.
16399 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16400 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16401 Likewise.
16402 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16403 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16404 Likewise.
16405 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16406 Likewise.
16407 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16408 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16409 Likewise.
16410 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16411 Likewise.
16412 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16413 * sysdeps/x86/bits/string.h: Update #endif comments.
16414 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16415 conditionals.
16416 * time/sys/time.h: Update #endif comments.
16417 * time/time.h: Likewise.
16418 [__USE_MISC]: Remove redundant conditionals.
16419
a5d82e4e
YG
164202014-02-21 Yury Gribov <y.gribov@samsung.com>
16421
16422 [BZ #16600]
16423 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16424
9a80491d
AS
164252014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16426
16427 * Versions.def (librt): Add GLIBC_2.17.
16428
105fa381
AC
164292014-02-21 Adam Conrad <adconrad@0c3.net>
16430
16431 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16432 synonym for _SYS_AUXV_H to allow direct inclusion.
16433 * sysdeps/sparc/bits/hwcap.h: Likewise.
16434 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16435 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16436 * sysdeps/sparc/sysdep.h: Likewise.
16437
b8cd1c4e
SP
164382014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16439
16440 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16441
bd939d23
RS
164422014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16443
16444 * benchtests/bench-strrchr.c: Print length instead of position.
16445
5d7b57ca
JM
164462014-02-20 Joseph Myers <joseph@codesourcery.com>
16447
bc688c10
JM
16448 [BZ #16611]
16449 * sysdeps/unix/sysv/linux/kernel-features.h
16450 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16451 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16452 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16453 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16454 Likewise.
16455 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16456 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16457 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16458 (__ASSUME_SENDMMSG): Define instead of using previous
16459 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16460 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16461 (__ASSUME_SENDMMSG_SYSCALL): Define.
16462 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16463 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16464 Likewise.
16465 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16466 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16467 Likewise.
16468 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16469 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16470 Likewise.
16471 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16472 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16473 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16474 [__ASSUME_SENDMMSG]: Change conditionals to
16475 [__ASSUME_SENDMMSG_SOCKETCALL].
16476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16477 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16478 Define.
16479 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16480 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16481 Likewise.
16482 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16483 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16484 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16485 [!__ASSUME_SENDMMSG]: Change conditional to
16486 [!__ASSUME_SENDMMSG_SOCKETCALL].
16487 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16488 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16489 Define.
16490
0e31b18c
JM
16491 [BZ #16610]
16492 * sysdeps/unix/sysv/linux/kernel-features.h
16493 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16494 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16495 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16496 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16497 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16498 [__i386__ || __sparc__]
16499 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16500 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16501 (__ASSUME_RECVMMSG): Define instead of using previous
16502 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16503 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16504 (__ASSUME_RECVMMSG_SYSCALL): Define.
16505 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16506 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16507 Likewise.
16508 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16509 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16510 Likewise.
16511 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16513 Likewise.
16514 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16515 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16516 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16517 [__ASSUME_RECVMMSG]: Change condition to
16518 [__ASSUME_RECVMMSG_SOCKETCALL].
16519 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16520 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16521 Define.
16522 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16523 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16524 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16525 Likewise.
16526 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16527 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16528 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16529 [!__ASSUME_RECVMMSG]: Change condition to
16530 [!__ASSUME_RECVMMSG_SOCKETCALL].
16531 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16532 (__ASSUME_RECVMMSG_SYSCALL): Define.
16533
dd481ccf
JM
16534 [BZ #16609]
16535 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16536 __powerpc__ || __s390__ || __sh__ || __sparc__]
16537 (__ASSUME_SOCKETCALL): Define.
16538 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16539 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16540 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16541 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16542 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16543 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16544 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16545 (__ASSUME_ACCEPT4): Define instead of using previous
16546 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16547 __powerpc__ || __sparc__ || __s390__)] condition.
16548 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16549 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16550 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16551 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16552 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16553 [!__ASSUME_ACCEPT4]: Change condition to
16554 [!__ASSUME_ACCEPT4_SOCKETCALL].
16555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16556 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16557 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16558 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16559 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16560 __ASSUME_ACCEPT4_SYSCALL.
16561 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16562 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16563 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16564 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16565 __ASSUME_ACCEPT4_SYSCALL.
16566 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16567 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16568 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16569 [__ASSUME_ACCEPT4]: Change condition to
16570 [__ASSUME_ACCEPT4_SOCKETCALL].
16571 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16572 (__ASSUME_SOCKETCALL): Define.
16573 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16575 (__ASSUME_SOCKETCALL): Define.
16576 (__ASSUME_ACCEPT4): Remove.
16577 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16578 Define.
16579 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16580 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16581 Likewise.
16582 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16583 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16584
5d7b57ca
JM
16585 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16586 macro.
16587 (HWCAP_ARM_LPAE): Likewise.
16588 (HWCAP_ARM_EVTSTRM): Likewise.
16589 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16590 Add vpfd32, lpae and evtstrm.
16591 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16592 Increase to 22.
16593
63689d61
JM
165942014-02-19 Joseph Myers <joseph@codesourcery.com>
16595
16596 * math/auto-libm-test-in: Add tests of clog10.
16597 * math/auto-libm-test-out: Regenerated.
16598 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16599 * sysdeps/i386/fpu/libm-test-ulps: Update.
16600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16601
ab09bf61
AS
166022014-02-18 Andreas Schwab <schwab@suse.de>
16603
16604 [BZ #16574]
16605 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16606 Store non-zero if the second buffer was newly allocated.
16607 (send_dg): Likewise.
16608 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16609 to send_vc and send_dg.
16610 (res_nsend): Pass NULL for ansp2_malloced.
16611 * resolv/res_query.c (__libc_res_nquery): Add parameter
16612 answerp2_malloced and pass it down to __libc_res_nsend.
16613 (res_nquery): Pass additional NULL to __libc_res_nquery.
16614 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16615 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16616 second answer buffer if answerp2_malloced was set.
16617 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16618 (__libc_res_nquerydomain): Add parameter
16619 answerp2_malloced and pass it down to __libc_res_nquery.
16620 (res_nquerydomain): Pass additional NULL to
16621 __libc_res_nquerydomain.
16622 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16623 additional NULL to __libc_res_nsend and __libc_res_nquery.
16624 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16625 additional NULL to __libc_res_nsearch.
16626 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16627 parameter of __libc_res_nsearch to check for separately allocated
16628 second buffer.
16629 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16630 __libc_res_nquery.
16631 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16632 additional NULL to __libc_res_nquery.
16633 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16634 __libc_res_nsearch.
16635 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16636 * include/resolv.h: Update prototypes of __libc_res_nquery,
16637 __libc_res_nsearch, __libc_res_nsend.
16638
a4fb7861
JM
166392014-02-18 Joseph Myers <joseph@codesourcery.com>
16640
c6af2d89
JM
16641 * math/auto-libm-test-in: Add tests of fma.
16642 * math/auto-libm-test-out: Regenerated.
16643 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16644 (fma_towardzero_test_data): Likewise.
16645 (fma_downward_test_data): Likewise.
16646 (fma_upward_test_data): Likewise.
16647 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16648 mpc_mode.
16649 (rounding_modes): Add values for new field.
16650 (func_calc_method): Add value mpfr_fff_f.
16651 (func_calc_desc): Add mpfr_fff_f union field.
16652 (test_function): Add field exact_args.
16653 (FUNC): Add macro argument EXACT_ARGS.
16654 (FUNC_mpfr_f_f): Update call to FUNC.
16655 (FUNC_mpfr_f_f): Likewise.
16656 (FUNC_mpfr_ff_f): Likewise.
16657 (FUNC_mpfr_if_f): Likewise.
16658 (FUNC_mpc_c_f): Likewise.
16659 (FUNC_mpc_c_c): Likewise.
16660 (test_functions): Add fma. Update calls to FUNC.
16661 (handle_input_arg): Add argument exact_args.
16662 (add_test): Update call to handle_input_arg.
16663 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16664 (output_for_one_input_case): Update call to calc_generic_results.
16665 Recalculate exact zero results in each rounding mode.
16666
a4fb7861
JM
16667 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16668 non-negative before setting low bit.
16669 * math/auto-libm-test-in: Mark one asin test possibly having
16670 spurious underflow.
16671 * math/auto-libm-test-out: Regenerated.
16672 * sysdeps/i386/fpu/libm-test-ulps: Update.
16673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16674
ef114eaf
DH
166752014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16676
2b7f4f2c
SP
16677 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16678 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16679 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16680 * README: Add missing listing for microblaze*-*-linux-gnu.
16681
8125aedc
AM
166822014-02-16 Ondřej Bílka <neleai@seznam.cz>
16683
16684 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16685 duplicate code
16686
c70a4b1d
MF
166872014-02-16 Mike Frysinger <vapier@gentoo.org>
16688
16689 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16690 * sysdeps/unix/sysv/linux/ia64: Move directory from
16691 ports/sysdeps/unix/sysv/linux/ia64.
16692 * README: Update listing for ia64-*-linux-gnu.
16693
591aeaf7
TD
166942014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16695 Joseph Myers <joseph@codesourcery.com>
16696
16697 * Makeconfig (test-name): New variable.
16698 (evaluate-test): Likewise.
16699 * Makerules (do-test-clean): Remove .test-result files.
16700 (common-mostlyclean): Likewise.
16701 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16702 * scripts/evaluate-test.sh: New file.
16703
6e89caf1
JM
167042014-02-14 Joseph Myers <joseph@codesourcery.com>
16705
7f98f180
JM
16706 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16707 separate $(objpfx)tst-fopenloc-cmp.out and
16708 $(objpfx)tst-fopenloc-mem.out targets.
16709 (tests): Update dependencies.
16710 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16711 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16712 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16713 (tst-rxspencer-no-utf8-ARGS): New variable.
16714 (tst-rxspencer-no-utf8-ENV): Likewise.
16715 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16716 instead of $(objpfx)tst-rxspencer-mem.
16717 ($(objpfx)tst-rxspencer-mem): Change target to
16718 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16719 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16720 * posix/tst-rxspencer-no-utf8.c: New file.
16721
6e89caf1
JM
16722 * elf/Makefile ($(objpfx)order.out): Remove rule.
16723 [$(run-built-tests) = yes] (tests): Depend on
16724 $(objpfx)order-cmp.out.
16725 ($(objpfx)order-cmp.out): New rule.
16726 [$(run-built-tests) = yes] (tests): Depend on
16727 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16728 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16729 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16730 $(objpfx)tst-array5-static-cmp.out.
16731 ($(objpfx)tst-array1.out): Remove rule.
16732 ($(objpfx)tst-array1-cmp.out): New rule.
16733 ($(objpfx)tst-array1-static.out): Remove rule.
16734 ($(objpfx)tst-array1-static-cmp.out): New rule.
16735 ($(objpfx)tst-array2.out): Remove rule.
16736 ($(objpfx)tst-array2-cmp.out): New rule.
16737 ($(objpfx)tst-array3.out): Remove rule.
16738 ($(objpfx)tst-array3-cmp.out): New rule.
16739 ($(objpfx)tst-array4.out): Remove rule.
16740 ($(objpfx)tst-array4-cmp.out): New rule.
16741 ($(objpfx)tst-array5.out): Remove rule.
16742 ($(objpfx)tst-array5-cmp.out): New rule.
16743 ($(objpfx)tst-array5-static.out): Remove rule.
16744 ($(objpfx)tst-array5-static-cmp.out): New rule.
16745 [$(run-built-tests) = yes] (tests): Depend on
16746 $(objpfx)order2-cmp.out.
16747 ($(objpfx)order2.out): Remove rule.
16748 ($(objpfx)order2-cmp.out): New rule.
16749 ($(objpfx)tst-initorder.out): Remove rule.
16750 [$(run-built-tests) = yes] (tests): Depend on
16751 $(objpfx)tst-initorder-cmp.out.
16752 ($(objpfx)tst-initorder-cmp.out): New rule.
16753 ($(objpfx)tst-initorder2.out): Remove rule.
16754 [$(run-built-tests) = yes] (tests): Depend on
16755 $(objpfx)tst-initorder2-cmp.out.
16756 ($(objpfx)tst-initorder2-cmp.out): New rule.
16757 [$(run-built-tests) = yes] (tests): Depend on
16758 $(objpfx)tst-unused-dep-cmp.out.
16759 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16760 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16761 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16762 on $(objpfx)tst-setvbuf1-cmp.out.
16763 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16764 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16765 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16766 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16767 ($(objpfx)tst-svc.out): Remove rule.
16768 ($(objpfx)tst-svc-cmp.out): New rule.
16769
ed9a38e2
JM
167702014-02-13 Joseph Myers <joseph@codesourcery.com>
16771
16772 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16773 * ctype/ctype.h [__USE_MISC]: Likewise.
16774 * dirent/dirent.h [__USE_MISC]: Likewise.
16775 * grp/grp.h [__USE_MISC]: Likewise.
16776 * io/fcntl.h [__USE_MISC]: Likewise.
16777 * io/sys/stat.h [__USE_MISC]: Likewise.
16778 * libio/stdio.h [__USE_MISC]: Likewise.
16779 * posix/unistd.h [__USE_MISC]: Likewise.
16780 * pwd/pwd.h [__USE_MISC]: Likewise.
16781 * stdlib.h [__USE_MISC]: Likewise.
16782 * string/bits/string2.h [__USE_MISC]: Likewise.
16783 * string/string.h [__USE_MISC]: Likewise.
16784 * time/time.h [__USE_MISC]: Likewise.
16785
d6680619
AS
167862014-02-13 Andreas Schwab <schwab@suse.de>
16787
16788 [BZ #16574]
16789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16790 second answer buffer if it was separately allocated.
16791
ace614b8
JM
167922014-02-12 Joseph Myers <joseph@codesourcery.com>
16793
743151ae
JM
16794 * sysdeps/mips/math-tests.h: Include <features.h>.
16795 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16796 (ROUNDING_TESTS_long_double): Do not define.
16797 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16798 (EXCEPTION_TESTS_long_double): Likewise.
16799 * sysdeps/mips/mips64/libm-test-ulps: Update.
16800
498afc54
JM
16801 * include/features.h (__USE_BSD): Remove macro definitions.
16802 (__USE_SVID): Likewise.
16803 (_BSD_SOURCE): Likewise.
16804 (_SVID_SOURCE): Likewise.
16805 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16806 from definition of _DEFAULT_SOURCE.
16807 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16808 [_DEFAULT_SOURCE].
16809 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16810 * bits/mman.h [__USE_BSD]: Likewise.
16811 * bits/termios.h [__USE_BSD]: Likewise.
16812 * bits/waitstatus.h [__USE_BSD]: Likewise.
16813 * ctype/ctype.h [__USE_SVID]: Likewise.
16814 * dirent/dirent.h [__USE_BSD]: Likewise.
16815 * grp/grp.h [__USE_SVID]: Likewise.
16816 [__USE_BSD]: Likewise.
16817 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16818 * io/fcntl.h [__USE_BSD]: Likewise.
16819 * io/ftw.h [__USE_BSD]: Likewise.
16820 * io/sys/stat.h [__USE_BSD]: Likewise.
16821 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16822 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16823 * libio/stdio.h [__USE_SVID]: Likewise.
16824 [__USE_BSD]: Likewise.
16825 * math/math.h [__USE_SVID]: Likewise.
16826 [__USE_BSD]: Likewise.
16827 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16828 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16829 * misc/search.h [__USE_SVID]: Likewise.
16830 * misc/sys/mman.h [__USE_BSD]: Likewise.
16831 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16832 * misc/sys/uio.h [__USE_BSD]: Likewise.
16833 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16834 * posix/glob.h [__USE_BSD]: Likewise.
16835 * posix/regex.h [__USE_BSD]: Likewise.
16836 * posix/sys/types.h [__USE_BSD]: Likewise.
16837 [__USE_SVID]: Likewise.
16838 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16839 * posix/sys/wait.h [__USE_BSD]: Likewise.
16840 [__USE_SVID]: Likewise.
16841 * posix/unistd.h [__USE_BSD]: Likewise.
16842 [__USE_SVID]: Likewise.
16843 * pwd/pwd.h [__USE_SVID]: Likewise.
16844 * resolv/netdb.h [__USE_BSD]: Likewise.
16845 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16846 * signal/signal.h [__USE_BSD]: Likewise.
16847 [__USE_SVID]: Likewise.
16848 * socket/sys/socket.h [__USE_BSD]: Likewise.
16849 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16850 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16851 [__USE_SVID]: Likewise.
16852 * string/bits/string2.h [__USE_BSD]: Likewise.
16853 [__USE_SVID]: Likewise.
16854 * string/bits/string3.h [__USE_BSD]: Likewise.
16855 * string/endian.h [__USE_BSD]: Likewise.
16856 * string/string.h [__USE_SVID]: Likewise.
16857 [__USE_BSD]: Likewise.
16858 * string/strings.h [__USE_BSD]: Likewise.
16859 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16860 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16861 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16862 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16863 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16864 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16865 Likewise.
16866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16867 Likewise.
16868 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16869 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16870 Likewise.
16871 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16872 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16873 Likewise.
16874 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16875 Likewise.
16876 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16877 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16878 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16879 Likewise.
16880 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16881 Likewise.
16882 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16883 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16884 * termios/termios.h [__USE_BSD]: Likewise.
16885 * time/sys/time.h [__USE_BSD]: Likewise.
16886 * time/time.h [__USE_BSD]: Likewise.
16887 [__USE_SVID]: Likewise.
16888
dd7b064c
JM
16889 * Makefile (subdir_targets): Remove subdir_lint.out.
16890
a2c4c199
JM
16891 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16892 (do-tst-printf): Likewise.
16893 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16894 $(objpfx)tst-printf.out.
16895
8756f740
JM
16896 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16897
1b6dd3f1
JM
16898 * Makerules (check-abi-%): Change target to
16899 $(objpfx)check-abi-%.out.
16900 (check-abi target): Update dependencies.
16901 (check-abi-pattern variable): Redirect output of diff to $@.
16902 (check-abi variable): Likewise.
16903 * elf/Makefile (check-abi): Update dependencies.
16904
ace614b8
JM
16905 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16906 unused.
16907 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16908 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16909 subnormal range.
16910 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16911 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16912 value has largest subnormal exponent.
16913 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16914 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16915 * sysdeps/aarch64/soft-fp/sfp-machine.h
16916 (_FP_TININESS_AFTER_ROUNDING): New macro.
16917 * sysdeps/alpha/soft-fp/sfp-machine.h
16918 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16919 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16920 Likewise.
16921 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16922 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16923 * sysdeps/mips/soft-fp/sfp-machine.h
16924 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16925 * sysdeps/powerpc/soft-fp/sfp-machine.h
16926 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16927 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16928 Likewise.
16929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16933 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16934 Likewise.
16935
fbfdf9cb
DAS
169362014-02-12 Dylan Alex Simon <dylan@dylex.net>
16937
16938 [BZ #16545]
16939 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16940 model 1.
16941
68b7efaa
RH
169422014-02-12 Richard Henderson <rth@redhat.com>
16943
c70a4b1d 16944 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16945 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16946 * sysdeps/unix/sysv/linux/alpha: Move directory from
16947 ports/sysdeps/unix/sysv/linux/alpha.
16948 * README: Update listing for alpha-*-linux-gnu.
16949
cb4a2928
JM
169502014-02-11 Joseph Myers <joseph@codesourcery.com>
16951
c941736c
JM
16952 * include/features.h: Update comment documenting feature test
16953 macros.
16954 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16955 _DEFAULT_SOURCE.
16956 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16957 (_SVID_SOURCE): Likewise.
16958 (_DEFAULT_SOURCE): Update description of default features.
16959 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16960 with _GNU_SOURCE.
16961 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16962 (S_ISVTX): Likewise.
16963 * manual/math.texi (Mathematical Constants): Likewise.
16964 * manual/signal.texi (Interrupted Primitives): Likewise.
16965 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16966 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16967 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16968 Don't refer to _SVID_SOURCE in warning text.
16969
e8d8d7ec
JM
16970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16971
cb4a2928
JM
16972 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16973 already defined.
16974 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16975 * sysdeps/mips/dl-lookup.c: Remove.
16976 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16977
7e6424e3
AK
169782014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16979
16980 [BZ #16447]
16981 * math/auto-libm-test-in: Add testcase for expl.
16982 * math/auto-libm-test-out: Regenerate.
16983 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16984 calculation of unsafe.
16985 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16986
75eff3fe
MS
169872014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16988
16989 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16990 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16991 ports/sysdeps/unix/sysv/linux/aarch64.
16992 * README: Update listing for aarch64*-*-linux-gnu.
16993
d35f1e80
WN
169942014-02-11 Will Newton <will.newton@linaro.org>
16995
16996 * manual/probes.texi (Mathematical Function Probes): Use
16997 "triggered" instead of "hit".
16998
7b3436d4
WN
16999 * manual/probes.texi (Internal Probes): Add documentation
17000 of setjmp, longjmp and longjmp_target probes.
17001
b4f12ca3
WN
17002 * include/stap-probe.h: Add comment about probe argument
17003 format.
17004
c13a72b7
WN
17005 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17006 definition. (tr_where, tr_freehook, tr_mallochook,
17007 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17008
195b8165
DM
170092014-02-11 David S. Miller <davem@davemloft.net>
17010
17011 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17012 processing int_tests.
17013
2ad7600b
JM
170142014-02-10 Joseph Myers <joseph@codesourcery.com>
17015
17016 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17017 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17018 * sysdeps/unix/sysv/linux/mips: Move directory from
17019 ports/sysdeps/unix/sysv/linux/mips.
17020 * README: Update listing for mips-*-linux-gnu and
17021 mips64-*-linux-gnu.
17022
73588a72
AS
170232014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17024
17025 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17026 * sysdeps/unix/sysv/linux/m68k: Move directory from
17027 ports/sysdeps/unix/sysv/linux/m68k.
17028 * README: Update listing for m68k-*-linux-gnu.
17029
4372980f
CM
170302014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17031
17032 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17033 * sysdeps/unix/sysv/linux/generic: Move directory from
17034 ports/sysdeps/unix/sysv/linux/generic.
17035 * sysdeps/unix/sysv/linux/tile: Move directory from
17036 ports/sysdeps/unix/sysv/linux/tile.
17037 * README: Update listing for tile*-*-linux-gnu.
17038
a1ffb40e
OB
170392014-02-10 Ondřej Bílka <neleai@seznam.cz>
17040
57f41c40
AS
17041 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17042 __builtin_expect.
a1ffb40e
OB
17043 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17044 * catgets/open_catalog.c (__open_catalog): Likewise.
17045 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17046 * debug/confstr_chk.c: Likewise.
17047 * debug/fread_chk.c (__fread_chk): Likewise.
17048 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17049 * debug/getgroups_chk.c: Likewise.
17050 * debug/mbsnrtowcs_chk.c: Likewise.
17051 * debug/mbsrtowcs_chk.c: Likewise.
17052 * debug/mbstowcs_chk.c: Likewise.
17053 * debug/memcpy_chk.c: Likewise.
17054 * debug/memmove_chk.c: Likewise.
17055 * debug/mempcpy_chk.c: Likewise.
17056 * debug/memset_chk.c: Likewise.
17057 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17058 * debug/strcat_chk.c (__strcat_chk): Likewise.
17059 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17060 * debug/strncat_chk.c (__strncat_chk): Likewise.
17061 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17062 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17063 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17064 * debug/wcpncpy_chk.c: Likewise.
17065 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17066 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17067 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17068 * debug/wcsncpy_chk.c: Likewise.
17069 * debug/wcsnrtombs_chk.c: Likewise.
17070 * debug/wcsrtombs_chk.c: Likewise.
17071 * debug/wcstombs_chk.c: Likewise.
17072 * debug/wmemcpy_chk.c: Likewise.
17073 * debug/wmemmove_chk.c: Likewise.
17074 * debug/wmempcpy_chk.c: Likewise.
17075 * debug/wmemset_chk.c: Likewise.
17076 * dirent/scandirat.c (SCANDIRAT): Likewise.
17077 * dlfcn/dladdr1.c (dladdr1): Likewise.
17078 * dlfcn/dladdr.c (dladdr): Likewise.
17079 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17080 * dlfcn/dlerror.c (__dlerror): Likewise.
17081 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17082 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17083 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17084 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17085 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17086 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17087 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17088 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17089 Likewise.
17090 * elf/dl-conflict.c: Likewise.
17091 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17092 * elf/dl-dst.h: Likewise.
17093 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17094 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17095 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17096 * elf/dl-init.c (call_init, _dl_init): Likewise.
17097 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17098 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17099 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17100 Likewise.
a1ffb40e
OB
17101 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17102 Likewise.
17103 * elf/dl-minimal.c (__libc_memalign): Likewise.
17104 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17105 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17106 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17107 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17108 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17109 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17110 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17111 * elf/dl-writev.h (_dl_writev): Likewise.
17112 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17113 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17114 (dl_main): Likewise.
a1ffb40e
OB
17115 * elf/setup-vdso.h (setup_vdso): Likewise.
17116 * grp/compat-initgroups.c (compat_call): Likewise.
17117 * grp/fgetgrent.c (fgetgrent): Likewise.
17118 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17119 * grp/putgrent.c (putgrent): Likewise.
17120 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17121 Likewise.
17122 * hurd/hurdinit.c: Likewise.
17123 * iconvdata/8bit-gap.c (struct): Likewise.
17124 * iconvdata/ansi_x3.110.c : Likewise.
17125 * iconvdata/big5.c : Likewise.
17126 * iconvdata/big5hkscs.c : Likewise.
17127 * iconvdata/cp1255.c: Likewise.
17128 * iconvdata/cp1258.c : Likewise.
17129 * iconvdata/cp932.c : Likewise.
17130 * iconvdata/euc-cn.c: Likewise.
17131 * iconvdata/euc-jisx0213.c : Likewise.
17132 * iconvdata/euc-jp.c: Likewise.
17133 * iconvdata/euc-jp-ms.c : Likewise.
17134 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17135 * iconvdata/gb18030.c : Likewise.
17136 * iconvdata/gbbig5.c (const): Likewise.
17137 * iconvdata/gbgbk.c: Likewise.
17138 * iconvdata/gbk.c : Likewise.
17139 * iconvdata/ibm1364.c : Likewise.
17140 * iconvdata/ibm930.c : Likewise.
17141 * iconvdata/ibm932.c: Likewise.
17142 * iconvdata/ibm933.c : Likewise.
17143 * iconvdata/ibm935.c : Likewise.
17144 * iconvdata/ibm937.c : Likewise.
17145 * iconvdata/ibm939.c : Likewise.
17146 * iconvdata/ibm943.c: Likewise.
17147 * iconvdata/iso_11548-1.c: Likewise.
17148 * iconvdata/iso-2022-cn.c : Likewise.
17149 * iconvdata/iso-2022-cn-ext.c : Likewise.
17150 * iconvdata/iso-2022-jp-3.c: Likewise.
17151 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17152 * iconvdata/iso-2022-kr.c : Likewise.
17153 * iconvdata/iso646.c (gconv_end): Likewise.
17154 * iconvdata/iso_6937-2.c : Likewise.
17155 * iconvdata/iso_6937.c : Likewise.
17156 * iconvdata/iso8859-1.c: Likewise.
17157 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17158 * iconvdata/shift_jisx0213.c : Likewise.
17159 * iconvdata/sjis.c : Likewise.
17160 * iconvdata/t.61.c : Likewise.
17161 * iconvdata/tcvn5712-1.c : Likewise.
17162 * iconvdata/tscii.c: Likewise.
17163 * iconvdata/uhc.c : Likewise.
17164 * iconvdata/unicode.c (gconv_end): Likewise.
17165 * iconvdata/utf-16.c (gconv_end): Likewise.
17166 * iconvdata/utf-32.c (gconv_end): Likewise.
17167 * iconvdata/utf-7.c (base64): Likewise.
17168 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17169 * iconv/gconv_close.c (__gconv_close): Likewise.
17170 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17171 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17172 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17173 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17174 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17175 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17176 * iconv/iconv.c (iconv): Likewise.
17177 * iconv/iconv_close.c: Likewise.
17178 * iconv/loop.c (SINGLE): Likewise.
17179 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17180 * include/atomic.h: Likewise.
17181 * inet/inet6_option.c (option_alloc): Likewise.
17182 * intl/bindtextdom.c (set_binding_values): Likewise.
17183 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17184 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17185 * intl/localealias.c (read_alias_file): Likewise.
17186 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17187 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17188 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17189 * libio/fmemopen.c (fmemopen): Likewise.
17190 * libio/iofgets.c (_IO_fgets): Likewise.
17191 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17192 * libio/iofgetws.c (fgetws): Likewise.
17193 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17194 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17195 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17196 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17197 * locale/findlocale.c (_nl_find_locale): Likewise.
17198 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17199 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17200 Likewise.
17201 * locale/setlocale.c (setlocale): Likewise.
17202 * login/programs/pt_chown.c (main): Likewise.
17203 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17204 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17205 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17206 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17207 * math/e_exp2l.c: Likewise.
17208 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17209 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17210 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17211 * math/s_catan.c (__catan): Likewise.
17212 * math/s_catanf.c (__catanf): Likewise.
17213 * math/s_catanh.c (__catanh): Likewise.
17214 * math/s_catanhf.c (__catanhf): Likewise.
17215 * math/s_catanhl.c (__catanhl): Likewise.
17216 * math/s_catanl.c (__catanl): Likewise.
17217 * math/s_ccosh.c (__ccosh): Likewise.
17218 * math/s_ccoshf.c (__ccoshf): Likewise.
17219 * math/s_ccoshl.c (__ccoshl): Likewise.
17220 * math/s_cexp.c (__cexp): Likewise.
17221 * math/s_cexpf.c (__cexpf): Likewise.
17222 * math/s_cexpl.c (__cexpl): Likewise.
17223 * math/s_clog10.c (__clog10): Likewise.
17224 * math/s_clog10f.c (__clog10f): Likewise.
17225 * math/s_clog10l.c (__clog10l): Likewise.
17226 * math/s_clog.c (__clog): Likewise.
17227 * math/s_clogf.c (__clogf): Likewise.
17228 * math/s_clogl.c (__clogl): Likewise.
17229 * math/s_csin.c (__csin): Likewise.
17230 * math/s_csinf.c (__csinf): Likewise.
17231 * math/s_csinh.c (__csinh): Likewise.
17232 * math/s_csinhf.c (__csinhf): Likewise.
17233 * math/s_csinhl.c (__csinhl): Likewise.
17234 * math/s_csinl.c (__csinl): Likewise.
17235 * math/s_csqrt.c (__csqrt): Likewise.
17236 * math/s_csqrtf.c (__csqrtf): Likewise.
17237 * math/s_csqrtl.c (__csqrtl): Likewise.
17238 * math/s_ctan.c (__ctan): Likewise.
17239 * math/s_ctanf.c (__ctanf): Likewise.
17240 * math/s_ctanh.c (__ctanh): Likewise.
17241 * math/s_ctanhf.c (__ctanhf): Likewise.
17242 * math/s_ctanhl.c (__ctanhl): Likewise.
17243 * math/s_ctanl.c (__ctanl): Likewise.
17244 * math/w_pow.c: Likewise.
17245 * math/w_powf.c: Likewise.
17246 * math/w_powl.c: Likewise.
17247 * math/w_scalb.c (sysv_scalb): Likewise.
17248 * math/w_scalbf.c (sysv_scalbf): Likewise.
17249 * math/w_scalbl.c (sysv_scalbl): Likewise.
17250 * misc/error.c (error_tail): Likewise.
17251 * misc/pselect.c (__pselect): Likewise.
17252 * nis/nis_callback.c (__nis_create_callback): Likewise.
17253 * nis/nis_call.c (__nisfind_server): Likewise.
17254 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17255 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17256 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17257 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17258 * nis/nis_lookup.c (nis_lookup): Likewise.
17259 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17260 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17261 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17262 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17263 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17264 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17265 * nis/nss_compat/compat-initgroups.c (add_group)
17266 (internal_getgrent_r): Likewise.
17267 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17268 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17269 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17270 (internal_getspnam_r): Likewise.
17271 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17272 (_nss_nis_getaliasbyname_r): Likewise.
17273 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17274 (_nss_nis_getntohost_r): Likewise.
17275 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17276 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17277 (_nss_nis_getgrgid_r): Likewise.
17278 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17279 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17280 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17281 (_nss_nis_gethostbyname4_r): Likewise.
17282 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17283 (initgroups_netid): Likewise.
a1ffb40e 17284 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17285 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17286 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17287 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17288 (_nss_nis_getprotobynumber_r): Likewise.
17289 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17290 (_nss_nis_getsecretkey): Likewise.
17291 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17292 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17293 (_nss_nis_getpwuid_r): Likewise.
17294 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17295 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17296 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17297 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17298 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17299 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17300 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17301 Likewise.
57f41c40
AS
17302 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17303 (_nss_nisplus_getntohost_r): Likewise.
17304 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17305 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17306 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17307 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17308 Likewise.
57f41c40
AS
17309 * nis/nss_nisplus/nisplus-initgroups.c
17310 (_nss_nisplus_initgroups_dyn): Likewise.
17311 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17312 (_nss_nisplus_getnetbyaddr_r): Likewise.
17313 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17314 (_nss_nisplus_getprotobynumber_r): Likewise.
17315 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17316 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17317 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17318 Likewise.
57f41c40
AS
17319 * nis/nss_nisplus/nisplus-service.c
17320 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17321 (_nss_nisplus_getservbyport_r): Likewise.
17322 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17323 (_nss_nisplus_getspnam_r): Likewise.
17324 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17325 Likewise.
a1ffb40e
OB
17326 * nscd/aicache.c (addhstaiX): Likewise.
17327 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17328 * nscd/connections.c (register_traced_file, send_ro_fd)
17329 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17330 (main_loop_epoll): Likewise.
a1ffb40e
OB
17331 * nscd/grpcache.c (addgrbyX): Likewise.
17332 * nscd/hstcache.c (addhstbyX): Likewise.
17333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17334 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17335 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17336 (addinnetgrX): Likewise.
17337 * nscd/nscd-client.h (__nscd_acquire_maplock)
17338 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17339 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17340 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17342 Likewise.
17343 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17345 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17346 (__nscd_get_map_ref): Likewise.
a1ffb40e 17347 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17348 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17349 Likewise.
a1ffb40e
OB
17350 * nscd/pwdcache.c (addpwbyX): Likewise.
17351 * nscd/selinux.c (preserve_capabilities): Likewise.
17352 * nscd/servicescache.c (addservbyX): Likewise.
17353 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17354 * posix/fnmatch.c (fnmatch): Likewise.
17355 * posix/getopt.c (_getopt_internal_r): Likewise.
17356 * posix/glob.c (glob, glob_in_dir): Likewise.
17357 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17358 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17359 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17360 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17361 * resolv/res_init.c: Likewise.
17362 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17363 * resolv/res_query.c (__libc_res_nquery): Likewise.
17364 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17365 Likewise.
17366 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17367 * stdio-common/perror.c (perror): Likewise.
17368 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17369 * stdio-common/tmpnam.c (tmpnam): Likewise.
17370 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17371 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17372 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17373 Likewise.
a1ffb40e
OB
17374 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17375 * stdlib/putenv.c (putenv): Likewise.
17376 * stdlib/setenv.c (__add_to_environ): Likewise.
17377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17378 * stdlib/strtol_l.c (INTERNAL): Likewise.
17379 * string/memmem.c (memmem): Likewise.
17380 * string/strerror.c (strerror): Likewise.
17381 * string/strnlen.c (__strnlen): Likewise.
17382 * string/test-memmem.c (simple_memmem): Likewise.
17383 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17384 * sunrpc/pm_getport.c (__get_socket): Likewise.
17385 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17386 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17387 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17388 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17389 Likewise.
17390 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17391 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17392 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17393 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17395 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17396 Likewise.
17397 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17398 Likewise.
a1ffb40e
OB
17399 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17400 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17402 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17403 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17405 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17406 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17407 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17408 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17409 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17410 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17411 Likewise.
17412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17413 Likewise.
17414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17415 Likewise.
17416 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17417 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17419 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17420 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17421 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17422 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17423 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17425 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17426 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17428 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17429 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17430 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17432 Likewise.
a1ffb40e
OB
17433 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17434 Likewise.
17435 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17436 Likewise.
17437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17438 Likewise.
17439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17441 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17442 Likewise.
17443 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17444 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17445 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17446 * sysdeps/posix/sleep.c: Likewise.
17447 * sysdeps/posix/tempname.c: Likewise.
17448 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17449 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17450 Likewise.
57f41c40
AS
17451 * sysdeps/powerpc/powerpc32/dl-machine.h
17452 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17453 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17455 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17456 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17457 Likewise.
17458 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17460 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17462 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17463 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17464 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17465 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17466 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17467 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17469 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17470 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17472 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17473 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17474 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17475 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17476 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17477 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17478 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17479 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17480 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17481 Likewise.
17482 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17483 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17484 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17485 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17486 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17487 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17488 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17489 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17490 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17491 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17492 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17493 Likewise.
17494 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17495 (__posix_fallocate64_l64): Likewise.
17496 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17497 (posix_fallocate): Likewise.
57f41c40
AS
17498 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17499 Likewise.
a1ffb40e 17500 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17501 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17502 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17503 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17504 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17505 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17506 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17507 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17508 (__posix_fallocate64_l64): Likewise.
17509 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17510 Likewise.
17511 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17512 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17513 (__get_clockfreq): Likewise.
a1ffb40e
OB
17514 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17515 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17516 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17517 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17519 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17520 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17521 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17522 Likewise.
17523 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17524 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17525 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17526 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17527 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17528 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17529 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17530 Likewise.
17531 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17532 (posix_fallocate): Likewise.
17533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17534 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17535 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17536 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17537 (elf_machine_rela, elf_machine_rela_relative)
17538 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17539 * time/asctime.c (asctime_internal): Likewise.
17540 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17541 * time/tzset.c (__tzset_parse_tz): Likewise.
17542 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17543 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17544 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17545 * wcsmbs/wcsmbsload.h: Likewise.
17546
f3d338c9
OB
17547 [BZ #15894]
17548 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17549
57f41c40
AS
17550 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17551 (arena_get2): Remove THREAD_STATS conditionals.
17552 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17553 (__malloc_stats, int): Likewise.
bdfe308a 17554
d674667c
MF
175552014-02-08 Mike Frysinger <vapier@gentoo.org>
17556
17557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17558 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17559
6349768c
MF
17560 * manual/setjmp.texi: Fix typos/grammar errors.
17561
0b7c7473
MF
17562 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17563 Only return early when n is <= 0. Delete unused return statement.
17564
ac8cc9e3
MF
17565 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17566 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17567 * debug/tst-longjmp_chk3.c: New file.
17568
c5bb8e23
MF
17569 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17570 (test_main): Replace code with set_fortify_handler call.
17571 * debug/test-strcpy_chk.c: Likewise.
17572 * debug/tst-chk1.c: Likewise.
17573 * debug/tst-longjmp_chk.c: Likewise.
17574 * test-skeleton.c: Include fcntl.h & paths.h
17575 (set_fortify_handler): Define.
17576
10444e42
MF
17577 * debug/tst-longjmp_chk.c: Add header comment and include
17578 ../test-skeleton.c.
17579 (do_test): Mark static.
17580 (TEST_FUNCTION): Define.
17581
1e805e8d
MF
17582 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17583 (IP_PMTUDISC_INTERFACE): Likewise.
17584 (IP_MULTICAST_IF): Likewise.
17585 (IP_MULTICAST_TTL): Likewise.
17586 (IP_MULTICAST_LOOP): Likewise.
17587 (IP_ADD_MEMBERSHIP): Likewise.
17588 (IP_DROP_MEMBERSHIP): Likewise.
17589 (IP_UNBLOCK_SOURCE): Likewise.
17590 (IP_BLOCK_SOURCE): Likewise.
17591 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17592 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17593 (IP_MSFILTER): Likewise.
17594 (MCAST_JOIN_GROUP): Likewise.
17595 (MCAST_BLOCK_SOURCE): Likewise.
17596 (MCAST_UNBLOCK_SOURCE): Likewise.
17597 (MCAST_LEAVE_GROUP): Likewise.
17598 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17599 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17600 (MCAST_MSFILTER): Likewise.
17601 (IP_MULTICAST_ALL): Likewise.
17602 (IP_UNICAST_IF): Likewise.
17603
73f79bb7
MF
17604 * timezone/Makefile: Delete $(have-ksh) check.
17605 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17606 * timezone/tzselect.ksh: Add +x mode bits.
17607
8da79b60
MF
17608 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17609 (ANON_INODE_FS_MAGIC): Likewise.
17610 (BDEVFS_MAGIC): Likewise.
17611 (BINFMTFS_MAGIC): Likewise.
17612 (BTRFS_TEST_MAGIC): Likewise.
17613 (CRAMFS_MAGIC_WEND): Likewise.
17614 (DEBUGFS_MAGIC): Likewise.
17615 (ECRYPTFS_SUPER_MAGIC): Likewise.
17616 (EXT3_SUPER_MAGIC): Likewise.
17617 (EXT4_SUPER_MAGIC): Likewise.
17618 (FUTEXFS_SUPER_MAGIC): Likewise.
17619 (HOSTFS_SUPER_MAGIC): Likewise.
17620 (HUGETLBFS_MAGIC): Likewise.
17621 (MINIX3_SUPER_MAGIC): Likewise.
17622 (MTD_INODE_FS_MAGIC): Likewise.
17623 (NILFS_SUPER_MAGIC): Likewise.
17624 (OPENPROM_SUPER_MAGIC): Likewise.
17625 (PIPEFS_MAGIC): Likewise.
17626 (PSTOREFS_MAGIC): Likewise.
17627 (QNX6_SUPER_MAGIC): Likewise.
17628 (RAMFS_MAGIC): Likewise.
17629 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17630 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17631 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17632 (SECURITYFS_MAGIC): Likewise.
17633 (SELINUX_MAGIC): Likewise.
17634 (SMACK_MAGIC): Likewise.
17635 (SOCKFS_MAGIC): Likewise.
17636 (SQUASHFS_MAGIC): Likewise.
17637 (STACK_END_MAGIC): Likewise.
17638 (TMPFS_MAGIC): Likewise.
17639 (USBDEVICE_SUPER_MAGIC): Likewise.
17640 (V9FS_MAGIC): Likewise.
17641 (XENFS_SUPER_MAGIC): Likewise.
17642 (CRAMFS_MAGIC): Fix typo in comment.
17643 (EXT2_SUPER_MAGIC): Update comment.
17644 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17645
464263cc
JM
176462014-02-08 Joseph Myers <joseph@codesourcery.com>
17647
c6bfe5c4
JM
17648 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17649 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17650 * sysdeps/unix/sysv/linux/arm: Move directory from
17651 ports/sysdeps/unix/sysv/linux/arm.
17652 * README: Update listing for arm-*-linux-gnueabi.
17653
464263cc
JM
17654 * README: Remove mention of am33.
17655
32749f6c
RM
176562014-02-07 Roland McGrath <roland@hack.frob.com>
17657
17658 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17659 than the comma operator, to avoid "rhs of comma has no effect"
17660 compiler warnings.
17661 (__sigfillset, __sigandset, __sigorset): Likewise.
17662 * include/signal.h (__sigemptyset): Likewise.
17663 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17664
d5b396c1
AM
176652014-02-07 Allan McRae <allan@archlinux.org>
17666
17667 * version.h (RELEASE): Set to "development".
17668 (VERSION): Set to "2.19.90"
17669 * NEWS: Add 2.20 section.
17670
3bfff2ed
CD
176712014-02-06 Carlos O'Donell <carlos@redhat.com>
17672
17673 [BZ #16529]
17674 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17675
ee7cc385
SP
176762014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17677
17678 * manual/contrib.texi: Update entry for Carlos O'Donell,
17679 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17680
f877c4f2
CD
176812014-02-05 Carlos O'Donell <carlos@rehdat.com>
17682
27e839f6
CD
17683 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17684
f877c4f2
CD
17685 * sysdeps/unix/sysv/linux/kernel-features.h
17686 [__LINUX_KERNEL_VERSION >= 0x020621]
17687 (__ASSUME_PROC_PID_TASK_COMM): Define.
17688
68159946
SP
176892014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17690
ba17cdbd
SP
17691 [BZ #16398]
17692 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17693 conversion when destination buffer does not have enough space.
17694 * libio/tst-ftell-partial-wide.c: New test case.
17695 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17696
68159946
SP
17697 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17698 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17699 Leonard and Allan McRae.
17700
2b528732
DM
177012014-02-04 David S. Miller <davem@davemloft.net>
17702
17703 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17704 32-bit.
17705
0ff82463
AZ
177062014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17707
57f41c40
AS
17708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17709 New file
c01603f7
AZ
17710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17711 New file
57f41c40
AS
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17713 New file.
17714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17715 New file.
c01603f7
AZ
17716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17717 New file.
57f41c40
AS
17718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17719 New file.
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17721 New file.
c01603f7
AZ
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17723 New file.
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17725 New file.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17727 New file.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17729 New file.
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17731 New file.
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17733 New file.
17734
177352014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17736
0ff82463
AZ
17737 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17738 * shlib-versions: Likewise.
17739
1695c773
AZ
177402014-02-04 Roland McGrath <roland@hack.frob.com>
17741 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17742
17743 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17744 (abilist-pattern): New variable, set to %-le.abilist.
17745
17746 * Makerules (abilist-pattern): New variable.
17747 (vpath): Use $(abilist-pattern) in place of %.abilist.
17748 (check-abi-% pattern rule): Likewise.
17749 (check-abi, update-abi): Likewise.
17750
6c0ce4b4
EW
177512014-02-04 Eric Wong <normalperson@yhbt.net>
17752
17753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17754
481e3524
CD
177552014-02-03 Carlos O'Donell <carlos@redhat.com>
17756
17757 * manual/startup.texi: Add next, previous, and top entries for
17758 the `Program Arguments' and `Environment Variables' nodes.
17759
375592d3
AO
177602014-02-03 Alexandre Oliva <aoliva@redhat.com>
17761
17762 * manual/macros.texi: Add comments before MTASC-safety macros.
17763
f54838ba
AO
17764 * manual/users.texi: Document MTASC-safety properties.
17765
57f41c40
AS
17766 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17767 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17768 @deftypefun, and add @safety note.
17769 * manual/signal.texi: Move comments that analyze the above
17770 functions to their home place.
17771
fd3daba4
AM
177722014-02-03 Allan McRae <allan@archlinux.org>
17773
17774 * po/sl.po: Update Slovenian translation from translation project.
17775
597636d7
AO
177762014-02-02 Alexandre Oliva <aoliva@redhat.com>
17777
17778 * manual/time.texi (timegm): Add missing blank after @c.
17779 Reported by Joseph Myers <joseph@codesourcery.com>.
17780
ee196e3c
AO
177812014-02-01 Alexandre Oliva <aoliva@redhat.com>
17782
17783 * manual/check-safety.sh: New.
17784 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17785
f8d529d5
AO
17786 * manual/terminal.texi: Document MTASC-safety properties.
17787
de55fdf4
AO
17788 * manual/filesys.texi: Document MTASC-safety properties.
17789
c3299c08
AO
17790 * manual/errno.texi: Document MTASC-safety properties.
17791
06e90b14
AO
17792 * manual/intro.texi: Document safety identifiers and
17793 conditionals.
17794
1acd4371
AO
17795 * manual/string.texi (wcstok): Fix prototype.
17796 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17797
23e5b8cb
AO
17798 * manual/time.texi: Document MTASC-safety properties.
17799
11087373
AO
17800 * manual/string.texi: Document MTASC-safety properties.
17801
5da2c93d
AO
17802 * manual/threads.texi: Document MTASC-safety properties.
17803
171e9210
AO
17804 * manual/stdio.texi: Document MTASC-safety properties.
17805
d9e02532
AO
17806 * manual/syslog.texi: Document MTASC-safety properties.
17807
6af8bab7
AO
17808 * manual/sysinfo.texi: Document MTASC-safety properties.
17809
663b02d7
AO
17810 * manual/startup.texi: Document MTASC-safety properties.
17811
973f180b
AO
17812 * manual/socket.texi: Document MTASC-safety properties.
17813
8f3c25c8
AO
17814 * manual/signal.texi: Document MTASC-safety properties.
17815
542210fb
AO
178162014-01-31 Alexandre Oliva <aoliva@redhat.com>
17817
17818 * manual/setjmp.texi: Document MTASC-safety properties.
17819
433c45a2
AO
17820 * manual/search.texi: Document MTASC-safety properties.
17821
c8ce789c
AO
17822 * manual/resource.texi: Document MTASC-safety properties.
17823
19f5d29c
AO
17824 * manual/process.texi: Document MTASC-safety properties.
17825
e2dfb7f4
AO
17826 * manual/platform.texi: Document MTASC-safety properties.
17827
8c1413f5
AO
17828 * manual/pipe.texi: Document MTASC-safety properties.
17829
03483ada
AO
17830 * manual/pattern.texi: Document MTASC-safety properties.
17831
29e7e2df
AO
17832 * manual/message.texi: Document MTASC-safety properties.
17833
9f529d7c
AO
17834 [BZ #12751]
17835 * manual/memory.texi: Document MTASC-safety properties.
17836
27aaa791
AO
17837 * manual/math.texi: Document MTASC-safety properties.
17838
f2d58726
AO
17839 * manual/locale.texi: Document MTASC-safety properties.
17840
2cc3615c
AO
17841 * manual/llio.texi: Document MTASC-safety properties.
17842
d9f0ec97
AO
17843 * manual/libdl.texi: New.
17844
e7c4409a
AO
17845 * manual/lang.texi: Document MTASC-safety properties.
17846
27bdc63c
AO
17847 * manual/job.texi: Document MTASC-safety properties.
17848
a7b90ea9
AO
17849 * manual/getopt.texi: Document MTASC-safety properties.
17850
c49130e3
AO
17851 * manual/ctype.texi: Document MTASC-safety properties.
17852
0d23a5c1
MR
178532014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17854
17855 [BZ #16046]
17856 * csu/libc-tls.c (static_map): Remove variable.
17857 (__libc_setup_tls): Use main executable's link map for TLS data.
17858 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17859 casing for LM_ID_BASE and GL(dl_nns).
17860 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17861 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17862 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17863 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17864 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17865 member.
17866 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17867 l_phnum members.
17868
0037bb60
AO
178692014-01-30 Alexandre Oliva <aoliva@redhat.com>
17870
17871 * manual/debug.texi: Document MTASC-safety properties.
17872
409e00bd
L
178732014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17874
17875 [BZ #16510]
17876 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17877 of __x86_64__ when disabling x87 inline functions.
17878
86e60666
AO
178792014-01-29 Alexandre Oliva <aoliva@redhat.com>
17880
17881 * manual/charset.texi: Document MTASC-safety properties.
17882
76167637
AO
17883 * manual/crypt.texi: Document MTASC-safety properties.
17884
e567f2a0
AO
17885 * manual/conf.texi: Document MTASC-safety properties.
17886
b719dafd
AO
17887 * manual/arith.texi: Document MTASC-safety properties.
17888
4a16c662
AO
17889 * manual/argp.texi: Document MTASC-safety properties.
17890
0a57b83e
AO
17891 * manual/macros.texi: Introduce macros to document multi
17892 thread, asynchronous signal and asynchronous cancellation
17893 safety properties.
17894 * manual/intro.texi: Introduce the properties themselves.
17895
feab2397
KK
178962014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17897
17898 * sysdeps/sh/sh4/Makefile: New file.
17899
1c0d11bc
AS
179002014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17901
17902 * math/gen-libm-test.pl ($srcdir): New variable.
17903 ($auto_input): Use it.
17904
af37a8a3
SP
179052014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17906
d7b00f98
SP
17907 [BZ #16506]
17908 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17909 access beyond array bounds when parsing netgroups file.
17910
af37a8a3
SP
17911 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17912 the old buffer before realloc.
17913
0c00f062
AM
179142014-01-27 Allan McRae <allan@archlinux.org>
17915
17916 * po/fr.po: Update French translation from translation project.
17917
7d69a1b0
KK
179182014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17919
17920 * sysdeps/sh/libm-test-ulps: Regenerate.
17921
6e697ff7
DM
179222014-01-24 David S. Miller <davem@davemloft.net>
17923
17924 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17925
9cadb35c
KK
179262014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17927
17928 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17929 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17930
5d41dadf
SP
179312013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17932
17933 [BZ #16474]
17934 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17935 string pointers after reallocation.
17936
0bad441c
KK
179372014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17938
17939 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17940 __SH4A__ instead of __SH_FPU_ANY__.
17941
7007c661
KK
179422014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17943
17944 * sysdeps/sh/fpu_control.h: New file.
17945 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17946 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17947 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17948 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17949 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17950 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17951 * sysdeps/sh/sys/ucontext.h: Remove.
17952 * sysdeps/sh/sys: Remove directory.
17953
0f0c35e4
AK
179542014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17955
17956 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17957 s390/sys/ucontext.h.
17958 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17959 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17960
4959e284
L
179612014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17962
17963 [BZ #15605]
17964 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17965
d98720e0
AZ
179662014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17967
17968 [BZ#16431]
17969 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17970 Adjust the vDSO correctly for internal calls.
17971 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17972
91cbd0bc
AM
179732014-01-20 Allan McRae <allan@archlinux.org>
17974
17975 * po/ca.po: Update Catalan translation from translation project.
17976
7a02cfad
MF
179772014-01-16 Mike Frysinger <vapier@gentoo.org>
17978
17979 * sysdeps/s390/sotruss-lib.c: New file.
17980
736c304a
AZ
179812014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17982
17983 [BZ#16430]
6e077ee5 17984 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17985 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17986 local calls issues by not having a PLT stub required for IFUNC calls.
17987 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17988
94d0cea0
JM
179892014-01-16 Joseph Myers <joseph@codesourcery.com>
17990
17991 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17992 * math/test-fpucw-static.c: Likewise.
17993
980cb518
SP
179942013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17995
17996 [BZ #16453]
17997 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17998
2393fc01
AZ
179992014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18000
18001 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18002 implementation for powerpc.
18003
d359bcc2
OB
180042014-01-15 Ondřej Bílka <neleai@seznam.cz>
18005
18006 [BZ #14782]
18007 * sysdeps/posix/system.c (__libc_system): Do not enable
18008 asynchronous cancellation.
18009
7beb48cb
AK
180102014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18011
18012 [BZ #16427]
18013 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18014 handling only for numbers special also in the IEEE case.
18015
c20d5bf5
AK
180162014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18017
18018 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18019
e83bd4ee
AM
180202014-01-11 Allan McRae <allan@archlinux.org>
18021
76d0ea69
AM
18022 * po/bg.po: Update Bulgarian translation from translation project.
18023
e83bd4ee
AM
18024 * po/de.po: Update German translation from translation project.
18025
bc2ba20a
RM
180262014-01-10 Roland McGrath <roland@hack.frob.com>
18027
18028 * sysdeps/generic/gcc-compat.h: New file.
18029
649ecea2
SP
180302014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18031
18032 * benchtests/asin-inputs: Correct slow inputs.
18033 * benchtests/acos-inputs: Likewise.
18034
1b19c006
AM
180352014-01-10 Allan McRae <allan@archlinux.org>
18036
a46dab08
AM
18037 * po:sv.po: Update Swedish translation from translation project.
18038
421df74a
AM
18039 * po/vi.po: Update Vietnamese translation from translation project.
18040
d61c51a7
AM
18041 * po/eo.po: Update Esperanto translation from translation project.
18042
0339a319
AM
18043 * po/cs.po: Update Czech translation from translation project.
18044
94ad3e99
AM
18045 * po/nl.po: Update Dutch translation from translation project.
18046
e349ca71
AM
18047 * po/pl.po: Update Polish translation from translation project.
18048
ddf930c1
AM
18049 * po/ru.po: Update Russian translation from translation project.
18050
1b19c006
AM
18051 * po/uk.po: Update Ukrainian translation from translation project.
18052
9f236c49
BM
180532014-01-08 Brooks Moses <bmoses@google.com>
18054
18055 * elf/dl-load.c: Fix comment typo.
18056
cd6701cf
CD
180572014-01-08 Carlos O'Donell <carlos@redhat.com>
18058
18059 * po/header.pot: Rename to...
18060 * po/pot.header: ... this.
18061 * po/Makefile: Use pot.header.
18062
66671c84
YK
180632014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18064 Maxim Kuvyrkov <maxim@kugelworks.com>
18065
18066 [BZ #16394]
cd6701cf
CD
18067 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18068 SRC and DEST against LEN.
66671c84 18069
38f34581
AZ
180702014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18071
18072 [BZ #16414]
18073 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18074 implementation.
18075 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18076
180772014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18078
18079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18080
4c327f2a
JM
180812014-01-08 Joseph Myers <joseph@codesourcery.com>
18082
18083 [BZ #16408]
18084 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18085 for large positive arguments.
18086
b821f414
JM
180872014-01-07 Joseph Myers <joseph@codesourcery.com>
18088
1f0f2067
JM
18089 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18090
a5a326f6
JM
18091 * math/auto-libm-test-in: Mark various tests with
18092 xfail-rounding:ldbl-128ibm.
18093 * math/auto-libm-test-out: Regenerated.
18094
b821f414
JM
18095 [BZ #16407]
18096 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18097 Increase overflow threshold.
18098
94c8a4bc
OB
180992014-01-07 Ondřej Bílka <neleai@seznam.cz>
18100
18101 [BZ #14286]
18102 * stdio-common/vfprintf.c: Check for integer overflow.
18103
87ded0c3
AK
181042014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18105
18106 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18107 the first argument and return value of __tls_get_addr_internal.
18108
c5eebdd0
AK
181092014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18110
18111 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18112 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18113
05d138ef
AK
181142014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18115
18116 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18117 * sysdeps/s390/rtld-global-offsets.sym: New file.
18118 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18119 GLIBC_2.19 symbol.
18120 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18121 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18122 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18123 ... this.
18124 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18125 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18126 ... this.
18127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18128 Regenerate.
18129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18130 Regenerate.
18131 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18132 halfs of GPRs for high_gprs contexts.
18133 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18134 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18135 field.
18136 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18137 uc_flags field.
18138 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18139 64 bit versions:
18140 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18141 for high GPRs (uc_high_gprs) and for future extensions
18142 (__reserved).
18143 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18144 for future extensions (__reserved).
18145 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18146 64 bit versions:
18147 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18148 SC_HIGHGPRS offset definition.
18149 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18150 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18151
93a45ff1
AK
18152 * Versions.def: Add GLIBC_2.19 for libpthread.
18153 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18154 siglongjmp for libpthread with GLIBC_2.19 symver.
18155 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18156 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18157 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18158 * sysdeps/s390/__longjmp.c: New file.
18159 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18160 * sysdeps/s390/longjmp.c: New file.
18161 * sysdeps/s390/setjmp.S: New file.
18162 * sysdeps/s390/sigjmp.S: New file.
18163 * sysdeps/s390/v1-longjmp.c: New file.
18164 * sysdeps/s390/v1-setjmp.h: New file.
18165 * sysdeps/s390/v1-sigjmp.c: New file.
18166 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18167 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18168 GLIBC_2.19 version.
18169 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18170 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18171 versioned symbols for ____longjmp_chk.
18172 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18173 Likewise.
18174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18175 Regenerate.
18176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18177 Regenerate.
18178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18179 Regenerate.
18180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18181 Regenerate.
18182 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18183 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18184 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18185 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18186 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18187 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18188 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18189 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18190 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18191 * sysdeps/s390/rtld-__longjmp.c: New file.
18192 * sysdeps/s390/rtld-setjmp.S: New file.
18193
eb3fc44b
JM
181942014-01-06 Joseph Myers <joseph@codesourcery.com>
18195
18196 [BZ #16400]
18197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18198 Return -__logl (x) for small positive arguments without evaluating
18199 a polynomial.
18200
9341dde4
MF
182012014-01-06 Mike Frysinger <vapier@gentoo.org>
18202
18203 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18204 Rename to ...
18205 (__ptrace_peeksiginfo_args): ... this.
18206 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18209
4cff0293
AM
182102014-01-06 Allan McRae <allan@archlinux.org>
18211
18212 * inet/netinet/in.h: Fix typo in comment.
18213
75595dcf
AJ
182142014-01-05 Andreas Jaeger <aj@suse.de>
18215
18216 * sysdeps/i386/fpu/libm-test-ulps: Update.
18217
79c1e109
AM
182182014-01-05 Allan McRae <allan@archlinux.org>
18219
dd804818
AM
18220 * po/libc.pot: Regenerated.
18221
79c1e109
AM
18222 * malloc/memusagestat.c: Fix gettext call formatting.
18223
0c813d1f
SK
182242014-01-04 Sami Kerola <kerolasa@iki.fi>
18225
18226 * nscd/nscd.c: Improve usage() output.
18227
20f4a8d9
MF
182282014-01-04 Mike Frysinger <vapier@gentoo.org>
18229
18230 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18231 * sysdeps/unix/sysv/linux/configure: Regenerated.
18232 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18233 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18234
22562bb2
JM
182352014-01-03 Joseph Myers <joseph@codesourcery.com>
18236
18237 [BZ #16390]
18238 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18239 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18240
d7ad2d9b
AZ
182412014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18242
18243 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18244 extra tokens at end of #undef directive.
18245 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18246 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18247 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18248
7dd009d8
JM
182492014-01-03 Joseph Myers <joseph@codesourcery.com>
18250
24db925a
JM
18251 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18252
7dd009d8
JM
18253 * math/auto-libm-test-in: Mark various tests with
18254 xfail-rounding:ldbl-128ibm.
18255 * math/auto-libm-test-out: Regenerated.
18256
396e3ecf
JM
182572014-01-02 Joseph Myers <joseph@codesourcery.com>
18258
819e5d50
JM
18259 [BZ #16386]
18260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18261 numbers with subnormal high part when calculating exponent.
18262
90b6a1e5
JM
18263 [BZ #16385]
18264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18265 fabs.
18266
396e3ecf
JM
18267 [BZ #16384]
18268 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18269 M_LN2l.
18270 (__ieee754_acoshl): Use __log1pl not __log1p.
18271
6c8dbf00
OB
182722013-01-02 Ondřej Bílka <neleai@seznam.cz>
18273
57f41c40
AS
18274 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18275 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18276 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18277 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18278 (reused_arena, arena_get2): Convert to GNU style.
18279 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18280 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18281 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18282 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18283 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18284 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18285 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18286 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18287 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18288 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18289 * malloc/malloc.h: Likewise.
57f41c40
AS
18290 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18291 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18292 * malloc/mcheck.h: Likewise.
57f41c40
AS
18293 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18294 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18295 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18296 * malloc/morecore.c (__default_morecore): Likewise.
18297 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18298 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18299 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18300 (print_and_abort): Likewise.
6c8dbf00
OB
18301 * malloc/obstack.h: Likewise.
18302 * malloc/set-freeres.c (__libc_freeres): Likewise.
18303 * malloc/tst-mallocstate.c (main): Likewise.
18304 * malloc/tst-mtrace.c (main): Likewise.
18305 * malloc/tst-realloc.c (do_test): Likewise.
18306
d4124212
SP
183072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18308
9a3c6a6f
SP
18309 [BZ #16366]
18310 * nscd/netgroupcache.c (do_notfound): New function.
18311 (addgetnetgrentX): Use it.
18312
d4124212
SP
18313 [BZ # 16365]
18314 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18315 NSS_STATUS_NOTFOUND.
18316
97b9a009
JM
183172014-01-01 Joseph Myers <joseph@codesourcery.com>
18318
18319 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18321
d4697bc9
AM
183222014-01-01 Allan McRae <allan@archlinux.org>
18323
ddb3687f
AM
18324 * scripts/update-copyrights: Update configure input file suffix.
18325
88726d48
AM
18326 * NEWS: Update copyright year.
18327 * catgets/gencat.c: Likewise.
18328 * csu/version.c: Likewise.
18329 * debug/catchsegv.sh: Likewise.
18330 * debug/pcprofiledump.c: Likewise.
18331 * debug/xtrace.sh: Likewise.
18332 * elf/ldconfig.c: Likewise.
18333 * elf/ldd.bash.in: Likewise.
18334 * elf/pldd.c: Likewise.
18335 * elf/sotruss.ksh: Likewise.
18336 * elf/sprof.c: Likewise.
18337 * iconv/iconv_prog.c: Likewise.
18338 * iconv/iconvconfig.c: Likewise.
18339 * locale/programs/locale.c: Likewise.
18340 * locale/programs/localedef.c: Likewise.
18341 * login/programs/pt_chown.c: Likewise.
18342 * malloc/memusage.sh: Likewise.
18343 * malloc/memusagestat.c: Likewise.
18344 * malloc/mtrace.pl: Likewise.
18345 * manual/libc.texinfo: Likewise.
18346 * nscd/nscd.c: Likewise.
18347 * nss/getent.c: Likewise.
18348 * nss/makedb.c: Likewise.
18349 * posix/getconf.c: Likewise.
18350 * scripts/test-installation.pl: Likewise.
18351
d4697bc9
AM
18352 * All files with FSF copyright notices: Update copyright dates
18353 using scripts/update-copyrights.
18354 * intl/plural.c: Regenerated.
18355 * locale/programs/charmap-kw.h: Likewise.
18356 * locale/programs/locfile-kw.h: Likewise.
18357
c8590f9d
MF
183582013-12-31 Mike Frysinger <vapier@gentoo.org>
18359
18360 * sysdeps/unix/sysv/linux/configure: Regenerated.
18361 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18362 the linux/fanotify.h header.
18363 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18364 HAVE_LINUX_FANOTIFY_H is defined.
18365
b19221b9
SP
183662013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18367
dd1d85e5
SP
18368 * benchtests/cos-inputs: New inputs.
18369 * benchtests/sin-inputs: Likewise.
18370
1acbb90f
SP
18371 * benchtests/atan-inputs: New inputs. Fix name of multiple
18372 precision fallback inputs.
18373
4c012ed3
SP
18374 * benchtests/atanh-inputs: New inputs.
18375 * benchtests/tanh-inputs: Likewise.
18376
eff98324
SP
18377 * benchtests/acosh-inputs: New inputs.
18378 * benchtests/asinh-inputs: Likewise.
18379
ce641152
SP
18380 * benchtests/cosh-inputs: New inputs.
18381 * benchtests/sinh-inputs: Likewise.
18382
b19221b9
SP
18383 * benchtests/acos-inputs: Add more inputs.
18384 * benchtests/asin-inputs: Likewise.
18385
030a4976 183862013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18387
030a4976 18388 [BZ #16375]
9dcc8f11
VS
18389 * manual/arith.texi: Fix spelling.
18390 * manual/charset.texi: Likewise.
18391 * manual/errno.texi: Likewise.
18392 * manual/filesys.texi: Likewise.
18393 * manual/lang.texi: Likewise.
18394 * manual/llio.texi: Likewise.
18395 * manual/locale.texi: Likewise.
18396 * manual/message.texi: Likewise.
18397 * manual/resource.texi: Likewise.
18398 * manual/search.texi: Likewise.
18399 * manual/setjmp.texi: Likewise.
18400 * manual/stdio.texi: Likewise.
18401 * manual/string.texi: Likewise.
18402 * manual/sysinfo.texi: Likewise.
18403 * manual/time.texi: Likewise.
18404
11520a57
CD
184052013-12-27 Carlos O'Donell <carlos@redhat.com>
18406
18407 * po/sl.po: New file.
18408
471103ae
MF
184092013-12-27 Mike Frysinger <vapier@gentoo.org>
18410
18411 * .gitignore: Add core/.gdbinit/.gdb_history.
18412
6c9642ed
AM
184132013-12-27 Allan McRae <allan@archlinux.org>
18414
18415 [BZ #16369]
18416 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18417 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18418
3f637079
BM
184192013-12-24 Brooks Moses <bmoses@google.com>
18420
18421 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18422 all compilers that claim C++98 compliance, not just GCC.
18423 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18424 Likewise.
18425
abc26e99
MK
184262013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18427
18428 * NEWS: Restore accidentally deleted bug-fix entries.
18429
362b47fe
MK
184302013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18431 Ondřej Bílka <neleai@seznam.cz>
18432
18433 [BZ #15073]
18434 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18435 have_lock.
362b47fe 18436
b9bcbbcb
OB
184372013-12-23 Ondřej Bílka <neleai@seznam.cz>
18438
18439 [BZ #12986]
18440 * manual/stdio.texi (String Input Conversions): Clarify that character
18441 classes are not supported.
18442
fb55fcd2
AZ
184432013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18444
18445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18446
ef7344f0
JM
184472013-12-22 Joseph Myers <joseph@codesourcery.com>
18448
4f40e4b3
JM
18449 [BZ #16337]
18450 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18451 Calculate results for small negative arguments directly rather
18452 than using reflection formula with special underflow handling.
18453
ef7344f0
JM
18454 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18455 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18456 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18457 (fchflags): Likewise.
18458 (revoke): Likewise.
18459 (setlogin): Likewise.
18460 (sigaltstack): Likewise.
18461 (wait4): Likewise.
18462 (sigblock): Remove.
18463 (sigsetmask): Likewise.
18464 (wait3): Likewise.
18465 (waitpid): Likewise.
18466 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18467 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18468 file.
18469 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18470 * sysdeps/unix/bsd/Makefile: ... here.
18471 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18472 * sysdeps/unix/bsd/Versions: ... here.
18473 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18474 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18475 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18476 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18477 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18478 * sysdeps/unix/bsd/sigblock.c: ... here.
18479 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18480 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18481 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18482 * sysdeps/unix/bsd/sigvec.c: ... here.
18483 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18484 * sysdeps/unix/bsd/tcdrain.c: ... here.
18485 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18486 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18487 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18488 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18489 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18490 * sysdeps/unix/bsd/wait.c: ... here.
18491 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18492 * sysdeps/unix/bsd/wait3.c: ... here.
18493 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18494 * sysdeps/unix/bsd/waitpid.c: ... here.
18495
5b0626b9
JM
184962013-12-21 Joseph Myers <joseph@codesourcery.com>
18497
18498 [BZ #16356]
18499 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18500 round-to-nearest for [!USE_AS_EXPM1L].
18501 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18502 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18503 more tests of exp and exp10. Expect some exp10 tests to miss
18504 exceptions or fail in directed rounding modes.
18505 * math/auto-libm-test-out: Regenerated.
18506 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18507 (exp10_test_tonearest): New function.
18508 (exp10_towardzero_test_data): New array.
18509 (exp10_test_towardzero): New function.
18510 (exp10_downward_test_data): New array.
18511 (exp10_test_downward): New function.
18512 (exp10_upward_test_data): New array.
18513 (exp10_test_upward): New function.
18514 (main): Call the new functions.
18515 * sysdeps/i386/fpu/libm-test-ulps: Update.
18516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18517
7fda5682
JM
185182013-12-20 Joseph Myers <joseph@codesourcery.com>
18519
31e3a405
JM
18520 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18521 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18522 * math/auto-libm-test-out: Regenerated.
18523 * math/libm-test.inc (acosh_test_data): Add more tests.
18524 (atanh_test_data): Likewise.
18525 (ceil_test_data): Likewise.
18526 (copysign_test_data): Likewise.
18527 * sysdeps/i386/fpu/libm-test-ulps: Update.
18528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18529
85bff96a
JM
18530 * timezone/checktab.awk: Update from tzcode 2013i.
18531 * timezone/private.h: Likewise.
18532 * timezone/scheck.c: Likewise.
18533 * timezone/tzfile.h: Likewise.
18534 * timezone/tzselect.ksh: Likewise.
18535 * timezone/zdump.c: Likewise.
18536 * timezone/zic.c: Likewise.
18537
b7867a3b
JM
18538 * math/auto-libm-test-in: Add tests of cpow.
18539 * math/auto-libm-test-out: Regenerated.
18540 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18541 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18542 mpc_cc_c.
18543 (func_calc_desc): Add mpc_cc_c union field.
18544 (test_functions): Add cpow.
18545 (special_fill_2pi): New function.
18546 (special_real_inputs): Add 2pi.
18547 (calc_generic_results): Handle mpc_cc_c.
18548 * sysdeps/i386/fpu/libm-test-ulps: Update.
18549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18550
7fda5682
JM
18551 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18552 csqrt, ctan and ctanh.
18553 * math/auto-libm-test-out: Regenerated.
18554 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18555 (TEST_COND_x86): Likewise.
18556 (ccos_test_data): Use AUTO_TESTS_c_c.
18557 (ccosh_test_data): Likewise.
18558 (cexp_test_data): Likewise.
18559 (clog_test_data): Likewise.
18560 (csqrt_test_data): Likewise.
18561 (ctan_test_data): Likewise.
18562 (ctan_tonearest_test_data): Likewise.
18563 (ctan_towardzero_test_data): Likewise.
18564 (ctan_downward_test_data): Likewise.
18565 (ctan_upward_test_data): Likewise.
18566 (ctanh_test_data): Likewise.
18567 (ctanh_tonearest_test_data): Likewise.
18568 (ctanh_towardzero_test_data): Likewise.
18569 (ctanh_downward_test_data): Likewise.
18570 (ctanh_upward_test_data): Likewise.
18571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18572 mpc_c_c.
18573 (func_calc_desc): Add mpc_c_c union field.
18574 (FUNC_mpc_c_c): New macro.
18575 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18576 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18577 ctanh.
18578 (special_fill_min_subnorm_p120): New function.
18579 (special_real_inputs): Add min_subnorm_p120.
18580 (calc_generic_results): Handle mpc_c_c.
18581 * sysdeps/i386/fpu/libm-test-ulps: Update.
18582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18583
5ff8d60e
SP
185842013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18585
57f41c40
AS
18586 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18587 (do_sin_slow): New functions.
18588 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18589 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18590
84ba214c
SP
18591 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18592 Use M to change sign of result instead of X. Assume X is
18593 positive.
18594 (csloww1): Likewise.
18595 (__sin): Adjust.
18596 (__cos): Adjust.
18597
975195e4
SP
18598 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18599 arguments A and DA.
18600 (__sin): Adjust.
18601 (__cos): Likewise.
18602
5ff8d60e
SP
18603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18604 (__cos): Likewise.
18605 (sloww1): Don't adjust sign of DX.
18606 (csloww1): Likewise.
18607 (sloww2): Use X directly and don't adjust sign of DX.
18608 (csloww2): Likewise.
18609
eb983568
JM
186102013-12-19 Joseph Myers <joseph@codesourcery.com>
18611
64a17f1a
JM
18612 * math/auto-libm-test-in: Add tests of cabs and carg.
18613 * math/auto-libm-test-out: Regenerated.
18614 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18615 (carg_test_data): Likewise.
18616 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18617 mpc_c_f.
18618 (func_calc_desc): Add mpc_c_f union field.
18619 (test_functions): Add cabs and carg.
18620 (calc_generic_results): Handle mpc_c_f.
18621
eb983568
JM
18622 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18623 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18624 as a macro and a compat symbol.
18625 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18626 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18627 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18628 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18629 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18630 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18631 not use .hidden.
18632 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18633 Likewise.
18634 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18635 Likewise.
18636 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18637 Likewise.
18638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18639 Likewise.
18640 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18641 Likewise.
18642 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18643 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18644 from GLIBC_2.3.2.
18645
6eeb678a
AZ
186462013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18647
18648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18649
6f6fc482
JM
186502013-12-19 Joseph Myers <joseph@codesourcery.com>
18651
21fea2e2
JM
18652 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18653 trailing whitespace removed.
18654 * scripts/config.guess: Update to version 2013-11-29.
18655 * scripts/config.sub: Update to version 2013-10-01.
18656
6f6fc482
JM
18657 * math/auto-libm-test-in: Add tests of sincos.
18658 * math/auto-libm-test-out: Regenerated.
18659 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18660 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18661 mpfr_f_11.
18662 (func_calc_desc): Add mpfr_f_11 union field.
18663 (test_functions): Add sincos.
18664 (calc_generic_results): Handle mpfr_f_11.
18665 * sysdeps/i386/fpu/libm-test-ulps: Update.
18666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18667
83f5c32d
AS
186682013-12-19 Andreas Schwab <schwab@suse.de>
18669
18670 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18671 CALL_MCOUNT.
18672 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18673 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18674 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18675
c688b419
JM
186762013-12-19 Joseph Myers <joseph@codesourcery.com>
18677
335ee092
JM
18678 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18679 * sysdeps/i386/fpu/libm-test-ulps: Update.
18680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18681
f88acd39
JM
18682 [BZ #16293]
18683 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18684 round-to-nearest mode when using frndint.
18685 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18686 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18687 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18688 Likewise.
18689 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18690 sinh test to fail.
18691 * math/auto-libm-test-out: Regenerated.
18692 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18693 (TEST_COND_x86): Likewise.
18694 (expm1_tonearest_test_data): New array.
18695 (expm1_test_tonearest): New function.
18696 (expm1_towardzero_test_data): New array.
18697 (expm1_test_towardzero): New function.
18698 (expm1_downward_test_data): New array.
18699 (expm1_test_downward): New function.
18700 (expm1_upward_test_data): New array.
18701 (expm1_test_upward): New function.
18702 (main): Run the new test functions.
18703 * sysdeps/i386/fpu/libm-test-ulps: Update.
18704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18705
c688b419
JM
18706 * include/features.h: Update comment documenting feature test
18707 macros. Mention _DEFAULT_SOURCE in comment.
18708 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18709 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18710 _BSD_SOURCE and _SVID_SOURCE.
18711 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18712 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18713 !_SVID_SOURCE]: Likewise.
18714 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18715 (__USE_POSIX_IMPLICITLY): Define.
18716 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18717 (_POSIX_SOURCE): Undefine and redefine.
18718 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18719 (_POSIX_C_SOURCE): Likewise.
18720 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18721 (Feature Test Macros): Update documentation of default features.
18722
9f6e964c
RS
187232013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18724
18725 * benchtests/Makefile: Add bench-strtok.
18726 * benchtests/bench-strtok.c: New file: strtok benchtest.
18727
ee0a148a
AM
187282013-12-19 Allan McRae <allan@archlinux.org>
18729
18730 * manual/install.texi: Suppress menu for plain text output.
18731 * INSTALL: Regenerated.
18732
b9ab448f
BM
187332013-12-18 Brooks Moses <bmoses@google.com>
18734
18735 [BZ #15846]
18736 * misc/getauxval.c: Include errno.h.
18737 (__getauxval): Set errno to ENOENT if the requested type is not
18738 found.
18739 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18740 don't declare with __attribute_const__.
18741 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18742 * manual/startup.texi: Document that getauxval sets errno.
18743
23776487
JM
187442013-12-18 Joseph Myers <joseph@codesourcery.com>
18745
f889953b
JM
18746 * math/auto-libm-test-in: Add tests of jn and yn.
18747 * math/auto-libm-test-out: Regenerated.
18748 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18749 (yn_test_data): Likewise.
18750 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18751 mpfr_if_f.
18752 (func_calc_desc): Add mpfr_if_f union field.
18753 (FUNC_mpfr_if_f): New macro.
18754 (test_functions): Add jn and yn.
18755 (calc_generic_results): Assert type of second input for
18756 mpfr_ff_f. Handle mpfr_if_f.
18757 (output_for_one_input_case): Disable all checking for arguments
18758 fitting floating-point types in case of an integer argument.
18759 * sysdeps/i386/fpu/libm-test-ulps: Update.
18760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18761
23776487
JM
18762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18763 Don't expect fegetround reference in libm.so.
18764
cb756c6d
MS
187652013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18766
18767 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18768 $(config-cflags-nofma).
18769
2dec468f
JM
187702013-12-18 Joseph Myers <joseph@codesourcery.com>
18771
5953eb3a
JM
18772 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18773 * math/auto-libm-test-out: Regenerated.
18774
2dec468f
JM
18775 [BZ #16338]
18776 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18777 to determine exponent and adjust argument to have exponent of -1.
18778 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18779 log2.
18780 * math/auto-libm-test-out: Regenerated.
18781 * sysdeps/i386/fpu/libm-test-ulps: Update.
18782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18783
4d84e6ad
OB
187842013-12-18 Ondřej Bílka <neleai@seznam.cz>
18785
18786 * manual/probes.texi: Remove cases when per-thread arenas are
18787 disabled.
18788
1818483b
AS
187892013-12-18 Andreas Schwab <schwab@suse.de>
18790
18791 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18792 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18793 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18794 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18795 * sysdeps/i386/i686/multiarch/Makefile: Update.
18796 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18797
25de95bf
JM
187982013-12-17 Joseph Myers <joseph@codesourcery.com>
18799
18800 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18801 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18802
674762d9
PE
188032013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18804
ed27ed83 18805 [BZ #15968]
0748546f
PE
18806 Support TZ transition times < 00:00:00.
18807 This is needed for version-3 tz-format files; it supports time
18808 stamps past 2037 for America/Godthab (the only entry in the tz
18809 database for which this change is relevant).
18810 * manual/time.texi (TZ Variable): Document transition times
18811 from -167:59:59 through -00:00:01.
18812 * time/tzset.c (tz_rule): Time of day is now signed.
18813 (__tzset_parse_tz): Parse negative time of day.
18814
4480e934
PE
18815 Document TZ transition times >= 25:00:00.
18816 * manual/time.texi (TZ Variable): Document transition times from
18817 25:00:00 through 167:59:59. These are already supported, and this
18818 support will help with version-3 tz-format files.
18819
69947401
PE
18820 * manual/time.texi (TZ Variable): Modernize North America example
18821 to reflect current (i.e., 2007-and-later) daylight saving rules.
18822
674762d9
PE
18823 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18824
7011c262
JM
188252013-12-17 Joseph Myers <joseph@codesourcery.com>
18826
2fc6557e
JM
18827 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18828 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18831 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18832 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18833 * sysdeps/unix/bsd/clock.c: Likewise.
18834 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18835 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18836 * sysdeps/unix/bsd/init-posix.c: Likewise.
18837 * sysdeps/unix/bsd/poll.c: Likewise.
18838 * sysdeps/unix/bsd/ptsname.c: Likewise.
18839 * sysdeps/unix/bsd/seekdir.c: Likewise.
18840 * sysdeps/unix/bsd/setegid.c: Likewise.
18841 * sysdeps/unix/bsd/seteuid.c: Likewise.
18842 * sysdeps/unix/bsd/setgid.c: Likewise.
18843 * sysdeps/unix/bsd/setrgid.c: Likewise.
18844 * sysdeps/unix/bsd/setruid.c: Likewise.
18845 * sysdeps/unix/bsd/setsid.c: Likewise.
18846 * sysdeps/unix/bsd/setuid.c: Likewise.
18847 * sysdeps/unix/bsd/sigaction.c: Likewise.
18848 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18849 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18850 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18851 * sysdeps/unix/bsd/telldir.c: Likewise.
18852 * sysdeps/unix/bsd/times.c: Likewise.
18853 * sysdeps/unix/bsd/usleep.c: Likewise.
18854
029c7b25
JM
18855 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18856 ($(objpfx)libbsd-compat.a): Remove rule.
18857
7011c262
JM
18858 * include/features.h (__FAVOR_BSD): Do not define.
18859 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18860 features conflicting with POSIX.
18861 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18862 (_BSD_SOURCE): Remove description of not being a subset of other
18863 feature test macros.
18864 * manual/job.texi (getpgrp): Do not document BSD version.
18865 (getpgid): Do not document by reference to BSD getpgrp.
18866 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18867 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18868 * signal/signal.h [__FAVOR_BSD]: Likewise.
18869 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18870 instead of making contents conditional on [__FAVOR_BSD].
18871 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18872
affb6f78
AZ
188732013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18874
18875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18876
c88769dd
JM
188772013-12-17 Joseph Myers <joseph@codesourcery.com>
18878
6432a540
JM
18879 [BZ #16314]
18880 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18881 values below 2**-450, not 2**-500.
18882 * math/auto-libm-test-in: Don't allow spurious underflow from
18883 hypot.
18884 * math/auto-libm-test-out: Regenerated.
18885
c88769dd
JM
18886 [BZ #16316]
18887 [BZ #16330]
18888 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18889 values of ha and hb and sort them after adjusting subnormal
18890 arguments.
18891 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18892 Likewise.
18893 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18894 values of ea and eb and sort them after adjusting subnormal
18895 arguments.
18896 * math/auto-libm-test-in: Do not expect some hypot tests of
18897 subnormals to fail. Add more hypot tests.
18898 * math/auto-libm-test-out: Regenerated.
18899
29618f6b
KK
189002013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18901
18902 [BZ #13304]
18903 * sysdeps/sh/s_fma.c: New file.
18904 * sysdeps/sh/s_fmaf.c: New file.
18905 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18906 version.
18907 * sysdeps/sh/Implies: Add sh/soft-fp.
18908
eacfdfbf
RM
189092013-12-16 Roland McGrath <roland@hack.frob.com>
18910
18911 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18912 level of indirection to members `objname', `errstring', `malloced'.
18913 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18914 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18915 it as the __longjmp argument (just pass 1 instead).
18916 (_dl_catch_error): Initialize C with argument pointers and address of
18917 volatile local ERRCODE rather than copying values out of C at return.
18918
ff362e5b
JM
189192013-12-16 Joseph Myers <joseph@codesourcery.com>
18920
18921 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18922 * math/auto-libm-test-out: Regenerated.
18923 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18924 (hypot_test_data): Likewise.
18925 (pow_test_data): Likewise.
18926 (pow_tonearest_test_data): Likewise.
18927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18928 mpfr_ff_f.
18929 (func_calc_desc): Add mpfr_ff_f union field.
18930 (FUNC_mpfr_ff_f): New macro.
18931 (test_functions): Add atan2, hypot and pow.
18932 (special_fill_min): New function.
18933 (special_fill_minus_min): Likewise.
18934 (special_fill_min_subnorm): Likewise.
18935 (special_fill_minus_min_subnorm): Likewise.
18936 (special_real_inputs): Add min, -min, min_subnorm and
18937 -min_subnorm.
18938 (calc_generic_results): Handle mpfr_ff_f.
18939 * sysdeps/i386/fpu/libm-test-ulps: Update.
18940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18941
5764c27f
WN
189422013-12-16 Will Newton <will.newton@linaro.org>
18943
18944 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18945 (Aligned Memory Blocks): Add documentation for aligned_alloc
18946 and suggest it as an alternative to posix_memalign.
18947 (Hooks for Malloc): Document __memalign_hook is also called
18948 for aligned_alloc. (Summary of Malloc): Add summary for
18949 aligned alloc. Document __memalign_hook is also called
18950 for aligned_alloc.
18951
0a096e44
WN
189522013-12-16 Will Newton <will.newton@linaro.org>
18953
18954 * manual/memory.texi (Malloc Examples): Clarify default
18955 alignment documentation. Suggest posix_memalign rather
18956 than memalign or valloc.
18957 (Aligned Memory Blocks): Remove suggestion to use memalign
18958 or valloc. Remove obsolete comment about BSD.
18959 Document memalign errno values and mark the function obsolete.
18960 Document posix_memalign returned error codes. Mark valloc
18961 as obsolete. (Hooks for Malloc): __memalign_hook is also
18962 called for posix_memalign and valloc.
18963 (Summary of Malloc): Add posix_memalign to function summary.
18964 __memalign_hook is also called for posix_memalign and valloc.
18965
8d561986
SP
189662013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18967
18968 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18969 TAYLOR_SIN.
18970 (__sin): Adjust.
18971 (__cos): Likewise.
18972 (sloww): Use mynumber union. Expand ternary operator into
18973 if-else statements.
18974 (cslow): use mynumber union.
18975
73616a74
AM
189762013-12-16 Allan McRae <allan@archlinux.org>
18977
9e8ac24b
AM
18978 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18979 * configure: Regenerated.
18980
6f8e37eb
AM
18981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18982
8894bad3
AM
18983 [BZ #14120]
18984 * configure.ac: Added --enable-maintainer-mode. Check for
18985 autoconf when enabled.
18986 * configure: Regenerated.
18987
73616a74
AM
18988 * nscd/nscd.service: New file.
18989 * nscd/nscd.tmpfiles: New file.
18990
584b18eb
OB
189912013-12-14 Ondřej Bílka <neleai@seznam.cz>
18992
18993 [BZ #12100]
18994 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18995 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18996 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18997 (strstr): Add __strstr_sse2_unaligned ifunc.
18998 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18999 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19000 (strcasestr): Remove __strcasestr_sse42 ifunc.
19001 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19004
8a5c7897
KK
190052013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19006
19007 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19008 * sysdeps/sh/bits/fenv.h: ... here.
19009 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19010
fd712ef3
AZ
190112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19012
19013 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19014
42fcb46c
AZ
19015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19016 hypotf multiarch implementations.
19017 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19018 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19019 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19020 multiarch hypot for PPC64.
19021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19024 multiarch hypotf for PPC64.
19025
83efded4
AZ
19026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19027 modff multiarch implementations.
19028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19031 multiarch modf for PPC64.
19032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19035 multiarch modff for PPC64.
19036
43e246d2
AZ
19037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19038 and logl multiarch implementations.
19039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19042 multiarch logb for PPC64.
19043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19046 multiarch logb for PPC64.
19047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19050 multiarch logb for PPC64.
19051
8fdad123
AZ
19052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19053 isinff multiarch implementation.
19054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19055 file.
19056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19058 multiarch isinf for PPC64.
19059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19060 file.
19061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19062 multiarch isinff for PPC64.
19063
1481d706
AZ
19064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19065 finitef multiarch implementation.
19066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19067 file.
19068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19070 multiarch finite for PPC64.
19071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19072 file.
19073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19074 multiarch finitef for PPC64.
19075
5ccd5fc8
AZ
19076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19077 lrint multiarch implementation.
19078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19079 file.
19080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19082 multiarch llrint for PPC64.
19083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19084 multiarch lrint for PPC64.
19085
2568f3fa
AZ
19086 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19087 copysignf multiarch implementation.
19088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19089 file.
19090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19091 file.
19092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19093 multiarch copysign for PPC64.
19094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19095 multiarch copysignf for PPC64.
19096
1cb341fd
AZ
19097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19098 multiarch implementation.
19099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19100 file.
19101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19102 file.
19103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19104 file.
19105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19106 file.
19107 multiarch llround for PPC64.
19108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19109 multiarch trunc for PPC64.
19110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19111 multiarch truncf for PPC64.
19112
59a3e194
AZ
19113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19114 multiarch implementation.
19115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19116 file.
19117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19118 file.
19119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19120 file.
19121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19122 file.
19123 multiarch llround for PPC64.
19124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19125 multiarch round for PPC64.
19126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19127 multiarch roundf for PPC64.
19128
357fd3b4
AZ
19129 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19130 multiarch implementation.
19131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19132 file.
19133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19134 file.
19135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19136 file.
19137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19138 file.
19139 multiarch llround for PPC64.
19140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19141 multiarch floor for PPC64.
19142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19143 multiarch floorf for PPC64.
19144
96770f12
AZ
19145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19146 multiarch implementation.
19147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19148 file.
19149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19150 file.
19151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19152 file.
19153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19154 file.
19155 multiarch llround for PPC64.
19156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19157 multiarch ceil for PPC64.
19158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19159 multiarch ceilf for PPC64.
19160
c3627f6e
AZ
19161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19162 multiarch implementation.
19163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19164 file.
19165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19166 file.
19167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19168 file.
19169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19170 multiarch llround for PPC64.
19171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19172 multiarch lround for PPC64.
19173
b2284ad7
AZ
19174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19175 multiarch implementation.
19176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19179 file.
19180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19183 multiarch isnan for PPC64.
19184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19185 multiarch isnanf for PPC64.
19186
69bbc63d
AZ
19187 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19188 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19189 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19190 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19191 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19193
c24517c9
AZ
19194 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19195 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19196 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19197 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19198
a52374e8
AZ
19199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19200 multiarch implementations.
19201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19202 (__libc_ifunc_impl_list): Likewise.
19203 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19204 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19205 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19206 multiarch stpcpy for PPC64.
19207
7f5ec113
AZ
19208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19209 multiarch implementations.
19210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19211 (__libc_ifunc_impl_list): Likewise.
19212 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19213 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19214 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19215 multiarch strcpy for PPC64.
19216
e28bcd42
AZ
19217 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19218 redefine function name.
19219 (_wordcopy_fwd_dest_aligned): Likewise.
19220 (_wordcopy_bwd_aligned): Likewise.
19221 (_wordcopy_bwd_dest_aligned): Likewise.
19222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19223 multiarch implementations.
19224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19225 (__libc_ifunc_impl_list): Likewise.
19226 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19227 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19228 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19229 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19230 multiarch wcscpy for PPC64.
19231
92cacfce
AZ
19232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19233 multiarch implementations.
19234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19235 (__libc_ifunc_impl_list): Likewise.
19236 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19237 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19238 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19239 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19240 multiarch wcscpy for PPC64.
19241
7b714620
AZ
19242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19243 multiarch implementations.
19244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19245 (__libc_ifunc_impl_list): Likewise.
19246 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19247 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19248 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19249 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19250 multiarch wcsrchr for PPC64.
19251
16fd2ae3
AZ
19252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19253 multiarch implementations.
19254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19255 (__libc_ifunc_impl_list): Likewise.
19256 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19257 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19258 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19259 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19260 multiarch wcschr for PPC64.
19261
9ee2969b
AZ
19262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19263 multiarch implementations.
19264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19265 (__libc_ifunc_impl_list): Likewise.
19266 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19267 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19268 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19269 multiarch strchrnul for PPC64.
19270
372dc060
AZ
19271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19272 implementations.
19273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19274 (__libc_ifunc_impl_list): Likewise.
19275 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19276 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19277 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19278 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19279 strchr for PPC64.
19280
24c2c3b9
AZ
19281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19282 implementations.
19283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19284 (__libc_ifunc_impl_list): Likewise.
19285 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19286 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19287 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19288 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19289 strncmp for PPC64.
19290
1c92d9a0
AZ
19291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19292 multiarch implementations.
19293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19294 (__libc_ifunc_impl_list): Likewise.
19295 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19296 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19297 strncasecmp for PPC64.
19298 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19299 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19300 multiarch strncasecmp_l for PPC64.
19301
17de3ee3
AZ
19302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19303 multiarch implementations.
19304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19305 (__libc_ifunc_impl_list): Likewise.
19306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19307 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19308 multiarch strcasecmp for PPC64.
19309 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19310 file.
19311 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19312 multiarch strcasecmp_l for PPC64.
19313
62982bf9
AZ
19314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19315 implementations.
19316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19317 (__libc_ifunc_impl_list): Likewise.
19318 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19319 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19320 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19321 strnlen for PPC64.
19322
a65f4904
AZ
19323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19324 implementations.
19325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19326 (__libc_ifunc_impl_list): Likewise.
19327 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19328 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19329 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19330 strlen for PPC64.
19331
1fd005ad
AZ
19332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19333 implementations.
19334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19335 (__libc_ifunc_impl_list): Likewise.
19336 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19337 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19338 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19339 rawmemrchr for PPC64.
19340
cd05ba91
AZ
19341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19342 implementation.
19343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19344 (__libc_ifunc_impl_list): Likewise.
19345 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19346 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19347 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19348 memrchr for PPC64.
19349
870f8676
AZ
19350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19351 implementation.
19352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19353 (__libc_ifunc_impl_list): Likewise.
19354 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19355 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19356 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19357 memchr for PPC64.
19358
f00be62b
AZ
19359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19360 implementation.
19361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19362 (__libc_ifunc_impl_list): Likewise.
19363 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19364 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19365 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19366 mempcpy for PPC64.
19367
8a29a3d0
AZ
19368 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19369 avoid cretion of __bzero symbol.
19370 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19371 Likewise.
19372 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19373 Likewise.
19374 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19375 Likewise.
19376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19377 multiarch implementations.
19378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19379 (__libc_ifunc_impl_list): Likewise.
19380 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19381 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19382 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19383 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19384 bzero for PPC32.
19385 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19386 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19387 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19388 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19389 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19390 memset for PPC64.
19391 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19392
07253fcf
AZ
19393 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19395 implementations.
19396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19397 (__libc_ifunc_impl_list): Likewise.
19398 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19399 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19400 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19401 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19402 memcmp for PPC64.
19403
b5beafbc
AZ
19404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19405 multiarch for POWER/PPC64.
19406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19407 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19408 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19409 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19411 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19412 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19413 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19414 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19415 memcpy for PPC64.
19416
5e6a4d4b
AZ
19417 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19418 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19419 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19420 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19421 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19422 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19423 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19424 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19425 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19426 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19427 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19428 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19429 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19430 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19431 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19439
ddfab6dc
KK
194402013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19441
19442 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19443
19b5525e
SP
194442013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19445
19446 * benchtests/Makefile (bench): Add exp2 and log2.
19447 (LDLIBS-bench-exp2): Add -lm.
19448 (LDLIBS-bench-log2): Likewise.
19449 * benchtests/exp2-inputs: New inputs file.
19450 * benchtests/log2-inputs: New inputs file.
19451 * benchtests/log-inputs: Add new inputs.
19452 * benchtests/tan-inputs: Likewise.
19453
196f7f5d
SP
194542013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19455
7a74607f
SP
19456 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19457 definition...
57f41c40
AS
19458 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19459 (csloww2): ... from here.
7a74607f 19460
196f7f5d
SP
19461 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19462 instead of structures.
19463 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19464 (POLYNOMIAL): Likewise.
19465 (TAYLOR_SLOW): Likewise.
19466 (__sin): Likewise.
19467 (__cos): Likewise.
19468 (slow1): Likewise.
19469 (slow2): Likewise.
19470 (sloww): Likewise.
19471 (sloww1); Likewise.
19472 (sloww2): Likewise.
19473 (bsloww1): Likewise.
19474 (bsloww2): Likewise.
19475 (cslow2): Likewise.
19476 (csloww): Likewise.
19477 (csloww1): Likewise.
19478 (csloww2): Likewise.
19479
0dfa665c
OB
194802013-12-10 Ondřej Bílka <neleai@seznam.cz>
19481
19482 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19483 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19484 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19485 * malloc/hooks.c (realloc_check): Likewise.
19486
5782a80f
OB
19487 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19488 * malloc/arena.c: Remove PER_THREAD conditional.
19489 [!PER_THREAD]: Remove code.
19490 (ptmalloc_unlock_all2): Likewise.
19491 (ptmalloc_init): Likewise.
19492 (_int_new_arena): Likewise.
19493 (arena_get2): Likewise.
19494 * malloc/hooks.c (__malloc_get_state): Likewise.
19495 (__malloc_set_state): Likewise.
19496 * malloc/malloc.c: Likewise.
19497 (struct malloc_state): Likewise.
19498 (struct malloc_par): Likewise.
19499 (__libc_realloc): Likewise.
19500 (__libc_mallopt): Likewise.
19501
aeb95445
AZ
195022013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19503
19504 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19505
e8349efd
OB
195062013-12-09 Ondřej Bílka <neleai@seznam.cz>
19507
19508 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19509 macro to a function. Check for zero perturb_byte.
19510 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19511
f3eeb3fc 19512 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19513 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19514 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19515 force_reg by atomic_forced_read.
19516 * malloc/arena.c (ptmalloc_init): Likewise.
19517 * malloc/hooks.c (top_check): Likewise.
19518
be2f9009
AZ
195192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19520
19521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19522
e7b914bd
MT
195232013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19524
19525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19526
9f0be4f8
JM
195272013-12-08 Joseph Myers <joseph@codesourcery.com>
19528
19529 * math/auto-libm-test-in: Add tests of lgamma.
19530 * math/auto-libm-test-out: Regenerated.
19531 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19532 (M_LOG_2_SQRT_PIl): Likewise.
19533 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19534 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19535 mpfr_f_f1.
19536 (func_calc_desc): Add mpfr_f_f1 union field.
19537 (ARGS1): New macro.
19538 (ARGS2): Likewise.
19539 (ARGS3): Likewise.
19540 (ARGS4): Likewise.
19541 (RET1): Likewise.
19542 (RET2): Likewise.
19543 (CALC): Likewise.
19544 (FUNC): Likewise.
19545 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19546 (test_functions): Add lgamma.
19547 (calc_generic_results): Handle mpfr_f_f1.
19548 * sysdeps/i386/fpu/libm-test-ulps: Update.
19549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19550
24eeafdb
AZ
195512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19552
19553 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19554 __mpn_add_n for PowerPC64/POWER7.
19555 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19556 __mpn_sub_n for PowerPC64/POWER7.
19557
4a2c0fd4
AZ
19558 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19559 __mpn_addmul_1 for PowerPC64.
19560 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19561 __mpn_submul_1 for PowerPC64.
19562 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19563 for PowerPC64.
19564 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19565 for PowerPC64.
19566
4b5b548c
FS
195672013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19568
19569 [BZ #15089]
19570 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19571
0a3ac0aa
AZ
195722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19573
19574 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19575
ccdc8438
AZ
19576 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19577 add multiarch folders.
19578 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19579 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19580 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19581 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19582 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19583 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19584 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19585 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19586 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19587 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19588 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19595
2e973d99
AZ
19596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19597 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19599 New file.
19600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19601 New file.
19602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19603 multiarch __ieee754_hypot for PowerPC32.
19604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19605 New file.
19606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19607 New file.
19608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19609 multiarch __ieee754_hypotf for PowerPC32.
19610
2d9470b2
AZ
19611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19612 long_double_symbol only if __logbl is defined.
19613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19614 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19616 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19618 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19620 path for implementation.
19621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19622 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19624 logb, and logbl multiarch implementations for PowerPC32.
19625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19626 file.
19627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19628 file.
19629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19630 multiarch logb for PowerPC32.
19631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19632 file.
19633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19634 file.
19635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19636 multiarch logbf for PowerPC32.
19637 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19639 file.
19640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19641 multiarch logbl implementation for PowerPC32.
19642
5212ffce
AZ
19643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19644 and modff multiarch implementations.
19645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19646 New file.
19647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19648 New file.
19649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19650 multiarch modf for PowerPC32.
19651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19652 New file.
19653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19654 New file.
19655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19656 multiarch modff for PowerPC32.
19657
79dccf31
AZ
19658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19659 and lrintf multiarch implementations.
19660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19661 New file.
19662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19663 New file.
19664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19665 multiarch lrint for PowerPC32.
19666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19667 file: multiarch lrintf for PowerPC32.
19668
deb66480
AZ
19669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19670 and lroundf multiarch implementations.
19671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19672 New file.
19673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19674 New file.
19675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19676 New file.
19677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19678 multiarch lround for PowerPC32.
19679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19680 file: multiarch lroundf for PowerPC32.
19681
264b036b
AZ
19682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19683 copysign and copysignf multiarch implementations.
19684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19685 New file.
19686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19687 New file.
19688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19689 file: multiarch copysign for PowerPC32.
19690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19691 file: multiarch copysignf for PowerPC32.
19692
d47db6c9
AZ
19693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19694 and truncf multiarch implementations.
19695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19696 New file.
19697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19698 file.
19699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19700 multiarch trunc for PowerPC32.
19701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19702 New file.
19703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19704 New file.
19705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19706 multiarch truncf for PowerPC32.
19707
ddb60b5a
AZ
19708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19709 and roundf multiarch implementations.
19710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19711 New file.
19712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19713 file.
19714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19715 multiarch round for PowerPC32.
19716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19717 New file.
19718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19719 New file.
19720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19721 multiarch roundf for PowerPC32.
19722
bedcf49b
AZ
19723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19724 and floorf multiarch implementations.
19725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19726 New file.
19727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19728 file.
19729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19730 multiarch floor for PowerPC32.
19731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19732 New file.
19733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19734 New file.
19735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19736 multiarch floorf for PowerPC32.
19737
35ae5b40
AZ
19738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19739 and ceilf multiarch implementations.
19740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19741 New file.
19742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19743 file.
19744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19745 multiarch ceil for PowerPC32.
19746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19747 New file.
19748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19749 file.
19750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19751 multiarch ceilf for PowerPC32.
19752
ae1a4cd9
AZ
19753 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19754 is defined.
19755 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19756 FINITEF is defined.
19757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19758 and finitef multiarch implementations.
19759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19760 New file.
19761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19762 file.
19763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19764 multiarch finite for PowerPC32.
19765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19766 New file.
19767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19768 file: multiarch finitef for PowerPC32.
19769
64fffd65
AZ
19770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19771 and isinff multiarch implementations.
19772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19773 file.
19774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19775 file.
19776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19777 multiarch isinf for PowerPC32.
19778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19779 New file.
19780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19781 multiarch isinff for PowerPC32.
19782
8e4e7ba2
AZ
19783 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19784 alias when __isnan is defined.
19785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19786 and isnanf multiarch implementations.
19787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19788 file.
19789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19790 file.
19791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19792 file.
19793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19794 file.
19795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19796 multiarch isnan for PowerPC32.
19797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19798 New file.
19799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19800 New file.
19801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19802 multiarch isnanf for PowerPC32.
19803
ddba588e
AZ
19804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19805 and sqrtf multiarch implementations.
19806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19807 file.
19808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19809 file.
19810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19811 multiarch sqrt for PowerPC32.
19812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19813 file.
19814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19815 file.
19816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19817 multiarch sqrtf for PowerPC32.
19818
0f96a2f0
AZ
19819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19820 and llroundf multiarch implementations.
19821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19822 New file.
19823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19824 New file.
19825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19826 New file.
19827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19828 file: multiarch llround for PowerPC32.
19829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19830 file: multiarch llroundf for PowerPC32.
19831
c9b5d79e
AZ
19832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19833 multiarch PowerPC32 fpu implementations.
19834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19835 New file.
19836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19837 New file.
19838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19839 multiarch llrint for PowerPC32.
19840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19841 New file.
19842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19843 New file.
19844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19845 file.
19846
9cbb3aab
AZ
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19848
ea5a72f8
AZ
19849 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19850 file.
19851 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19852 file.
19853 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19854 file.
19855 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19856 multiarch wordcopy for PPC32.
19857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19858 wordcopy objects.
19859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19860 (__libc_ifunc_impl_list): Likewise.
19861 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19862 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19864 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19865 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19866 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19867
93be09e7
AZ
19868 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19870 file.
19871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19872 file.
19873 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19874 file.
19875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19876 multiarch wcscpy for PPC32.
19877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19878 multiarch objects.
19879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19880 (__libc_ifunc_impl_list): Likewise.
19881 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19882 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19883 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19884 sysdeps/powerpc/power6/wcscpy.c.
19885
bb04e529
AZ
19886 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19888 file.
19889 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19890 file.
19891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19892 file.
19893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19894 multiarch wcsrchr for PPC32.
19895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19896 multiarch objects.
19897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19898 (__libc_ifunc_impl_list): Likewise.
19899 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19900 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19901 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19902 sysdeps/powerpc/power6/wcsrchr.c.
19903
05b5cd1c
AZ
19904 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19905 file.
19906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19907 file.
19908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19909 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19910 multiarch wcschr for PPc32.
19911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19912 multiarch objects.
19913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19914 (__libc_ifunc_impl_list): Likewise.
19915 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19916 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19917 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19918 sysdeps/powerpc/power6/wcschr.c.
19919
ba964147
AZ
19920 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19921 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19922 file.
19923 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19924 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19925 file: multiarch strchr for PPC32.
19926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19927 multiarch objects.
19928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19929 (__libc_ifunc_impl_list): Likewise.
19930
31c81aaa
AZ
19931 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19932 name.
19933 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19934 file.
19935 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19936 file.
19937 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19938 multiarch strchrnul for PPC32.
19939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19940 multiarch objects.
19941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19942 (__libc_ifunc_impl_list): Likewise.
19943
0d0607d9
AZ
19944 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19945 file.
19946 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19947 multiarch strncasecmp for PPC32.
19948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19949 file.
19950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19951 multiarch strncasecmp_l for PPC32.
19952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19953 strncasecmp multiarch objects.
19954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19955 (__libc_ifunc_impl_list): Likewise.
19956
4dfd5c86
AZ
19957 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19958 file.
19959 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19960 multiarch strncasecmp for PPC32.
19961 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19962 New file.
19963 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19964 multiarch strcasecmp_l for PPC32.
19965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19966 multiarch objects.
19967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19968 (__libc_ifunc_impl_list): Likewise.
19969
a19e01a3
AZ
19970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19971 file.
19972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19973 file.
19974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19975 multiarch strncmp for PPC32.
19976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19977 multiarch objects.
19978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19979 (__libc_ifunc_impl_list): Likewise.
19980
ae9cf7a2
AZ
19981 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19982 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19983 file.
19984 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19985 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19987 multiarch objects.
19988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19989 (__libc_ifunc_impl_list): Likewise.
19990
3148bb7d
AZ
19991 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19992 file.
19993 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19994 file.
19995 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19997 multiarch objects.
19998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19999 (__libc_ifunc_impl_list): Likewise.
20000
7af8b946
AZ
20001 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20002 file.
20003 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20004 file.
20005 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20006 multiarch rawmemchr for PPC32.
20007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20008 multiarch objects.
20009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20010 (__libc_ifunc_impl_list): Likewise.
20011
03a6aa6a
AZ
20012 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20013 file.
20014 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20015 file.
20016 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20017 file: memrchr multiarch for PPC32.
20018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20019 multiarch objects.
20020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20021 (__libc_ifunc_impl_list): Likewise.
20022
1c62e6d9
AZ
20023 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20024 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20025 file.
20026 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20027 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20028 multiarch memchr for PPC32.
20029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20030 multiarch objects.
20031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20032 (__libc_ifunc_impl_list): Likewise.
20033
87da8bdb
AZ
20034 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20035 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20036 file.
20037 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20038 file.
20039 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20040 file: multiarch mempcpy for PPC32.
20041 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20042 multiarch objects.
20043 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20044 (__libc_ifunc_impl_list): Likewise.
20045
20ed4714
AZ
20046 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20047 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20048 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20049 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20050 multiarch bzero for PPC32.
20051 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20052 file.
20053 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20054 file.
20055 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20056 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20057 file: multiarch memset for PPC32.
20058 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20060 memset multiarch objects.
20061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20062 (__libc_ifunc_impl_list): Likewise.
20063
ab3e3a46
AZ
20064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20065 file.
20066 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20068 memcmp for PPC32.
20069 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20071 multiarch objects.
20072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20073 (__libc_ifunc_impl_list): Likewise.
20074
930de6f0
AZ
20075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20078 file.
20079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20080 file.
20081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20082 file.
20083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20084 multiarch memcpy for PPC32.
20085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20086 multiarch objects.
20087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20088 (__libc_ifunc_impl_list): Likewise.
20089
4c628e00
AZ
20090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20091 support multiarch for POWER/PPC32.
20092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20093 Likewise.
20094 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20096 Implies file to make multiarch folder appers before the fpu and
20097 default folder for power4 configuration.
20098
f4479220
SP
200992013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20100
20101 * scripts/bench.pl: Append volatile keyword to type.
20102
8517800f
KK
201032013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20104
20105 * sysdeps/sh/sotruss-lib.c: New file.
20106 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20107
180138f1
AZ
201082013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20109
20110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20111
bbf37bdc
JM
201122013-12-05 Joseph Myers <joseph@codesourcery.com>
20113
e47cc4e0
JM
20114 [BZ #6810]
20115 * math/w_tgamma.c: Include <errno.h>.
20116 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20117 * math/w_tgammaf.c: Include <errno.h>.
20118 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20119 * math/w_tgammal.c: Include <errno.h>.
20120 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20121 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20122 underflow. Add more tgamma tests.
20123 * math/auto-libm-test-out: Regenerated.
20124 * sysdeps/i386/fpu/libm-test-ulps: Update.
20125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20126
bbf37bdc
JM
20127 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20128 sin, sinh, tan, tanh, tgamma, y0 and y1.
20129 * math/auto-libm-test-out: Regenerated.
20130 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20131 (TEST_COND_x86): Likewise.
20132 (M_E2l): Remove macro.
20133 (M_E3l): Likewise.
20134 (M_2_SQRT_PIl): Likewise.
20135 (M_SQRT_PIl): Likewise.
20136 (M_1_DIV_El): Likewise.
20137 (log_test_data): Use AUTO_TESTS_f_f.
20138 (log10_test_data): Likewise.
20139 (log1p_test_data): Likewise.
20140 (log2_test_data): Likewise.
20141 (sin_test_data): Likewise.
20142 (sin_tonearest_test_data): Likewise.
20143 (sin_towardzero_test_data): Likewise.
20144 (sin_downward_test_data): Likewise.
20145 (sin_upward_test_data): Likewise.
20146 (sinh_test_data): Likewise.
20147 (sinh_tonearest_test_data): Likewise.
20148 (sinh_towardzero_test_data): Likewise.
20149 (sinh_downward_test_data): Likewise.
20150 (sinh_upward_test_data): Likewise.
20151 (tan_test_data): Likewise.
20152 (tan_tonearest_test_data): Likewise.
20153 (tan_towardzero_test_data): Likewise.
20154 (tan_downward_test_data): Likewise.
20155 (tan_upward_test_data): Likewise.
20156 (tanh_test_data): Likewise.
20157 (tgamma_test_data): Likewise.
20158 (y0_test_data): Likewise.
20159 (y1_test_data): Likewise.
20160 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20161 (special_real_inputs): Add pi/4.
20162 * sysdeps/i386/fpu/libm-test-ulps: Update.
20163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164
eb5ad6b9
AZ
201652013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20166
20167 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20168 "longjmp_target" static probes.
20169 (__longjmp): Rename to __longjmp_symbol.
20170 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20171 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20172 on which longjmp to generate.
20173 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20174 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20175 probe.
20176 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20177 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20178 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20179 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20180 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20181 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20183 __longjmp_symbol based on which __longjmp to generate.
20184 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20185 probe.
20186 (setjmp): Rename to setjmp_symbol.
20187 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20188 (_setjmp): Rename to _setjmp_symbol.
20189 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20190 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20191 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20192 which setjmp to generate.
20193 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20194 "longjmp_target" static probes.
20195
d136c6dc
SP
201962013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20197
9298ecba
SP
20198 * benchtests/README: Add note about output arguments.
20199 * benchtests/bench-sincos.c: Remove file.
20200 * benchtests/sincos-inputs: New file.
20201 * scripts/bench.pl: Identify output arguments and define
20202 static variables for them.
20203
232983e9
SP
20204 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20205
d136c6dc
SP
20206 [BZ #15941]
20207 * Makefile (INSTALL): Add install-plain.texi as the primary
20208 dependency.
20209 * manual/install-plain.texi: New file.
20210 * manual/install.texi: Include node directive only for
20211 non-plaintext output.
20212
699ff837
JM
202132013-12-04 Joseph Myers <joseph@codesourcery.com>
20214
ab07cea8
JM
20215 * stdlib/longlong.h: Update from GCC.
20216
699ff837
JM
20217 [BZ #6807]
20218 [BZ #15901]
20219 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20220 * math/w_j0f.c (y0f): Likewise.
20221 * math/w_j0l.c (__y0l): Likewise.
20222 * math/w_j1.c (y1): Likewise.
20223 * math/w_j1f.c (y1f): Likewise.
20224 * math/w_j1l.c (__y1l): Likewise
20225 * math/w_jn.c (yn): Likewise.
20226 * math/w_jnf.c (ynf): Likewise.
20227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20228 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20229 value for Bessel function domain errors outside _SVID_ mode.
20230 Adjust sign of return value for yn (negative integer, 0).
20231 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20232 by zero in return for negative x and set sign appropriately for
20233 negative n.
20234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20236 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20237 expectations in error cases.
20238 (y1_test_data): Likewise.
20239 (yn_test_data): Likewise.
20240 * sysdeps/i386/fpu/libm-test-ulps: Update.
20241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20242
5b118558
UW
202432013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20244
20245 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20246 "64" to "64-v1". Add "64-v2".
20247 (abi-64-options): Rename to ...
20248 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20249 (abi-64-condition): Rename to ...
20250 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20251 (abi-64-ld-soname): Rename to ...
20252 (abi-64-v1-ld-soname): ... this.
20253 (abi-64-v2-options): Define.
20254 (abi-64-v2-condition): Likewise.
20255 (abi-64-v2-ld-soname): Likewise.
20256 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20257 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20261
61cd8fe4
UW
202622013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20263 Alan Modra <amodra@gmail.com>
20264
20265 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20266 New versions for use with the ELFv2 ABI.
20267 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20268 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20269 declaration.
20270 (struct La_ppc64v2_retval): Likewise.
20271 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20272 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20273 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20274 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20275 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20276 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20277 Do not save or restore CR.
20278 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20279 (_dl_profile_resolve): Do no save or restore CR. Support extended
20280 return values for ELFv2 ABI. Fix location of FPR return registers.
20281 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20282 updated values for _CALL_ELF == 2.
20283 (La_regs, La_retval, int_retval): Likewise.
20284
8b8a692c
UW
202852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20286
20287 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20288 (FRAME_MIN_SIZE_PARM): Likewise.
20289 (FRAME_BACKCHAIN): Likewise.
20290 (FRAME_CR_SAVE): Likewise.
20291 (FRAME_LR_SAVE): Likewise.
20292 (FRAME_TOC_SAVE): Likewise.
20293 (FRAME_PARM_SAVE): Likewise.
20294 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20295 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20296 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20297 (call_mcount_parm_offset): New macro.
20298 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20299 (PROF): Use symbolic stack frame offsets.
20300 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20301 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20302 Redefine in terms of FRAME_MIN_SIZE.
20303 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20304 (_dl_profile_resolve): Likewise. Update comment.
20305 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20306 symbols stack frame offsets.
20307 (__sigsetjmp): Likewise.
20308 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20309 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20310 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20311 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20312
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20314 (FRAME_BACKCHAIN): Remove.
20315 (FRAME_CR_SAVE): Likewise.
20316 (FRAME_LR_SAVE): Likewise.
20317 (FRAME_COMPILER_DW): Likewise.
20318 (FRAME_LINKER_DW): Likewise.
20319 (FRAME_TOC_SAVE): Likewise.
20320 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20321 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20322 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20323 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20325 (CHECK_SP): Use symbolic stack frame offsets.
20326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20327 zone" instead of caller's parameter save area for temp storage.
20328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20329 Likewise. Also, use symbolic stack frame offsets.
20330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20331 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20332 our own stack frame instead of the caller's.
20333 (__socket): Use symbolic stack frame offsets.
20334
122b66de
UW
203352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20336 Alan Modra <amodra@gmail.com>
20337
20338 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20339 Define.
57f41c40
AS
20340 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20341 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20342 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20343 New function.
20344 (elf_machine_fixup_plt): Call it.
20345 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20346 reloc arguments.
20347 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20349 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20350 r2 before calling target.
20351
696caf1d
UW
203522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20353 Alan Modra <amodra@gmail.com>
20354
20355 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20356 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20357 versions of macros to support ELFv2 ABI.
20358 (LOCALENTRY): New macro.
20359 (ENTRY, EALIGN): Use it.
20360 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20361 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20362 fall through into ENTRY entry point.
20363 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20364 Only define if _CALL_ELF != 2.
20365
20366 (elf_machine_matches_host): Verify ABI version matches.
20367 (RTLD_START): Use LOCALENTRY.
20368 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20369 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20370 (PLT_ENTRY_WORDS): New macro.
20371 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20372 (elf_machine_runtime_setup): Support ELFv2 ABI.
20373 (elf_machine_fixup_plt): Likewise.
20374 (elf_machine_plt_conflict): Likewise.
20375 (resolve_ifunc): Likewise.
20376 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20378 Likewise.
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20380 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20382 (makecontext): Support ELFv2 ABI.
20383 * elf/elf.h (EF_PPC64_ABI): Define.
20384
d31beafa
UW
203852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20386
57f41c40
AS
20387 * sysdeps/powerpc/powerpc64/sysdep.h
20388 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20389 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20390 (ENTRY) [ASSEMBLER]: ... but instead here ...
20391 (EALIGN) [ASSEMBLER]: ... and here.
20392 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20393 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20394 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20395 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20396 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20397 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20398 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20399 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20401 Use PPC64_LOAD_FUNCPTR.
20402
b525166b
UW
20403 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20404
7ec07d9a
AM
204052013-12-04 Alan Modra <amodra@gmail.com>
20406
20407 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20408 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20409 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20410 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20411
20412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20413 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20414 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20415 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20416 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20417 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20418
5162e7dd
UW
204192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20420
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20422 (__makecontext): Fix incorrect CFI when backtracing out of
20423 context created via makecontext.
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20425 (__setcontext): Fix incorrect CFI during switch to new context.
20426 (__novec_setcontext): Likewise.
20427
19e3372b
OB
204282013-12-04 Ondřej Bílka <neleai@seznam.cz>
20429
20430 [BZ #4772]
20431 * time/strptime_l.c (__strptime_internal): Allow modifiers
20432 in strptime.
20433 * time/tst-strptime.c (day_tests): Add testcase.
20434
ecaf142d
SP
204352013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20436
20437 * scripts/bench.pl: Skip over blank lines.
20438
fbf964ae
PE
204392013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20440
20441 [BZ #926]
20442 * manual/time.texi (Calendar Time): Clarify what timezone functions
20443 use.
20444
fa60a674
AZ
204452013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20446
20447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20448
d674f0ef
OB
204492013-12-04 Ondřej Bílka <neleai@seznam.cz>
20450
20451 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20452 implementation.
20453 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20454 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20455 * debug/memset_chk.c (__memset_chk): Likewise.
20456 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20457 * debug/strncpy_chk.c: Likewise.
20458
17dea188
JM
204592013-12-03 Joseph Myers <joseph@codesourcery.com>
20460
749008ff
JM
20461 [BZ #15268]
20462 [BZ #15425]
20463 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20464 (__ieee754_exp): For possibly underflowing results, check size of
20465 result and force underflow exception if required.
20466 * math/auto-libm-test-in: Add more tests of exp.
20467 * math/auto-libm-test-out: Regenerated.
20468 * sysdeps/i386/fpu/libm-test-ulps: Update.
20469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20470
17dea188
JM
20471 [BZ #16283]
20472 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20473 * math/w_exp2f.c (__exp2f): Likewise.
20474 * math/w_exp2l.c (__exp2l): Likewise.
20475 * math/auto-libm-test-in: Do not allow missing errno on exp2
20476 underflow.
20477 * math/auto-libm-test-out: Regenerated.
20478
b20de2c3
OB
204792013-12-03 Ondřej Bílka <neleai@seznam.cz>
20480
20481 [BZ #16274]
20482 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20483 handle filename validation.
20484 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20485 (do_open): Delete.
20486
d8e2dbe3
JM
204872013-12-03 Joseph Myers <joseph@codesourcery.com>
20488
34e16df5
JM
20489 [BZ #6786]
20490 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20491 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20492 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20493 <float.h>.
20494 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20496 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20497 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20498 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20500 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20501 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20502 Add more erfc tests.
20503 * math/auto-libm-test-out: Regenerated.
20504 * sysdeps/i386/fpu/libm-test-ulps: Update.
20505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20506
d8e2dbe3
JM
20507 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20508 exp2, expm1, j0 and j1.
20509 * math/auto-libm-test-out: Regenerated.
20510 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20511 (erfc_test_data): Likewise.
20512 (exp_test_data): Likewise.
20513 (exp_tonearest_test_data): Likewise.
20514 (exp_towardzero_test_data): Likewise.
20515 (exp_downward_test_data): Likewise.
20516 (exp_upward_test_data): Likewise.
20517 (exp10_test_data): Likewise.
20518 (exp2_test_data): Likewise.
20519 (expm1_test_data): Likewise.
20520 (j0_test_data): Likewise.
20521 (j1_test_data): Likewise.
20522 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20523 (input_flag_type): Add flag_xfail_rounding.
20524 (input_flags): Add xfail-rounding.
20525 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20526 (output_for_one_input_case): Handle flag_xfail_rounding.
20527 * sysdeps/i386/fpu/libm-test-ulps: Update.
20528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20529
18d14251
AJ
205302013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20531
3d2e6075 20532 [BZ #16289]
18d14251
AJ
20533 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20534 division by 0.
20535
520d437b
SP
205362013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20537
20538 [BZ #16195]
20539 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20540 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20541 (STAP_PROBE0): New macro.
20542 (STAP_PROBE1): Likewise.
20543 (STAP_PROBE2): Likewise.
20544 (STAP_PROBE3): Likewise.
20545 (STAP_PROBE4): Likewise.
20546
416e0145
OB
205472013-12-02 Ondřej Bílka <neleai@seznam.cz>
20548
20549 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20550
9d17796a
SE
205512013-12-02 Steve Ellcey <sellcey@mips.com>
20552
20553 * benchtests/Makefile (bench): Add sqrt.
20554 (LDLIBS-bench-sqrt): New.
20555 * benchtests/sqrt-input: New.
20556
f524d6a8
PS
205572013-12-02 Pavel Simerda <psimerda@redhat.com>
20558
639a0ef8
PS
20559 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20560 (GAIH_EAI): Likewise.
20561 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20562 (gaih_inet): Likewise.
20563 (getaddrinfo): Don't use GAIH_EAI.
20564
f524d6a8
PS
20565 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20566 (struct gaih): Remove definition.
20567
df3aedaf
SP
205682013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20569
20570 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20571 Use HERRNOP directly.
20572
1ab19dec
AZ
205732013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20574
b42ad38d 20575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20576
176b0c79
JM
205772013-11-30 Joseph Myers <joseph@codesourcery.com>
20578
20579 * math/gen-auto-libm-tests.c (test_functions): Add more
20580 single-argument functions.
20581 (special_fill_pi_2): New function.
20582 (special_fill_minus_pi_2): Likewise.
20583 (special_fill_pi_6): Likewise.
20584 (special_fill_minus_pi_6): Likewise.
20585 (special_fill_pi_3): Likewise.
20586 (special_fill_2pi_3): Likewise.
20587 (special_fill_e): Likewise.
20588 (special_fill_1_e): Likewise.
20589 (special_fill_e_minus_1): Likewise.
20590 (special_real_inputs): Add more special inputs.
20591 (output_for_one_input_case): Do not require ERANGE on underflow to
20592 zero if round-to-nearest result does not underflow to zero, unless
20593 exact results required.
20594 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20595 atan, atanh, cbrt, cos and cosh.
20596 * math/auto-libm-test-out: Regenerated.
20597 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20598 (acos_tonearest_test_data): Likewise.
20599 (acos_towardzero_test_data): Likewise.
20600 (acos_downward_test_data): Likewise.
20601 (acos_upward_test_data): Likewise.
20602 (acosh_test_data): Likewise.
20603 (asin_test_data): Likewise.
20604 (asin_tonearest_test_data): Likewise.
20605 (asin_towardzero_test_data): Likewise.
20606 (asin_upward_test_data): Likewise.
20607 (asinh_test_data): Likewise.
20608 (atan_test_data): Likewise.
20609 (atanh_test_data): Likewise.
20610 (cbrt_test_data): Likewise.
20611 (cos_test_data): Likewise.
20612 (cos_tonearest_test_data): Likewise.
20613 (cos_towardzero_test_data): Likewise.
20614 (cos_downward_test_data): Likewise.
20615 (cos_upward_test_data): Likewise.
20616 (cosh_test_data): Likewise.
20617 (cosh_tonearest_test_data): Likewise.
20618 (cosh_towardzero_test_data): Likewise.
20619 (cosh_downward_test_data): Likewise.
20620 (cosh_upward_test_data): Likewise.
20621 * sysdeps/i386/fpu/libm-test-ulps: Update.
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20623
ffb536d0
JM
206242013-11-29 Joseph Myers <joseph@codesourcery.com>
20625
2a77a467
JM
20626 [BZ #6787]
20627 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20628 * math/w_exp10f.c (__exp10f): Likewise.
20629 * math/w_exp10l.c (__exp10l): Likewise.
20630 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20631 errno settings in existing tests.
20632
ea3bc4e8
JM
20633 [BZ #14032]
20634 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20635 precision control set to double precision.
20636 * sysdeps/i386/fpu/w_sqrt.c: New file.
20637 * math/auto-libm-test-in: Add more tests.
20638 * math/auto-libm-test-out: Update.
20639
0712c9d8
JM
20640 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20641 (sqrt_test_tonearest): New function.
20642 (sqrt_towardzero_test_data): New variable.
20643 (sqrt_test_towardzero): New function.
20644 (sqrt_downward_test_data): New variable.
20645 (sqrt_test_downward): New function.
20646 (sqrt_upward_test_data): New variable.
20647 (sqrt_test_upward): New function.
20648 (main): Call the new functions.
20649
ffb536d0
JM
20650 * math/gen-auto-libm-tests.c: New file.
20651 * math/auto-libm-test-in: Likewise.
20652 * math/auto-libm-test-out: New generated file.
20653 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20654 variables.
20655 (%beautify): Add generated representations of zero.
20656 (top level): Set $auto_input and call parse_auto_input.
20657 (beautify): Remove trailing "f" from hex float constants.
20658 (parse_args): Handle XFAIL_TEST.
20659 (convert_condition): New function.
20660 (or_value): Likewise.
20661 (or_cond_value): Likewise.
20662 (generate_testfile): Handle AUTO_TESTS_* lines.
20663 (parse_auto_input): New function.
20664 * math/libm-test.inc (XFAIL_TEST): New macro.
20665 (ERRNO_UNCHANGED): Update value.
20666 (ERRNO_EDOM): Likewise.
20667 (ERRNO_ERANGE): Likewise.
20668 (IGNORE_RESULT): Likewise.
20669 (TEST_COND_flt_32): New macro.
20670 (TEST_COND_dbl_64): Likewise.
20671 (TEST_COND_ldbl_96_intel): Likewise.
20672 (TEST_COND_ldbl_96_m68k): Likewise.
20673 (TEST_COND_ldbl_128): Likewise.
20674 (TEST_COND_ldbl_128ibm): Likewise.
20675 (TEST_COND_long32): Likewise.
20676 (TEST_COND_long64): Likewise.
20677 (TEST_COND_before_rounding): Likewise.
20678 (TEST_COND_after_rounding): Likewise.
20679 (enable_test): Handle XFAIL_TEST flag.
20680 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20681 with finite results.
20682 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20683 auto-libm-test-out.
20684
acd98a8e
AK
206852013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20686 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20687
20688 [BZ #16214]
20689 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20690 __tls_get_addr_internal instead of __tls_get_offset in order to
20691 avoid GOT pointer dependency. Make rtld export
20692 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20693 __tls_get_addr since we are a __tls_get_offset platform.
20694 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20695 GOT pointer being set up before.
20696 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20697
3c1c46a6
JM
206982013-11-28 Joseph Myers <joseph@codesourcery.com>
20699
7475aef5
JM
20700 * manual/math.texi (Errors in Math Functions): Document accuracy
20701 goals.
20702
8bca7cd8
JM
20703 [BZ #15004]
20704 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20705 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20706 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20708 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20709 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20710 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20711 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20712 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20713 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20714 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20715 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20716 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20717 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20718 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20719 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20720
91a1f3fe
JM
20721 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20722 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20723 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20724 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20725 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20726 Likewise.
20727 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20728 Likewise.
20729 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20730 Likewise.
20731 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20732 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20733 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20734 atomic-feupdateenv and flt-rounds.
20735 * sysdeps/powerpc/nofpu/Versions (libc): Add
20736 __atomic_feholdexcept, __atomic_feclearexcept,
20737 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20738 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20739 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20740 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20741 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20742 here.
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20744 Update.
20745
c5df7609
JM
20746 * manual/arith.texi (FP Exceptions): Document that exceptions may
20747 not be raised when matherr is used.
20748 (Math Error Reporting): Document overflow in directed rounding
20749 modes. Document that errno may not be set when finite values are
20750 returned on overflow. Document intent to set errno on underflow
20751 only for underflow to zero.
20752
3c1c46a6
JM
20753 [BZ #16271]
20754 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20755 round-to-nearest then adjust result for other rounding modes.
20756 * include/fenv.h (fegetround): Use libm_hidden_proto.
20757 * math/fegetround.c (fegetround): Use libm_hidden_def.
20758 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20759 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20760 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20761 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20762 Likewise.
20763 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20764 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20765 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20766 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20767
5a4c6d53
SP
207682013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20769
20770 [BZ #16077]
20771 * nss/Versions (libnss_files): Add
20772 _nss_files_gethostbyname3_r.
20773 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20774 New function.
20775 (HOST_DB_LOOKUP): Remove macro.
20776 (_nss_files_gethostbyname_r): Implement function without the
20777 HOST_DB_LOOKUP macro.
20778 (_nss_files_gethostbyname2_r): Likewise.
20779
897b98ba
OB
207802013-11-28 Ondřej Bílka <neleai@seznam.cz>
20781
20782 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20783
6f476861
UB
207842013-11-26 Uros Bizjak <ubizjak@gmail.com>
20785
20786 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20787 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20788 warning.
20789
bd12ab55
AZ
207902013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20791
20792 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20793 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20794 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20795 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20796 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20797 __fe_nomask_env_priv and attribute_hidden.
20798 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20799 (libc_feupdateenv_test_ppc): Likewise.
20800 (libc_feresetround_ppc): Likewise.
20801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20802 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20803 compat_symbol macro.
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20805 (__fe_nomask_env): Likewise.
20806 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20807
52bb6543
OB
208082013-11-26 Ondřej Bílka <neleai@seznam.cz>
20809
20810 * string/Makefile: Remove ifunc tests.
20811 * string/test-string.h: Define TEST_IFUNC.
20812 * string/test-bcopy-ifunc.c: Remove.
20813 * string/test-bzero-ifunc.c: Likewise.
20814 * string/test-memccpy-ifunc.c: Likewise.
20815 * string/test-memchr-ifunc.c: Likewise.
20816 * string/test-memcmp-ifunc.c: Likewise.
20817 * string/test-memcpy-ifunc.c: Likewise.
20818 * string/test-memmem-ifunc.c: Likewise.
20819 * string/test-memmove-ifunc.c: Likewise.
20820 * string/test-mempcpy-ifunc.c: Likewise.
20821 * string/test-memrchr-ifunc.c: Likewise.
20822 * string/test-memset-ifunc.c: Likewise.
20823 * string/test-rawmemchr-ifunc.c: Likewise.
20824 * string/test-stpcpy-ifunc.c: Likewise.
20825 * string/test-stpncpy-ifunc.c: Likewise.
20826 * string/test-strcasecmp-ifunc.c: Likewise.
20827 * string/test-strcasestr-ifunc.c: Likewise.
20828 * string/test-strcat-ifunc.c: Likewise.
20829 * string/test-strchr-ifunc.c: Likewise.
20830 * string/test-strchrnul-ifunc.c: Likewise.
20831 * string/test-strcmp-ifunc.c: Likewise.
20832 * string/test-strcpy-ifunc.c: Likewise.
20833 * string/test-strcspn-ifunc.c: Likewise.
20834 * string/test-strlen-ifunc.c: Likewise.
20835 * string/test-strncasecmp-ifunc.c: Likewise.
20836 * string/test-strncat-ifunc.c: Likewise.
20837 * string/test-strncmp-ifunc.c: Likewise.
20838 * string/test-strncpy-ifunc.c: Likewise.
20839 * string/test-strnlen-ifunc.c: Likewise.
20840 * string/test-strpbrk-ifunc.c: Likewise.
20841 * string/test-strrchr-ifunc.c: Likewise.
20842 * string/test-strspn-ifunc.c: Likewise.
20843 * string/test-strstr-ifunc.c: Likewise.
20844
ab260039 208452013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20846
20847 * benchtests/Makefile: Remove ifunc tests.
20848 * benchtests/bench-string.h: Define TEST_IFUNC.
20849 * benchtests/bench-bcopy-ifunc.c: Remove.
20850 * benchtests/bench-bzero-ifunc.c: Likewise.
20851 * benchtests/bench-memccpy-ifunc.c: Likewise.
20852 * benchtests/bench-memchr-ifunc.c: Likewise.
20853 * benchtests/bench-memcmp-ifunc.c: Likewise.
20854 * benchtests/bench-memcpy-ifunc.c: Likewise.
20855 * benchtests/bench-memmem-ifunc.c: Likewise.
20856 * benchtests/bench-memmove-ifunc.c: Likewise.
20857 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20858 * benchtests/bench-memrchr-ifunc.c: Likewise.
20859 * benchtests/bench-memset-ifunc.c: Likewise.
20860 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20861 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20862 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20863 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20864 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20865 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20866 * benchtests/bench-strcat-ifunc.c: Likewise.
20867 * benchtests/bench-strchr-ifunc.c: Likewise.
20868 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20869 * benchtests/bench-strcmp-ifunc.c: Likewise.
20870 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20871 * benchtests/bench-strcpy-ifunc.c: Likewise.
20872 * benchtests/bench-strcspn-ifunc.c: Likewise.
20873 * benchtests/bench-strlen-ifunc.c: Likewise.
20874 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20875 * benchtests/bench-strncat-ifunc.c: Likewise.
20876 * benchtests/bench-strncmp-ifunc.c: Likewise.
20877 * benchtests/bench-strncpy-ifunc.c: Likewise.
20878 * benchtests/bench-strnlen-ifunc.c: Likewise.
20879 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20880 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20881 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20882 * benchtests/bench-strspn-ifunc.c: Likewise.
20883 * benchtests/bench-strstr-ifunc.c: Likewise.
20884
208852013-11-26 Ondřej Bílka <neleai@seznam.cz>
20886
ab260039
OB
20887 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20888
d1d9eaf4 208892013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20890
d1d9eaf4
OB
20891 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20892 * rt/aio.h: Likewise.
20893 * sysdeps/gnu/bits/utmp.h: Likewise.
20894 * sysdeps/gnu/bits/utmpx.h: Likewise.
20895 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20896 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20897 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20898 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20899 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20900 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20901 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20902 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20903 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20904 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20905 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20906 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20907 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20909 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20910 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20911 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20912 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20913 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20914 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20915 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20916 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20917 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20918 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20919 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20921 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20922 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20923 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20924 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20925 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20926 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20927 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20928 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20929 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20930 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20931 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20932 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20933 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20934 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20935 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20936 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20937
a7624ed9
CD
209382013-11-25 Carlos O'Donell <carlos@redhat.com>
20939
20940 [BZ #16245]
20941 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20942 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20943
63cfe52b
JM
209442013-11-25 Joseph Myers <joseph@codesourcery.com>
20945
20946 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20947 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20948 Likewise.
20949
41e8926a
AZ
209502013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20951
20952 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20953 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20954 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20955 (__fesetround): Remove define.
20956 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20957 rounding and exceptions handling.
20958 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20959 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20960 (__fe_nomask_env): Likewise.
20961 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20962 __fegetround instead of fegetround.
20963 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20964 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20965
6851bd4d
RM
209662013-11-21 Roland McGrath <roland@hack.frob.com>
20967
070906ff
RM
20968 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20969 it's there.
20970
6851bd4d
RM
20971 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20972
84ae135d
MI
209732013-11-21 Meador Inge <meadori@codesourcery.com>
20974
20975 [BZ #11157]
20976 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20977 (encrypt_r): Likewise.
20978 * malloc/obstack.h (obstack_free): Likewise.
20979 * posix/unistd.h (encrypt): Likewise.
20980
daf75146
GM
209812013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20982
20983 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20984 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20985 DL_CALL_DT_FINI() that call the functions directly.
20986 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20987 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20988 * elf/dl-fini.c: Likewise.
20989
10ad46bc
OB
209902013-11-20 Ondřej Bílka <neleai@seznam.cz>
20991
20992 * malloc/hooks.c (memalign_check): Add alignment rounding.
20993 * malloc/malloc.c (_mid_memalign): New function.
20994 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20995 Implement by calling _mid_memalign.
20996 * manual/probes.texi (Memory Allocation Probes): Remove
20997 memory_valloc_retry and memory_pvalloc_retry.
20998
f3fd2628
SP
209992013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21000
4712799f
SP
21001 * locale/programs/locarchive.c (open_archive): Add const
21002 qualifier to ARCHIVEFNAME and copy default fname to
21003 DEFAULT_FNAME.
21004
0417b20f
SP
21005 [BZ #15601]
21006 * libio/tst-widetext.input: Rename Oriya to Odia.
21007 * locale/iso-639.def: Likewise.
21008
f3fd2628
SP
21009 * manual/probes.texi (Mathematical Function Probes): Add
21010 documentation for sin, cos, asin and acos probes.
21011 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21012 (__sin32): Add slowasin probe.
21013 (__cos32): Add slowacos probe.
21014 (__mpsin): Add slowsin probe.
21015 (__mpcos): Add slowcos probe.
21016
73c1ce4f
JM
210172013-11-19 Joseph Myers <joseph@codesourcery.com>
21018
21019 [BZ #15483]
21020 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21021 thread-local __sim_exceptions_thread and global
21022 __sim_exceptions_global.
21023 (__sim_disabled_exceptions): Change to thread-local
21024 __sim_disabled_exceptions_thread and global
21025 __sim_disabled_exceptions_global.
21026 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21027 and global __sim_round_mode_global.
21028 (__simulate_exceptions): Use thread-local floating-point state and
21029 set global state from it as needed.
21030 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21031 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21032 __sim_round_mode_thread.
21033 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21034 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21035 and global __sim_exceptions_global.
21036 (__sim_disabled_exceptions): Change to thread-local
21037 __sim_disabled_exceptions_thread and global
21038 __sim_disabled_exceptions_global.
21039 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21040 and global __sim_round_mode_global.
21041 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21042 (SIM_SET_GLOBAL): Likewise.
21043 * sysdeps/powerpc/soft-fp/sfp-machine.h
21044 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21045 __sim_round_mode_thread.
21046 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21047 __sim_disabled_exceptions_thread.
21048 (__sim_exceptions): Change to __sim_exceptions_thread.
21049 (__sim_disabled_exceptions): Change to
21050 __sim_disabled_exceptions_thread.
21051 (__sim_round_mode): Change to __sim_round_mode_thread.
21052 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21053 thread-local floating-point state and set global state from it as
21054 needed.
21055 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21056 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21057 (__sim_disabled_exceptions): Remove extern declaration.
21058 (feenableexcept): Use thread-local floating-point state and set
21059 global state from it as needed.
21060 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21061 extern declaration.
21062 (__sim_disabled_exceptions): Likewise.
21063 (__sim_round_mode): Likewise.
21064 (__fegetenv): Use thread-local floating-point state.
21065 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21066 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21067 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21068 floating-point state and set global state from it as needed.
21069 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21070 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21071 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21072 Likewise.
21073 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21074 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21075 Likewise.
21076 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21077 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21078 Use __sim_round_mode_thread.
21079 * math/test-fenv-tls.c: New file.
21080 * math/Makefile (tests): Add test-fenv-tls.
21081 ($(objpfx)test-fenv-tls): Depend on
21082 $(common-objpfx)nptl/libpthread.so.
21083
b5449b12
AS
210842013-11-19 Andreas Schwab <schwab@suse.de>
21085
21086 * locale/programs/locale.c (show_info): Decode wordarray elements.
21087 * locale/categories.def (LC_MONETARY): Add element for
21088 _NL_MONETARY_CRNCYSTR.
21089 * locale/C-monetary.c (conversion_rate): New variable.
21090 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21091 element.
21092
e186536b
CM
210932013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21094
21095 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21096 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21097
5c349950
PP
210982013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21099
21100 * elf/Makefile (tst-auxv): New test.
21101 * elf/tst-auxv.c: New
21102 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21103
699df45b
JM
211042013-11-18 Joseph Myers <joseph@codesourcery.com>
21105
21106 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21107 (hidden_proto): Caller changed.
21108 (hidden_tls_proto): New macro.
21109 (libc_hidden_tls_proto): Likewise.
21110 (rtld_hidden_tls_proto): Likewise.
21111 (libm_hidden_tls_proto): Likewise.
21112 (libresolv_hidden_tls_proto): Likewise.
21113 (librt_hidden_tls_proto): Likewise.
21114 (libdl_hidden_tls_proto): Likewise.
21115 (libnss_files_hidden_tls_proto): Likewise.
21116 (libnsl_hidden_tls_proto): Likewise.
21117 (libnss_nisplus_hidden_tls_proto): Likewise.
21118 (libutil_hidden_tls_proto): Likewise.
21119
b7589107
OB
211202013-11-18 Ondřej Bílka <neleai@seznam.cz>
21121
21122 [BZ #10253]
21123 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21124 (decompose_rpath): Defer expansion to fillin_rpath.
21125 (_dl_init_paths): Pass linkmap to fillin_rpath.
21126
250c23bd
RS
211272013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21128
21129 * benchtests/Makefile: Add strsep.
21130 * benchtests/bench-strsep.c: New file: strsep benchtest.
21131 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21132
a7931fcf
AS
211332013-11-18 Andreas Schwab <schwab@suse.de>
21134
21135 * locale/programs/locale.c (show_info) [case byte]: Check for
21136 '\377' instead of '\177'.
21137 * locale/C-monetary.c (not_available): Always use "\377".
21138 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21139 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21140 detect unavailable sign_posn locale elements.
21141 * locale/localeconv.c (__localeconv): For grouping and
21142 mon_grouping handle "\177" and "\377" like no grouping.
21143 (INT_ELEM): New macro. Use it to set all numeric members.
21144 * locale/programs/ld-monetary.c (monetary_read)
21145 <tok_mon_grouping>: Normalize single -1 to the empty string.
21146 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21147 Likewise.
21148
728dab0e
OB
211492013-11-07 Ondřej Bílka <neleai@seznam.cz>
21150
21151 [BZ #16055]
21152 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21153 when we match (nil).
21154 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21155
66294491
JM
211562013-11-16 Joseph Myers <joseph@codesourcery.com>
21157
ce665817
JM
21158 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21159 (NO_TEST_INLINE): Update value.
21160 (ERRNO_UNCHANGED): Likewise.
21161 (ERRNO_EDOM): Likewise.
21162 (ERRNO_ERANGE): Likewise.
21163 (IGNORE_RESULT): Likewise.
21164 (check_float_internal): Check signs of NaN results if
21165 TEST_NAN_SIGN used.
21166 (check_complex): Pass TEST_NAN_SIGN flag through to second
21167 check_float_internal call.
21168 (copysign_test_data): Add tests with quiet NaNs as second
21169 argument. Use TEST_NAN_SIGN.
21170 (fabs_test_data): Add test of negative quiet NaN argument. Use
21171 TEST_NAN_SIGN.
21172 (signbit_test_data): Add tests of quiet NaN argument.
21173 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21174
ee1466a9
JM
21175 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21176 $ignore_result.
21177 (parse_args): Handle function results specified as IGNORE.
21178 * math/libm-test.inc (IGNORE_RESULT): New macro.
21179 (check_float_internal): Do not check numerical result if flag
21180 IGNORE_RESULT set.
21181 (check_complex): Pass through IGNORE_RESULT to second
21182 check_float_internal call.
21183 (check_int): Do not check numerical result if flag IGNORE_RESULT
21184 set.
21185 (check_long): Likewise.
21186 (check_bool): Likewise.
21187 (check_longlong): Likewise.
21188 (lrint_test_data): Add tests of infinite and NaN arguments.
21189 (lrint_tonearest_test_data): Likewise.
21190 (lrint_towardzero_test_data): Likewise.
21191 (lrint_downward_test_data): Likewise.
21192 (lrint_upward_test_data): Likewise.
21193 (llrint_test_data): Likewise.
21194 (llrint_tonearest_test_data): Likewise.
21195 (llrint_towardzero_test_data): Likewise.
21196 (llrint_downward_test_data): Likewise.
21197 (llrint_upward_test_data): Likewise.
21198 (lround_test_data): Likewise.
21199 (llround_test_data): Likewise.
21200
14407b7e
JM
21201 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21202 (ERRNO_UNCHANGED): Update value.
21203 (ERRNO_EDOM): Likewise.
21204 (ERRNO_ERANGE): Likewise.
21205 (NO_TEST_INLINE_FLOAT): New macro.
21206 (NO_TEST_INLINE_DOUBLE): Likewise.
21207 (enable_test): New function.
21208 (RUN_TEST_f_f): Check enable_test before running test.
21209 (RUN_TEST_2_f): Likewise.
21210 (RUN_TEST_fff_f): Likewise.
21211 (RUN_TEST_c_f): Likewise.
21212 (RUN_TEST_f_f1): Likewise.
21213 (RUN_TEST_fF_f1): Likewise.
21214 (RUN_TEST_fI_f1): Likewise.
21215 (RUN_TEST_ffI_f1): Likewise.
21216 (RUN_TEST_c_c): Likewise.
21217 (RUN_TEST_cc_c): Likewise.
21218 (RUN_TEST_f_i): Likewise.
21219 (RUN_TEST_f_i_tg): Likewise.
21220 (RUN_TEST_ff_i_tg): Likewise.
21221 (RUN_TEST_f_b): Likewise.
21222 (RUN_TEST_f_b_tg): Likewise.
21223 (RUN_TEST_f_l): Likewise.
21224 (RUN_TEST_f_L): Likewise.
21225 (RUN_TEST_fFF_11): Likewise.
21226 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21227 conditionals.
21228 (cosh_test_data): Likewise.
21229 (exp_test_data): Likewise.
21230 (expm1_test_data): Likewise.
21231 (hypot_test_data): Likewise.
21232 (pow_test_data): Likewise.
21233 (sinh_test_data): Likewise.
21234 (tanh_test_data): Likewise.
21235 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21236 flags argument.
21237
ca07f197
JM
21238 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21239 tests with quiet NaN input and output.
21240 (acosh_test_data): Likewise.
21241 (asin_test_data): Likewise.
21242 (asinh_test_data): Likewise.
21243 (atan_test_data): Likewise.
21244 (atanh_test_data): Likewise.
21245 (atan2_test_data): Likewise.
21246 (cbrt_test_data): Likewise.
21247 (cos_test_data): Likewise.
21248 (cosh_test_data): Likewise.
21249 (erf_test_data): Likewise.
21250 (erfc_test_data): Likewise.
21251 (exp_test_data): Likewise.
21252 (exp10_test_data): Likewise.
21253 (exp2_test_data): Likewise.
21254 (expm1_test_data): Likewise.
21255 (hypot_test_data): Likewise.
21256 (j0_test_data): Likewise.
21257 (j1_test_data): Likewise.
21258 (jn_test_data): Likewise.
21259 (lgamma_test_data): Likewise.
21260 (log_test_data): Likewise.
21261 (log10_test_data): Likewise.
21262 (log1p_test_data): Likewise.
21263 (log2_test_data): Likewise.
21264 (pow_test_data): Likewise.
21265 (scalb_test_data): Likewise.
21266 (sin_test_data): Likewise.
21267 (sincos_test_data): Likewise.
21268 (sinh_test_data): Likewise.
21269 (tan_test_data): Likewise.
21270 (tanh_test_data): Likewise.
21271 (tgamma_test_data): Likewise.
21272 (y0_test_data): Likewise.
21273 (y1_test_data): Likewise.
21274 (yn_test_data): Likewise.
21275
66294491
JM
21276 [BZ #16167]
21277 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21278 argument being NaN and avoid computations with second argument in
21279 that case.
21280 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21281 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21282 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21283
1820b143
CL
212842013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21285
21286 * locale/iso-639.def: Add Chitwani Tharu (the).
21287
714bd261
AS
212882013-11-14 Andreas Schwab <schwab@suse.de>
21289
21290 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21291 word instead of empty string.
21292
7ab44563
AZ
212932013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21294
21295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21296 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21298 (__fe_nomask_env): Likewise.
21299
e8470ea2
SE
213002013-11-13 Steve Ellcey <sellcey@mips.com>
21301
21302 * benchtests/bench-timing.h: Include time.h.
21303
17c1d9f0
L
213042013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21305
21306 [BZ #15997]
21307 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21308 to 3.4.0 for x32.
21309 * sysdeps/unix/sysv/linux/configure: Regenerated.
21310
9310c284
JM
213112013-11-13 Joseph Myers <joseph@codesourcery.com>
21312
21313 [BZ #16151]
21314 * stdlib/strtod_l.c (round_and_return): Do not consider
21315 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21316 exponent one less than half the least subnormal exponent.
21317 * stdlib/test-strtod-round-data: Add more tests.
21318 * stdlib/tst-strtod-round.c (tests): Regenerated.
21319
7a2ad8cf
AZ
213202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21321
21322 [BZ #14143]
21323 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21324 (__fe_mask_env): Likewise.
21325 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21326 libm_hidden_proto and add function prototype.
21327 (__fe_mask_env): Add function prototype.
21328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21329 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21331 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21333 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21334
50727aa7
MS
213352013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21336
b2f386c1 21337 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21338 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21339
a615be46
MS
213402013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21341
21342 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21343 of htab_find_slot().
21344
7ddace62
DM
213452013-11-11 David S. Miller <davem@davemloft.net>
21346
21347 [BZ #16150]
21348 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21349 symbol in the non-vis3 case in static builds.
21350 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21351 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21352 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21353 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21354
9182aa67
JK
213552013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21356
21357 [BZ #387]
21358 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21359 it is empty.
21360
450a2e2d
AZ
213612013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21362
b2f386c1
SP
21363 * benchtests/Makefile: Add bench-strtod.
21364 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21365
8ec3f656
AS
213662013-11-11 Andreas Schwab <schwab@suse.de>
21367
21368 [BZ #16153]
21369 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21370 terminating NUL in key length.
21371
76a9b998
AZ
213722013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21373
21374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21375 Add artificial ODP entry for vDSO symbol for PPC64.
21376 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21377 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21378
e4368156
OB
213792013-11-07 Ondřej Bílka <neleai@seznam.cz>
21380
21381 [BZ #15374]
21382 * nss/getent.c (services_keys): Recognize services starting with digit.
21383
8d6bb57c
DM
213842013-11-06 David S. Miller <davem@davemloft.net>
21385
21386 [BZ #15985]
21387 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21388 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21389
e256c421
WN
213902013-11-06 Will Newton <will.newton@linaro.org>
21391
21392 * manual/memory.texi (Malloc Examples): Remove register
21393 keyword from examples.
21394
f6e12daa 213952013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21396
f6e12daa 21397 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21398
9d880655
AS
213992013-11-04 Joseph Myers <joseph@codesourcery.com>
21400
fd2f9486 21401 [BZ #6981]
9d880655
AS
21402 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21403 depending on [__GCC_IEC_559 > 0].
21404 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21405 depending on [__GCC_IEC_559_COMPLEX > 0].
21406
ae129d3c
CL
214072013-11-03 Chris Leonard <cjl@sugarlabs.org>
21408
21409 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21410 to iso-639.def.
21411
4a15c2a4 214122013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21413
21414 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21415
8b35e35d
OB
214162013-11-01 Ondřej Bílka <neleai@seznam.cz>
21417
21418 [BZ #16112]
21419 * malloc/malloc (malloc_info): Do not handle first bin as
21420 special case.
21421
1d70fd6c
CL
214222013-11-01 Chris Leonard <cjl@sugarlabs.org>
21423
21424 * locale/iso-639.def: Add Central Nahuatl (nhn).
21425
8c5c2600
BH
214262013-11-01 Bruno Haible <bruno@clisp.org>
21427
21428 [BZ #7003]
21429 * manual/math.texi (BSD Random): Specify range upper bound as
21430 in POSIX.
21431
da5579c2
CL
214322013-10-31 Chris Leonard <cjl@sugarlabs.org>
21433
21434 * locale/iso-639.def: Add Meadow Mari (mhr).
21435
5d30d853
OB
214362013-10-31 Ondřej Bílka <neleai@seznam.cz>
21437
21438 [BZ #14752], [BZ #15763]
21439 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21440 Validate name.
21441 * rt/tst_shm.c: Add test for escaping directory.
21442
a4966c61
AS
214432013-10-31 Andreas Schwab <schwab@suse.de>
21444
8a43e768 21445 [BZ #15917]
a4966c61
AS
21446 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21447 followed by 'x' as part of digit sequence.
21448 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21449
28d708c4
MAP
214502013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21451
21452 [BZ #16037]
21453 * configure.ac: allow GNU Make 4.0 and greater.
21454 * configure: Regenerated.
21455
a56ee40b
WN
214562013-10-30 Will Newton <will.newton@linaro.org>
21457
21458 [BZ #16038]
21459 * malloc/hooks.c (memalign_check): Limit alignment to the
21460 maximum representable power of two.
21461 * malloc/malloc.c (__libc_memalign): Likewise.
21462 * malloc/tst-memalign.c (do_test): Add test for very
21463 large alignment values.
21464 * malloc/tst-posix_memalign.c (do_test): Likewise.
21465
c6e4925d
OB
214662013-10-30 Ondřej Bílka <neleai@seznam.cz>
21467
21468 [BZ #11087]
21469 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21470 (munmap_chunk): Likewise.
21471 (mremap_chunk): Likewise.
21472
214732013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21474
8a43e768 21475 [BZ #15799]
bbea82f7
OB
21476 * stdlib/div.c (div): Remove obsolete code.
21477 * stdlib/ldiv.c (ldiv): Likewise.
21478 * stdlib/lldiv.c (lldiv): Likewise.
21479
977f4b31
SP
214802013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21481
21482 [BZ #16071]
21483 * nss/nss_files/files-XXX.c (get_contents_ret): New
21484 enumerator.
21485 (get_contents): New function.
21486 (internal_getent): Use it. Expand size of LINEBUFLEN.
21487
cb8a6dbd
MF
214882013-10-30 Mike Frysinger <vapier@gentoo.org>
21489
21490 * configure.in: Moved to ...
21491 * configure.ac: ... here. Change reference to configure.in
21492 to configure.ac.
21493 * sysdeps/arm/preconfigure.ac: ... here.
21494 configure.in to configure.ac.
21495 * sysdeps/gnu/configure.in: Moved to ...
21496 * sysdeps/gnu/configure.ac: ... here.
21497 * sysdeps/i386/configure.in: Moved to ...
21498 * sysdeps/i386/configure.ac: ... here.
21499 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21500 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21501 * sysdeps/mach/configure.in: Moved to ...
21502 * sysdeps/mach/configure.ac: ... here.
21503 * sysdeps/mach/hurd/configure.in: Moved to ...
21504 * sysdeps/mach/hurd/configure.ac: ... here.
21505 * sysdeps/powerpc/configure.in: Moved to ...
21506 * sysdeps/powerpc/configure.ac: ... here.
21507 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21508 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21509 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21510 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21511 * sysdeps/s390/s390-32/configure.in: Moved to ...
21512 * sysdeps/s390/s390-32/configure.ac: ... here.
21513 * sysdeps/s390/s390-64/configure.in: Moved to ...
21514 * sysdeps/s390/s390-64/configure.ac: ... here.
21515 * sysdeps/sh/configure.in: Moved to ...
21516 * sysdeps/sh/configure.ac: ... here.
21517 * sysdeps/sparc/configure.in: Moved to ...
21518 * sysdeps/sparc/configure.ac: ... here.
21519 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21520 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21521 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21522 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21523 * sysdeps/x86_64/configure.in: Moved to ...
21524 * sysdeps/x86_64/configure.ac: ... here.
21525 * sysdeps/x86_64/preconfigure.in: Moved to ...
21526 * sysdeps/x86_64/preconfigure.ac: ... here.
21527 * aclocal.m4: Change reference to configure.in to configure.ac.
21528 * config.h.in: Likewise.
21529 * manual/install.texi: Likewise.
21530 * manual/maint.texi: Likewise.
21531 * Makefile: Likewise.
21532 * malloc/Makefile: Likewise.
21533 * nscd/Makefile: Likewise.
21534 * Makeconfig: Change reference to configure.in and
21535 preconfigure.in to configure.ac and preconfigure.ac
21536 respectively.
21537 * INSTALL: Regenerated.
21538 * configure: Likewise.
21539 * sysdeps/gnu/configure: Likewise.
21540 * sysdeps/i386/configure: Likewise.
21541 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21542 * sysdeps/mach/configure: Likewise.
21543 * sysdeps/mach/hurd/configure: Likewise.
21544 * sysdeps/powerpc/configure: Likewise.
21545 * sysdeps/powerpc/powerpc32/configure: Likewise.
21546 * sysdeps/powerpc/powerpc64/configure: Likewise.
21547 * sysdeps/s390/s390-32/configure: Likewise.
21548 * sysdeps/s390/s390-64/configure: Likewise.
21549 * sysdeps/sh/configure: Likewise.
21550 * sysdeps/sparc/configure: Likewise.
21551 * sysdeps/unix/sysv/linux/configure: Likewise.
21552 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21553 * sysdeps/x86_64/configure: Likewise.
21554 * sysdeps/x86_64/preconfigure: Likewise.
21555
36a4953a
AS
215562013-10-29 Andreas Schwab <schwab@suse.de>
21557
21558 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21559
c79a1204
SP
215602013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21561
dfa1b402
SP
21562 * benchtests/pow-inputs: Add new inputs.
21563
54f73d9c
SP
21564 * benchtests/exp-inputs: Add new inputs.
21565
c79a1204
SP
21566 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21567 conditional check for return value.
21568 (__cos32): Likewise.
21569
67beb545 215702013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21571
21572 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21573 to provide a boost for large inputs with word alignment.
21574 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21575 implementation based on optimized PPC64 strcpy.
21576 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21577 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21578 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21579 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21580
151659f6
OB
215812013-10-25 Ondřej Bílka <neleai@seznam.cz>
21582
482a077e 21583 [BZ #2801]
151659f6
OB
21584 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21585
10b0f26b
OB
215862013-10-25 Ondřej Bílka <neleai@seznam.cz>
21587
21588 [BZ #14876]
21589 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21590 * time/tst-strptime.c (day_tests): Add testcase.
21591
ca42d35e
OB
215922013-10-25 Ondřej Bílka <neleai@seznam.cz>
21593
482a077e 21594 [BZ #14029]
ca42d35e
OB
21595 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21596
52e6d801
FB
215972013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21598
21599 [BZ #16074]
21600 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21601 MAP_FAILED on error.
21602
7cbcdb36
SP
216032013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21604
21605 [BZ #16072]
21606 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21607 heap for large requests.
21608
894f3f10
AM
216092013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21610
21611 [BZ #9954]
21612 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21613 result if the result has no associated interface.
21614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21615 interface for all 127.X.Y.Z addresses.
21616
b85545a6
CL
216172013-10-24 Chris Leonard <cjl@sugarlabs.org>
21618
21619 * locale/iso-639.def: Add Ligurian (lij)
21620
d1f23d46
OB
216212013-10-21 Ondřej Bílka <neleai@seznam.cz>
21622
21623 [BZ #15825]
21624 * sunrpc/rpc_main.c: Document rpcgen -5.
21625
4db5b08f
MS
216262013-10-19 Michael Stahl <mstahl@redhat.com>
21627
21628 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21629
a471e96a
OB
216302013-10-19 Ondřej Bílka <neleai@seznam.cz>
21631
d1f23d46 21632 [BZ #10278]
a471e96a
OB
21633 * posix/glob.c: Match only directories when trailing slash is present.
21634 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21635 (main): Add testcase.
21636
45c30c61
OB
216372013-10-19 Ondřej Bílka <neleai@seznam.cz>
21638
21639 [BZ #15670]
21640 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21641
484c12fb
CD
216422013-10-18 Carlos O'Donell <carlos@redhat.com>
21643
3d7dc513
CD
21644 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21645 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21646 AUTH_DES and cindex for FIPS 140-2.
21647 (DES Encryption): Add cindex FIPS 46-3.
21648
484c12fb
CD
21649 * locale/locarchive.h (struct locarhandle): Add fname.
21650 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21651 if an optional argument was specified to --list-archive,
21652 otherwise NULL.
21653 * locale/programs/locarchive.c (show_archive_content): Take new
21654 argument fname and pass it via ah.fname to open_archive.
21655 * locale/programs/localedef.h: Update decl.
21656 (open_archive): If AH->fname is non-null, open that file
21657 rather than the default file name, and don't ignore ENOENT.
21658 (create_archive): Set AH.fname to NULL.
21659 (delete_locales_from_archive): Likewise.
21660 (add_locales_to_archive): Likewise.
21661 * locale/programs/locfile.c (write_all_categories): Likewise.
21662
3c8325fb
JM
216632013-10-18 Joseph Myers <joseph@codesourcery.com>
21664 Aldy Hernandez <aldyh@redhat.com>
21665
21666 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21667 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21668 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21669 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21670 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21671 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21672 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21673 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21674 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21675 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21676 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21677 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21678 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21679 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21680 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21681 Likewise.
21682 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21683 Likewise.
21684 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21685 Likewise.
21686 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21687 Likewise.
21688 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21689 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21690 Likewise.
21691 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21692 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21693 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21694 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21695 Likewise.
21696 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21697 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21698 * sysdeps/powerpc/preconfigure: Likewise.
21699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21700 Likewise.
21701 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21702 Replace contents of file by #include of <fenv_libc.h>.
21703 * sysdeps/powerpc/soft-fp/sfp-machine.h
21704 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21705 and <sys/prctl.h>.
21706 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21719 Allow copysignl PLT reference to be missing.
21720
5abe0682
RS
217212013-10-18 Richard Sandiford <richard@codesourcery.com>
21722 Joseph Myers <joseph@codesourcery.com
21723
21724 [BZ #15948]
21725 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21726 single character.
21727 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21728
c7738d08
SP
217292013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21730
21731 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21732 * elf/tst-tls1.c: Likewise.
21733 * elf/tst-tls10.h: Likewise.
21734 * elf/tst-tls14.c: Likewise.
21735 * elf/tst-tls2.c: Likewise.
21736 * elf/tst-tls3.c: Likewise.
21737 * elf/tst-tls4.c: Likewise.
21738 * elf/tst-tls5.c: Likewise.
21739 * elf/tst-tls6.c: Likewise.
21740 * elf/tst-tls7.c: Likewise.
21741 * elf/tst-tls8.c: Likewise.
21742 * elf/tst-tls9.c: Likewise.
21743 * elf/tst-tlsmod1.c: Likewise.
21744 * elf/tst-tlsmod13.c: Likewise.
21745 * elf/tst-tlsmod13a.c: Likewise.
21746 * elf/tst-tlsmod14a.c: Likewise.
21747 * elf/tst-tlsmod16a.c: Likewise.
21748 * elf/tst-tlsmod16b.c: Likewise.
21749 * elf/tst-tlsmod2.c: Likewise.
21750 * elf/tst-tlsmod3.c: Likewise.
21751 * elf/tst-tlsmod4.c: Likewise.
21752 * elf/tst-tlsmod5.c: Likewise.
21753 * elf/tst-tlsmod6.c: Likewise.
21754
0bfcf2c7
OB
217552013-10-18 Ondřej Bílka <neleai@seznam.cz>
21756
21757 [BZ #12486]
21758 * malloc/malloc.c: remove checks for statistics.
21759
264aad1e
OB
217602013-10-17 Ondřej Bílka <neleai@seznam.cz>
21761
21762 [BZ #15277]
21763 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21764 * inet/tst-network.c: Add testcase.
21765
b957ced8
AS
217662013-10-17 Andreas Schwab <schwab@suse.de>
21767
21768 [BZ #15218]
21769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21770 to determine canonical name.
21771
c5d5d574
OB
217722013-10-17 Ondřej Bílka <neleai@seznam.cz>
21773
21774 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21775 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21776 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21781 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21782 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21783 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21786 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21798 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21799 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21804 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21805 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21807 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21808 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21809 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21810 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21811 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21812 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21814 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21824 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21826 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21827 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21832
e5c2c2d0
JM
218332013-10-17 Joseph Myers <joseph@codesourcery.com>
21834
21835 [BZ #16041]
21836 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21837 make result into a quiet NaN.
21838
51ca9e29
JM
218392013-10-16 Joseph Myers <joseph@codesourcery.com>
21840
21841 * soft-fp/adddf3.c: Fix horizontal whitespace.
21842 * soft-fp/addsf3.c: Likewise.
21843 * soft-fp/addtf3.c: Likewise.
21844 * soft-fp/divdf3.c: Likewise.
21845 * soft-fp/divsf3.c: Likewise.
21846 * soft-fp/divtf3.c: Likewise.
21847 * soft-fp/double.h: Likewise.
21848 * soft-fp/eqdf2.c: Likewise.
21849 * soft-fp/eqsf2.c: Likewise.
21850 * soft-fp/eqtf2.c: Likewise.
21851 * soft-fp/extenddftf2.c: Likewise.
21852 * soft-fp/extended.h: Likewise.
21853 * soft-fp/extendsfdf2.c: Likewise.
21854 * soft-fp/extendsftf2.c: Likewise.
21855 * soft-fp/extendxftf2.c: Likewise.
21856 * soft-fp/fixdfdi.c: Likewise.
21857 * soft-fp/fixdfsi.c: Likewise.
21858 * soft-fp/fixdfti.c: Likewise.
21859 * soft-fp/fixsfdi.c: Likewise.
21860 * soft-fp/fixsfsi.c: Likewise.
21861 * soft-fp/fixsfti.c: Likewise.
21862 * soft-fp/fixtfdi.c: Likewise.
21863 * soft-fp/fixtfsi.c: Likewise.
21864 * soft-fp/fixtfti.c: Likewise.
21865 * soft-fp/fixunsdfdi.c: Likewise.
21866 * soft-fp/fixunsdfsi.c: Likewise.
21867 * soft-fp/fixunsdfti.c: Likewise.
21868 * soft-fp/fixunssfdi.c: Likewise.
21869 * soft-fp/fixunssfsi.c: Likewise.
21870 * soft-fp/fixunssfti.c: Likewise.
21871 * soft-fp/fixunstfdi.c: Likewise.
21872 * soft-fp/fixunstfsi.c: Likewise.
21873 * soft-fp/fixunstfti.c: Likewise.
21874 * soft-fp/floatdidf.c: Likewise.
21875 * soft-fp/floatdisf.c: Likewise.
21876 * soft-fp/floatditf.c: Likewise.
21877 * soft-fp/floatsidf.c: Likewise.
21878 * soft-fp/floatsisf.c: Likewise.
21879 * soft-fp/floatsitf.c: Likewise.
21880 * soft-fp/floattidf.c: Likewise.
21881 * soft-fp/floattisf.c: Likewise.
21882 * soft-fp/floattitf.c: Likewise.
21883 * soft-fp/floatundidf.c: Likewise.
21884 * soft-fp/floatundisf.c: Likewise.
21885 * soft-fp/floatunditf.c: Likewise.
21886 * soft-fp/floatunsidf.c: Likewise.
21887 * soft-fp/floatunsisf.c: Likewise.
21888 * soft-fp/floatunsitf.c: Likewise.
21889 * soft-fp/floatuntidf.c: Likewise.
21890 * soft-fp/floatuntisf.c: Likewise.
21891 * soft-fp/floatuntitf.c: Likewise.
21892 * soft-fp/fmadf4.c: Likewise.
21893 * soft-fp/fmasf4.c: Likewise.
21894 * soft-fp/fmatf4.c: Likewise.
21895 * soft-fp/gedf2.c: Likewise.
21896 * soft-fp/gesf2.c: Likewise.
21897 * soft-fp/getf2.c: Likewise.
21898 * soft-fp/ledf2.c: Likewise.
21899 * soft-fp/lesf2.c: Likewise.
21900 * soft-fp/letf2.c: Likewise.
21901 * soft-fp/muldf3.c: Likewise.
21902 * soft-fp/mulsf3.c: Likewise.
21903 * soft-fp/multf3.c: Likewise.
21904 * soft-fp/negdf2.c: Likewise.
21905 * soft-fp/negsf2.c: Likewise.
21906 * soft-fp/negtf2.c: Likewise.
21907 * soft-fp/op-1.h: Likewise.
21908 * soft-fp/op-2.h: Likewise.
21909 * soft-fp/op-4.h: Likewise.
21910 * soft-fp/op-8.h: Likewise.
21911 * soft-fp/op-common.h: Likewise.
21912 * soft-fp/quad.h: Likewise.
21913 * soft-fp/single.h: Likewise.
21914 * soft-fp/soft-fp.h: Likewise.
21915 * soft-fp/sqrtdf2.c: Likewise.
21916 * soft-fp/sqrtsf2.c: Likewise.
21917 * soft-fp/sqrttf2.c: Likewise.
21918 * soft-fp/subdf3.c: Likewise.
21919 * soft-fp/subsf3.c: Likewise.
21920 * soft-fp/subtf3.c: Likewise.
21921 * soft-fp/truncdfsf2.c: Likewise.
21922 * soft-fp/trunctfdf2.c: Likewise.
21923 * soft-fp/trunctfsf2.c: Likewise.
21924 * soft-fp/trunctfxf2.c: Likewise.
21925 * soft-fp/unorddf2.c: Likewise.
21926 * soft-fp/unordsf2.c: Likewise.
21927 * soft-fp/unordtf2.c: Likewise.
21928
9ebb0332
JM
219292013-10-15 Joseph Myers <joseph@codesourcery.com>
21930
21931 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21932 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21933
4b1a6d8b
OB
219342013-10-15 Ondřej Bílka <neleai@seznam.cz>
21935
21936 * elf/dl-libc.c: Clear initfini list after freeing.
21937
1e145589
JM
219382013-10-14 Joseph Myers <joseph@codesourcery.com>
21939
21940 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21941 * soft-fp/addsf3.c: Likewise.
21942 * soft-fp/addtf3.c: Likewise.
21943 * soft-fp/divdf3.c: Likewise.
21944 * soft-fp/divsf3.c: Likewise.
21945 * soft-fp/divtf3.c: Likewise.
21946 * soft-fp/double.h: Likewise.
21947 * soft-fp/eqdf2.c: Likewise.
21948 * soft-fp/eqsf2.c: Likewise.
21949 * soft-fp/eqtf2.c: Likewise.
21950 * soft-fp/extenddftf2.c: Likewise.
21951 * soft-fp/extended.h: Likewise.
21952 * soft-fp/extendsfdf2.c: Likewise.
21953 * soft-fp/extendsftf2.c: Likewise.
21954 * soft-fp/extendxftf2.c: Likewise.
21955 * soft-fp/fixdfdi.c: Likewise.
21956 * soft-fp/fixdfsi.c: Likewise.
21957 * soft-fp/fixdfti.c: Likewise.
21958 * soft-fp/fixsfdi.c: Likewise.
21959 * soft-fp/fixsfsi.c: Likewise.
21960 * soft-fp/fixsfti.c: Likewise.
21961 * soft-fp/fixtfdi.c: Likewise.
21962 * soft-fp/fixtfsi.c: Likewise.
21963 * soft-fp/fixtfti.c: Likewise.
21964 * soft-fp/fixunsdfdi.c: Likewise.
21965 * soft-fp/fixunsdfsi.c: Likewise.
21966 * soft-fp/fixunsdfti.c: Likewise.
21967 * soft-fp/fixunssfdi.c: Likewise.
21968 * soft-fp/fixunssfsi.c: Likewise.
21969 * soft-fp/fixunssfti.c: Likewise.
21970 * soft-fp/fixunstfdi.c: Likewise.
21971 * soft-fp/fixunstfsi.c: Likewise.
21972 * soft-fp/fixunstfti.c: Likewise.
21973 * soft-fp/floatdidf.c: Likewise.
21974 * soft-fp/floatdisf.c: Likewise.
21975 * soft-fp/floatditf.c: Likewise.
21976 * soft-fp/floatsidf.c: Likewise.
21977 * soft-fp/floatsisf.c: Likewise.
21978 * soft-fp/floatsitf.c: Likewise.
21979 * soft-fp/floattidf.c: Likewise.
21980 * soft-fp/floattisf.c: Likewise.
21981 * soft-fp/floattitf.c: Likewise.
21982 * soft-fp/floatundidf.c: Likewise.
21983 * soft-fp/floatundisf.c: Likewise.
21984 * soft-fp/floatunsidf.c: Likewise.
21985 * soft-fp/floatunsisf.c: Likewise.
21986 * soft-fp/floatuntidf.c: Likewise.
21987 * soft-fp/floatuntisf.c: Likewise.
21988 * soft-fp/floatuntitf.c: Likewise.
21989 * soft-fp/fmadf4.c: Likewise.
21990 * soft-fp/fmasf4.c: Likewise.
21991 * soft-fp/fmatf4.c: Likewise.
21992 * soft-fp/gedf2.c: Likewise.
21993 * soft-fp/gesf2.c: Likewise.
21994 * soft-fp/getf2.c: Likewise.
21995 * soft-fp/ledf2.c: Likewise.
21996 * soft-fp/lesf2.c: Likewise.
21997 * soft-fp/letf2.c: Likewise.
21998 * soft-fp/muldf3.c: Likewise.
21999 * soft-fp/mulsf3.c: Likewise.
22000 * soft-fp/multf3.c: Likewise.
22001 * soft-fp/negdf2.c: Likewise.
22002 * soft-fp/negsf2.c: Likewise.
22003 * soft-fp/negtf2.c: Likewise.
22004 * soft-fp/op-1.h: Likewise.
22005 * soft-fp/op-2.h: Likewise.
22006 * soft-fp/op-4.h: Likewise.
22007 * soft-fp/op-8.h: Likewise.
22008 * soft-fp/op-common.h: Likewise.
22009 * soft-fp/quad.h: Likewise.
22010 * soft-fp/single.h: Likewise.
22011 * soft-fp/soft-fp.h: Likewise.
22012 * soft-fp/sqrtdf2.c: Likewise.
22013 * soft-fp/sqrtsf2.c: Likewise.
22014 * soft-fp/sqrttf2.c: Likewise.
22015 * soft-fp/subdf3.c: Likewise.
22016 * soft-fp/subsf3.c: Likewise.
22017 * soft-fp/subtf3.c: Likewise.
22018 * soft-fp/truncdfsf2.c: Likewise.
22019 * soft-fp/trunctfdf2.c: Likewise.
22020 * soft-fp/trunctfsf2.c: Likewise.
22021 * soft-fp/trunctfxf2.c: Likewise.
22022 * soft-fp/unorddf2.c: Likewise.
22023 * soft-fp/unordsf2.c: Likewise.
22024 * soft-fp/unordtf2.c: Likewise.
22025
17c48a60
OB
220262013-10-14 Ondřej Bílka <neleai@seznam.cz>
22027
22028 [BZ #15672]
22029 * misc/error.c (error_tail): Fix possible buffer overflow.
22030
cabba934
OB
220312013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22032
22033 [BZ #13028]
22034 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22035 address.
22036
94bf958a
PM
220372013-10-14 P. J. McDermott <pj@pehjota.net>
22038
22039 [BZ #832]
22040 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22041 testing pipefail option.
22042
71b4dea7
JM
220432013-10-12 Joseph Myers <joseph@codesourcery.com>
22044
22045 * soft-fp/double.h: Indent preprocessor directives inside #if.
22046 * soft-fp/extended.h: Likewise.
22047 * soft-fp/op-2.h: Likewise.
22048 * soft-fp/op-4.h: Likewise.
22049 * soft-fp/op-common.h: Likewise.
22050 * soft-fp/quad.h: Likewise.
22051 * soft-fp/single.h: Likewise.
22052 * soft-fp/soft-fp.h: Likewise.
22053
55602758
YC
220542013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22055
22056 * iconv/iconv_prog.c: Fix typos.
22057 * stdio-common/psiginfo-data.h: Likewise.
22058
9cd83302
RT
220592013-10-12 Reuben Thomas <rrt@sc3d.org>
22060
22061 [BZ #15764]
22062 * locale/setlocale.c: Fix typo.
22063
99fd9f47
JM
220642013-10-12 Joseph Myers <joseph@codesourcery.com>
22065
b7ea74f0
JM
22066 [BZ #16036]
22067 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22068 signaling NaN arguments.
22069 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22070 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22071
8a509447
JM
22072 [BZ #14910]
22073 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22074 unordered operands.
22075 * soft-fp/gesf2.c (__gesf2): Likewise.
22076 * soft-fp/getf2.c (__getf2): Likewise.
22077 * soft-fp/ledf2.c (__ledf2): Likewise.
22078 * soft-fp/lesf2.c (__lesf2): Likewise.
22079 * soft-fp/letf2.c (__letf2): Likewise.
22080
98998e9f
JM
22081 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22082 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22083 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22084 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22085 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22086 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22087 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22088 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22089 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22090 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22091 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22092 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22093 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22094 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22095 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22096 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22097 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22098 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22099 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22100 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22101 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22102 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22103 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22104 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22105 * soft-fp/floattidf.c (__floattidf): Likewise.
22106 * soft-fp/floattisf.c (__floattisf): Likewise.
22107 * soft-fp/floattitf.c (__floattitf): Likewise.
22108 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22109 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22110 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22111 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22112 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22113 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22114 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22115 * soft-fp/gesf2.c (__gesf2): Likewise.
22116 * soft-fp/getf2.c (__getf2): Likewise.
22117 * soft-fp/ledf2.c (__ledf2): Likewise.
22118 * soft-fp/lesf2.c (__lesf2): Likewise.
22119 * soft-fp/letf2.c (__letf2): Likewise.
22120
8edc4a11
JM
22121 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22122 Undefine and redefine.
22123 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22124 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22125 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22126 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22127 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22128 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22129 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22130 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22131 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22132 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22133 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22134 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22135 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22136 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22137 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22138
8399acaf
JM
22139 [BZ #16032]
22140 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22141 without decrementing exponent if mantissa >= that for the
22142 denominator, not >.
22143 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22144 denominator, not >. Decrement exponent in < case instead of
22145 incrementing in >= case.
22146 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22147 without decrementing exponent if mantissa >= that for the
22148 denominator, not >.
22149
99fd9f47
JM
22150 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22151 computing saturated result for unsigned overflow.
22152
10e1cf6b
SP
221532013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22154 Jeff Law <law@redhat.com>
22155
22156 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22157 (atan2Mp): Add systemtap probe marker.
22158 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22159 (__ieee754_log): Add systemtap probe marker.
22160 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22161 (atanMp): Add systemtap probe marker.
22162 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22163 (tanMp): Add systemtap probe marker.
22164 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22165 (__slowexp): Add systemtap probe marker.
22166 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22167 (__slowpow): Add systemtap probe marker.
22168 * manual/probes.texi: Document probes.
22169
3d110c7c
EB
221702013-10-11 Eric Biggers <ebiggers3@gmail.com>
22171
22172 [BZ #15362]
22173 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22174 written.
22175 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22176 written.
22177 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22178 written to buffer but not flushed.
22179 * libio/iofwrite_u.c: Likewise.
22180 * libio/iopadn.c: Return bytes returned even if EOF was
22181 encountered.
22182 * libio/iowpadn.c: Likewise.
22183 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22184 if _IO_padn does not write the whole buffer.
22185 [!COMPILE_WPRINTF] (PAD): Likewise.
22186
75b4202a
DM
221872013-10-10 David S. Miller <davem@davemloft.net>
22188
22189 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22190 directory block.
22191
6c6352e6
JM
221922013-10-10 Joseph Myers <joseph@codesourcery.com>
22193
33b853c3
JM
22194 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22195 instead of FSF address.
22196 * soft-fp/fixdfti.c: Likewise.
22197 * soft-fp/fixsfti.c: Likewise.
22198 * soft-fp/fixtfti.c: Likewise.
22199 * soft-fp/fixunsdfti.c: Likewise.
22200 * soft-fp/fixunssfti.c: Likewise.
22201 * soft-fp/fixunstfti.c: Likewise.
22202 * soft-fp/floattidf.c: Likewise.
22203 * soft-fp/floattisf.c: Likewise.
22204 * soft-fp/floattitf.c: Likewise.
22205 * soft-fp/floatuntidf.c: Likewise.
22206 * soft-fp/floatuntisf.c: Likewise.
22207 * soft-fp/floatuntitf.c: Likewise.
22208 * soft-fp/trunctfxf2.c: Likewise.
22209
6c6352e6
JM
22210 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22211 * soft-fp/fixdfti.c: Likewise.
22212 * soft-fp/fixsfti.c: Likewise.
22213 * soft-fp/fixtfti.c: Likewise.
22214 * soft-fp/fixunsdfti.c: Likewise.
22215 * soft-fp/fixunssfti.c: Likewise.
22216 * soft-fp/fixunstfti.c: Likewise.
22217 * soft-fp/floattidf.c: Likewise.
22218 * soft-fp/floattisf.c: Likewise.
22219 * soft-fp/floattitf.c: Likewise.
22220 * soft-fp/floatuntidf.c: Likewise.
22221 * soft-fp/floatuntisf.c: Likewise.
22222 * soft-fp/floatuntitf.c: Likewise.
22223 * soft-fp/trunctfxf2.c: Likewise.
22224
3bf78b71
DM
222252013-10-10 David S. Miller <davem@davemloft.net>
22226
22227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22228
6f10289e
JM
222292013-10-10 Joseph Myers <joseph@codsourcery.com>
22230
bd878fc0
JM
22231 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22232 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22233 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22234 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22235 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22236 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22237 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22238
6f10289e
JM
22239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22240 for NaNs before doing comparisons on argument.
22241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22242 Likewise.
22243
321e2684
WN
222442013-10-10 Will Newton <will.newton@linaro.org>
22245
22246 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22247 passed to _int_memalign does not overflow.
22248
40fefba1
TR
222492013-10-10 Torvald Riegel <triegel@redhat.com>
22250
22251 * scripts/bench.pl: Add include-sources directive.
22252 * benchtests/README: Update documentation.
22253
2ae21ed2
JM
222542013-10-10 Joseph Myers <joseph@codesourcery.com>
22255
dcc2dd3f
JM
22256 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22257 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22258 instead of FP_INIT_ROUNDMODE.
22259 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22260 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22261
2ae21ed2
JM
22262 [BZ #16034]
22263 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22264 copy class of input value.
22265 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22266 not handle exceptions.
22267 * soft-fp/negsf2.c (__negsf2): Likewise.
22268 * soft-fp/negtf2.c (__negtf2): Likewise.
22269 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22270
cb8f9562
JM
222712013-10-09 Joseph Myers <joseph@codesourcery.com>
22272
22273 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22274 semicolon. From Linux kernel.
22275
5b60c59d
AB
222762013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22277
22278 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22279
b86835ca
YC
222802013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22281
22282 [BZ #156]
22283 * manual/socket.texi: Added statement about buffer
22284 for gethostbyname2_r.
22285
e7044ea7
OB
222862013-10-08 Ondřej Bílka <neleai@seznam.cz>
22287
22288 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22289 Use .p2align directive instead, throughout.
22290 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22291 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22292 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22294 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22295 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22296 * sysdeps/x86_64/strchr.S: Likewise.
22297 * sysdeps/x86_64/strrchr.S: Likewise.
22298
09544cbc
SP
222992013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22300
88576635
SP
22301 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22302
e7b2d1dd
SP
22303 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22304
09544cbc
SP
22305 * sysdeps/generic/math_private.h (__mpsin1): Remove
22306 declaration.
22307 (__mpcos1): Likewise.
22308 (__mpsin): New argument __range_reduce.
22309 (__mpcos): Likewise.
22310 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22311 (slow): Use __mpsin and __mpcos.
22312 (slow1): Likewise.
22313 (slow2): Likewise.
22314 (sloww): Likewise.
22315 (sloww1): Likewise.
22316 (sloww2): Likewise.
22317 (bsloww): Likewise.
22318 (bsloww1): Likewise.
22319 (bsloww2): Likewise.
22320 (cslow2): Likewise.
22321 (csloww): Likewise.
22322 (csloww1): Likewise.
22323 (csloww2): Likewise.
22324 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22325 range_reduce. Merge in __mpsin1.
22326 (__mpcos): Likewise.
22327 (__mpsin1): Remove.
22328 (__mpcos1): Likewise.
22329
7602d070
JM
223302013-10-07 Joseph Myers <joseph@codesourcery.com>
22331
22332 * locale/loadlocale.c (_nl_intern_locale_data): Use
22333 LOCFILE_ALIGNED_P.
22334 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22335 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22336 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22337 obstack data is appropriately aligned.
22338 (obstack_int32_grow_fast): Likewise.
22339 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22340 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22341 (add_locale_uint32_array): Likewise.
22342
a357259b
SP
223432013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22344
22345 * benchtests/Makefile: Remove ARGLIST and RET variables.
22346 ($(objpfx)bench-%.c): Pass only function name to the script.
22347 * benchtests/README: Update documentation.
22348 * benchtests/acos-inputs: Add new directives.
22349 * benchtests/acosh-inputs: Likewise.
22350 * benchtests/asin-inputs: Likewise.
22351 * benchtests/asinh-inputs: Likewise.
22352 * benchtests/atan-inputs: Likewise.
22353 * benchtests/atanh-inputs: Likewise.
22354 * benchtests/cos-inputs: Likewise.
22355 * benchtests/cosh-inputs: Likewise.
22356 * benchtests/exp-inputs: Likewise.
22357 * benchtests/log-inputs: Likewise.
22358 * benchtests/pow-inputs: Likewise.
22359 * benchtests/rint-inputs: Likewise.
22360 * benchtests/sin-inputs: Likewise.
22361 * benchtests/sinh-inputs: Likewise.
22362 * benchtests/tan-inputs: Likewise.
22363 * benchtests/tanh-inputs: Likewise.
22364 * scripts/bench.pl: Add support for new directives.
22365
9ec1b13d
AM
223662013-10-07 Alan Modra <amodra@gmail.com>
22367
22368 * README: Fix careless merge.
22369
8b7d57cd
AM
223702013-10-05 Alan Modra <amodra@gmail.com>
22371
22372 * NEWS: Mention powerpc64le support and bugs fixed.
22373 * README: Both big-endian and little-endian powerpc64 supported.
22374
7b7bab13
ST
223752013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22376
57f41c40
AS
22377 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22378 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22379 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22380 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22381
d39baad1
RA
223822013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22383
22384 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22385 match prototype.
22386
cd78f7e7
JM
223872013-10-04 Joseph Myers <joseph@codesourcery.com>
22388
29d73d86
JM
22389 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22390 Move -mhard-float appending from
22391 ports/sysdeps/powerpc/powerpc32/Makefile.
22392 [$(with-fp) = yes] (ASFLAGS): Likewise.
22393 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22394 * sysdeps/powerpc/nofpu: Move directory from
22395 ports/sysdeps/powerpc/nofpu.
22396 * sysdeps/powerpc/soft-fp: Move directory from
22397 ports/sysdeps/powerpc/soft-fp.
22398 * sysdeps/powerpc/powerpc32/405: Move directory from
22399 ports/sysdeps/powerpc/powerpc32/405.
22400 * sysdeps/powerpc/powerpc32/440: Move directory from
22401 ports/sysdeps/powerpc/powerpc32/440.
22402 * sysdeps/powerpc/powerpc32/464: Move directory from
22403 ports/sysdeps/powerpc/powerpc32/464.
22404 * sysdeps/powerpc/powerpc32/476: Move directory from
22405 ports/sysdeps/powerpc/powerpc32/476.
22406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22407 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22409 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22411 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22413 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22415 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22416 * README: Update for powerpc-*-linux-gnu software floating point
22417 support in libc.
22418
e246b347
JM
22419 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22420 case to powerpc/powerpc32*.
22421 * sysdeps/unix/sysv/linux/configure: Regenerated.
22422
89c2003e
JM
22423 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22424 (_FPU_MASK_OM): Define as 0x04.
22425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22427 0x00c10080.
22428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22429 0x0000003c.
22430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22431
cd78f7e7
JM
22432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22433 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22434 getcontext_e500.
22435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22436 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22437 setcontext_e500.
22438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22439 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22440 and setcontext_e500.
22441
c755294d
CL
224422013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22443
22444 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22445
e16d221c
SP
224462013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22447
22448 * manual/threads.texi (Default Thread Attributes): Fix typo.
22449
215c7d43
WN
224502013-10-04 Will Newton <will.newton@linaro.org>
22451
22452 * malloc/Makefile: Add tst-memalign.
22453 * malloc/tst-memalign.c: New file.
22454
27d0461b
WN
22455 * malloc/tst-posix_memalign.c: Add comments.
22456 (do_test): Add comments and call free on all potentially
22457 allocated pointers. Add space after cast.
22458
1bc92709
WN
22459 * malloc/tst-pvalloc.c: Add comments.
22460 (do_test): Add comments and call free on all potentially
22461 allocated pointers. Remove duplicate check for NULL pointer.
22462 Add space after cast.
22463
66a9be9d
WN
22464 * malloc/tst-valloc.c: Add comments.
22465 (do_test): Add comments and call free on all potentially
22466 allocated pointers. Remove duplicate check for NULL pointer.
22467 Add space after cast.
22468
4cb81307
AM
224692013-10-04 Alan Modra <amodra@gmail.com>
22470
22471 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22472 Use stdint types in rather than __attribute__((mode())).
22473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22474
f8e3e9f3
AM
224752013-10-04 Alan Modra <amodra@gmail.com>
22476
22477 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22478 Correct handling of unaligned relocs for little-endian.
22479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22480
8f9ebb08
AM
224812013-10-04 Alan Modra <amodra@gmail.com>
22482
22483 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22484 * configure: Regenerate.
22485 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22486 * shlib-versions: Likewise.
22487
0edf96c2
AM
224882013-10-04 Alan Modra <amodra@gmail.com>
22489
22490 * string/tester.c (test_memrchr): Increment reported test cycle.
22491
e0f7a380
AM
224922013-10-04 Alan Modra <amodra@gmail.com>
22493
22494 * string/test-memcpy.c (do_one_test): When reporting errors, print
22495 string address and don't overrun end of string.
22496
466b0393
AM
224972013-10-04 Alan Modra <amodra@gmail.com>
22498
22499 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22500 insrdi. Make better use of reg selection to speed exit slightly.
22501 Schedule entry path a little better. Remove useless "are we done"
22502 checks on entry to main loop. Handle wrapping around zero address.
22503 Correct main loop count. Handle single left-over word from main
22504 loop inline rather than by using loop_small. Remove extra word
22505 case in loop_small caused by wrong loop count. Add little-endian
22506 support.
22507 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22508 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22509 cache hint.
22510 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22511 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22512 support. Avoid rlwimi.
22513 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22514
3be87c77
AM
225152013-10-04 Alan Modra <amodra@gmail.com>
22516
22517 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22518 insrdi. Formatting.
3be87c77
AM
22519 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22520 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22521 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22522 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22523 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22524 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22525
759cfef3
AM
225262013-10-04 Alan Modra <amodra@gmail.com>
22527
22528 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22529 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22530 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22531 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22532 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22533 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22534 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22535 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22536 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22537 use of regs. Use power7 mtocrf. Tidy function tails.
22538
fe6e95d7
AM
225392013-10-04 Alan Modra <amodra@gmail.com>
22540
22541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22542 Formatting. Consistently use rXXX register defines or rN defines.
22543 Use early exit labels that avoid restoring unused non-volatile regs.
22544 Make cr field use more consistent with rWORDn compares. Rename
22545 regs used as shift registers for unaligned loop, using rN defines
22546 for short lifetime/multiple use regs.
22547 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22548 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22549 addi 1,1,64 to pop stack frame. Simplify return value code.
22550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22551
664318c3
AM
225522013-10-04 Alan Modra <amodra@gmail.com>
22553
22554 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22555 support. Correct typos, formatting. Optimize tail. Use insrdi
22556 rather than rlwimi.
22557 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22558 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22559 little-endian support. Correct typos.
22560 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22561 rather than rlwimi.
22562 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22563 in loop and entry code to keep "and." results.
22564 (strchr): Add little-endian support. Comment. Move cntlzd
22565 earlier in tail.
22566 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22567
43b84013
AM
225682013-10-04 Alan Modra <amodra@gmail.com>
22569
22570 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22571 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22572 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22573 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22574
8a7413f9
AM
225752013-10-04 Alan Modra <amodra@gmail.com>
22576
22577 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22578 (rTMP): Define as r11.
22579 (strcmp): Add little-endian support. Optimise tail.
22580 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22581 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22582 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22583 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22584 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22585 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22587
33ee81de
AM
225882013-10-04 Alan Modra <amodra@gmail.com>
22589
22590 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22591 little-endian support. Remove unnecessary "are we done" tests.
22592 Handle "s" wrapping around zero and extremely large "size".
22593 Correct main loop count. Handle single left-over word from main
22594 loop inline rather than by using small_loop. Correct comments.
22595 Delete "zero" tail, use "end_max" instead.
22596 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22597
db9b4570
AM
225982013-10-04 Alan Modra <amodra@gmail.com>
22599
22600 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22601 support. Don't branch over align.
22602 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22603 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22604 support. Rearrange tmp reg use to suit. Comment.
22605 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22606
f7c399cf
AM
226072013-10-04 Alan Modra <amodra@gmail.com>
22608
22609 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22610
0b2c2ace
AM
226112013-10-04 Alan Modra <amodra@gmail.com>
22612
22613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22614 conditional form of branch and link when obtaining pc.
22615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22616
02f04a6c
AM
226172013-10-04 Alan Modra <amodra@gmail.com>
22618
22619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22620 HIWORD/LOWORD.
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22623
9b874b2f
AM
226242013-10-04 Alan Modra <amodra@gmail.com>
22625
22626 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22627 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22628 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22629 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22630 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22631 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22632 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22633 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22634 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22635 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22636
be1e5d31
AB
226372013-10-04 Anton Blanchard <anton@au1.ibm.com>
22638 Alistair Popple <alistair@ozlabs.au.ibm.com>
22639 Alan Modra <amodra@gmail.com>
22640
22641 [BZ #15723]
22642 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22643 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22644 _dl_hwcap access for little-endian.
22645 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22646 destroy vmx regs when saving unaligned.
22647 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22648 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22649 destroy vmx regs when saving unaligned.
22650
fef13a78
AM
226512013-10-04 Alan Modra <amodra@gmail.com>
22652
22653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22654 Don't use a union to pack hi/low value.
22655
76a66d51
AB
226562013-10-04 Anton Blanchard <anton@au1.ibm.com>
22657
22658 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22659 for little-endian.
22660 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22662 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22663 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22664 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22665
6a31fe7f
AM
226662013-10-04 Alan Modra <amodra@gmail.com>
22667
22668 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22669 constants to usual value for .cst8 section, and remove redundant
22670 high address load.
22671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22672 constant for 0x1p52. Load little-endian words of double from
22673 correct stack offsets.
22674
7b88401f
AM
226752013-10-04 Alan Modra <amodra@gmail.com>
22676
22677 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22678 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22679 words of double from correct stack offsets.
22680 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22681 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22682 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22683 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22684 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22685 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22686 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22687 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22688 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22689 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22690 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22691 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22692 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22693 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22694 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22695 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22696 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22697
9c008155
AM
226982013-10-04 Alan Modra <amodra@gmail.com>
22699
22700 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22701 64-bit int/double union.
22702 (_FPU_SETCW): Likewise.
22703 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22704 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22705
da13146d
AM
227062013-10-04 Alan Modra <amodra@gmail.com>
22707
22708 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22709 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22710
603e8410
AM
227112013-10-04 Alan Modra <amodra@gmail.com>
22712
22713 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22714 use vector int constants.
22715 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22716
4a28b3ca
AB
227172013-10-04 Anton Blanchard <anton@au1.ibm.com>
22718
22719 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22720 array with long long.
22721 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22722 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22723 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22724 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22725 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22726 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22727 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22728 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22729 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22730 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22731 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22732 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22733 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22734
2ca85d2b
AB
227352013-10-04 Anton Blanchard <anton@au1.ibm.com>
22736
22737 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22738 (__signbit): Likewise. Correct for little-endian.
22739 (__signbitl): Call __signbit.
22740 (lrint): Correct for little-endian.
22741 (lrintf): Call lrint.
22742
62a728ae
AM
227432013-10-04 Alan Modra <amodra@gmail.com>
22744
22745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22746 union 32-bit int array member with 64-bit int array.
22747 (t515, tm256): Double rather than long double.
22748 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22749
32c301df
AM
227502013-10-04 Alan Modra <amodra@gmail.com>
22751
22752 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22753 Delete.
22754 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22756 version of math_ldbl.h.
22757
650ef4bd
AM
227582013-10-04 Alan Modra <amodra@gmail.com>
22759
22760 [BZ #15734], [BZ #15735]
22761 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22762 all uses of ieee875 long double macros and unions. Simplify test
22763 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22764 ldbl_extract_mantissa value for ix,iy exponents. Properly
22765 normalize after ldbl_extract_mantissa, and don't add hidden bit
22766 already handled. Don't treat low word of ieee854 mantissa like
22767 low word of IBM long double and mask off bit when testing for
22768 zero.
22769 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22770 all uses of ieee875 long double macros and unions. Simplify tests
22771 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22772 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22773 two1022, instead use their values. Recognise that tests for large
22774 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22775 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22776 Rewrite all uses of ieee875 long double macros and unions. Simplify
22777 test for 0.0L and nan. Correct negation.
22778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22779 ieee875 long double macros and unions. Correct output for large
22780 magnitude x. Correct absolute value calculation.
22781 (__erfcl): Likewise.
22782 * math/libm-test.inc: Add tests for errors discovered in IBM long
22783 double versions of fmodl, remainderl, erfl and erfcl.
22784
765714ca
AM
227852013-10-04 Alan Modra <amodra@gmail.com>
22786
22787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22788 all uses of ieee854 long double macros and unions. Simplify tests
22789 for long doubles that are fully specified by the high double.
22790 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22791 Likewise.
22792 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22793 Remove dead code too.
22794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22795 (__ieee754_ynl): Likewise.
22796 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22797 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22799 Remove dead code too.
22800 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22804 Simplify.
22805 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22806 Simplify.
22807 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22808 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22810 Comment on variable precision.
22811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22812 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22813 Likewise.
22814 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22817 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22818 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22819
4ebd120c
AM
228202013-10-04 Alan Modra <amodra@gmail.com>
22821
22822 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22823 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22824 all uses of ieee854 long double macros and unions.
22825 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22826 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22827 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22828 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22829 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22831 Likewise.
22832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22833 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22834 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22835 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22836 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22837 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22838 Simplify sign and nan test too.
22839 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22840 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22841 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22842 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22843 Likewise.
22844 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22845 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22846 Likewise.
22847 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22848 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22849 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22850 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22851 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22853
1b6adf88
AM
228542013-10-04 Alan Modra <amodra@gmail.com>
22855
22856 * stdio-common/printf_size.c (__printf_size): Don't use
22857 union ieee854_long_double in fpnum union.
22858 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22859 signbit macro to retrieve sign from long double.
22860 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22861 retrieve sign from long double.
22862 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22863 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22864 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22865 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22866 * math/test-misc.c (main): Don't use union ieee854_long_double.
22867
4cf69995
AM
228682013-10-04 Alan Modra <amodra@gmail.com>
22869
22870 [BZ #15680]
22871 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22872 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22873 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22874 calculation. Remove unnecessary test for denormal exponent.
22875 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22876 Correct handling of denormals. Avoid undefined shift behaviour.
22877 Correct normalisation of low mantissa when low double is denormal.
22878 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22879 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22880 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22881 Correct normalisation of low mantissa. Test for overflow of high
22882 mantissa and normalise.
22883 (ldbl_nearbyint): Use more readable constant for two52.
22884 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22885 (__mpn_construct_long_double): Fix test for overflow of high
22886 mantissa and correct normalisation. Avoid undefined shift.
22887
9605ca6c
AM
228882013-10-04 Alan Modra <amodra@gmail.com>
22889
22890 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22891 (union ibm_extended_long_double): Define as an array of ieee754_double.
22892 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22893 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22894 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22895 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22897 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22898 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22900 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22901 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22902 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22903
975569d0
JM
229042013-10-03 Joseph Myers <joseph@codesourcery.com>
22905
d3d23756
JM
22906 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22907 page size instead of calling getpagesize.
22908
975569d0
JM
22909 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22910 (LOCFILE_ALIGN_MASK): Likewise.
22911 (LOCFILE_ALIGN_UP): Likewise.
22912 (LOCFILE_ALIGNED_P): Likewise.
22913 * locale/programs/ld-collate.c (collate_output): Use the new
22914 macros instead of __alignof__ (int32_t).
22915 * locale/weight.h (findidx): Likewise.
22916
b1fe1f2b
OB
229172013-10-03 Ondřej Bílka <neleai@seznam.cz>
22918
22919 [BZ #431]
22920 * manual/string.texi: Fix strncat and wcsncat.
22921
5f855e35
BM
229222013-10-03 Brooks Moses <bmoses@google.com>
22923
22924 [BZ #15915]
22925 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22926 * Makerules: ...here, and adjust associated comments.
22927
3cef6009
WN
229282013-10-02 Will Newton <will.newton@linaro.org>
22929
22930 * malloc/Makefile: Add tst-pvalloc.
22931 * malloc/tst-pvalloc.c: New file.
22932
7815420b
WN
229332013-10-02 Will Newton <will.newton@linaro.org>
22934
22935 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22936 improve test coverage.
22937
4868b204
WN
229382013-10-02 Will Newton <will.newton@linaro.org>
22939
22940 * malloc/Makefile: Add tst-posix_memalign.
22941 * malloc/tst-posix_memalign.c: New file.
22942
29c793b3
EB
229432013-10-01 Eric Blake <eblake@redhat.com>
22944
22945 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22946 Use __THROWNL rather than __THROW on static functions.
22947
fd967522
PM
229482013-09-30 Petr Machata <pmachata@redhat.com>
22949
22950 * elf/elf.h (R_AARCH64_ABS16): New macro.
22951 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22952 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22953 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22954 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22955 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22956 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22957 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22958 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22959 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22960 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22961 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22962 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22963 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22964 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22965 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22966 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22967 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22968 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22969 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22970 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22971 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22972 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22973 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22974 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22975 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22976 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22977 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22978 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22979 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22980 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22981 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22982 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22983 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22984 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22985 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22986 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22987 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22988 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22989 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22990 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22991 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22992 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22993 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22994 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22995 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22996 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22997 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22998 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22999 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23000 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23001 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23002 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23003 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23004 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23005 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23006 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23007 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23008 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23009 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23010 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23011 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23012 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23013 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23014 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23015 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23016 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23017 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23018 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23019 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23020 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23021 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23022 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23023 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23024 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23025 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23026 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23027 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23028 (R_AARCH64_TLSDESC_LDR): Likewise.
23029 (R_AARCH64_TLSDESC_ADD): Likewise.
23030 (R_AARCH64_TLSDESC_CALL): Likewise.
23031
b2179107
AS
230322013-09-30 Andreas Schwab <schwab@suse.de>
23033
23034 [BZ #15048]
23035 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23036 the nss database lookup.
23037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23039
47f28d0a
MF
230402013-09-28 Mike Frysinger <vapier@gentoo.org>
23041
23042 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23043
230442013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23045
23046 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23047 ${Bash-specific parameter/pattern/string} parameter expansion.
23048 * sysdeps/unix/make-syscalls.sh: Likewise.
23049
f4518a17
KK
230502013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23051
23052 * sysdeps/sh/stackguard-macros.h: New file.
23053
dc1a95c7
OB
230542013-09-26 Ondřej Bílka <neleai@seznam.cz>
23055
23056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23057 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23058 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23059 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23060 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23061 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23062
5ebbff8f
AZ
230632013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23064
23065 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23066 Fix thread ID register.
23067
4fd2cf9f
JM
230682013-09-25 Joseph Myers <joseph@codesourcery.com>
23069
23070 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23071 [POSIX || UNIX98]: Require rather than permitting all symbols from
23072 <time.h>.
23073 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23074 element of struct sched_param.
23075 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23076 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23077 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23078 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23079 constant.
23080
12c22bc4
OL
230812013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23082
23083 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23084 argument calculation.
23085
a03d8ea7
JM
230862013-09-24 Joseph Myers <joseph@codesourcery.com>
23087
23088 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23089 Expect macro.
23090 [POSIX] (pthread_attr_t): Do not require type.
23091 [POSIX] (pthread_cond_t): Likewise.
23092 [POSIX] (pthread_condattr_t): Likewise.
23093 [POSIX] (pthread_key_t): Likewise.
23094 [POSIX] (pthread_mutex_t): Likewise.
23095 [POSIX] (pthread_mutexattr_t): Likewise.
23096 [POSIX] (pthread_once_t): Likewise.
23097 [POSIX] (pthread_t): Likewise.
23098 [POSIX-based standards] (pthread_atfork): Expect function.
23099
6055173a
JM
231002013-09-24 Joseph Myers <joseph@codesourcery.com>
23101 Richard Sandiford <richard@codesourcery.com>
23102
23103 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23104 (swap_endianness_p): New extern variable.
23105 (set_big_endian): New inline function.
23106 (maybe_swap_uint32): Likewise.
23107 (maybe_swap_uint32_array): Likewise.
23108 (maybe_swap_uint32_obstack): Likewise.
23109 * locale/programs/locfile.c: Include <stdbool.h>.
23110 (swap_endianness_p): New variable.
23111 (add_locale_uint32): Call maybe_swap_uint32.
23112 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23113 (write_locale_data): Call maybe_swap_uint32_array.
23114 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23115 maybe_swap_uint32.
23116 (obstack_int32_grow_fast): Likewise.
23117 (output_weightwc): Call maybe_swap_uint32_obstack.
23118 (collate_output): Likewise.
23119 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23120 (OPT_LITTLE_ENDIAN): Likewise.
23121 (options): Add --little-endian and --big-endian options.
23122 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23123 * locale/programs/locarchive.c: Include "locfile.h".
23124 (GET): New macro.
23125 (SET): Likewise.
23126 (INC): Likewise.
23127 (create_archive): Use the new macros to access fields of
23128 structures directly mapped from or written to locale archives.
23129 (oldlocrecentcmp): Likewise.
23130 (enlarge_archive): Likewise.
23131 (insert_name): Likewise.
23132 (add_alias): Likewise.
23133 (add_locale): Likewise.
23134 (delete_locales_from_archive): Likewise.
23135 (show_archive_content): Likewise.
23136 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23137 locale data.
23138
39bf0bb4
RM
231392013-09-24 Roland McGrath <roland@hack.frob.com>
23140
23141 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23142 http://www.gnu.org/doc/freemanuals.texi.
23143 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23144
f02eed10
WN
231452013-09-24 Will Newton <will.newton@linaro.org>
23146
23147 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23148 macro.
23149
a3a6c312
JM
231502013-09-23 Joseph Myers <joseph@codesourcery.com>
23151
23152 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23153 unsigned char.
23154
107375ac
MR
231552013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23156
23157 * manual/threads.texi (POSIX Threads): Fix a typo.
23158
141f3a77
SP
231592013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23160
303e567a
SP
23161 [BZ #14547]
23162 * string/tst-strcoll-overflow.c: New test case.
23163 * string/Makefile (xtests): Add tst-strcoll-overflow.
23164 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23165 cache if string sizes may cause integer overflow.
23166
141f3a77
SP
23167 [BZ #14547]
23168 * string/strcoll_l.c (coll_seq): New members rule, idx,
23169 save_idx and back_us.
23170 (get_next_seq_nocache): New function.
23171 (do_compare_nocache): New function.
23172 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23173 when malloc fails.
23174
c61b4d41
CD
231752013-09-23 Carlos O'Donell <carlos@redhat.com>
23176
0b1f8e35
CD
23177 [BZ #15754]
23178 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23179 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23180 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23181
c61b4d41
CD
23182 [BZ #15754]
23183 * elf/Makefile (tests): Add tst-ptrguard1.
23184 (tests-static): Add tst-ptrguard1-static.
23185 (tst-ptrguard1-ARGS): Define.
23186 (tst-ptrguard1-static-ARGS): Define.
23187 * elf/tst-ptrguard1.c: New file.
23188 * elf/tst-ptrguard1-static.c: New file.
23189 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23190 * sysdeps/i386/stackguard-macros.h: Likewise.
23191 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23192 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23193 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23194 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23195 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23196 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23197
231982013-09-23 Hector Marco <hecmargi@upv.es>
23199 Ismael Ripoll <iripoll@disca.upv.es>
23200 Carlos O'Donell <carlos@redhat.com>
23201
23202 [BZ #15754]
23203 * sysdeps/generic/stackguard-macros.h: Define
23204 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23205 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23206 Define __pointer_chk_guard_local.
23207 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23208 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23209
f5f4e7b4
VV
232102013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23211
23212 [BZ #15859]
23213 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23214
5bb43a43
AS
232152013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23216
23217 * include/string.h (__ffs): Declare as hidden.
23218 * string/ffs.c (__ffs): Define as hidden.
23219 * sysdeps/i386/ffs.c (__ffs): Likewise.
23220 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23221 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23222 * sysdeps/s390/ffs.c (__ffs): Likewise.
23223 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23224
3ea5be54
AO
232252013-09-20 Alexandre Oliva <aoliva@redhat.com>
23226
ffb89e53
AO
23227 * NEWS: Mention malloc probes.
23228
322dea08
AO
23229 * malloc/arena.c (new_heap): New memory_heap_new probe.
23230 (grow_heap): New memory_heap_more probe.
23231 (shrink_heap): New memory_heap_less probe.
23232 (heap_trim): New memory_heap_free probe.
23233 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23234 (systrim): New memory_sbrk_less probe.
23235 * manual/probes.texi: Document them.
23236
655673f3
AO
23237 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23238 * manual/probes.texi: Document it.
23239
35fed6f1
AO
23240 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23241 (__libc_realloc): Add memory_realloc_retry probe.
23242 (__libc_memalign): Add memory_memalign_retry probe.
23243 (__libc_valloc): Add memory_valloc_retry probe.
23244 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23245 (__libc_calloc): Add memory_calloc_retry probe.
23246 * manual/probes.texi: Document them.
23247
6999d38c
AO
23248 * malloc/arena.c (get_free_list): Add probe
23249 memory_arena_reuse_free_list.
23250 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23251 and memory_arena_reuse.
23252 (arena_get2) [!PER_THREAD]: Likewise.
23253 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23254 memory_arena_reuse_realloc.
23255 * manual/probes.texi: Document them.
23256
0653427f
AO
23257 * malloc/malloc.c (__libc_free): Add
23258 memory_mallopt_free_dyn_thresholds probe.
23259 (__libc_mallopt): Add multiple memory_mallopt probes.
23260 * manual/probes.texi: Document them.
23261
3ea5be54
AO
23262 * malloc/malloc.c: Include stap-probe.h.
23263 (__libc_mallopt): Add memory_mallopt probe.
23264 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23265 * manual/probes.texi: New.
23266 * manual/Makefile (chapters): Add probes.
23267 * manual/threads.texi: Set next node.
23268
e35696c3 232692013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23270
e35696c3
CL
23271 [BZ #15963, #13985]
23272 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23273 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23274 Add `Chinese' to `nan' entry name.
23275
4aafb73c
SP
232762013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23277
23278 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23279 (POLYNOMIAL): Likewise.
23280 (TAYLOR_SINCOS): Likewise.
23281 (TAYLOR_SLOW): Likewise.
23282 (__sin): Use TAYLOR_SINCOS.
23283 (__cos): Likewise.
23284 (slow): Use TAYLOR_SLOW.
23285 (sloww): Likewise.
23286 (bsloww): Likewise.
23287 (csloww): Likewise.
23288
d84f25c7
LD
232892013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23290
23291 * stdlib/strtod_l.c: Fix buffer overrun.
23292
5eea0404
SP
232932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23294
7849ff93
SP
23295 * benchtests/Makefile (bench): Add sincos.
23296 * benchtests/bench-sincos.c: New file.
23297
cfa3c886
SP
23298 * math/libm-test.inc (cos_test_data): New test inputs.
23299 (sin_test_data): Likewise.
23300
b348e1e3
SP
23301 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23302 macro.
23303 (__sin): Use it.
23304 (__cos): Likewise.
23305 (slow1): Likewise.
23306 (slow2): Likewise.
23307 (sloww1): Likewise.
23308 (sloww2): Likewise.
23309 (bsloww1): Likewise.
23310 (bsloww2): Likewise.
23311 (cslow2): Likewise.
23312 (csloww1): Likewise.
23313 (csloww2): Likewise.
23314
6cce25f8
SP
23315 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23316 function.
23317 (__sin): Use it.
23318 (__cos): Likewise.
23319
5eea0404
SP
23320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23321 gotos.
23322 (__cos): Likewise.
23323
9c21573c
MR
233242013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23325
23326 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23327 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23328 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23329 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23330 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23331 * elf/cache.c (print_entry): Handle the new cache flags.
23332
24d22e65
JM
233332013-09-18 Joseph Myers <joseph@codesourcery.com>
23334 Aldy Hernandez <aldyh@redhat.com>
23335
23336 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23337 Change condition to [_SOFT_FLOAT].
23338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23350 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23353 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23354 declaration.
23355
d13ef066
JM
233562013-09-18 Joseph Myers <joseph@codesourcery.com>
23357
2e071de0
JM
23358 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23359 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23360 (__longjmp): Use LOAD_GP to load saved GPRs.
23361 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23362 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23363 (__sigsetjmp): Use SAVE_GP to save GPRs.
23364
d13ef066
JM
23365 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23366 Do not append -msoft-float.
23367 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23368
97a0650b
SP
233692013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23370
23371 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23372
11ca09e9
JM
233732013-09-17 Joseph Myers <joseph@codesourcery.com>
23374
23375 [BZ #15966]
23376 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23377 (_FPU_GETCW): Use initial "__" on variable and field names but not
23378 on macro parameter name.
23379 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23380 parentheses around reference to macro parameter.
23381
08ffcf34
RS
233822013-09-13 Richard Sandiford <richard@codesourcery.com>
23383
23384 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23385 prototype.
23386 (ctype_startup): Use uint32_t in cast and sizeof for
23387 ctype->charnames.
23388
ae7080d3
JL
233892013-09-11 Jia Liu <proljc@gmail.com>
23390
23391 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23392 __daddr_t_defined.
23393 [__FreeBSD__]: Likewise.
23394
5905e7b3
OB
233952013-09-11 Ondřej Bílka <neleai@seznam.cz>
23396
23397 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23398 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23399 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23400 (strchr): Remove __strchr_sse42 ifunc selection.
23401 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23402 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23403
b987c776
WN
234042013-09-11 Will Newton <will.newton@linaro.org>
23405
23406 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23407 parameter to RES. Remove hardcoded 1000 value.
23408 * benchtests/bench-skeleton.c (main): Pass RES parameter
23409 to TIMING_INIT and multiply result by 1000.
23410
ddf985af
AZ
234112013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23412
23413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23414
ffdd3181
AS
234152013-09-11 Andreas Schwab <schwab@suse.de>
23416
23417 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23418 if not defined.
23419 (O_TMPFILE) [__USE_GNU]: Define.
23420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23421 Define.
23422
b73ed247
WN
234232013-09-11 Will Newton <will.newton@linaro.org>
23424
23425 [BZ #15857]
23426 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23427 does not overflow.
23428
55e17aad
WN
234292013-09-11 Will Newton <will.newton@linaro.org>
23430
23431 [BZ #15856]
23432 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23433 does not overflow.
23434
1159a193
WN
234352013-09-11 Will Newton <will.newton@linaro.org>
23436
23437 [BZ #15855]
23438 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23439 does not overflow.
23440
5905e7b3 234412013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23442
23443 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23444 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23445 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23448
cdfc721b
AM
234492013-09-10 Allan McRae <allan@archlinux.org>
23450
aa04af00
AM
23451 [BZ #15748]
23452 * manual/arith.texi (Parsing of Floats): Clarify
23453 cross-reference.
23454
cdfc721b
AM
23455 [BZ #15849]
23456 * manual/install.texi (Running make install): Mention
23457 --enable-pt-chown.
23458 * INSTALL: Regenerated.
23459
95e7cf29
MR
234602013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23461
23462 * csu/init-first.c (_init): Remove the !SHARED condition around
23463 FPU control word initialization.
23464 * elf/dl-support.c (_dl_fpu_control): New variable.
23465 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23466 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23467 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23468 * math/test-fpucw-static.c: New file.
23469 * math/test-fpucw-ieee.c: New file.
23470 * math/test-fpucw-ieee-static.c: New file.
23471 * math/Makefile (tests): Add `test-fpucw-ieee' and
23472 `$(tests-static)'.
23473 (tests-static): New variable.
23474 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23475 dependency to...
23476 [($(build-shared),yes)]
23477 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23478 ... this.
23479 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23480 New dependency.
23481
83e43bf0
AM
234822013-09-09 Allan McRae <allan@archlinux.org>
23483
a9f5ce09
AM
23484 [BZ #15939]
23485 * manual/string.texi (Collation Functions): Fix typo in
23486 strcoll example.
23487 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23488
34829bc2
AM
23489 [BZ #15893]
23490 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23491
3932737d
AM
23492 [BZ #15892]
23493 * libio/memstream.c (open_memstream): Fix memory leak.
23494 * libio/wmemstream.c (open_wmemstream): Likewise.
23495
83e43bf0
AM
23496 [BZ #15895]
23497 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23498
0c66b8e9
WN
234992013-09-09 Will Newton <will.newton@linaro.org>
23500
23501 * malloc/Makefile: Add tst-realloc to tests.
23502 * malloc/tst-realloc.c: New file.
23503
f6b00fd1
AM
235042013-09-09 Allan McRae <allan@archlinux.org>
23505
23506 [BZ #15844]
23507 * COPYING: Update from GNU website to fix FSF address.
23508 * COPYING.LIB: Likewise.
23509
eec55e16
DM
235102013-09-06 David S. Miller <davem@davemloft.net>
23511
23512 * po/zh_TW.po: Update Chinese (traditional) translation from
23513 translation project.
23514
1ecbb381
RS
235152013-09-06 Richard Sandiford <richard@codesourcery.com>
23516 Joseph Myers <joseph@codesourcery.com>
23517
23518 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23519 "localeinfo.h".
23520 (obstack_chunk_alloc): New macro.
23521 (obstack_chunk_free): Likewise.
23522 (record_offset): New function.
23523 (init_locale_data): Likewise.
23524 (align_locale_data): Likewise.
23525 (add_locale_empty): Likewise.
23526 (add_locale_raw_data): Likewise.
23527 (add_locale_raw_obstack): Likewise.
23528 (add_locale_string): Likewise.
23529 (add_locale_wstring): Likewise.
23530 (add_locale_uint32): Likewise.
23531 (add_locale_uint32_array): Likewise.
23532 (add_locale_char): Likewise.
23533 (start_locale_structure): Likewise.
23534 (end_locale_structure): Likewise.
23535 (start_locale_prelude): Likewise.
23536 (end_locale_prelude): Likewise.
23537 (write_locale_data): Take locale_file structure rather than an
23538 iovec.
23539 * locale/programs/locfile.h: Include "obstack.h".
23540 (struct locale_file): Change to store locale file contents instead
23541 of header.
23542 (init_locale_data): New prototype.
23543 (align_locale_data): Likewise.
23544 (add_locale_empty): Likewise.
23545 (add_locale_raw_data): Likewise.
23546 (add_locale_raw_obstack): Likewise.
23547 (add_locale_string): Likewise.
23548 (add_locale_wstring): Likewise.
23549 (add_locale_uint32): Likewise.
23550 (add_locale_uint32_array): Likewise.
23551 (add_locale_char): Likewise.
23552 (start_locale_structure): Likewise.
23553 (end_locale_structure): Likewise.
23554 (start_locale_prelude): Likewise.
23555 (end_locale_prelude): Likewise.
23556 (write_locale_data): Update prototype.
23557 * locale/programs/3level.h (struct TABLE): Remove result field.
23558 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23559 Use new locale_file interface.
23560 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23561 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23562 * locale/programs/ld-address.c (address_output): Use new
23563 locale_file interface.
23564 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23565 NO_ADD_LOCALE.
23566 (collate_finish): Don't call collseq_table_finalize.
23567 (collate_output): Use new locale_file interface.
23568 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23569 in file.
23570 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23571 (TABLE): Move defines earlier in file.
23572 (ELEMENT): Likewise.
23573 (DEFAULT): Likewise.
23574 (wctrans_table_add): Move macro and inline function earlier in
23575 file.
23576 (struct wctype_table): Move type earlier in file.
23577 (add_locale_wctype_table): New static prototype.
23578 (struct locale_ctype_t): Use logical types instead of struct iovec
23579 pointers for members.
23580 (ctype_output): Use new locale_file interface.
23581 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23582 new locale_file interface.
23583 (allocate_arrays): Update for use of new locale_file interface.
23584 * locale/programs/ld-identification.c (identification_output): Use
23585 new locale_file interface.
23586 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23587 * locale/programs/ld-messages.c (messages_output): Likewise.
23588 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23589 * locale/programs/ld-name.c (name_output): Likewise.
23590 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23591 * locale/programs/ld-paper.c (paper_output): Likewise.
23592 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23593 * locale/programs/ld-time.c (time_output): Likewise.
23594
e029e2e5
AZ
235952013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23596
23597 * benchtests/Makefile: Add memrchr benchmark.
23598 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23599 benchmark as memrchr.
23600 * benchtests/bench-memrchr-ifunc.c: New file.
23601 * benchtests/bench-memrchr.c: New file.
23602
bbf6e8e4
WN
236032013-09-06 Will Newton <will.newton@linaro.org>
23604
23605 * benchtests/Makefile (string-bench): Add memcpy.
23606
6c82a2f8
CD
236072013-09-05 Carlos O'Donell <carlos@redhat.com>
23608 Cong Wang <amwang@redhat.com>
23609
e732c5f0 23610 [BZ #15850]
6c82a2f8
CD
23611 * sysdeps/unix/sysv/linux/bits/in.h
23612 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23613 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23614 before __USE_KERNEL_IPV6_DEFS uses.
23615 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23616 IPPROTO_BEETPH.
23617 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23618 sockaddr_in6, or ipv6_mreq.
23619
5430fc65
AZ
236202013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23621
23622 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23623 memory access for final bytes in some large inputs.
23624 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23625
4660856c
AZ
236262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23627
23628 * string/test-memrchr.c: New file.
23629 * string/test-memrchr-ifunc.c: New file.
23630 * string/Makefile: Add new memrchr testcase.
23631
bb8ea713
MF
236322013-09-05 Mike Frysinger <vapier@gentoo.org>
23633
23634 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23635 fanotify_init returns EPERM.
23636
b92a20b5
JM
236372013-09-04 Joseph Myers <joseph@codesourcery.com>
23638
23639 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23640 errors.
23641 (top level): Treat second token from macro or constant entries for
23642 allowed headers as allowed.
23643 * include/complex.h: Condition internal declarations on
23644 [!_ISOMAC].
23645 * include/fenv.h: Condition include of <stdbool.h> and internal
23646 declarations on [!_ISOMAC].
7447ccd9
CL
23647
236482013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23649
3e181dda 23650 [BZ #15923]
7447ccd9
CL
23651 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23652
3f2e46a4
JM
236532013-09-04 Joseph Myers <joseph@codesourcery.com>
23654
23655 * configure.in (--enable-versioning): Remove configure option.
23656 (libc_cv_asm_symver_directive): Remove configure test.
23657 (libc_cv_ld_version_script_option): Likewise.
23658 (VERSIONING): Remove variable and AC_SUBST.
23659 (DO_VERSIONING): Remove AC_DEFINE.
23660 * configure: Regenerated.
23661 * config.h.in (DO_VERSIONING): Remove macro.
23662 * Makerules [$(versioning) = yes]: Change conditionals to
23663 [$(build-shared) = yes].
23664 * config.make.in (versioning): Remove variable.
23665 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23666 [$(build-shared) = yes].
23667 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23668 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23669 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23670 [$(build-shared) = yes].
23671 * extra-lib.mk [$(versioning) = yes]: Likewise.
23672 * hurd/Makefile [$(versioning) = yes]: Likewise.
23673 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23674 [SHARED].
23675 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23676 [SHARED].
23677 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23678 [SHARED && !NO_HIDDEN].
23679 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23680 [SHARED].
23681 [SHARED && DO_VERSIONING]: Likewise..
23682 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23683 [$(build-shared) = yes].
23684 * manual/install.texi (--disable-versioning): Remove
23685 documentation.
23686 * INSTALL: Regenerated.
23687 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23688 to [SHARED].
23689 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23690 [$(build-shared) = yes].
23691 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23692 * sysdeps/i386/i686/multiarch/strstr-c.c
23693 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23694 [SHARED && !NO_HIDDEN].
23695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23696 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23697 * sysdeps/powerpc/powerpc32/dl-machine.c
23698 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23699 * sysdeps/powerpc/powerpc32/sysdep.h
23700 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23701 to [SHARED && PIC && !NO_HIDDEN].
23702 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23703 conditional to [SHARED].
23704
44558701
WN
237052013-09-04 Will Newton <will.newton@linaro.org>
23706
23707 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23708 * benchtests/bench-string.h: Include bench-timing.h instead
23709 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23710 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23711 call to HP_TIMING_DIFF_INIT.
23712 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23713 instead of hp-timing.h macros.
23714 * benchtests/bench-memchr.c: Likewise.
23715 * benchtests/bench-memcmp.c: Likewise.
23716 * benchtests/bench-memcpy.c: Likewise.
23717 * benchtests/bench-memmem.c: Likewise.
23718 * benchtests/bench-memmove.c: Likewise.
23719 * benchtests/bench-memset.c: Likewise.
23720 * benchtests/bench-rawmemchr.c: Likewise.
23721 * benchtests/bench-strcasecmp.c: Likewise.
23722 * benchtests/bench-strcasestr.c: Likewise.
23723 * benchtests/bench-strcat.c: Likewise.
23724 * benchtests/bench-strchr.c: Likewise.
23725 * benchtests/bench-strcmp.c: Likewise.
23726 * benchtests/bench-strcpy.c: Likewise.
23727 * benchtests/bench-strcpy_chk.c: Likewise.
23728 * benchtests/bench-strlen.c: Likewise.
23729 * benchtests/bench-strncasecmp.c: Likewise.
23730 * benchtests/bench-strncat.c: Likewise.
23731 * benchtests/bench-strncmp.c: Likewise.
23732 * benchtests/bench-strncpy.c: Likewise.
23733 * benchtests/bench-strnlen.c: Likewise.
23734 * benchtests/bench-strpbrk.c: Likewise.
23735 * benchtests/bench-strrchr.c: Likewise.
23736 * benchtests/bench-strspn.c: Likewise.
23737 * benchtests/bench-strstr.c: Likewise.
23738
cae16d66
WN
237392013-09-04 Will Newton <will.newton@linaro.org>
23740
23741 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23742
ffa3cd7f
JM
237432013-09-03 Joseph Myers <joseph@codesourcery.com>
23744
23745 [BZ #15427]
23746 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23747 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23748 * math/libm-test.inc (lgamma_test_data): Add more tests.
23749 * sysdeps/i386/fpu/libm-test-ulps: Update.
23750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23751
8f02859f
OB
237522013-09-03 Ondřej Bílka <neleai@seznam.cz>
23753
23754 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23756 Add ifunc.
23757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23758 Add strcmp-sse2-unaligned
23759 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23760
18d43716
MF
237612013-09-02 Mike Frysinger <vapier@gentoo.org>
23762
23763 * Versions.def (libc): Add GLIBC_2.19.
23764
ac444012
MF
237652013-09-02 Mike Frysinger <vapier@gentoo.org>
23766
23767 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23768 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23769
b7835e32
JM
237702013-09-02 Joseph Myers <joseph@codesourcery.com>
23771
23772 [BZ #14155]
23773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23774 intermediate calculations in recurrence.
23775 (__ieee754_ynf): Likewise.
23776 * math/libm-test.inc (jn_test_data): Do not allow spurious
23777 underflow exception. Add more tests.
23778 (yn_test_data): Add more tests.
23779 * sysdeps/i386/fpu/libm-test-ulps: Update.
23780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23781
8220f4f0
OB
237822013-09-02 Ondřej Bílka <neleai@seznam.cz>
23783
23784 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23785
f24a6d08
OB
237862013-08-30 Ondřej Bílka <neleai@seznam.cz>
23787
23788 * csu/init-first.c: Fix then/than typos.
23789 * locale/programs/ld-collate.c: Likewise.
23790 * locale/programs/linereader.h: Likewise.
23791 * manual/charset.texi: Likewise.
23792 * manual/filesys.texi: Likewise.
23793 * manual/stdio.texi: Likewise.
23794 * manual/string.texi: Likewise.
23795 * stdlib/fmtmsg.c: Likewise.
23796 * sysdeps/i386/stpncpy.S: Likewise.
23797 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23798 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23800 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23801
382466e0
OB
238022013-08-30 Ondřej Bílka <neleai@seznam.cz>
23803
23804 * elf/dl-open.c: Fix typos.
23805 * iconvdata/gbbig5.c: Likewise.
23806 * iconvdata/iso-2022-jp.c: Likewise.
23807 * iconv/gconv_int.h: Likewise.
23808 * iconv/loop.c: Likewise.
23809 * nis/rpcsvc/nis.h: Likewise.
23810 * resolv/ns_name.c: Likewise.
23811 * stdio-common/vfscanf.c: Likewise.
23812 * streams/stropts.h: Likewise.
23813 * sunrpc/rpc_thread.c: Likewise.
23814 * sysdeps/i386/strpbrk.S: Likewise.
23815 * sysdeps/ieee754/k_standard.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23818 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23819 * sysdeps/mach/hurd/profil.c: Likewise.
23820 * sysdeps/s390/dl-procinfo.h: Likewise.
23821 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23822 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23823 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23824 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23826
0186c6e9
OB
238272013-08-30 Ondřej Bílka <neleai@seznam.cz>
23828
23829 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23831
d4e16af1
OB
238322013-08-29 Ondřej Bílka <neleai@seznam.cz>
23833
23834 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23835 aix specific files.
23836 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23837 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23838 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23839 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23840 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23841 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23842 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23843 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23844
88335980
TS
238452013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23846 Roland McGrath <roland@hack.frob.com>
23847
23848 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23849 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23850
ed479b02
ST
238512013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23852
23853 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23854 __executable_start symbol instead of _start.
23855
f1cc4c86
TS
238562013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23857
d821f07c
TS
23858 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23859 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23860 Move macros to...
23861 * sysdeps/gnu/ldsodefs.h: ... this new file.
23862
c54290cf
TS
23863 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23864 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23865 instead of ELFOSABI_LINUX.
23866
0007fc9b 23867 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23868 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23869 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23870 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23871 Likewise.
23872 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23873 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23874 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23875 Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23877 (ibm_extended_long_double): Add ieee_nan member.
23878 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23879 (do_test): New function.
23880
f1cc4c86
TS
23881 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23882 TEST_TRUNC.
23883 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23884 functions, renamed from truncdfsf_test, trunctfsf_test,
23885 trunctfdf_test.
23886 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23887 functions.
23888 (do_test): Run all these.
23889
6f65e668
OB
238902013-08-29 Ondřej Bílka <neleai@seznam.cz>
23891
23892 * argp/argp-help.c: Fix typos.
23893 * argp/argp-parse.c: Likewise.
23894 * debug/backtracesyms.c: Likewise.
23895 * elf/elf.h: Likewise.
23896 * malloc/malloc.c: Likewise.
23897 * nis/nis_print.c: Likewise.
23898 * resolv/res_comp.c: Likewise.
23899 * stdlib/stdlib.h: Likewise.
23900 * sunrpc/clnt_tcp.c: Likewise.
23901 * sunrpc/clnt_udp.c: Likewise.
23902 * sunrpc/clnt_unix.c: Likewise.
23903 * sysdeps/unix/bsd/ptsname.c: Likewise.
23904 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23907 Likewise.
23908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23909 Likewise.
23910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23911 Likewise.
6f65e668
OB
23912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23913
3a309239
SP
239142013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23915
23916 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23918
3b813b29
MF
239192013-08-27 Mike Frysinger <vapier@gentoo.org>
23920
23921 [BZ #15897]
23922 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23923 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23924 ($(objpfx)bug-dl-leaf): New rule.
23925 ($(objpfx)bug-dl-leaf.so): Likewise.
23926 ($(objpfx)bug-dl-leaf.out): Likewise.
23927 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23928 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23929 * dlfcn/bug-dl-leaf.c: New test.
23930 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23931 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23932 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23933 (dlclose): Likewise.
23934 (dlmopen): Likewise.
23935
8cc3269f
RM
239362013-08-27 Roland McGrath <roland@hack.frob.com>
23937
7f9d0034
RM
23938 * include/netdb.h [!_ISOMAC]:
23939 Don't include <tls.h>.
23940 (h_errno, __libc_h_errno): Move declaration and macros out of
23941 [_LIBC_REENTRANT].
23942
fb431262
RM
23943 * include/resolv.h [_RESOLV_H_]:
23944 Don't include <tls.h>.
23945 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23946 * resolv/res_libc.c: Don't include <tls.h>.
23947 (_res): Use __attribute__ ((nocommon)) in place of
23948 __attribute__ ((section (".bss"))).
23949
bd81123a
RM
23950 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23951 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23952
c4e42566
RM
23953 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23954
f890a59b
RM
23955 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23956 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23957
23958 * resolv/res_mkquery.c: Include <sys/time.h>.
23959
5d1f0a09
RM
23960 * inet/ifreq.c: Moved to ...
23961 * sysdeps/unix/ifreq.c: ... here.
23962 * inet/ifreq.c: New file, true stub version.
23963
6fcf28b3
RM
23964 * socket/sa_len.c: New file.
23965 * socket/Makefile (aux): Add it.
23966 * sysdeps/unix/sysv/linux/Makefile
23967 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23968 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23969 and #include <socket/sa_len.c>.
23970 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23971 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23972
e041fb8b
RM
23973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23974 * bits/socket.h: ... here.
23975
8cc3269f
RM
23976 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23977 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23978 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23979
5d228a43
AS
239802013-08-27 Andreas Schwab <schwab@suse.de>
23981
45b8accc
AS
23982 [BZ #15736]
23983 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23984 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23985 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23986 * string/test-strcasecmp.c (test_main): Run tests in several
23987 locales.
23988 * string/test-strncasecmp.c (test_main): Likewise.
23989
5d228a43
AS
23990 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23991 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23992 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23994 (__strncasecmp_ssse3) [PIC]: Likewise.
23995
59d112a4
RM
239962013-08-26 Roland McGrath <roland@hack.frob.com>
23997
53234cc3
RM
23998 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23999
59d112a4
RM
24000 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24001 instead of explicitly declaring xdecrypt.
24002 * nis/nss_nis/nis-publickey.c: Likewise.
24003
595aba70
SP
240042013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24005
24006 [BZ #15890]
24007 * nscd/aicache.c: Include res_hconf.h.
24008 (addhstaiX): Initialize res_hconf.
24009
ffabd393
AS
240102013-08-26 Andreas Schwab <schwab@suse.de>
24011
24012 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24013 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24014
e0a69f5c
SP
240152013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24016
24017 * nscd/aicache.c (addhstaiX): Fix indentation.
24018
8c12f01d
MF
240192013-08-25 Mike Frysinger <vapier@gentoo.org>
24020
24021 * configure.ac: Quote $build_pt_chown test.
24022 * configure: Regenerated.
24023
8fe89494
JM
240242013-08-23 Joseph Myers <joseph@codesourcery.com>
24025
24026 [BZ #15532]
24027 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24028 * math/s_cexpf.c (__cexpf): Likewise.
24029 * math/s_cexpl.c (__cexpl): Likewise.
24030 * math/libm-test.inc (cexp_test_data): Correct expected return
24031 value for NaN + i0. Add another test.
24032
75b181d6
DM
240332013-08-22 David S. Miller <davem@davemloft.net>
24034
24035 * po/ca.po: Update Catalan translation from translation project.
936241e4 24036 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24037
acd06bb1
JM
240382013-08-21 Joseph Myers <joseph@codesourcery.com>
24039
24040 [BZ #15797]
24041 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24042 is infinite, not alongside NaN test.
24043 * math/s_fdimf.c (__fdimf): Likewise.
24044 * math/s_fdiml.c (__fdiml): Likewise.
24045 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24046 errno is unchanged.
24047
c0c3f78a
OB
240482013-08-21 Ondřej Bílka <neleai@seznam.cz>
24049
24050 * argp/argp-help.c: Fix typos.
24051 * crypt/speeds.c: Likewise.
24052 * csu/check_fds.c: Likewise.
24053 * elf/dl-load.c: Likewise.
24054 * elf/dl-open.c: Likewise.
24055 * elf/reldep3.c: Likewise.
24056 * elf/reldep.c: Likewise.
24057 * elf/sprof.c: Likewise.
24058 * iconv/iconv_charmap.c: Likewise.
24059 * iconv/skeleton.c: Likewise.
24060 * iconv/strtab.c: Likewise.
24061 * io/lockf64.c: Likewise.
24062 * libio/libioP.h: Likewise.
24063 * resolv/gai_notify.c: Likewise.
24064 * resolv/ns_name.c: Likewise.
24065 * resolv/ns_samedomain.c: Likewise.
24066 * resolv/res_send.c: Likewise.
24067 * stdlib/random.c: Likewise.
24068 * sunrpc/rpc/xdr.h: Likewise.
24069 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24071 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24072 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24074 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24077 * sysdeps/mach/hurd/check_fds.c: Likewise.
24078 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24079 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24082 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24083 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24084 * sysdeps/pthread/aio_notify.c: Likewise.
24085 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24086 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24087 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24089 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24090
46ed1038
LD
240912013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24092
24093 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24094 version if bit_Slow_SSE4_2 is set.
24095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24097
d400dcac
AZ
240982013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24099
24100 [BZ #15867]
24101 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24102 trampoline stack frame information.
24103 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24104 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24105 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24106 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24107 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24108 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24109 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24110 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24111 sa_flags value.
24112 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24113 interrupting a syscall and set with option SA_SIGINFO.
24114
42c8fdd8
JM
241152013-08-20 Joseph Myers <joseph@codesourcery.com>
24116
c980f2f4
JM
24117 [BZ #15531]
24118 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24119 argument is infinite.
24120 * math/s_cprojf.c (__cprojf): Likewise.
24121 * math/s_cprojl.c (__cprojl): Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24123 * math/libm-test.inc (cproj_test_data): Add more tests.
24124
0716c4fc
JM
24125 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24126
42c8fdd8
JM
24127 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24128 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24129 size. Use __ffs to determine corresponding shift.
24130
b31469d0
JM
241312013-08-20 Joseph Myers <joseph@codesourcery.com>
24132 Roland McGrath <roland@hack.frob.com>
24133
24134 * Makefile (INSTALL): Remove trailing blank lines from output of
24135 makeinfo.
24136
4e39af6e
AK
241372013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24138
24139 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24140 Align 32 bit compat elf_greg to 8 bytes.
24141
f315524e
AA
241422013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24143
24144 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24145
1326ba1a
SP
241462013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24147
24148 * string/strcoll_l.c (coll_seq): New structure.
24149 (get_next_seq_cached): New function.
24150 (get_next_seq): New function.
24151 (do_compare): New function.
24152 (STRCOLL): Use GNU style definition. Simplify implementation
24153 by using get_next_seq, get_next_seq_cached and do_compare.
24154
91ce4085
FW
241552013-08-16 Florian Weimer <fweimer@redhat.com>
24156
24157 [BZ #14699]
24158 CVE-2013-4237
24159 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24160 member.
24161 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24162 member.
24163 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24164 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24165 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24166 conditional.
24167 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24168 GETDENTS_64BIT_ALIGNED.
24169 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24170 * manual/filesys.texi (Reading/Closing Directory): Document
24171 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24172 strongly.
24173 * manual/conf.texi (Limits for Files): Add portability note to
24174 NAME_MAX, PATH_MAX.
24175 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24176
ca0a6bc4
AS
241772013-08-13 Andreas Schwab <schwab@suse.de>
24178
24179 [BZ #15749]
24180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24181 of fabs.
24182 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24183 LDBL_MAX_EXP >= 16384]: Add tests for it.
24184
6c1fd795
DM
241852013-08-12 David S. Miller <davem@davemloft.net>
24186
24187 * version.h (RELEASE): Set to "development".
24188 (VERSION): Set to "2.18.90".
24189 * NEWS: Add 2.19 section.
24190
31ad488d
DM
241912013-08-03 David S. Miller <davem@davemloft.net>
24192
24193 * po/ko.po: Update Korean translation from translation project.
24194
db24e684
DM
241952013-08-01 David S. Miller <davem@davemloft.net>
24196
24197 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24198 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24199 Bilka.
24200
f723285b
DM
242012013-07-30 David S. Miller <davem@davemloft.net>
24202
24203 * po/fr.po: Update French translation from translation project.
24204
3cbc52db
DM
242052013-07-28 David S. Miller <davem@davemloft.net>
24206
30bbc0cc
DM
24207 * po/cs.po: Update Czech translation from translation project.
24208
3cbc52db
DM
24209 * po/sv.po: Update Swedish translation from translation project.
24210
d492e6d0
DM
242112013-07-27 David S. Miller <davem@davemloft.net>
24212
f1a7f492
DM
24213 * po/eo.po: Update Esperanto translation from translation project.
24214
90e62a4a
DM
24215 * po/vi.po: Update Vietnamese translation from translation project.
24216
d492e6d0
DM
24217 * po/de.po: Update German translation from translation project.
24218
d4baa62d
DM
242192013-07-26 David S. Miller <davem@davemloft.net>
24220
641aa7b4
DM
24221 * po/bg.po: Update Bulgarian translation from translation project.
24222
d4baa62d
DM
24223 * po/nl.po: Update Dutch translation from translation project.
24224 * po/pl.po: Update Polish translation from translation project.
24225 * po/ru.po: Update Russian translation from translation project.
24226
61a9dcb9
DM
242272013-07-24 David S. Miller <davem@davemloft.net>
24228
24229 * po/libc.pot: Update.
24230
7b1f8b58
AZ
242312013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24232
24233 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24234 variable page size.
24235 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24236 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24237 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24238
a8fc7a03
AK
242392013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24240
24241 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24242
e4608715
CD
242432013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24244 Andreas Schwab <schwab@suse.de>
24245 Roland McGrath <roland@hack.frob.com>
24246 Joseph Myers <joseph@codesourcery.com>
24247 Carlos O'Donell <carlos@redhat.com>
24248
24249 [BZ #15755]
24250 * config.h.in: Define HAVE_PT_CHOWN.
24251 * config.make.in (build-pt-chown): New variable.
24252 * configure.in (--enable-pt_chown): New configure option.
24253 * configure: Regenerate.
24254 * login/Makefile: Include Makeconfig. Build pt_chown only if
24255 build-pt-chown is enabled.
24256 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24257 pt_chown to fix pty ownership.
24258 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24259 CLOSE_ALL_FDS.
24260 * manual/install.texi (Configuring and compiling): Mention
24261 --enable-pt_chown. Add @findex for grantpt.
24262 * INSTALL: Regenerate.
24263
da2d62df
DM
242642013-07-20 David S. Miller <davem@davemloft.net>
24265
24266 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24267 difference between 32-bit and 64-bit.
24268
d7e06450
CD
242692013-07-15 Carlos O'Donell <carlos@redhat.com>
24270
24271 [BZ #15711]
24272 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24273 Avoid system header dependency with -ffreestanding.
24274 ($(objpfx)bits/syscall%d): Likewise.
24275
f959cfd7
DM
242762013-07-13 David S. Miller <davem@davemloft.net>
24277
24278 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24279 underflows from atanl/atan2l due to bug 15319.
24280 (casinh_test_data): Likewise.
24281
c61f8513
DM
242822013-07-07 David S. Miller <davem@davemloft.net>
24283
24284 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24285
72c90ed0
JA
242862013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24287
24288 * sysdeps/i386/fpu/libm-test-ulps: Update.
24289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24290
52dfbe13
SP
242912013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24292
24293 * configure.in (--enable-lock-elision): Fix message text.
24294 * INSTALL: Regenerate.
24295 * configure: Regenerate.
24296
3f169543
AZ
242972013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24298
24299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24300
521c6785
AJ
243012013-07-03 Andreas Jaeger <aj@suse.de>
24302
24303 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24304 define.
24305 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24306 (ptrace_peeksiginfo_args): Add.
24307 (__ptrace_peeksiginfo_flags): Add.
24308 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24310 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24311
d2cc15cb
AM
243122013-07-03 Allan McRae <allan@archlinux.org>
24313
24314 * sysdeps/i386/fpu/libm-test-ulps: Update.
24315
3aaeeca7
DM
243162013-07-02 David S. Miller <davem@davemloft.net>
24317
24318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24319
5314ed1a
MT
243202013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24321
24322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24323
67338156
JM
243242013-07-02 Joseph Myers <joseph@codesourcery.com>
24325
24326 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24328
1717da59
AK
243292013-07-02 Andi Kleen <ak@linux.intel.com>
24330
24331 * config.h.in (ENABLE_LOCK_ELISION): Add.
24332 * configure.in (--enable-lock-elision): Add option.
24333 * manual/install.texi: Document --enable lock elision.
24334 * configure: Regenerate
24335 * INSTALL: Regenerate.
24336
1c81621c
L
243372013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24338
24339 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24340 SSE4.2 strcasecmp for libc.a.
24341 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24342
77f01ab5
JM
243432013-07-02 Joseph Myers <joseph@codesourcery.com>
24344
24345 [BZ #13304]
24346 * soft-fp/op-common.h (_FP_FMA): New macro.
24347 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24348 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24349 (_FP_MUL_MEAT_1_imm): ... here.
24350 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24351 (_FP_MUL_MEAT_1_wide): ... here.
24352 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24353 (_FP_MUL_MEAT_1_hard): ... here.
24354 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24355 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24356 (_FP_MUL_MEAT_2_wide): ... here.
24357 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24358 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24359 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24360 (_FP_MUL_MEAT_2_gmp): ... here.
24361 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24362 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24363 (_FP_MUL_MEAT_4_wide): ... here.
24364 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24365 (_FP_MUL_MEAT_4_gmp): ... here.
24366 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24367 (_FP_WFRACBITS_DW_S): Likewise.
24368 (_FP_WFRACXBITS_DW_S): Likewise.
24369 (_FP_HIGHBIT_DW_S): Likewise.
24370 (FP_FMA_S): Likewise.
24371 (_FP_FRAC_HIGH_DW_S): Likewise.
24372 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24373 (_FP_WFRACBITS_DW_D): Likewise.
24374 (_FP_WFRACXBITS_DW_D): Likewise.
24375 (_FP_HIGHBIT_DW_D): Likewise.
24376 (FP_FMA_D): Likewise.
24377 (_FP_FRAC_HIGH_DW_D): Likewise.
24378 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24379 (_FP_WFRACBITS_DW_E): Likewise.
24380 (_FP_WFRACXBITS_DW_E): Likewise.
24381 (_FP_HIGHBIT_DW_E): Likewise.
24382 (FP_FMA_E): Likewise.
24383 (_FP_FRAC_HIGH_DW_E): Likewise.
24384 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24385 (_FP_WFRACBITS_DW_Q): Likewise.
24386 (_FP_WFRACXBITS_DW_Q): Likewise.
24387 (_FP_HIGHBIT_DW_Q): Likewise.
24388 (FP_FMA_Q): Likewise.
24389 (_FP_FRAC_HIGH_DW_Q): Likewise.
24390 * soft-fp/fmasf4.c: New file.
24391 * soft-fp/fmadf4.c: Likewise.
24392 * soft-fp/fmatf4.c: Likewise.
24393
6308fd9a
LD
243942013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24395
24396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24397 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24398 Silvermont.
24399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24400 macro.
24401 (index_Slow_SSE4_2): Likewise.
24402 (index_Prefer_PMINUB_for_stringop): Likewise.
24403 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24404 bit_Slow_SSE4_2 is set.
24405 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24406 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24407
89cd9569
RA
244082013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24409
24410 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24411 rtld_global._dl_hwcap2.
24412 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24413 POWER8.
24414 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24415 POWER8 feature descriptions defined in _dl_hwcap2.
24416 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24417 string handling for POWER8 feature bits.
24418 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24419 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24420 _dl_powerpc_cap_flags.
24421 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24422 * sysdeps/powerpc/rtld-global-offsets.sym
24423 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24424 _dl_hwcap2 in the rtld_global_ro structure.
24425
1ae8bfe0
RA
244262013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24427
24428 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24429 hardware capabilities in support of AT_HWCAP2.
24430 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24431 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24432 GLRO(dl_hwcap2).
24433 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24434 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24435 explicitly the unknown a_type display mechanism is used.
24436 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24437 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24438 struct member.
24439 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24440 to macro prototype for AT_HWCAP2 support.
24441 * sysdeps/i386/dl-procinfo.h: Likewise.
24442 * sysdeps/s390/dl-procinfo.h: Likewise.
24443 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24444 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24445 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24446 return -1 for unknown a_type display fallback.
24447 * sysdeps/sparc/dl-procinfo.h: Likewise.
24448 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24449 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24450
8fbec010
JM
244512013-06-28 Joseph Myers <joseph@codesourcery.com>
24452
24453 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24454 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24455
0432680e
PY
244562013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24457
24458 [BZ #12492]
24459 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24460 mprotect making __stack_prot writable.
24461
ce61a2ad
NF
244622013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24463 Joseph Myers <joseph@codesourcery.com>
24464
24465 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24466 as being properly aligned.
24467
f91f1c0f
MR
244682013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24469
3d0f5d0c
MR
24470 * dlfcn/modstatic5.c: New file.
24471 * dlfcn/tststatic5.c: New file.
24472 * dlfcn/Makefile (tests): Add tststatic5.
24473 (tests-static): Likewise.
24474 (modules-names): Add modstatic5.
24475 (tststatic5-ENV): New variable.
24476 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24477
f91f1c0f
MR
24478 [BZ #15022]
24479 * elf/dl-support.c (_dl_main_map): New variable.
24480 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24481 (_dl_nns, _dl_load_adds): Set to 1.
24482 (_dl_initial_searchlist): Refer to _dl_main_map.
24483 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24484 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24485 call to _dl_get_origin.
24486 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24487 around call_map.
24488 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24489 * dlfcn/modstatic3.c: New file.
24490 * dlfcn/tststatic3.c: New file.
24491 * dlfcn/tststatic4.c: New file.
24492 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24493 (tests-static): Likewise.
24494 (modules-names): Add modstatic3.
24495 (tststatic3-ENV, tststatic4-ENV): New variables.
24496 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24497 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24498
cbe7d24b
JM
244992013-06-26 Joseph Myers <joseph@codesourcery.com>
24500
24501 * configure.in (CC): Require GCC version 4.4 or later.
24502 * configure: Regenerated.
24503 * manual/install.texi (Tools for Compilation): Update GCC version
24504 requirement.
24505 * INSTALL: Regenerated.
24506
11b8a0e1
LD
245072013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24508
24509 [BZ #15674]
bb5bb87c
L
24510 * string/test-memcmp.c (check2): New.
24511 (main): Call check2.
24512
11b8a0e1
LD
24513 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24514
b0037103
MR
245152013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24516
24517 [BZ #15022]
24518 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24519 over to...
24520 (dl_open_worker) [!SHARED]: ... here.
24521
c18c701d
RA
245222013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24523
24524 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24525
1d17fa5f
RH
245262013-06-25 Richard Henderson <rth@redhat.com>
24527
24528 * locale/programs/locarchive.c: Include <libc-internal.h>
24529
8fcb833a
JM
245302013-06-25 Joseph Myers <joseph@codesourcery.com>
24531
24532 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24533 trailing whitespace removed.
24534
17db6e8d
MF
245352013-06-24 Mike Frysinger <vapier@gentoo.org>
24536
24537 [BZ #10283]
17db6e8d
MF
24538 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24539 * locale/programs/locarchive.c: Include libc-mmap.h.
24540 (prepare_address_space): Take two new outputs (the mmap base and len).
24541 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24542 values.
24543 (create_archive): Declare new mmap base and len values for
24544 prepare_address_space, and store the result in ah.
24545 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24546 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24547 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24548 Declare new mmap base and len values for
24549 prepare_address_space, and store the result in new_ah.
24550 (open_archive): Declare new mmap base and len values for
24551 prepare_address_space, and store the result in ah.
24552 (close_archive): If ah->mmap_base is not NULL, use that and
24553 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24554 * sysdeps/generic/libc-mmap.h: New file.
24555
d605071e
MF
245562013-06-24 Mike Frysinger <vapier@gentoo.org>
24557
24558 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24559 (ALIGN_UP): Likewise.
24560 (PTR_ALIGN_DOWN): Likewise.
24561 (PTR_ALIGN_UP): Likewise.
24562
2f063a6e
RA
245632013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24564
24565 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24566 entry mapped to PPC_PLATFORM_POWER8.
24567 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24568 POWER8.
24569 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24570 (_dl_string_platform): Add case for exporting platform position for
24571 POWER8.
24572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24573 search path to sysdeps/powerpc/powerpc32/power8 directory.
24574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24575 search path to sysdeps/powerpc/powerpc64/power8 directory.
24576 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24577 power7 directories.
24578 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24579 power7 directories.
24580
a31ee4b3
SP
245812013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24582
a74ca98f
SP
24583 * INSTALL: Regenerate.
24584
a31ee4b3
SP
24585 * nscd/connections.c (nscd_init): Fix comment.
24586
695c378f
JM
245872013-06-22 Joseph Myers <joseph@codesourcery.com>
24588
d8412221
JM
24589 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24590
695c378f
JM
24591 [BZ #15667]
24592 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24593 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24594
d1d54715
MR
245952013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24596
24597 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24598 DL_DST_REQ_STATIC.
24599 (DL_DST_REQ_STATIC): Remove macro.
24600
8fdda7af
JM
246012013-06-21 Joseph Myers <joseph@codesourcery.com>
24602
24603 [BZ #7006]
24604 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24605 with a shift of 0 bits.
24606
f3bc5e5a
MR
246072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24608
24609 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24610 $(tststatic-ENV).
24611
be09e8c9
KK
246122013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24613
24614 [BZ #15655]
24615 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24616
85c2e611
AZ
246172013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24618
24619 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24620 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24621 accepts -fno-tree-loop-distribute-patterns.
24622 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24623 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24624 recursive call.
24625 * string/memset.c (memset): Likewise.
24626 * string/test-memmove.c (simple_memmove): Disable loop transformation
24627 to library calls.
24628 * string/test-memset.c (simple_memset): Likewise.
24629 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24630 * benchtests/bench-memset.c (simple_memset): Likewise.
24631 * configure: Regenerated.
24632
c91e0825
JM
246332013-06-20 Joseph Myers <joseph@codesourcery.com>
24634
b8c792af
JM
24635 * math/test-misc.c (main): Ignore fesetround failure when failures
24636 of subsequent rounding tests would be ignored.
24637
c91e0825
JM
24638 [BZ #15654]
24639 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24640 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24641 * math/fegetenv.c (__fegetenv): Return 0.
24642 * math/fegetexcept.c (fegetexcept): Return 0.
24643 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24644 FE_TONEAREST.
24645 * math/feholdexcpt.c (feholdexcept): Return 0.
24646 * math/fesetenv.c (__fesetenv): Return 0.
24647 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24648 argument FE_TONEAREST.
24649 * math/feupdateenv.c (__feupdateenv): Return 0.
24650 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24651
bfcacbde
RM
246522013-06-18 Roland McGrath <roland@hack.frob.com>
24653
24654 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24655 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24656 ($(objpfx)rtld-%.os rules): Use them.
24657
e55a9b25
AZ
246582013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24659
24660 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24661 fields.
24662
346d65b3
RM
246632013-06-17 Roland McGrath <roland@hack.frob.com>
24664
12086fb4
RM
24665 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24666 length of target pattern, then descending length of dependency pattern.
24667 * configure.in (AWK): Require gawk 3.1.2 or newer.
24668 * manual/install.texi (Tools for Compilation): Say that we do.
24669 * configure: Regenerated.
24670
346d65b3
RM
24671 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24672 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24673 * scripts/sysd-rules.awk: ... this new script.
24674 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24675 than a glob-style pattern.
24676
1a846317
JM
246772013-06-17 Joseph Myers <joseph@codesourcery.com>
24678
24679 * math/test-misc.c (main): Do not treat incorrectly rounded
24680 conversions as failure unless ROUNDING_TESTS passes.
24681
8fc75e6f
JM
246822013-06-15 Joseph Myers <joseph@codesourcery.com>
24683
3711a167
JM
24684 [BZ #15631]
24685 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24686 restore exception state around main square root computation, then
24687 check for inexactness explicitly.
24688
8fc75e6f
JM
24689 * math/libm-test.inc (fma_test_data): Add another test.
24690
61dd6208
SP
246912013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24692
adf23d2c
SP
24693 * manual/threads.texi (Non-POSIX Extensions): New document
24694 node. Document pthread_getattr_default_np and
24695 pthread_setattr_default_np.
24696
61dd6208
SP
24697 * Versions.def (libpthread): Add GLIBC_2.18.
24698 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24700 Likewise.
24701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24702 Likewise.
24703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24704 Likewise.
24705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24706 Likewise.
24707 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24708 Likewise.
24709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24710 Likewise.
24711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24712 Likewise.
24713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24714 Likewise.
24715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24716 Likewise.
24717
d086fc7b
LD
247182013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24719
24720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24721 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24722
747ef469
SP
247232013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24724 H.J. Lu <hjl.tools@gmail.com>
24725
24726 [BZ #15627]
24727 * sysdeps/x86_64/rtld-memset.c: Remove file.
24728 * sysdeps/x86_64/rtld-memset.S: New file.
24729
1b2feed2
JM
247302013-06-14 Joseph Myers <joseph@codesourcery.com>
24731
24732 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24733 (test_in_one_mode): Take arguments for whether the rounding mode
24734 is supported for each floating-point type.
24735 (do_test): Pass new arguments to test_in_one_mode using
24736 ROUNDING_TESTS.
24737
a58ad3f8
RM
247382013-06-13 Roland McGrath <roland@hack.frob.com>
24739
24740 * posix/tst-waitid.c (do_test): Distinguish different instances of
24741 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24742 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24743 before entering the kernel for waitpid.
24744
c204ab28
SP
247452013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24746
24747 * NEWS: Fix note on clock function precision. Text by Roland
24748 McGrath.
24749
f4a29fba
RM
247502013-06-13 Roland McGrath <roland@hack.frob.com>
24751
24752 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24753 it into place only when and if the sanity check passes.
24754
1f24b9ad
JM
247552013-06-13 Joseph Myers <joseph@codesourcery.com>
24756
24757 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24758 output for whether conversion result is exact. Take argument
24759 indicating whether type is IBM long double.
24760 (round_for_all): Change need_exact field to ibm_ld.
24761 * stdlib/tst-strtod-round.c (struct exactness): New type.
24762 (struct test): Change bool ld_ok field to struct exactness exact.
24763 (TEST): Update all definitions for change to field.
24764 (tests): Regenerate array contents.
24765 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24766 field value. Check for IBM long double here.
24767 (do_test): Update calls to test_in_one_mode.
24768
58206c68
SP
247692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24770
24771 [BZ #12515]
24772 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24773 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24774
2d6f4c5b 247752013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24776
24777 [BZ #15605]
24778 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24779 generated by the compiler on loop optimizations.
24780 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24781 general definitions.
24782
94f2c076
JM
247832013-06-12 Joseph Myers <joseph@codesourcery.com>
24784
24785 * math/bug-nextafter.c: Include <math-tests.h>.
24786 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24787 the relevant type.
24788 * math/bug-nexttoward.c: Include <math-tests.h>.
24789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24790 the relevant type.
24791 * math/test-misc.c: Include <math-tests.h>.
24792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24793 the relevant type.
24794
e0e50a0a
AJ
247952013-06-12 Andreas Jaeger <aj@suse.de>
24796
24797 * po/ia.po: Update Interlingua translation from translation
24798 project.
24799
25061094
SP
248002013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24801
24802 * include/fenv.h: Include stdbool.h.
24803 (struct rm_ctx): New structure.
24804 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24805 Define macro.
24806 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24807 (SET_RESTORE_ROUNDF): Likewise.
24808 (SET_RESTORE_ROUNDL): Likewise.
24809 (SET_RESTORE_ROUND_NOEX): Likewise.
24810 (SET_RESTORE_ROUND_NOEXF): Likewise.
24811 (SET_RESTORE_ROUND_NOEXL): Likewise.
24812 (SET_RESTORE_ROUND_53BIT): Likewise.
24813 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24814 (libc_feresetround_noexf_ctx): Likewise.
24815 (libc_feresetround_noexl_ctx): Likewise.
24816 (libc_feholdsetround_53bit_ctx): Likewise.
24817 (libc_feresetround_53bit_ctx): Likewise.
24818 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24819 (libc_feholdexcept_setround_sse_ctx): New function.
24820 (libc_fesetenv_sse_ctx): Likewise.
24821 (libc_feupdateenv_sse_ctx): Likewise.
24822 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24823 (libc_feholdexcept_setround_387_ctx): Likewise.
24824 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24825 (libc_feholdsetround_387_prec_ctx): Likewise.
24826 (libc_feholdsetround_387_ctx): Likewise.
24827 (libc_feholdsetround_387_53bit_ctx): Likewise.
24828 (libc_feholdsetround_sse_ctx): Likewise.
24829 (libc_feresetround_sse_ctx): Likewise.
24830 (libc_feresetround_387_ctx): Likewise.
24831 (libc_feupdateenv_387_ctx): Likewise.
24832 (libc_feholdexcept_setroundf_ctx): Define macro.
24833 (libc_fesetenvf_ctx): Likewise.
24834 (libc_feupdateenvf_ctx): Likewise.
24835 (libc_feholdsetroundf_ctx): Likewise.
24836 (libc_feresetroundf_ctx): Likewise.
24837 (libc_feholdexcept_setround_ctx): Likewise.
24838 (libc_fesetenv_ctx): Likewise.
24839 (libc_feupdateenv_ctx): Likewise.
24840 (libc_feholdsetround_ctx): Likewise.
24841 (libc_feresetround_ctx): Likewise.
24842 (libc_feholdexcept_setroundl_ctx): Likewise.
24843 (libc_feupdateenvl_ctx): Likewise.
24844 (libc_feholdsetroundl_ctx): Likewise.
24845 (libc_feresetroundl_ctx): Likewise.
24846 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24847 (libc_feresetround_53bit_ctx): Likewise.
24848
59b30555
SP
248492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24850
24851 * locale/iso-639.def: Convert to UTF-8.
24852
f1d73d30
JM
248532013-06-11 Joseph Myers <joseph@codesourcery.com>
24854
24855 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24856 (EXCEPTION_TESTS_double): Likewise.
24857 (EXCEPTION_TESTS_long_double): Likewise.
24858 (EXCEPTION_TESTS): Likewise.
24859 * math/libm-test.inc (test_exceptions): Only test exceptions if
24860 EXCEPTION_TESTS (FLOAT).
24861
94aca5e7
SP
248622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24863
24864 * benchtests/Makefile (string-bench): Add strcpy_chk and
24865 stpcpy_chk.
24866 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24867 * benchtests/bench-stpcpy_chk.c: New file.
24868 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24869 * benchtests/bench-strcpy_chk.c: New file.
24870 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24871 code.
24872 (do_test): Likewise.
24873
fac0c5f2
RA
248742013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24875
24876 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24877 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24878 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24879 with tabs where appropriate.
24880 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24881 dl-procinfo.h.
24882 [PPC_PLATFORM_PPC440]: Likewise.
24883 [PPC_PLATFORM_PPC464]: Likewise.
24884 [PPC_PLATFORM_PPC476]: Likewise.
24885 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24886 ppc464, and ppc476 platform strings merging from ports/
24887 dl-procinfo.h.
24888
f22bc486
AS
248892013-06-11 Andreas Schwab <schwab@suse.de>
24890
24891 [BZ #14991]
24892 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24893 (from_ucs4_idx): Regenerate.
24894 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24895 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24896 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24897 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24898 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24899 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24900 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24901 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24902 from FROM_LOOP and TO_LOOP specific macros.
24903 (BODY): Handle combining characters.
24904 * iconvdata/BIG5HKSCS.irreversible: Update.
24905 * iconvdata/BIG5HKSCS.precomposed: New file.
24906 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24907 characters.
24908 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24909
c1f75dc3
SP
249102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24911
4eacded2
SP
24912 * include/sys/time.h: Fix indentation and add copyright header.
24913
fec799f8
SP
24914 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24915 (do_test): Likewise.
24916 * string/test-memchr.c (do_one_test): Likewise.
24917 (do_test): Likewise.
24918 * string/test-memcmp.c (do_one_test): Likewise.
24919 (do_test): Likewise.
24920 * string/test-memcpy.c (do_one_test): Likewise.
24921 (do_test): Likewise.
24922 * string/test-memmem.c (do_one_test): Likewise.
24923 (do_test): Likewise.
24924 (do_random_tests): Likewise.
24925 * string/test-memmove.c (do_one_test): Likewise.
24926 (do_test): Likewise.
24927 * string/test-memset.c (do_one_test): Likewise.
24928 (do_test): Likewise.
24929 * string/test-rawmemchr.c (do_one_test): Likewise.
24930 (do_test): Likewise.
24931 * string/test-strcasecmp.c (do_one_test): Likewise.
24932 (do_test): Likewise.
24933 * string/test-strcasestr.c (do_one_test): Likewise.
24934 (do_test): Likewise.
24935 * string/test-strcat.c (do_one_test): Likewise.
24936 (do_test): Likewise.
24937 * string/test-strchr.c (do_one_test): Likewise.
24938 (do_test): Likewise.
24939 * string/test-strcmp.c (do_one_test): Likewise.
24940 (do_test): Likewise.
24941 * string/test-strcpy.c (do_one_test): Likewise.
24942 (do_test): Likewise.
24943 * string/test-string.h: Likewise.
24944 (test_init): Likewise.
24945 * string/test-strlen.c (do_one_test): Likewise.
24946 (do_test): Likewise.
24947 * string/test-strncasecmp.c (do_one_test): Likewise.
24948 (do_test): Likewise.
24949 * string/test-strncat.c (do_one_test): Likewise.
24950 (do_test): Likewise.
24951 * string/test-strncmp.c (do_one_test): Likewise.
24952 (do_test_limit): Likewise.
24953 (do_test): Likewise.
24954 * string/test-strncpy.c (do_one_test): Likewise.
24955 (do_test): Likewise.
24956 * string/test-strnlen.c (do_one_test): Likewise.
24957 (do_test): Likewise.
24958 * string/test-strpbrk.c (do_one_test): Likewise.
24959 (do_test): Likewise.
24960 * string/test-strrchr.c (do_one_test): Likewise.
24961 (do_test): Likewise.
24962 * string/test-strspn.c (do_one_test): Likewise.
24963 (do_test): Likewise.
24964 * string/test-strstr.c (do_one_test): Likewise.
24965 (do_test): Likewise.
24966
97020474
SP
24967 * benchtests/Makefile (string-bench): Add string benchmarks.
24968 * benchtests/bench-bcopy-ifunc.c: New file.
24969 * benchtests/bench-bcopy.c: New file.
24970 * benchtests/bench-bzero-ifunc.c: New file.
24971 * benchtests/bench-bzero.c: New file.
24972 * benchtests/bench-memccpy-ifunc.c: New file.
24973 * benchtests/bench-memccpy.c: New file.
24974 * benchtests/bench-memchr-ifunc.c: New file.
24975 * benchtests/bench-memchr.c: New file.
24976 * benchtests/bench-memcmp-ifunc.c: New file.
24977 * benchtests/bench-memcmp.c: New file.
24978 * benchtests/bench-memmem-ifunc.c: New file.
24979 * benchtests/bench-memmem.c: New file.
24980 * benchtests/bench-memmove-ifunc.c: New file.
24981 * benchtests/bench-memmove.c: New file.
24982 * benchtests/bench-mempcpy-ifunc.c: New file.
24983 * benchtests/bench-mempcpy.c: New file.
24984 * benchtests/bench-memset-ifunc.c: New file.
24985 * benchtests/bench-memset.c: New file.
24986 * benchtests/bench-rawmemchr-ifunc.c: New file.
24987 * benchtests/bench-rawmemchr.c: New file.
24988 * benchtests/bench-stpcpy-ifunc.c: New file.
24989 * benchtests/bench-stpcpy.c: New file.
24990 * benchtests/bench-stpncpy-ifunc.c: New file.
24991 * benchtests/bench-stpncpy.c: New file.
24992 * benchtests/bench-strcasecmp-ifunc.c: New file.
24993 * benchtests/bench-strcasecmp.c: New file.
24994 * benchtests/bench-strcasestr-ifunc.c: New file.
24995 * benchtests/bench-strcasestr.c: New file.
24996 * benchtests/bench-strcat-ifunc.c: New file.
24997 * benchtests/bench-strcat.c: New file.
24998 * benchtests/bench-strchr-ifunc.c: New file.
24999 * benchtests/bench-strchr.c: New file.
25000 * benchtests/bench-strchrnul-ifunc.c: New file.
25001 * benchtests/bench-strchrnul.c: New file.
25002 * benchtests/bench-strcmp-ifunc.c: New file.
25003 * benchtests/bench-strcmp.c: New file.
25004 * benchtests/bench-strcpy-ifunc.c: New file.
25005 * benchtests/bench-strcpy.c: New file.
25006 * benchtests/bench-strcspn-ifunc.c: New file.
25007 * benchtests/bench-strcspn.c: New file.
25008 * benchtests/bench-strlen-ifunc.c: New file.
25009 * benchtests/bench-strlen.c: New file.
25010 * benchtests/bench-strncasecmp-ifunc.c: New file.
25011 * benchtests/bench-strncasecmp.c: New file.
25012 * benchtests/bench-strncat-ifunc.c: New file.
25013 * benchtests/bench-strncat.c: New file.
25014 * benchtests/bench-strncmp-ifunc.c: New file.
25015 * benchtests/bench-strncmp.c: New file.
25016 * benchtests/bench-strncpy-ifunc.c: New file.
25017 * benchtests/bench-strncpy.c: New file.
25018 * benchtests/bench-strnlen-ifunc.c: New file.
25019 * benchtests/bench-strnlen.c: New file.
25020 * benchtests/bench-strpbrk-ifunc.c: New file.
25021 * benchtests/bench-strpbrk.c: New file.
25022 * benchtests/bench-strrchr-ifunc.c: New file.
25023 * benchtests/bench-strrchr.c: New file.
25024 * benchtests/bench-strspn-ifunc.c: New file.
25025 * benchtests/bench-strspn.c: New file.
25026 * benchtests/bench-strstr-ifunc.c: New file.
25027 * benchtests/bench-strstr.c: New file.
25028
c1f75dc3
SP
25029 * benchtests/Makefile: Disable parallel execution of targets.
25030 (string-bench): Add memcpy.
25031 (benchset): New variable to store a list of benchmark sets.
25032 (bench-func): Renamed from bench.
25033 (bench-set): New target.
25034 (bench): Depend on bench-func and bench-set.
25035 * benchtests/README: Add section on benchmark sets.
25036 * benchtests/bench-memcpy-ifunc.c: New file.
25037 * benchtests/bench-memcpy.c: New file.
25038 * benchtests/bench-string.h: New file.
25039
50fd745b
AS
250402013-06-11 Andreas Schwab <schwab@suse.de>
25041
25042 [BZ #15577]
25043 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25044 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25045 values in the triple.
25046 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25047 terminator in the group key.
25048
3ee7e9fe
AJ
250492013-06-11 Andreas Jaeger <aj@suse.de>
25050
25051 * po/zh_TW.po: Update Chinese (traditional) translation from
25052 translation project.
25053
89fb6835
SP
250542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25055
25056 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25057 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25058 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25059 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25060 (clock_getcpuclockid): Likewise.
25061 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25062 Add weak_alias and libc_hidden_def.
25063 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25064 * rt/clock_gettime.c (clock_gettime): Rename to
25065 __clock_gettime. Add weak_alias and libc_hidden_def.
25066 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25067 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25068 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25069 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25070 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25071 Likewise.
25072 * rt/clock_settime.c (clock_settime): Rename to
25073 __clock_settime. Add weak_alias and libc_hidden_def.
25074 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25075
0efa6f8b
JM
250762013-06-10 Joseph Myers <joseph@codesourcery.com>
25077
b8c61b4b
JM
25078 * mach/err_boot.sub: Remove trailing whitespace.
25079 * mach/err_ipc.sub: Likewise.
25080 * mach/err_mach.sub: Likewise.
25081
0efa6f8b
JM
25082 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25083 (ROUNDING_TESTS_double): Likewise.
25084 (ROUNDING_TESTS_long_double): Likewise.
25085 (ROUNDING_TESTS): Likewise.
25086 * math/libm-test.inc: Include <math-tests.h>.
25087 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25088 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25089 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25090 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25091
50b818bf
SP
250922013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25093
25094 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25095 of assigning.
25096
60d2f8f3
JM
250972013-06-08 Joseph Myers <joseph@codesourcery.com>
25098
4902d2c3
JM
25099 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25100 otherwise empty TRANS lines.
25101 * sysdeps/gnu/errlist.c: Regenerated.
25102
60d2f8f3
JM
25103 * catgets/gencat.c (error_print): Use (void) in function
25104 definition.
25105 * crypt/crypt_util.c (__init_des): Likewise.
25106 * crypt/speeds.c (Stop): Likewise.
25107 (main): Likewise.
25108 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25109 * inet/ruserpass.c (token): Likewise.
25110 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25111 * intl/localealias.c (extend_alias_table): Likewise.
25112 * intl/plural-exp.c (init_germanic_plural): Likewise.
25113 * libio/fcloseall.c (__fcloseall): Likewise.
25114 * libio/genops.c (_IO_flush_all): Likewise.
25115 (_IO_flush_all_linebuffered): Likewise.
25116 (_IO_cleanup): Likewise.
25117 (_IO_iter_begin): Likewise.
25118 (_IO_iter_end): Likewise.
25119 (_IO_list_lock): Likewise.
25120 (_IO_list_unlock): Likewise.
25121 (_IO_list_resetlock): Likewise.
25122 * libio/getchar.c (getchar): Likewise.
25123 * libio/getchar_u.c (getchar_unlocked): Likewise.
25124 * libio/getwchar.c (getwchar): Likewise.
25125 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25126 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25127 * login/getpt.c (__getpt): Likewise.
25128 * login/tst-utmp.c (main): Likewise.
25129 * malloc/hooks.c (__malloc_check_init): Likewise.
25130 * malloc/malloc.c (__malloc_stats): Likewise.
25131 * malloc/mtrace.c (tr_break): Likewise.
25132 (mtrace): Likewise.
25133 (muntrace): Likewise.
25134 * misc/fstab.c (endfsent): Likewise.
25135 * misc/getclktck.c (__getclktck): Likewise.
25136 * misc/getdtsz.c (__getdtablesize): Likewise.
25137 * misc/gethostid.c (gethostid): Likewise.
25138 * misc/getpagesize.c (__getpagesize): Likewise.
25139 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25140 (__get_nprocs): Likewise.
25141 (__get_phys_pages): Likewise.
25142 (__get_avphys_pages): Likewise.
25143 * misc/getttyent.c (getttyent): Likewise.
25144 (setttyent): Likewise.
25145 (endttyent): Likewise.
25146 * misc/getusershell.c (getusershell): Likewise.
25147 (endusershell): Likewise.
25148 (setusershell): Likewise.
25149 (initshells): Likewise.
25150 * misc/hsearch.c (__hdestroy): Likewise.
25151 * misc/sync.c (sync): Likewise.
25152 * misc/syslog.c (closelog_internal): Likewise.
25153 (closelog): Likewise.
25154 * misc/ttyslot.c (ttyslot): Likewise.
25155 * misc/vhangup.c (vhangup): Likewise.
25156 * posix/fork.c (__fork): Likewise.
25157 * posix/getegid.c (__getegid): Likewise.
25158 * posix/geteuid.c (__geteuid): Likewise.
25159 * posix/getgid.c (__getgid): Likewise.
25160 * posix/getpid.c (__getpid): Likewise.
25161 * posix/getppid.c (__getppid): Likewise.
25162 * posix/getuid.c (__getuid): Likewise.
25163 * posix/pause.c (pause): Likewise.
25164 * posix/setpgrp.c (setpgrp): Likewise.
25165 * posix/setsid.c (__setsid): Likewise.
25166 * posix/test-vfork.c (noop): Likewise.
25167 * resolv/gethnamaddr.c (_endhtent): Likewise.
25168 (_gethtent): Likewise.
25169 (ht_endhostent): Likewise.
25170 (gethostent): Likewise.
25171 (dns_service): Likewise.
25172 * stdlib/drand48.c (drand48): Likewise.
25173 * stdlib/lrand48.c (lrand48): Likewise.
25174 * stdlib/mrand48.c (mrand48): Likewise.
25175 * stdlib/rand.c (rand): Likewise.
25176 * stdlib/random.c (__random): Likewise.
25177 * stdlib/setenv.c (clearenv): Likewise.
25178 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25179 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25180 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25181 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25182 (__get_nprocs): Likewise.
25183 (__get_phys_pages): Likewise.
25184 (__get_avphys_pages): Likewise.
25185 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25186 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25187 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25188 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25189 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25190 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25191 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25192 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25193 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25194 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25195 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25196 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25197 * sysdeps/posix/clock.c (clock): Likewise.
25198 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25199 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25200 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25201 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25202 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25204 (__get_nprocs_conf): Likewise.
25205 (__get_phys_pages): Likewise.
25206 (__get_avphys_pages): Likewise.
25207 * time/clock.c (clock): Likewise.
25208 * time/tzset.c (__tzname_max): Likewise.
25209
2e09a79a
JM
252102013-06-07 Joseph Myers <joseph@codesourcery.com>
25211
25212 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25213 (__bswap_32): Do not use "register".
25214 * crypt/crypt.c (_ufc_doit_r): Likewise.
25215 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25216 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25217 * gmon/gmon.c (__monstartup): Likewise.
25218 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25219 * hurd/hurdmalloc.c (more_memory): Likewise.
25220 (malloc): Likewise.
25221 (free): Likewise.
25222 (realloc): Likewise.
25223 (malloc_fork_prepare): Likewise.
25224 (malloc_fork_parent): Likewise.
25225 (malloc_fork_child): Likewise.
25226 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25227 (_svcauth_des): Likewise.
25228 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25229 * inet/inet_net.c (inet_network): Likewise.
25230 * inet/inet_netof.c (inet_netof): Likewise.
25231 * inet/rcmd.c (__validuser2_sa): Likewise.
25232 * io/fts.c (fts_open): Likewise.
25233 (fts_load): Likewise.
25234 (fts_close): Likewise.
25235 (fts_read): Likewise.
25236 (fts_children): Likewise.
25237 (fts_build): Likewise.
25238 (fts_stat): Likewise.
25239 (fts_sort): Likewise.
25240 (fts_alloc): Likewise.
25241 (fts_lfree): Likewise.
25242 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25243 (_IO_file_xsgetn): Likewise.
25244 (_IO_file_xsgetn_mmap): Likewise.
25245 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25246 (_IO_cookie_write): Likewise.
25247 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25248 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25249 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25250 * malloc/obstack.c (_obstack_begin): Likewise.
25251 (_obstack_begin_1): Likewise.
25252 (_obstack_newchunk): Likewise.
25253 (_obstack_allocated_p): Likewise.
25254 (obstack_free): Likewise.
25255 (_obstack_memory_used): Likewise.
25256 * misc/getttyent.c (getttynam): Likewise.
25257 (getttyent): Likewise.
25258 (skip): Likewise.
25259 (value): Likewise.
25260 * misc/getusershell.c (initshells): Likewise.
25261 * misc/syslog.c (__vsyslog_chk): Likewise.
25262 * misc/ttyslot.c (ttyslot): Likewise.
25263 * nis/nis_hash.c (__nis_hash): Likewise.
25264 * posix/fnmatch_loop.c (FCT): Likewise.
25265 * posix/getconf.c (print_all): Likewise.
25266 (main): Likewise.
25267 * posix/getopt.c (exchange): Likewise.
25268 * posix/glob.c (globfree): Likewise.
25269 (prefix_array): Likewise.
25270 (__glob_pattern_type): Likewise.
25271 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25272 (NS_GET32): Likewise.
25273 (NS_PUT16): Likewise.
25274 (NS_PUT32): Likewise.
25275 * resolv/gethnamaddr.c (getanswer): Likewise.
25276 (gethostbyname2): Likewise.
25277 (gethostbyaddr): Likewise.
25278 (_gethtent): Likewise.
25279 (_gethtbyname2): Likewise.
25280 (_gethtbyaddr): Likewise.
25281 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25282 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25283 * resolv/res_init.c (__res_vinit): Likewise.
25284 (net_mask): Likewise.
25285 * resolv/res_mkquery.c (outchar): Likewise.
25286 (PRINT): Likewise.
25287 * stdio-common/printf_fp.c (outchar): Likewise.
25288 (PRINT): Likewise.
25289 * stdio-common/printf_fphex.c (outchar): Likewise.
25290 (PRINT): Likewise.
25291 * stdio-common/printf_size.c (outchar): Likewise.
25292 (PRINT): Likewise.
25293 * stdio-common/test_rdwr.c (main): Likewise.
25294 * stdio-common/tfformat.c (matches): Likewise.
25295 * stdio-common/vfprintf.c (outchar): Likewise.
25296 (printf_unknown): Likewise.
25297 (buffered_vfprintf): Likewise.
25298 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25299 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25300 (ReadFile): Likewise.
25301 * stdlib/qsort.c (SWAP): Likewise.
25302 (_quicksort): Likewise.
25303 * stdlib/setenv.c (__add_to_environ): Likewise.
25304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25305 * stdlib/strtol_l.c (__strtol_l): Likewise.
25306 * stdlib/tst-strtod.c (main): Likewise.
25307 * stdlib/tst-strtol.c (main): Likewise.
25308 * stdlib/tst-strtoll.c (main): Likewise.
25309 * string/bits/string2.h (__strcmp_cc): Likewise.
25310 (__strcmp_cg): Likewise.
25311 (__strcspn_c1): Likewise.
25312 (__strcspn_c2): Likewise.
25313 (__strcspn_c3): Likewise.
25314 (__strspn_c1): Likewise.
25315 (__strspn_c2): Likewise.
25316 (__strspn_c3): Likewise.
25317 (__strsep_1c): Likewise.
25318 (__strsep_2c): Likewise.
25319 (__strsep_3c): Likewise.
25320 * string/memccpy.c (__memccpy): Likewise.
25321 * string/stpcpy.c (__stpcpy): Likewise.
25322 * string/strcmp.c (strcmp): Likewise.
25323 * string/strrchr.c (strrchr): Likewise.
25324 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25325 Likewise.
25326 * sysdeps/mach/hurd/getcwd.c
25327 (_hurd_canonicalize_directory_name_internal): Likewise.
25328 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25329 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25330 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25331 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25332 Likewise, in both definitions.
25333 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25334 definitions.
25335 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25336 64] (__bswap_64): Likewise.
25337 * time/test_time.c (main): Likewise.
25338 * time/tzfile.c (__tzfile_read): Likewise.
25339 (__tzfile_compute): Likewise.
25340 * time/tzset.c (__tzset_parse_tz): Likewise.
25341 (tzset_internal): Likewise.
25342 (compute_change): Likewise.
25343 * wcsmbs/wcscat.c (__wcscat): Likewise.
25344 * wcsmbs/wcschr.c (wcschr): Likewise.
25345 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25346 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25347 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25348 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25349 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25350 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25351 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25352 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25353 * wcsmbs/wmemset.c (wmemset): Likewise.
25354
9e54314b
JM
253552013-06-06 Joseph Myers <joseph@codesourcery.com>
25356
25357 * scripts/config.guess: Update to version 2013-05-16.
25358 * scripts/config.sub: Update to version 2013-04-24.
25359 * scripts/install-sh: Update to version 2011-11-20.07.
25360 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25361 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25362
350635a5
OB
253632013-06-06 Ondřej Bílka <neleai@seznam.cz>
25364
25365 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25366 * elf/sln.c: Likewise.
25367 * hurd/hurd/ioctl.h: Likewise.
25368 * hurd/hurdmalloc.c: Likewise.
25369 * hurd/xattr.c: Likewise.
25370 * include/shlib-compat.h: Likewise.
25371 * inet/ruserpass.c: Likewise.
25372 * libio/iofgets_u.c: Likewise.
25373 * libio/iofgetws_u.c: Likewise.
25374 * locale/programs/ld-identification.c: Likewise.
25375 * locale/programs/ld-time.c: Likewise.
25376 * mach/msg-destroy.c: Likewise.
25377 * nss/nss_files/files-netgrp.c: Likewise.
25378 * resolv/res_data.c: Likewise.
25379 * soft-fp/op-1.h: Likewise.
25380 * soft-fp/op-2.h: Likewise.
25381 * soft-fp/op-4.h: Likewise.
25382 * soft-fp/op-common.h: Likewise.
25383 * stdio-common/printf_fphex.c: Likewise.
25384 * stdlib/strtod_l.c: Likewise.
25385 * sunrpc/rpc/clnt.h: Likewise.
25386 * sysdeps/generic/framestate.c: Likewise.
25387 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25388 * sysdeps/i386/bsd-setjmp.S: Likewise.
25389 * sysdeps/i386/__longjmp.S: Likewise.
25390 * sysdeps/i386/setjmp.S: Likewise.
25391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25392 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25409 * sysdeps/ieee754/support.c: Likewise.
25410 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25411 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25412 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25413 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25414 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25415 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25416 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25417 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25418 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25419 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25420 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25421 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25422 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25423 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25424 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25425 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25426 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25428
44a988af
OB
254292013-06-05 Ondřej Bílka <neleai@seznam.cz>
25430
25506f09 25431 * posix/transbug.c: Remove executable mode.
44a988af 25432
9c84384c
JM
254332013-06-05 Joseph Myers <joseph@codesourcery.com>
25434
25435 * crypt/speeds.c: Remove trailing whitespace.
25436 * dlfcn/default.c: Likewise.
25437 * elf/ifuncdep2.c: Likewise.
25438 * elf/ifuncmain1.c: Likewise.
25439 * elf/ifuncmain1vis.c: Likewise.
25440 * elf/testobj.h: Likewise.
25441 * elf/tst-stackguard1.c: Likewise.
25442 * gmon/sys/gmon.h: Likewise.
25443 * hurd/hurdmsg.c: Likewise.
25444 * hurd/new-fd.c: Likewise.
25445 * hurd/ports-get.c: Likewise.
25446 * iconvdata/ibm1008_420.c: Likewise.
25447 * inet/tst-getni1.c: Likewise.
25448 * inet/tst-getni2.c: Likewise.
25449 * libio/ioungetc.c: Likewise.
25450 * libio/wfiledoalloc.c: Likewise.
25451 * manual/libm-err-tab.pl: Likewise.
25452 * math/w_dremf.c: Likewise.
25453 * misc/ftruncate.c: Likewise.
25454 * posix/bug-glob2.c: Likewise.
25455 * posix/tst-pcre.c: Likewise.
25456 * posix/wait4.c: Likewise.
25457 * resolv/README: Likewise.
25458 * resolv/res_debug.h: Likewise.
25459 * resolv/tst-inet_ntop.c: Likewise.
25460 * setjmp/bug269-setjmp.c: Likewise.
25461 * soft-fp/extended.h: Likewise.
25462 * soft-fp/op-1.h: Likewise.
25463 * soft-fp/op-2.h: Likewise.
25464 * soft-fp/op-4.h: Likewise.
25465 * soft-fp/op-8.h: Likewise.
25466 * soft-fp/testit.c: Likewise.
25467 * stdio-common/bug16.c: Likewise.
25468 * stdlib/random.c: Likewise.
25469 * sunrpc/rpcsvc/rquota.x: Likewise.
25470 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25471 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25473 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25474 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25475 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25476 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25477 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25478 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25479 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25480 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25484 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25497 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25499 * sysdeps/ieee754/s_lib_version.c: Likewise.
25500 * sysdeps/mach/hurd/check_fds.c: Likewise.
25501 * sysdeps/mach/hurd/getsockname.c: Likewise.
25502 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25503 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25504 * sysdeps/powerpc/bits/link.h: Likewise.
25505 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25506 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25507 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25508 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25509 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25510 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25511 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25512 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25513 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25514 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25515 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25517 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25518 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25519 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25520 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25521 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25523 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25524 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25525 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25526 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25528 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25529 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25531 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25532 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25533 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25536 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25537 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25538 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25539 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25540 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25541 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25542 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25543 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25544 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25545 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25546 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25547 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25548 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25549 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25551 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25552 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25554 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25555 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25556 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25557 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25558 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25559 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25560 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25561 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25562 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25563 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25564 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25565 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25566 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25567 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25568 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25569 * sysdeps/powerpc/sysdep.h: Likewise.
25570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25571 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25572 * sysdeps/sh/dl-trampoline.S: Likewise.
25573 * sysdeps/sh/memset.S: Likewise.
25574 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25575 * sysdeps/sh/strlen.S: Likewise.
25576 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25577 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25578 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25579 * sysdeps/sparc/sparc32/rem.S: Likewise.
25580 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25581 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25582 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25583 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25584 * sysdeps/sparc/sparc32/urem.S: Likewise.
25585 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25586 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25587 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25588 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25589 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25590 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25591 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25592 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25593 * sysdeps/unix/bsd/times.c: Likewise.
25594 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25595 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25599 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25600 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25601 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25602 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25603 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25604 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25605 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25606 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25607 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25608 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25609 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25610 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25611 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25612 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25613 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25614 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25615 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25616 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25617 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25618 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25619 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25620 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25622 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25623 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25624 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25625 * sysdeps/x86_64/strcspn.S: Likewise.
25626
869378a5
RA
256272013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25628
25629 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25630 generated file. Regenerate properly from gen-translit.pl.
25631 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25632 locale/C-translit.h.
25633
840e2943
AS
256342013-06-05 Andreas Schwab <schwab@suse.de>
25635
25636 [BZ #15100]
25637 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25638 week as 6 instead of -1.
25639 * time/tst-strptime.c (day_tests): Add test case.
25640
4c60cb0c
SP
256412013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25642
25643 * sysdeps/generic/math_private.h
25644 (libc_feholdexcept_setround_53bit): Replace with
25645 libc_feholdsetround_53bit.
25646 (libc_feupdateenv_53bit): Replace with
25647 libc_feresetround_53bit.
25648 (SET_RESTORE_ROUND_53BIT): Adjust.
25649
d180203e
SP
256502013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25651
96df079a
SP
25652 * string/test-strchrnul.c: Add copyright header.
25653
d180203e
SP
25654 * posix/tst-getaddrinfo4.c: Increase test timeout.
25655
8b0ccb2d
CD
256562013-06-03 Carlos O'Donell <carlos@redhat.com>
25657
25658 [BZ #15536]
25659 * math/libm-test.inc (MAX_EXP): Remove
25660 (MIN_EXP): Define.
25661 (ulp): Use MIN_EXP - MANT_DIG.
25662 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25663
3b3c4d40
CD
256642013-05-31 Carlos O'Donell <carlos@redhat.com>
25665
25666 * po/be.po: Revert last change.
25667 * po/zh_CN.po: Likewise.
25668 * po/header.pot: Likewise.
25669
fab7ce3f
JM
256702013-05-31 Joseph Myers <joseph@codesourcery.com>
25671
25672 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25673 link-libc-deps to empty as target-specific variable.
25674 * Makerules (link-libc-args): New variable.
25675 (libc-for-link): Likewise.
25676 (link-libc-deps): Likewise.
25677 (lib%.so): Depend on $(link-libc-deps). Link with
25678 $(link-libc-args).
25679 (build-module): Link with $(link-libc-args).
25680 (build-module-asneeded): Likewise.
25681 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25682 list of objects.
25683 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25684 target-specific variable.
25685 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25686 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25687 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25688 libc.
25689 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25690 libc and ld.so.
25691 ($(objpfx)libpcprofile.so): Likewise.
25692 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25693 libc_nonshared.a.
25694 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25695 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25696 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25697 $(link-libc-deps).
25698 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25699 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25700 * login/Makefile ($(objpfx)libutil.so): Likewise.
25701 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25702 * math/Makefile ($(objpfx)libm.so): Likewise.
25703 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25704 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25705 variable instead of depending directly on libc.
25706 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25707 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25708 $(link-libc-deps).
25709 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25710 libc.
25711 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25712 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25713 ($(objpfx)libanl.so): Likewise.
25714 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25715 ld.so.
25716 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25717 $(link-libc-deps).
25718 * sysdeps/i386/fpu/Makefile: Remove file.
25719 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25720 ($(objpfx)libm.so): Remove dependency on ld.so.
25721
eca5920c
PF
257222013-05-30 Patsy Franklin <pfrankli@redhat.com>
25723
25724 [BZ # 15553]
25725 * nis/yp_xdr.c (XDRMAXNAME): Define.
25726 (XDRMAXRECORD): Define.
25727 (xdr_domainname): Use XDRMAXNAME.
25728 (xdr_mapname): Likewise.
25729 (xdr_peername): Likewise.
25730 (xdr_keydat): Use XDRMAXRECORD.
25731 (xdr_valdat): Likewise.
25732
257332013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25734
25735 [BZ #14256]
25736 * manual/errno.texi (ESTALE): Update to account for more than
25737 just NFS file systems.
25738 * sysdeps/gnu/errlist.c: Regenerated.
25739
b9375348
SP
257402013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25741
25742 [BZ #15465]
25743 * elf/Makefile (tests): Add tst-null-argv.
25744 (modules-names): Add tst-null-argv-lib.
25745 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25746 (tst-null-argv-ENV): Set environment for tst-null-argv.
25747 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25748 (RTLD_PROGNAME): New macro.
25749 * elf/tst-null-argv.c: New test case.
25750 * elf/tst-null-argv-lib.c: Library for test case.
25751 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25752 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25753 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25754 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25755 * elf/dl-init.c (call_init): Likewise.
25756 (_dl_init): Likewise.
25757 * elf/dl-load.c (print_search_path): Likewise.
25758 (_dl_map_object): Likewise.
25759 * elf/dl-lookup.c (do_lookup_x): Likewise.
25760 (add_dependency): Likewise.
25761 (_dl_lookup_symbol_x): Likewise.
25762 (_dl_debug_bindings): Likewise.
25763 * elf/dl-open.c (_dl_show_scope): Likewise.
25764 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25765 * elf/dl-version.c (match_symbol): Likewise.
25766 (_dl_check_map_versions): Likewise.
25767 * elf/rtld.c (dl_main): Likewise.
25768 (print_unresolved): Use RTLD_PROGNAME.
25769 (print_missing_version): Likewise.
25770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25771 (elf_machine_rela): Likewise.
25772 * sysdeps/powerpc/powerpc32/dl-machine.c
25773 (__process_machine_rela): Likewise.
25774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25775 Likewise.
25776 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25777 Likewise.
25778 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25779 Likewise.
25780 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25782 Likewise.
25783 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25784 Likewise.
25785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25786
8a9f20c8
CD
257872013-05-28 Carlos O'Donell <carlos@redhat.com>
25788
25789 * po/be.po: Add descriptive title.
25790 * po/zh_CN.po: Likewise.
25791 * po/header.pot: Likewise.
25792
0e60d68e
MF
257932013-05-28 Mike Frysinger <vapier@gentoo.org>
25794
25795 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25796 error message.
25797 (enlarge_archive): Likewise.
25798
56b672e9
BN
257992013-05-28 Ben North <ben@redfrontdoor.org>
25800
25801 * manual/arith.texi (frexp): It is the magnitude of the return
25802 value which lies in [0.5, 1), not the return value itself.
25803
5e056687
AZ
258042013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25805
25806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25807
2b66ef5d
TS
258082013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25809
528c2405
TS
25810 * stdio-common/bug26.c (main): Correct fscanf template.
25811
07b4c13d
TS
25812 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25813 declare _dl_skip_args.
25814
ec9dd97c
TS
25815 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25816 Don't declare.
25817
2b66ef5d
TS
25818 * manual/platform.texi: Add missing @end deftypefun.
25819
4f8dfe27
JM
258202013-05-24 Joseph Myers <joseph@codesourcery.com>
25821
0323d086
JM
25822 [BZ #15529]
25823 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25824 bit of mantissa of 2^16382.
25825 * math/libm-test.inc (hypot_test_data): Add more tests.
25826
dd4259b9
JM
25827 * math/libm-test.inc: Add drem and pow10 to list of tested
25828 functions.
25829 (pow10_test): New function.
25830 (drem_test): Likewise.
25831 (drem_test_tonearest): Likewise.
25832 (drem_test_towardzero): Likewise.
25833 (drem_test_downward): Likewise.
25834 (drem_test_upward): Likewise.
25835 (main): Call the new functions.
25836
4f8dfe27
JM
25837 * math/libm-test.inc (finite_test_data): Remove.
25838 (finite_test): Run tests from isfinite_test_data.
25839 (gamma_test_data): Remove.
25840 (gamma_test): Run tests from lgamma_test_data.
25841 * sysdeps/i386/fpu/libm-test-ulps: Update.
25842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25843
d116b7c4
AZ
258442013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25845
25846 * manual/platform.texi: Add PowerPC PPR function set documentation.
25847 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25848 implementation.
25849
e96e3767
CD
258502013-05-24 Carlos O'Donell <carlos@redhat.com>
25851
25852 * math/libm-test.inc (MAX_EXP): Define.
25853 (ULPDIFF): Define.
25854 (ulp): New function.
25855 (check_float_internal): Use ULPDIFF.
25856 (cpow_test): Disable failing test.
25857 (check_ulp): Test ulp() implemetnation.
25858 (main): Call check_ulp before starting tests.
25859
b679a606
JM
258602013-05-24 Joseph Myers <joseph@codesourcery.com>
25861
e8bdba36
JM
25862 * math/gen-libm-test.pl (generate_testfile): Do not handle
25863 START_DATA and END_DATA.
25864 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25865 END_DATA.
25866 (acos_tonearest_test_data): Likewise.
25867 (acos_towardzero_test_data): Likewise.
25868 (acos_downward_test_data): Likewise.
25869 (acos_upward_test_data): Likewise.
25870 (acosh_test_data): Likewise.
25871 (asin_test_data): Likewise.
25872 (asin_tonearest_test_data): Likewise.
25873 (asin_towardzero_test_data): Likewise.
25874 (asin_downward_test_data): Likewise.
25875 (asin_upward_test_data): Likewise.
25876 (asinh_test_data): Likewise.
25877 (atan_test_data): Likewise.
25878 (atanh_test_data): Likewise.
25879 (atan2_test_data): Likewise.
25880 (cabs_test_data): Likewise.
25881 (cacos_test_data): Likewise.
25882 (cacosh_test_data): Likewise.
25883 (carg_test_data): Likewise.
25884 (casin_test_data): Likewise.
25885 (casinh_test_data): Likewise.
25886 (catan_test_data): Likewise.
25887 (catanh_test_data): Likewise.
25888 (cbrt_test_data): Likewise.
25889 (ccos_test_data): Likewise.
25890 (ccosh_test_data): Likewise.
25891 (ceil_test_data): Likewise.
25892 (cexp_test_data): Likewise.
25893 (cimag_test_data): Likewise.
25894 (clog_test_data): Likewise.
25895 (clog10_test_data): Likewise.
25896 (conj_test_data): Likewise.
25897 (copysign_test_data): Likewise.
25898 (cos_test_data): Likewise.
25899 (cos_tonearest_test_data): Likewise.
25900 (cos_towardzero_test_data): Likewise.
25901 (cos_downward_test_data): Likewise.
25902 (cos_upward_test_data): Likewise.
25903 (cosh_test_data): Likewise.
25904 (cosh_tonearest_test_data): Likewise.
25905 (cosh_towardzero_test_data): Likewise.
25906 (cosh_downward_test_data): Likewise.
25907 (cosh_upward_test_data): Likewise.
25908 (cpow_test_data): Likewise.
25909 (cproj_test_data): Likewise.
25910 (creal_test_data): Likewise.
25911 (csin_test_data): Likewise.
25912 (csinh_test_data): Likewise.
25913 (csqrt_test_data): Likewise.
25914 (ctan_test_data): Likewise.
25915 (ctan_tonearest_test_data): Likewise.
25916 (ctan_towardzero_test_data): Likewise.
25917 (ctan_downward_test_data): Likewise.
25918 (ctan_upward_test_data): Likewise.
25919 (ctanh_test_data): Likewise.
25920 (ctanh_tonearest_test_data): Likewise.
25921 (ctanh_towardzero_test_data): Likewise.
25922 (ctanh_downward_test_data): Likewise.
25923 (ctanh_upward_test_data): Likewise.
25924 (erf_test_data): Likewise.
25925 (erfc_test_data): Likewise.
25926 (exp_test_data): Likewise.
25927 (exp_tonearest_test_data): Likewise.
25928 (exp_towardzero_test_data): Likewise.
25929 (exp_downward_test_data): Likewise.
25930 (exp_upward_test_data): Likewise.
25931 (exp10_test_data): Likewise.
25932 (exp2_test_data): Likewise.
25933 (expm1_test_data): Likewise.
25934 (fabs_test_data): Likewise.
25935 (fdim_test_data): Likewise.
25936 (finite_test_data): Likewise.
25937 (floor_test_data): Likewise.
25938 (fma_test_data): Likewise.
25939 (fma_towardzero_test_data): Likewise.
25940 (fma_downward_test_data): Likewise.
25941 (fma_upward_test_data): Likewise.
25942 (fmax_test_data): Likewise.
25943 (fmin_test_data): Likewise.
25944 (fmod_test_data): Likewise.
25945 (fpclassify_test_data): Likewise.
25946 (frexp_test_data): Likewise.
25947 (gamma_test_data): Likewise.
25948 (hypot_test_data): Likewise.
25949 (ilogb_test_data): Likewise.
25950 (isfinite_test_data): Likewise.
25951 (isgreater_test_data): Likewise.
25952 (isgreaterequal_test_data): Likewise.
25953 (isinf_test_data): Likewise.
25954 (isless_test_data): Likewise.
25955 (islessequal_test_data): Likewise.
25956 (islessgreater_test_data): Likewise.
25957 (isnan_test_data): Likewise.
25958 (isnormal_test_data): Likewise.
25959 (issignaling_test_data): Likewise.
25960 (isunordered_test_data): Likewise.
25961 (j0_test_data): Likewise.
25962 (j1_test_data): Likewise.
25963 (jn_test_data): Likewise.
25964 (ldexp_test_data): Likewise.
25965 (lgamma_test_data): Likewise.
25966 (lrint_test_data): Likewise.
25967 (lrint_tonearest_test_data): Likewise.
25968 (lrint_towardzero_test_data): Likewise.
25969 (lrint_downward_test_data): Likewise.
25970 (lrint_upward_test_data): Likewise.
25971 (llrint_test_data): Likewise.
25972 (llrint_tonearest_test_data): Likewise.
25973 (llrint_towardzero_test_data): Likewise.
25974 (llrint_downward_test_data): Likewise.
25975 (llrint_upward_test_data): Likewise.
25976 (log_test_data): Likewise.
25977 (log10_test_data): Likewise.
25978 (log1p_test_data): Likewise.
25979 (log2_test_data): Likewise.
25980 (logb_test_data): Likewise.
25981 (logb_downward_test_data): Likewise.
25982 (lround_test_data): Likewise.
25983 (llround_test_data): Likewise.
25984 (modf_test_data): Likewise.
25985 (nearbyint_test_data): Likewise.
25986 (nextafter_test_data): Likewise.
25987 (nexttoward_test_data): Likewise.
25988 (pow_test_data): Likewise.
25989 (pow_tonearest_test_data): Likewise.
25990 (pow_towardzero_test_data): Likewise.
25991 (pow_downward_test_data): Likewise.
25992 (pow_upward_test_data): Likewise.
25993 (remainder_test_data): Likewise.
25994 (remainder_tonearest_test_data): Likewise.
25995 (remainder_towardzero_test_data): Likewise.
25996 (remainder_downward_test_data): Likewise.
25997 (remainder_upward_test_data): Likewise.
25998 (remquo_test_data): Likewise.
25999 (rint_test_data): Likewise.
26000 (rint_tonearest_test_data): Likewise.
26001 (rint_towardzero_test_data): Likewise.
26002 (rint_downward_test_data): Likewise.
26003 (rint_upward_test_data): Likewise.
26004 (round_test_data): Likewise.
26005 (scalb_test_data): Likewise.
26006 (scalbn_test_data): Likewise.
26007 (scalbln_test_data): Likewise.
26008 (signbit_test_data): Likewise.
26009 (sin_test_data): Likewise.
26010 (sin_tonearest_test_data): Likewise.
26011 (sin_towardzero_test_data): Likewise.
26012 (sin_downward_test_data): Likewise.
26013 (sin_upward_test_data): Likewise.
26014 (sincos_test_data): Likewise.
26015 (sinh_test_data): Likewise.
26016 (sinh_tonearest_test_data): Likewise.
26017 (sinh_towardzero_test_data): Likewise.
26018 (sinh_downward_test_data): Likewise.
26019 (sinh_upward_test_data): Likewise.
26020 (sqrt_test_data): Likewise.
26021 (tan_test_data): Likewise.
26022 (tan_tonearest_test_data): Likewise.
26023 (tan_towardzero_test_data): Likewise.
26024 (tan_downward_test_data): Likewise.
26025 (tan_upward_test_data): Likewise.
26026 (tanh_test_data): Likewise.
26027 (tgamma_test_data): Likewise.
26028 (trunc_test_data): Likewise.
26029 (y0_test_data): Likewise.
26030 (y1_test_data): Likewise.
26031 (yn_test_data): Likewise.
26032 (significand_test_data): Likewise.
26033
b679a606
JM
26034 * math/gen-libm-test.pl (@functions): Remove variable.
26035 (generate_testfile): Don't handle START and END lines.
26036 * math/libm-test.inc (START): New macro.
26037 (END): Likewise.
26038 (END_COMPLEX): Likewise.
26039 (acos_test): Use END macro without arguments.
26040 (acos_test_tonearest): Likewise.
26041 (acos_test_towardzero): Likewise.
26042 (acos_test_downward): Likewise.
26043 (acos_test_upward): Likewise.
26044 (acosh_test): Likewise.
26045 (asin_test): Likewise.
26046 (asin_test_tonearest): Likewise.
26047 (asin_test_towardzero): Likewise.
26048 (asin_test_downward): Likewise.
26049 (asin_test_upward): Likewise.
26050 (asinh_test): Likewise.
26051 (atan_test): Likewise.
26052 (atanh_test): Likewise.
26053 (atan2_test): Likewise.
26054 (cabs_test): Likewise.
26055 (cacos_test): Use END_COMPLEX macro without arguments.
26056 (cacosh_test): Likewise.
26057 (carg_test): Use END macro without arguments.
26058 (casin_test): Use END_COMPLEX macro without arguments.
26059 (casinh_test): Likewise.
26060 (catan_test): Likewise.
26061 (catanh_test): Likewise.
26062 (cbrt_test): Use END macro without arguments.
26063 (ccos_test): Use END_COMPLEX macro without arguments.
26064 (ccosh_test): Likewise.
26065 (ceil_test): Use END macro without arguments.
26066 (cexp_test): Use END_COMPLEX macro without arguments.
26067 (cimag_test): Use END macro without arguments.
26068 (clog_test): Use END_COMPLEX macro without arguments.
26069 (clog10_test): Likewise.
26070 (conj_test): Likewise.
26071 (copysign_test): Use END macro without arguments.
26072 (cos_test): Likewise.
26073 (cos_test_tonearest): Likewise.
26074 (cos_test_towardzero): Likewise.
26075 (cos_test_downward): Likewise.
26076 (cos_test_upward): Likewise.
26077 (cosh_test): Likewise.
26078 (cosh_test_tonearest): Likewise.
26079 (cosh_test_towardzero): Likewise.
26080 (cosh_test_downward): Likewise.
26081 (cosh_test_upward): Likewise.
26082 (cpow_test): Use END_COMPLEX macro without arguments.
26083 (cproj_test): Likewise.
26084 (creal_test): Use END macro without arguments.
26085 (csin_test): Use END_COMPLEX macro without arguments.
26086 (csinh_test): Likewise.
26087 (csqrt_test): Likewise.
26088 (ctan_test): Likewise.
26089 (ctan_test_tonearest): Likewise.
26090 (ctan_test_towardzero): Likewise.
26091 (ctan_test_downward): Likewise.
26092 (ctan_test_upward): Likewise.
26093 (ctanh_test): Likewise.
26094 (ctanh_test_tonearest): Likewise.
26095 (ctanh_test_towardzero): Likewise.
26096 (ctanh_test_downward): Likewise.
26097 (ctanh_test_upward): Likewise.
26098 (erf_test): Use END macro without arguments.
26099 (erfc_test): Likewise.
26100 (exp_test): Likewise.
26101 (exp_test_tonearest): Likewise.
26102 (exp_test_towardzero): Likewise.
26103 (exp_test_downward): Likewise.
26104 (exp_test_upward): Likewise.
26105 (exp10_test): Likewise.
26106 (exp2_test): Likewise.
26107 (expm1_test): Likewise.
26108 (fabs_test): Likewise.
26109 (fdim_test): Likewise.
26110 (finite_test): Likewise.
26111 (floor_test): Likewise.
26112 (fma_test): Likewise.
26113 (fma_test_towardzero): Likewise.
26114 (fma_test_downward): Likewise.
26115 (fma_test_upward): Likewise.
26116 (fmax_test): Likewise.
26117 (fmin_test): Likewise.
26118 (fmod_test): Likewise.
26119 (fpclassify_test): Likewise.
26120 (frexp_test): Likewise.
26121 (gamma_test): Likewise.
26122 (hypot_test): Likewise.
26123 (ilogb_test): Likewise.
26124 (isfinite_test): Likewise.
26125 (isgreater_test): Likewise.
26126 (isgreaterequal_test): Likewise.
26127 (isinf_test): Likewise.
26128 (isless_test): Likewise.
26129 (islessequal_test): Likewise.
26130 (islessgreater_test): Likewise.
26131 (isnan_test): Likewise.
26132 (isnormal_test): Likewise.
26133 (issignaling_test): Likewise.
26134 (isunordered_test): Likewise.
26135 (j0_test): Likewise.
26136 (j1_test): Likewise.
26137 (jn_test): Likewise.
26138 (ldexp_test): Likewise.
26139 (lgamma_test): Likewise.
26140 (lrint_test): Likewise.
26141 (lrint_test_tonearest): Likewise.
26142 (lrint_test_towardzero): Likewise.
26143 (lrint_test_downward): Likewise.
26144 (lrint_test_upward): Likewise.
26145 (llrint_test): Likewise.
26146 (llrint_test_tonearest): Likewise.
26147 (llrint_test_towardzero): Likewise.
26148 (llrint_test_downward): Likewise.
26149 (llrint_test_upward): Likewise.
26150 (log_test): Likewise.
26151 (log10_test): Likewise.
26152 (log1p_test): Likewise.
26153 (log2_test): Likewise.
26154 (logb_test): Likewise.
26155 (logb_test_downward): Likewise.
26156 (lround_test): Likewise.
26157 (llround_test): Likewise.
26158 (modf_test): Likewise.
26159 (nearbyint_test): Likewise.
26160 (nextafter_test): Likewise.
26161 (nexttoward_test): Likewise.
26162 (pow_test): Likewise.
26163 (pow_test_tonearest): Likewise.
26164 (pow_test_towardzero): Likewise.
26165 (pow_test_downward): Likewise.
26166 (pow_test_upward): Likewise.
26167 (remainder_test): Likewise.
26168 (remainder_test_tonearest): Likewise.
26169 (remainder_test_towardzero): Likewise.
26170 (remainder_test_downward): Likewise.
26171 (remainder_test_upward): Likewise.
26172 (remquo_test): Likewise.
26173 (rint_test): Likewise.
26174 (rint_test_tonearest): Likewise.
26175 (rint_test_towardzero): Likewise.
26176 (rint_test_downward): Likewise.
26177 (rint_test_upward): Likewise.
26178 (round_test): Likewise.
26179 (scalb_test): Likewise.
26180 (scalbn_test): Likewise.
26181 (scalbln_test): Likewise.
26182 (signbit_test): Likewise.
26183 (sin_test): Likewise.
26184 (sin_test_tonearest): Likewise.
26185 (sin_test_towardzero): Likewise.
26186 (sin_test_downward): Likewise.
26187 (sin_test_upward): Likewise.
26188 (sincos_test): Likewise.
26189 (sinh_test): Likewise.
26190 (sinh_test_tonearest): Likewise.
26191 (sinh_test_towardzero): Likewise.
26192 (sinh_test_downward): Likewise.
26193 (sinh_test_upward): Likewise.
26194 (sqrt_test): Likewise.
26195 (tan_test): Likewise.
26196 (tan_test_tonearest): Likewise.
26197 (tan_test_towardzero): Likewise.
26198 (tan_test_downward): Likewise.
26199 (tan_test_upward): Likewise.
26200 (tanh_test): Likewise.
26201 (tgamma_test): Likewise.
26202 (trunc_test): Likewise.
26203 (y0_test): Likewise.
26204 (y1_test): Likewise.
26205 (yn_test): Likewise.
26206 (significand_test): Likewise.
26207
bae143d2
OB
262082013-05-24 Ondřej Bílka <neleai@seznam.cz>
26209
26210 [BZ #15381]
26211 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26212
9323d39b
EM
262132013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26214
d4ea44a0 26215 [BZ #14894]
9323d39b
EM
26216 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26217 __ppc_mdoio and __ppc_mdoom.
26218 * manual/platform.texi: Document new functions __ppc_yield,
26219 __ppc_mdoio and __ppc_mdoom.
26220
13e23af7
CD
262212013-05-22 Carlos O'Donell <carlos@redhat.com>
26222
26223 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26224 (main): Mention "tls" pseudo-hwcap is legacy.
26225 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26226
351fe550
JM
262272013-05-22 Joseph Myers <joseph@codesourcery.com>
26228
26229 * math/gen-libm-test.pl (parse_args): Output only string of
26230 arguments as text for test name, not full call or descriptions of
26231 tests for extra outputs.
26232 (generate_testfile): Do not pass function name to parse_args.
26233 Generate this_func variable from START.
26234 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26235 field to arg_str.
26236 (struct test_ff_f_data): Likewise.
26237 (test_ff_f_data_nexttoward): Likewise.
26238 (struct test_fi_f_data): Likewise.
26239 (struct test_fl_f_data): Likewise.
26240 (struct test_if_f_data): Likewise.
26241 (struct test_fff_f_data): Likewise.
26242 (struct test_c_f_data): Likewise.
26243 (struct test_f_f1_data): Likewise. Remove field extra_name.
26244 (struct test_fF_f1_data): Likewise.
26245 (struct test_ffI_f1_data): Likewise.
26246 (struct test_c_c_data): Rename test_name field to arg_str.
26247 (struct test_cc_c_data): Likewise.
26248 (struct test_f_i_data): Likewise.
26249 (struct test_ff_i_data): Likewise.
26250 (struct test_f_l_data): Likewise.
26251 (struct test_f_L_data): Likewise.
26252 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26253 and extra2_name.
26254 (COMMON_TEST_SETUP): New macro.
26255 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26256 (COMMON_TEST_CLEANUP): Likewise.
26257 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26258 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26259 macros.
26260 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26261 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26262 macros.
26263 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26264 (RUN_TEST_fff_f): Take argument string. Call new setup and
26265 cleanup macros.
26266 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26267 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26268 macros.
26269 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26270 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26271 macros.
26272 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26273 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26274 cleanup macros.
26275 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26276 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26277 cleanup macros.
26278 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26279 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26280 cleanup macros.
26281 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26282 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26283 macros.
26284 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26285 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26286 macros.
26287 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26288 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26289 macros.
26290 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26291 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26292 cleanup macros.
26293 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26294 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26295 cleanup macros.
26296 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26297 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26298 macros.
26299 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26300 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26301 cleanup macros.
26302 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26303 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26304 macros.
26305 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26306 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26307 macros.
26308 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26309 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26310 cleanup macros.
26311 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26312
85118d4d
EBM
263132013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26314
26315 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26316 to _sifields.sigfault.
26317 (si_addr_lsb): Define new macro.
26318 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26319 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26320 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26321
7a44c18f
CD
263222013-05-03 Carlos O'Donell <carlos at redhat.com>
26323
26324 [BZ #15441]
26325 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26326 returns -1.
26327 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26328 null return -1.
26329 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26330 loading the domain.
26331
b50a7181
JM
263322013-05-22 Joseph Myers <joseph@codesourcery.com>
26333
26334 * math/gen-libm-test.pl (parse_args): Do not include expected
26335 result in test name.
26336 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26338 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26339 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26342
051063c8
SP
263432013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26344
3ce9e010
SP
26345 * benchtests/Makefile: Sort function entries.
26346
051063c8
SP
26347 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26348 tanh, asinh, acosh, atanh.
26349 * benchtests/acos-inputs: New file.
26350 * benchtests/acosh-inputs: New file.
26351 * benchtests/asin-inputs: New file.
26352 * benchtests/asinh-inputs: New file.
26353 * benchtests/atanh-inputs: New file.
26354 * benchtests/cosh-inputs: New file.
26355 * benchtests/log-inputs: New file.
26356 * benchtests/sinh-inputs: New file.
26357 * benchtests/tanh-inputs: New file.
26358
47c22455
DL
263592013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26360
26361 [BZ #15339]
26362 * posix/tst-getaddrinfo4.c: New test.
26363 * posix/Makefile (tests): Add it.
26364
3d04f5db
SP
263652013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26366
26367 [BZ #15339]
26368 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26369 when no services were used.
26370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26371 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26372
d5dd6189
AS
263732013-05-21 Andreas Schwab <schwab@suse.de>
26374
26375 [BZ #15014]
26376 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26377 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26378 successful.
26379 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26380 redundant variable declarations and reallocation of buffer when
26381 parsing as IPv6 address. Always set NSS status when called from
26382 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26383 buffer too small. Correct computation of needed size.
26384 * nss/Makefile (tests): Add test-digits-dots.
26385 * nss/test-digits-dots.c: New test.
26386
fef94eab
SP
263872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26388
26389 * benchtests/Makefile: Remove instructions for adding
26390 benchmark tests.
26391 * benchtests/README: New file to explain how to execute and
26392 enhance the benchmark tests.
26393
e39adf43
AS
263942013-05-21 Andreas Schwab <schwab@suse.de>
26395
26396 [BZ #15493]
26397 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26398 * setjmp/tst-sigsetjmp.c: New test.
26399
b2b671b6
OB
264002013-05-20 Ondřej Bílka <neleai@seznam.cz>
26401
26402 * sysdeps/x86_64/memset.S (memset): New implementation.
26403 (__bzero): Likewise.
26404 (__memset_tail): New function.
26405
2d48b41c
OB
264062013-05-20 Ondřej Bílka <neleai@seznam.cz>
26407
26408 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26409 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26410 __memcpy_sse2_unaligned ifunc selection.
26411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26412 Add memcpy-sse2-unaligned.S.
26413 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26414 Add: __memcpy_sse2_unaligned.
26415
f16cc3eb
JM
264162013-05-19 Joseph Myers <joseph@codesourcery.com>
26417
3e694268
JM
26418 [BZ #15490]
26419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26420 math_force_eval before restoring floating-point envrionment.
26421 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26423 Likewise.
26424 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26425 <math_private.h>.
26426 (__nearbyintl): Use math_force_eval before restoring
26427 floating-point environment.
26428 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26429
db62a907
JM
26430 * math/gen-libm-test.pl (special_functions): Remove.
26431 (parse_args): Don't handle TEST_extra. Handle functions with no
26432 return value.
26433 * math/libm-test.inc (struct test_sincos_data): Replace with
26434 struct test_fFF_11_data.
26435 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26436 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26437 (sincos_test_data): Change element type to struct
26438 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26439 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26440 RUN_TEST_LOOP_sincos.
26441 * math/README.libm-test: Don't mention special handling of
26442 individual functions.
26443 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26445 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26446 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26447 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26449
f16cc3eb
JM
26450 * math/gen-libm-test.pl (get_variable): Remove function.
26451 (parse_args): Don't show pointer parameters to call in test
26452 names. Use "extra output N" in test names for extra outputs
26453 rather than naming variables.
26454
3779b5b6
JM
264552013-05-18 Joseph Myers <joseph@codesourcery.com>
26456
2ee094ff
JM
26457 [BZ #15488]
26458 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26459 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26460 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26461 double tests.
26462 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26463 disable.
26464 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26465 check_long_double.
26466
3779b5b6
JM
26467 * math/gen-libm-test.pl (@tests): Remove variable.
26468 ($count): Likewise.
26469 (new_test): Remove function.
26470 (show_exceptions): New function.
26471 (special_functions): Use show_exceptions instead of new_test.
26472 (parse_args): Likewise.
26473 (generate_testfile): Pass only function name in generated call to
26474 print_max_error or print_complex_max_error.
26475 (get_ulps): Do not handle complex tests specially.
26476 (output_test): Rename to ...
26477 (get_all_ulps_for_test): ... this. Return a string rather than
26478 printing to a file. Require ulps to be present.
26479 (output_ulps): Generate arrays rather than #defines.
26480 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26481 (struct ulp_data): New type.
26482 (BUILD_COMPLEX_ULP): Remove macro.
26483 (compare_ulp_data): New function.
26484 (find_ulps): Likewise.
26485 (find_test_ulps): Likewise.
26486 (find_function_ulps): Likewise.
26487 (find_complex_function_ulps): Likewise.
26488 (print_max_error): Determine allowed ulps using
26489 find_function_ulps.
26490 (print_complex_max_error): Determine allowed ulps using
26491 find_complex_function_ulps.
26492 (check_float_internal): Determine max ulps using find_test_ulps.
26493 (check_float): Do not take max_ulp parameter. Update call to
26494 check_float_internal.
26495 (check_complex): Likewise.
26496 (check_int): Do not take max_ulp parameter.
26497 (check_long): Likewise.
26498 (check_bool): Likewise.
26499 (check_longlong): Likewise.
26500 (struct test_f_f_data): Remove max_ulp field.
26501 (struct test_ff_f_data): Likewise.
26502 (struct test_ff_f_data_nexttoward): Likewise.
26503 (struct test_fi_f_data): Likewise.
26504 (struct test_fl_f_data): Likewise.
26505 (struct test_if_f_data): Likewise.
26506 (struct test_fff_f_data): Likewise.
26507 (struct test_c_f_data): Likewise.
26508 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26509 (struct test_fF_f1_data): Likewise.
26510 (struct test_ffI_f1_data): Likewise.
26511 (struct test_c_c_data): Remove max_ulp field.
26512 (struct test_cc_c_data): Likewise.
26513 (struct test_f_i_data): Likewise.
26514 (struct test_ff_i_data): Likewise.
26515 (struct test_f_l_data): Likewise.
26516 (struct test_f_L_data): Likewise.
26517 (struct test_sincos_data): Likewise.
26518 (RUN_TEST_f_f): Do not handle ulps.
26519 (RUN_TEST_LOOP_f_f): Likewise.
26520 (RUN_TEST_2_f): Likewise.
26521 (RUN_TEST_LOOP_2_f): Likewise.
26522 (RUN_TEST_fff_f): Likewise.
26523 (RUN_TEST_LOOP_fff_f): Likewise.
26524 (RUN_TEST_c_f): Likewise.
26525 (RUN_TEST_LOOP_c_f): Likewise.
26526 (RUN_TEST_f_f1): Likewise.
26527 (RUN_TEST_LOOP_f_f1): Likewise.
26528 (RUN_TEST_fF_f1): Likewise.
26529 (RUN_TEST_LOOP_fF_f1): Likewise.
26530 (RUN_TEST_fI_f1): Likewise.
26531 (RUN_TEST_LOOP_fI_f1): Likewise.
26532 (RUN_TEST_ffI_f1): Likewise.
26533 (RUN_TEST_LOOP_ffI_f1): Likewise.
26534 (RUN_TEST_c_c): Likewise.
26535 (RUN_TEST_LOOP_c_c): Likewise.
26536 (RUN_TEST_cc_c): Likewise.
26537 (RUN_TEST_LOOP_cc_c): Likewise.
26538 (RUN_TEST_f_i): Likewise.
26539 (RUN_TEST_LOOP_f_i): Likewise.
26540 (RUN_TEST_f_i_tg): Likewise.
26541 (RUN_TEST_LOOP_f_i_tg): Likewise.
26542 (RUN_TEST_ff_i_tg): Likewise.
26543 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26544 (RUN_TEST_f_b): Likewise.
26545 (RUN_TEST_LOOP_f_b): Likewise.
26546 (RUN_TEST_f_b_tg): Likewise.
26547 (RUN_TEST_LOOP_f_b_tg): Likewise.
26548 (RUN_TEST_f_l): Likewise.
26549 (RUN_TEST_LOOP_f_l): Likewise.
26550 (RUN_TEST_f_L): Likewise.
26551 (RUN_TEST_LOOP_f_L): Likewise.
26552 (RUN_TEST_sincos): Likewise.
26553 (RUN_TEST_LOOP_sincos): Likewise.
26554
8269107f
JM
265552013-05-17 Joseph Myers <joseph@codesourcery.com>
26556
bb38759d
JM
26557 [BZ #15480]
26558 [BZ #15485]
26559 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26560 main case of finite arguments, set rounding mode to FE_TONEAREST
26561 and discard exceptions.
26562 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26563 exceptions.
26564 (remainder_tonearest_test_data): New variable.
26565 (remainder_test_tonearest): New function.
26566 (remainder_towardzero_test_data): New variable.
26567 (remainder_test_towardzero): New function.
26568 (remainder_downward_test_data): New variable.
26569 (remainder_test_downward): New function.
26570 (remainder_upward_test_data): New variable.
26571 (remainder_test_upward): New function.
26572 (main): Call the new test functions.
26573
a00bdcf0
JM
26574 * math/libm-test.inc (struct test_f_f1_data): Remove field
26575 extra_init.
26576 (struct test_fF_f1_data): Likewise.
26577 (struct test_ffI_f1_data): Likewise.
26578 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26579 based on value of EXTRA_EXPECTED.
26580 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26581 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26582 EXTRA_VAR based on value of EXTRA_EXPECTED.
26583 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26584 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26585 EXTRA_VAR based on value of EXTRA_EXPECTED.
26586 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26587 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26588 EXTRA_VAR based on value of EXTRA_EXPECTED.
26589 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26590 * math/gen-libm-test.pl (parse_args): Don't output initializers
26591 for extra output values.
26592
de407f79
JM
26593 * math/libm-test.inc (check_int): Expect result to be exactly
26594 equal to expected value and do not handle ulps.
26595 (check_long): Likewise.
26596 (check_longlong): Likewise.
26597
8269107f
JM
26598 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26599 exceptions.
26600 (cimag_test_data): Likewise.
26601 (conj_test_data): Likewise.
26602 (copysign_test_data): Likewise.
26603 (cproj_test_data): Likewise.
26604 (creal_test_data): Likewise.
26605 (fabs_test_data): Likewise.
26606 (fdim_test_data): Likewise.
26607 (finite_test_data): Likewise.
26608 (floor_test_data): Likewise.
26609 (fmax_test_data): Likewise.
26610 (fmin_test_data): Likewise.
26611 (fmod_test_data): Likewise.
26612 (fpclassify_test_data): Likewise.
26613 (frexp_test_data): Likewise.
26614 (ilogb_test_data): Likewise.
26615 (isfinite_test_data): Likewise.
26616 (isgreater_test_data): Likewise.
26617 (isgreaterequal_test_data): Likewise.
26618 (isinf_test_data): Likewise.
26619 (isless_test_data): Likewise.
26620 (islessequal_test_data): Likewise.
26621 (islessgreater_test_data): Likewise.
26622 (isnan_test_data): Likewise.
26623 (isnormal_test_data): Likewise.
26624 (issignaling_test_data): Likewise.
26625 (isunordered_test_data): Likewise.
26626 (ldexp_test_data): Likewise.
26627 (lrint_test_data): Likewise.
26628 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26629 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26630 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26631 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26632 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26633 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26634 test input.
26635 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26636 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26637 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26638 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26639 that test input.
26640 (lrint_downward_test_data): Test for "inexact" exceptions.
26641 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26642 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26643 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26644 test input.
26645 (lrint_upward_test_data): Test for "inexact" exceptions.
26646 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26647 test input.
26648 (llrint_test_data): Test for "inexact" exceptions.
26649 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26650 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26651 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26652 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26653 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26654 (llrint_downward_test_data): Test for "inexact" exceptions.
26655 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26656 (llrint_upward_test_data): Test for "inexact" exceptions.
26657 (logb_test_data): Likewise.
26658 (logb_downward_test_data): Likewise.
26659 (nextafter_test_data): Likewise.
26660 (nexttoward_test_data): Likewise.
26661 (remainder_test_data): Likewise.
26662 (remquo_test_data): Likewise.
26663 (scalbn_test_data): Likewise.
26664 (scalbln_test_data): Likewise.
26665 (signbit_test_data): Likewise.
26666 (sqrt_test_data): Likewise.
26667 (significand_test_data): Likewise.
26668
48a18de1
SP
266692013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26670
26671 [BZ #15424]
26672 * benchtests/bench-modf.c (struct args): Mark arg0 as
26673 volatile.
26674 * scripts/bench.pl: Mark members of struct args as volatile.
26675
13d3b41a
AZ
266762013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26677
68191c1d 26678 [BZ # 15497]
13d3b41a
AZ
26679 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26680 negative infinity on POWER6 or lower.
26681 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26682
2848b105
MR
266832013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26684
26685 [BZ #15442]
26686 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26687 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26688 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26689 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26690 (_FP_SETQNAN): New macro.
26691 (_FP_SETQNAN_SEMIRAW): Likewise.
26692 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26693 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26694 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26695 (FP_EXTEND): Use _FP_FRAC_SNANP.
26696 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26697 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26698 into account.
26699 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26700 New macro.
26701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26702 Likewise.
26703
323e5cb7
JM
267042013-05-16 Joseph Myers <joseph@codesourcery.com>
26705
c58b274f
JM
26706 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26707 with DIVIDE_BY_ZERO_EXCEPTION.
26708 (gamma_test_data): Likewise.
26709 (lgamma_test_data): Likewise.
26710 (log_test_data): Likewise.
26711 (log10_test_data): Likewise.
26712 (log2_test_data): Likewise.
26713 (tgamma_test_data): Likewise.
26714
0ab34904
JM
26715 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26716 (acos_test_tonearest): Likewise.
26717 (acos_test_towardzero): Likewise.
26718 (acos_test_downward): Likewise.
26719 (acos_test_upward): Likewise.
26720 (acosh_test): Likewise.
26721 (asin_test): Likewise.
26722 (asin_test_tonearest): Likewise.
26723 (asin_test_towardzero): Likewise.
26724 (asin_test_downward): Likewise.
26725 (asin_test_upward): Likewise.
26726 (asinh_test): Likewise.
26727 (atan_test): Likewise.
26728 (atanh_test): Likewise.
26729 (atan2_test): Likewise.
26730 (cabs_test): Likewise.
26731 (cacos_test): Likewise.
26732 (cacosh_test): Likewise.
26733 (casin_test): Likewise.
26734 (casinh_test): Likewise.
26735 (catan_test): Likewise.
26736 (catanh_test): Likewise.
26737 (cbrt_test): Likewise.
26738 (ccos_test): Likewise.
26739 (ccosh_test): Likewise.
26740 (cexp_test): Likewise.
26741 (clog_test): Likewise.
26742 (clog10_test): Likewise.
26743 (cos_test): Likewise.
26744 (cos_test_tonearest): Likewise.
26745 (cos_test_towardzero): Likewise.
26746 (cos_test_downward): Likewise.
26747 (cos_test_upward): Likewise.
26748 (cosh_test): Likewise.
26749 (cosh_test_tonearest): Likewise.
26750 (cosh_test_towardzero): Likewise.
26751 (cosh_test_downward): Likewise.
26752 (cosh_test_upward): Likewise.
26753 (cpow_test): Likewise.
26754 (csin_test): Likewise.
26755 (csinh_test): Likewise.
26756 (csqrt_test): Likewise.
26757 (ctan_test): Likewise.
26758 (ctan_test_tonearest): Likewise.
26759 (ctan_test_towardzero): Likewise.
26760 (ctan_test_downward): Likewise.
26761 (ctan_test_upward): Likewise.
26762 (ctanh_test): Likewise.
26763 (ctanh_test_tonearest): Likewise.
26764 (ctanh_test_towardzero): Likewise.
26765 (ctanh_test_downward): Likewise.
26766 (ctanh_test_upward): Likewise.
26767 (erf_test): Likewise.
26768 (erfc_test): Likewise.
26769 (exp_test): Likewise.
26770 (exp_test_tonearest): Likewise.
26771 (exp_test_towardzero): Likewise.
26772 (exp_test_downward): Likewise.
26773 (exp_test_upward): Likewise.
26774 (exp10_test): Likewise.
26775 (exp2_test): Likewise.
26776 (expm1_test): Likewise.
26777 (fmod_test): Likewise.
26778 (gamma_test): Likewise.
26779 (hypot_test): Likewise.
26780 (j0_test): Likewise.
26781 (j1_test): Likewise.
26782 (jn_test): Likewise.
26783 (lgamma_test): Likewise.
26784 (log_test): Likewise.
26785 (log10_test): Likewise.
26786 (log1p_test): Likewise.
26787 (log2_test): Likewise.
26788 (logb_test_downward): Likewise.
26789 (pow_test): Likewise.
26790 (pow_test_tonearest): Likewise.
26791 (pow_test_towardzero): Likewise.
26792 (pow_test_downward): Likewise.
26793 (pow_test_upward): Likewise.
26794 (remainder_test): Likewise.
26795 (remquo_test): Likewise.
26796 (sin_test): Likewise.
26797 (sin_test_tonearest): Likewise.
26798 (sin_test_towardzero): Likewise.
26799 (sin_test_downward): Likewise.
26800 (sin_test_upward): Likewise.
26801 (sincos_test): Likewise.
26802 (sinh_test): Likewise.
26803 (sinh_test_tonearest): Likewise.
26804 (sinh_test_towardzero): Likewise.
26805 (sinh_test_downward): Likewise.
26806 (sinh_test_upward): Likewise.
26807 (sqrt_test): Likewise.
26808 (tan_test): Likewise.
26809 (tan_test_tonearest): Likewise.
26810 (tan_test_towardzero): Likewise.
26811 (tan_test_downward): Likewise.
26812 (tan_test_upward): Likewise.
26813 (tanh_test): Likewise.
26814 (tgamma_test): Likewise.
26815 (y0_test): Likewise.
26816 (y1_test): Likewise.
26817 (yn_test): Likewise.
26818
323e5cb7
JM
26819 * math/gen-libm-test.pl (adjust_arg): Remove function.
26820 (special_function): Remove argument $in_func. Only handle
26821 generating output for tables of tests, not inside functions.
26822 (parse_args): Likewise.
26823 (generate_testfile): Remove variable $in_func. Update call to
26824 parse_args.
26825 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26826 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26827 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26828 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26829 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26830 (MAX_VALUE_INIT): Rename macro to max_value.
26831 (MIN_VALUE_INIT): Rename macro to min_value.
26832 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26833 (plus_zero): Remove variable.
26834 (minus_zero): Likewise.
26835 (plus_infty): Likewise.
26836 (minus_infty): Likewise.
26837 (qnan_value): Likewise.
26838 (max_value): Likewise.
26839 (min_value): Likewise.
26840 (min_subnorm_value): Likewise.
26841
e054f494
RA
268422013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26843
26844 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26845 uint64_t or uint32_t usage.
26846 * crypt/sha256-block.c: Likewise.
26847 * crypt/sha256-crypt.c: Likewise.
26848 * crypt/sha256.c: Likewise.
26849 * crypt/sha512-block.c: Likewise.
26850 * crypt/sha512-crypt.c: Likewise.
26851 * crypt/sha512.c: Likewise.
26852 * debug/backtrace-tst.c: Likewise.
26853 * debug/pcprofiledump.c: Likewise.
26854 * elf/cache.c: Likewise.
26855 * elf/dl-cache.c: Likewise.
26856 * elf/dl-misc.c: Likewise.
26857 * elf/dl-profile.c: Likewise.
26858 * elf/dl-support.c: Likewise.
26859 * elf/ldconfig.c: Likewise.
26860 * elf/sprof.c: Likewise.
26861 * iconv/dummy-repertoire.c: Likewise.
26862 * iconv/iconv_charmap.c: Likewise.
26863 * iconv/skeleton.c: Likewise.
26864 * iconvdata/8bit-generic.c: Likewise.
26865 * iconvdata/cp737.h: Likewise.
26866 * iconvdata/cp775.h: Likewise.
26867 * iconvdata/ibm1008.h: Likewise.
26868 * iconvdata/ibm1025.h: Likewise.
26869 * iconvdata/ibm1046.h: Likewise.
26870 * iconvdata/ibm1097.h: Likewise.
26871 * iconvdata/ibm1112.h: Likewise.
26872 * iconvdata/ibm1122.h: Likewise.
26873 * iconvdata/ibm1123.h: Likewise.
26874 * iconvdata/ibm1124.h: Likewise.
26875 * iconvdata/ibm1129.h: Likewise.
26876 * iconvdata/ibm1130.h: Likewise.
26877 * iconvdata/ibm1132.h: Likewise.
26878 * iconvdata/ibm1133.h: Likewise.
26879 * iconvdata/ibm1137.h: Likewise.
26880 * iconvdata/ibm1140.h: Likewise.
26881 * iconvdata/ibm1141.h: Likewise.
26882 * iconvdata/ibm1142.h: Likewise.
26883 * iconvdata/ibm1143.h: Likewise.
26884 * iconvdata/ibm1144.h: Likewise.
26885 * iconvdata/ibm1145.h: Likewise.
26886 * iconvdata/ibm1146.h: Likewise.
26887 * iconvdata/ibm1147.h: Likewise.
26888 * iconvdata/ibm1148.h: Likewise.
26889 * iconvdata/ibm1149.h: Likewise.
26890 * iconvdata/ibm1153.h: Likewise.
26891 * iconvdata/ibm1154.h: Likewise.
26892 * iconvdata/ibm1155.h: Likewise.
26893 * iconvdata/ibm1156.h: Likewise.
26894 * iconvdata/ibm1157.h: Likewise.
26895 * iconvdata/ibm1158.h: Likewise.
26896 * iconvdata/ibm1160.h: Likewise.
26897 * iconvdata/ibm1161.h: Likewise.
26898 * iconvdata/ibm1162.h: Likewise.
26899 * iconvdata/ibm1163.h: Likewise.
26900 * iconvdata/ibm1164.h: Likewise.
26901 * iconvdata/ibm1166.h: Likewise.
26902 * iconvdata/ibm1167.h: Likewise.
26903 * iconvdata/ibm12712.h: Likewise.
26904 * iconvdata/ibm1390.h: Likewise.
26905 * iconvdata/ibm1399.h: Likewise.
26906 * iconvdata/ibm16804.h: Likewise.
26907 * iconvdata/ibm4517.h: Likewise.
26908 * iconvdata/ibm4899.h: Likewise.
26909 * iconvdata/ibm4909.h: Likewise.
26910 * iconvdata/ibm4971.h: Likewise.
26911 * iconvdata/ibm5347.h: Likewise.
26912 * iconvdata/ibm803.h: Likewise.
26913 * iconvdata/ibm856.h: Likewise.
26914 * iconvdata/ibm901.h: Likewise.
26915 * iconvdata/ibm902.h: Likewise.
26916 * iconvdata/ibm9030.h: Likewise.
26917 * iconvdata/ibm9066.h: Likewise.
26918 * iconvdata/ibm921.h: Likewise.
26919 * iconvdata/ibm922.h: Likewise.
26920 * iconvdata/ibm9448.h: Likewise.
26921 * iconvdata/isiri-3342.h: Likewise.
26922 * iconvdata/jis0201.h: Likewise.
26923 * include/link.h: Likewise.
26924 * include/netdb.h: Likewise.
26925 * inet/check_native.c: Likewise.
26926 * inet/check_pf.c: Likewise.
26927 * inet/getipv4sourcefilter.c: Likewise.
26928 * inet/getnameinfo.c: Likewise.
26929 * inet/getsourcefilter.c: Likewise.
26930 * inet/htonl.c: Likewise.
26931 * inet/setipv4sourcefilter.c: Likewise.
26932 * inet/setsourcefilter.c: Likewise.
26933 * inet/test-inet6_opt.c: Likewise.
26934 * inet/tst-network.c: Likewise.
26935 * locale/C-collate.c: Likewise.
26936 * locale/C-ctype.c: Likewise.
26937 * locale/C-time.c: Likewise.
26938 * locale/C-translit.h: Likewise.
26939 * locale/loadarchive.c: Likewise.
26940 * locale/programs/3level.h: Likewise.
26941 * locale/programs/charmap.c: Likewise.
26942 * locale/programs/charmap.h: Likewise.
26943 * locale/programs/ld-address.c: Likewise.
26944 * locale/programs/ld-collate.c: Likewise.
26945 * locale/programs/ld-ctype.c: Likewise.
26946 * locale/programs/ld-identification.c: Likewise.
26947 * locale/programs/ld-measurement.c: Likewise.
26948 * locale/programs/ld-messages.c: Likewise.
26949 * locale/programs/ld-monetary.c: Likewise.
26950 * locale/programs/ld-name.c: Likewise.
26951 * locale/programs/ld-numeric.c: Likewise.
26952 * locale/programs/ld-paper.c: Likewise.
26953 * locale/programs/ld-telephone.c: Likewise.
26954 * locale/programs/ld-time.c: Likewise.
26955 * locale/programs/linereader.c: Likewise.
26956 * locale/programs/locale.c: Likewise.
26957 * locale/programs/locarchive.c: Likewise.
26958 * locale/programs/locfile.h: Likewise.
26959 * locale/programs/repertoire.c: Likewise.
26960 * locale/programs/simple-hash.c: Likewise.
26961 * locale/programs/simple-hash.h: Likewise.
26962 * malloc/memusage.c: Likewise.
26963 * malloc/memusagestat.c: Likewise.
26964 * nis/nis_defaults.c: Likewise.
26965 * nis/nis_hash.c: Likewise.
26966 * nis/nis_print.c: Likewise.
26967 * nis/nis_xdr.c: Likewise.
26968 * nscd/connections.c: Likewise.
26969 * nscd/hstcache.c: Likewise.
26970 * nscd/nscd_gethst_r.c: Likewise.
26971 * nscd/nscd_getserv_r.c: Likewise.
26972 * nscd/nscd_helper.c: Likewise.
26973 * nscd/servicescache.c: Likewise.
26974 * nss/makedb.c: Likewise.
26975 * nss/nss_db/db-XXX.c: Likewise.
26976 * nss/nss_db/db-initgroups.c: Likewise.
26977 * nss/nss_db/db-netgrp.c: Likewise.
26978 * nss/nss_files/files-network.c: Likewise.
26979 * nss/nss_files/files-parse.c: Likewise.
26980 * posix/bug-regex5.c: Likewise.
26981 * posix/fnmatch_loop.c: Likewise.
26982 * posix/regcomp.c: Likewise.
26983 * posix/regexec.c: Likewise.
26984 * posix/tst-rfc3484-2.c: Likewise.
26985 * posix/tst-rfc3484-3.c: Likewise.
26986 * posix/tst-rfc3484.c: Likewise.
26987 * resolv/nss_dns/dns-canon.c: Likewise.
26988 * resolv/nss_dns/dns-network.c: Likewise.
26989 * resolv/res_init.c: Likewise.
26990 * resolv/res_mkquery.c: Likewise.
26991 * resolv/tst-aton.c: Likewise.
26992 * stdlib/cxa_atexit.c: Likewise.
26993 * stdlib/cxa_finalize.c: Likewise.
26994 * stdlib/gen-fpioconst.c: Likewise.
26995 * stdlib/strtol_l.c: Likewise.
26996 * string/tst-endian.c: Likewise.
26997 * sunrpc/auth_des.c: Likewise.
26998 * sunrpc/clnt_udp.c: Likewise.
26999 * sunrpc/rtime.c: Likewise.
27000 * sunrpc/svcauth_des.c: Likewise.
27001 * sunrpc/xdr.c: Likewise.
27002 * sunrpc/xdr_intXX_t.c: Likewise.
27003 * sunrpc/xdr_rec.c: Likewise.
27004 * sysdeps/generic/ldconfig.h: Likewise.
27005 * sysdeps/generic/ldsodefs.h: Likewise.
27006 * sysdeps/generic/memusage.h: Likewise.
27007 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27008 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27010 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27011 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27013 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27014 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27015 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27017 * sysdeps/posix/getaddrinfo.c: Likewise.
27018 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27020 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27022 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27023 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27024 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27025 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27026 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27027 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27028 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27029 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27030 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27031 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27033 * sysdeps/x86_64/dl-tls.h: Likewise.
27034 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27035 * time/alt_digit.c: Likewise.
27036 * time/era.c: Likewise.
27037 * wcsmbs/tst-c16c32-1.c: Likewise.
27038
8c75f674
JM
270392013-05-16 Joseph Myers <joseph@codesourcery.com>
27040
27041 * math/libm-test.inc (struct test_sincos_data): New type.
27042 (RUN_TEST_LOOP_sincos): New macro.
27043 (sincos_test_data): New variable.
27044 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27045
e6e49e59
RH
270462013-05-16 Richard Henderson <rth@redhat.com>
27047
27048 * math/atest-exp2.c (LIMB64): New macro.
27049 (CONSTSZ): New macro.
27050 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27051 (hexdig): Move ...
27052 (print_mpn_fp): ... to function scope.
27053 (read_mpn_hex): Remove.
27054 (get_log2): Remove.
27055 (exp2_mpn): Use mp_log2.
27056 (main): Use mp_exp1.
27057
15c7c18d
JM
270582013-05-16 Joseph Myers <joseph@codesourcery.com>
27059
105a07df
JM
27060 * math/libm-test.inc: Remove comment about not testing "inexact"
27061 exceptions.
27062 (INEXACT_EXCEPTION): New macro.
27063 (NO_INEXACT_EXCEPTION): Likewise.
27064 (INVALID_EXCEPTION_OK): Update value.
27065 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27066 (OVERFLOW_EXCEPTION_OK): Likewise.
27067 (UNDERFLOW_EXCEPTION_OK): Likewise.
27068 (IGNORE_ZERO_INF_SIGN): Likewise.
27069 (ERRNO_UNCHANGED): Likewise.
27070 (ERRNO_EDOM): Likewise.
27071 (ERRNO_ERANGE): Likewise.
27072 (test_exceptions): Handle testing "inexact" exceptions.
27073 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27074 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27075 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27076 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27077 INEXACT_EXCEPTION.
27078 (rint_towardzero_test_data): Likewise.
27079 (rint_downward_test_data): Likewise.
27080 (rint_upward_test_data): Likewise.
27081
e9eee333
JM
27082 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27083 with OVERFLOW_EXCEPTION.
27084 (exp10_test_data): Likewise.
27085 (exp2_test_data): Likewise.
27086 (expm1_test_data): Likewise.
27087 (lgamma_test_data): Likewise.
27088 (pow_test_data): Likewise.
27089 (tgamma_test_data): Likewise.
27090 (yn_test_data): Remove duplicate test of overflow.
27091
1c38ff73
JM
27092 * math/libm-test.inc (struct test_cc_c_data): New type.
27093 (RUN_TEST_LOOP_cc_c): New macro.
27094 (cpow_test_data): New variable.
27095 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27096
15c7c18d
JM
27097 * math/libm-test.inc (struct test_f_L_data): New type.
27098 (RUN_TEST_LOOP_f_L): New macro.
27099 (llrint_test_data): New variable.
27100 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27101 (llrint_tonearest_test_data): New variable.
27102 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27103 (llrint_towardzero_test_data): New variable.
27104 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27105 (llrint_downward_test_data): New variable.
27106 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27107 (llrint_upward_test_data): New variable.
27108 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27109 (llround_test_data): New variable.
27110 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27111
f137ff13
PC
271122013-05-13 Peter Collingbourne <pcc@google.com>
27113
27114 * math/atest-exp2.c (get_log2): Remove const attribute.
27115
3608cb24
JM
271162013-05-15 Joseph Myers <joseph@codesourcery.com>
27117
27118 * math/libm-test.inc (struct test_f_l_data): New type.
27119 (RUN_TEST_LOOP_f_l): New macro.
27120 (lrint_test_data): New variable.
27121 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27122 (lrint_tonearest_test_data): New variable.
27123 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27124 (lrint_towardzero_test_data): New variable.
27125 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27126 (lrint_downward_test_data): New variable.
27127 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27128 (lrint_upward_test_data): New variable.
27129 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27130 (lround_test_data): New variable.
27131 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27132
39b1f617
PC
271332013-05-15 Peter Collingbourne <pcc@google.com>
27134
1deff3dc
PC
27135 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27136 (EXTRACT_WORDS64) Use where appropriate.
27137 (INSERT_WORDS64) Likewise.
27138
791f3ba0
PC
27139 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27140 constraints with x constraints.
27141 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27142
39b1f617
PC
27143 * malloc/obstack.c (_obstack_compat): Add initializer.
27144
12fba011
EM
271452013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27146
27147 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27148 si_trapno and add si_addr_lsb to _sifields.sigfault.
27149 (si_trapno): Remove macro.
27150 (si_addr_lsb): Define new macro.
27151 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27152
d369f531
JM
271532013-05-15 Joseph Myers <joseph@codesourcery.com>
27154
b861c6c4
JM
27155 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27156 instead of TEST_f_l.
27157 (llrint_test_tonearest): Likewise.
27158 (llrint_test_towardzero): Likewise.
27159 (llrint_test_downward): Likewise.
27160 (llrint_test_upward): Likewise.
27161 (llround_test): Likewise.
27162
7abeee12
JM
27163 * math/libm-test.inc (struct test_f_i_data): Add comment.
27164 (RUN_TEST_LOOP_f_b): New macro.
27165 (RUN_TEST_LOOP_f_b_tg): Likewise.
27166 (finite_test_data): New variable.
27167 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27168 (isfinite_test_data): New variable.
27169 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27170 (isinf_test_data): New variable.
27171 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27172 (isnan_test_data): New variable.
27173 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27174 (isnormal_test_data): New variable.
27175 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27176 (issignaling_test_data): New variable.
27177 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27178 (signbit_test_data): New variable.
27179 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27180
cbe8c4d3
JM
27181 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27182 with INVALID_EXCEPTION.
27183 (acosh_test_data): Likewise.
27184 (asin_test_data): Likewise.
27185 (atanh_test_data): Likewise.
27186 (fmod_test_data): Likewise.
27187 (log_test_data): Likewise.
27188 (log10_test_data): Likewise.
27189 (log2_test_data): Likewise.
27190 (pow_test_data): Likewise.
27191 (sqrt_test_data): Likewise.
27192 (y0_test_data): Likewise.
27193 (y1_test_data): Likewise.
27194 (yn_test_data): Likewise.
27195
5575c0e5
JM
27196 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27197 function contents.
27198
d369f531
JM
27199 * math/libm-test.inc (struct test_ff_i_data): New type.
27200 (RUN_TEST_LOOP_ff_i_tg): New macro.
27201 (isgreater_test_data): New variable.
27202 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27203 (isgreaterequal_test_data): New variable.
27204 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27205 (isless_test_data): New variable.
27206 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27207 (islessequal_test_data): New variable.
27208 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27209 (islessgreater_test_data): New variable.
27210 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27211 (isunordered_test_data): New variable.
27212 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27213
781fd748
DM
272142013-05-14 David S. Miller <davem@davemloft.net>
27215
27216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27217
87aa21df
JM
272182013-05-14 Joseph Myers <joseph@codesourcery.com>
27219
5e908270
JM
27220 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27221
f71172e5
JM
27222 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27223 extra_test to int.
27224 (struct test_f_i_data): Change type of max_ulp to int.
27225
8cfa635a
JM
27226 * math/libm-test.inc (test_ffI_f1_data): New type.
27227 (RUN_TEST_LOOP_ffI_f1): New macro.
27228 (remquo_test_data): New variable.
27229 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27230
2bcb36b2
JM
27231 * setjmp/tst-setjmp-fp.c: New file.
27232 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27233 (link-libm): New variable.
27234 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27235
acbd839a
JM
27236 * math/libm-test.inc (struct test_f_i_data): New type.
27237 (RUN_TEST_LOOP_f_i): New macro.
27238 (RUN_TEST_LOOP_f_i_tg): Likewise.
27239 (fpclassify_test_data): New variable.
27240 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27241 (ilogb_test_data): New variable.
27242 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27243
e414d745
JM
27244 * math/libm-test.inc (scalbln_test): Correct function name in END
27245 call.
27246
d9c2a0fd
JM
27247 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27248 (RUN_TEST_LOOP_fI_f1): New macro.
27249 (frexp_test_data): New variable.
27250 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27251
9dc9095d
JM
27252 * math/libm-test.inc (struct test_fF_f1_data): New type.
27253 (RUN_TEST_LOOP_fF_f1): New macro.
27254 (modf_test_data): New variable.
27255 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27256
87aa21df
JM
27257 * math/libm-test.inc (struct test_f_f1_data): New type.
27258 (RUN_TEST_LOOP_f_f1): New macro.
27259 (gamma_test_data): New variable.
27260 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27261 (lgamma_test_data): New variable.
27262 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27263
141af660
CD
272642013-05-13 Carlos O'Donell <carlos@redhat.com>
27265
27266 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27267 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27268 (main): Comment "tls" pseudo-hwcap.
27269
6d33265c
JM
272702013-05-13 Joseph Myers <joseph@codesourcery.com>
27271
68fc074c
JM
27272 * math/libm-test.inc (struct test_fl_f_data): New type.
27273 (RUN_TEST_LOOP_fl_f): New variable.
27274 (scalbln_test_data): New variable.
27275 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27276
243216e1
JM
27277 * math/libm-test.inc (struct test_fi_f_data): New type.
27278 (RUN_TEST_LOOP_fi_f): New macro.
27279 (ldexp_test_data): New variable.
27280 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27281 (scalbn_test_data): New variable.
27282 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27283
6a1992e2
JM
27284 * math/libm-test.inc (struct test_c_f_data): New type.
27285 (RUN_TEST_LOOP_c_f): New macro.
27286 (cabs_test_data): New variable.
27287 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27288 (carg_test_data): New variable.
27289 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27290 (cimag_test_data): New variable.
27291 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27292 (creal_test_data): New variable.
27293 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27294
0e400df5
JM
27295 * math/libm-test.inc (struct test_if_f_data): New type.
27296 (RUN_TEST_LOOP_if_f): New macro.
27297 (jn_test_data): New variable.
27298 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27299 (yn_test_data): New variable.
27300 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27301
6d33265c
JM
27302 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27303
f98ece5f
AZ
273042013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27305
27306 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27307 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27308
0f7d347b
SP
273092013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27310
43fe811b
SP
27311 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27312 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27313 (bench-deps): Add bench-timing.h.
27314 * benchtests-bench-skeleton.c: Include bench-timing.h.
27315 (main): Use TIMING_* macros instead of clock_gettime.
27316 * benchtests/bench-timing.h: New file.
27317
0f7d347b
SP
27318 [BZ #14582]
27319 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27320 Renamed from _LIB_VERSION.
27321 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27322
601a3a5f
JM
273232013-05-12 Joseph Myers <joseph@codesourcery.com>
27324
4f184d30
JM
27325 * math/libm-test.inc (struct test_fff_f_data): New type.
27326 (RUN_TEST_LOOP_fff_f): New macro.
27327 (fma_test_data): New variable.
27328 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27329 (fma_towardzero_test_data): New variable.
27330 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27331 (fma_downward_test_data): New variable.
27332 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27333 (fma_upward_test_data): New variable.
27334 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27335
08198877
JM
27336 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27337 (struct test_c_c_data): New type.
27338 (RUN_TEST_LOOP_c_c): New macro.
27339 (cacos_test_data): New variable.
27340 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27341 (cacosh_test_data): New variable.
27342 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27343 (casin_test_data): New variable.
27344 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27345 (casinh_test_data): New variable.
27346 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27347 (catan_test_data): New variable.
27348 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27349 (catanh_test_data): New variable.
27350 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27351 (ccos_test_data): New variable.
27352 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27353 (ccosh_test_data): New variable.
27354 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27355 (cexp_test_data): New variable.
27356 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27357 (clog_test_data): New variable.
27358 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27359 (clog10_test_data): New variable.
27360 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27361 (conj_test_data): New variable.
27362 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27363 (cproj_test_data): New variable.
27364 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27365 (csin_test_data): New variable.
27366 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27367 (csinh_test_data): New variable.
27368 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27369 (csqrt_test_data): New variable.
27370 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27371 (ctan_test_data): New variable.
27372 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27373 (ctan_tonearest_test_data): New variable.
27374 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27375 (ctan_towardzero_test_data): New variable.
27376 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27377 (ctan_downward_test_data): New variable.
27378 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27379 (ctan_upward_test_data): New variable.
27380 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27381 (ctanh_test_data): New variable.
27382 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27383 (ctanh_tonearest_test_data): New variable.
27384 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27385 (ctanh_towardzero_test_data): New variable.
27386 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27387 (ctanh_downward_test_data): New variable.
27388 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27389 (ctanh_upward_test_data): New variable.
27390 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27391 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27392 of BUILD_COMPLEX.
27393
601a3a5f
JM
27394 * math/libm-test.inc (struct test_ff_f_data): New type.
27395 (struct test_ff_f_data_nexttoward): Likewise.
27396 (RUN_TEST_LOOP_2_f): New macro.
27397 (RUN_TEST_LOOP_ff_f): Likewise.
27398 (atan2_test_data): New variable.
27399 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27400 (copysign_test_data): New variable.
27401 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27402 (fdim_test_data): New variable.
27403 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27404 (fmax_test_data): New variable.
27405 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27406 (fmin_test_data): New variable.
27407 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27408 (fmod_test_data): New variable.
27409 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27410 (hypot_test_data): New variable.
27411 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27412 (nextafter_test_data): New variable.
27413 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27414 (nexttoward_test_data): New variable.
27415 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27416 (pow_test_data): New variable.
27417 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27418 (pow_tonearest_test_data): New variable.
27419 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27420 (pow_towardzero_test_data): New variable.
27421 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27422 (pow_downward_test_data): New variable.
27423 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27424 (pow_upward_test_data): New variable.
27425 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27426 (remainder_test_data): New variable.
27427 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27428 (scalb_test_data): New variable.
27429 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27430 * sysdeps/i386/fpu/libm-test-ulps: Update.
27431
74c57478
JM
274322013-05-11 Joseph Myers <joseph@codesourcery.com>
27433
8329e4da
JM
27434 * math/libm-test.inc (fma_test): Use max_value instead of local
27435 variable fltmax.
27436 (nextafter_test): Likewise.
27437
74c57478
JM
27438 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27439 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27440 (acos_downward_test_data): New variable.
27441 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27442 (acos_upward_test_data): New variable.
27443 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27444 (acosh_test_data): New variable.
27445 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27446 (asin_test_data): New variable.
27447 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27448 (asin_tonearest_test_data): New variable.
27449 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27450 (asin_towardzero_test_data): New variable.
27451 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27452 (asin_downward_test_data): New variable.
27453 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27454 (asin_upward_test_data): New variable.
27455 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27456 (asinh_test_data): New variable.
27457 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27458 (atan_test_data): New variable.
27459 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27460 (atanh_test_data): New variable.
27461 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27462 (cbrt_test_data): New variable.
27463 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27464 (ceil_test_data): New variable.
27465 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27466 (cos_test_data): New variable.
27467 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27468 (cos_tonearest_test_data): New variable.
27469 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27470 (cos_towardzero_test_data): New variable.
27471 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27472 (cos_downward_test_data): New variable.
27473 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27474 (cos_upward_test_data): New variable.
27475 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27476 (cosh_test_data): New variable.
27477 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27478 (cosh_tonearest_test_data): New variable.
27479 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27480 (cosh_towardzero_test_data): New variable.
27481 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27482 (cosh_downward_test_data): New variable.
27483 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27484 (cosh_upward_test_data): New variable.
27485 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27486 (erf_test_data): New variable.
27487 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27488 (erfc_test_data): New variable.
27489 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27490 (exp_test_data): New variable.
27491 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27492 (exp_tonearest_test_data): New variable.
27493 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27494 (exp_towardzero_test_data): New variable.
27495 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27496 (exp_downward_test_data): New variable.
27497 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27498 (exp_upward_test_data): New variable.
27499 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27500 (exp10_test_data): New variable.
27501 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27502 (exp2_test_data): New variable.
27503 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27504 (expm1_test_data): New variable.
27505 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27506 (fabs_test_data): New variable.
27507 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27508 (floor_test_data): New variable.
27509 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27510 (j0_test_data): New variable.
27511 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27512 (j1_test_data): New variable.
27513 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27514 (log_test_data): New variable.
27515 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27516 (log10_test_data): New variable.
27517 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27518 (log1p_test_data): New variable.
27519 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27520 (log2_test_data): New variable.
27521 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27522 (logb_test_data): New variable.
27523 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27524 (logb_downward_test_data): New variable.
27525 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27526 (nearbyint_test_data): New variable.
27527 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27528 (rint_test_data): New variable.
27529 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27530 (rint_tonearest_test_data): New variable.
27531 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27532 (rint_towardzero_test_data): New variable.
27533 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27534 (rint_downward_test_data): New variable.
27535 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27536 (rint_upward_test_data): New variable.
27537 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27538 (round_test_data): New variable.
27539 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27540 (sin_test_data): New variable.
27541 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27542 (sin_tonearest_test_data): New variable.
27543 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27544 (sin_towardzero_test_data): New variable.
27545 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27546 (sin_downward_test_data): New variable.
27547 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27548 (sin_upward_test_data): New variable.
27549 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27550 (sinh_test_data): New variable.
27551 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27552 (sinh_tonearest_test_data): New variable.
27553 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27554 (sinh_towardzero_test_data): New variable.
27555 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27556 (sinh_downward_test_data): New variable.
27557 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27558 (sinh_upward_test_data): New variable.
27559 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27560 (sqrt_test_data): New variable.
27561 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27562 (tan_test_data): New variable.
27563 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27564 (tan_tonearest_test_data): New variable.
27565 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27566 (tan_towardzero_test_data): New variable.
27567 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27568 (tan_downward_test_data): New variable.
27569 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27570 (tan_upward_test_data): New variable.
27571 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27572 (tanh_test_data): New variable.
27573 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27574 (tgamma_test_data): New variable.
27575 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27576 (trunc_test_data): New variable.
27577 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27578 (y0_test_data): New variable.
27579 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27580 (y1_test_data): New variable.
27581 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27582 (significand_test_data): New variable.
27583 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27584
7187d844
CG
275852013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27586
27587 [BZ #12387]
27588 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27589
f63fae73
PT
275902013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27591
27592 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27593
8a67a4b3
AJ
275942013-05-10 Andreas Jaeger <aj@suse.de>
27595
27596 [BZ #15448]
27597 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27598 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27599
51df539d
JM
276002013-05-10 Joseph Myers <joseph@codesourcery.com>
27601
27602 * math/gen-libm-test.pl (adjust_arg): New function.
27603 (special_functions): Handle generating output in both functions
27604 and arrays.
27605 (parse_args): Likewise.
27606 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27607 $in_func argument to parse_args.
27608 * math/libm-test.inc (struct test_f_f_data): New type.
27609 (IF_ROUND_INIT_): New macro.
27610 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27611 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27612 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27613 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27614 (ROUND_RESTORE_): Likewise.
27615 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27616 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27617 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27618 (ROUND_RESTORE_FE_UPWARD): Likewise.
27619 (RUN_TEST_LOOP_f_f): New macro.
27620 (acos_test_data): New variable.
27621 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27622 (acos_tonearest_test_data): New variable.
27623 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27624
5c637fe5
SP
276252013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27626
27627 * benchtests/bench-skeleton.c (startup): Fix coding style.
27628
ab2b9461
JM
276292013-05-10 Joseph Myers <joseph@codesourcery.com>
27630
27631 [BZ #6809]
27632 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27633 negative infinity argument.
27634 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27635 negative infinity argument.
27636 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27637 negative infinity argument.
27638 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27639 domain errors.
27640
4c0fe6fe
FW
276412013-05-10 Florian Weimer <fweimer@redhat.com>
27642
27643 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27644 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27645 * iconv/iconv_prog.c (main): Likewise.
27646 * locale/programs/charmap-dir.c (charmap_readdir)
27647 (fopen_uncompressed): Likewise.
27648 * locale/programs/locfile.c (siblings_uncached)
27649 (write_locale_data): Use lstat64 instead of lstat.
27650 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27651 stat.
27652
a3375d29
AJ
276532013-05-10 Andreas Jaeger <aj@suse.de>
27654
27655 [BZ #15395]
27656 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27657 localization.
27658 Include <locale.h>.
27659
36129722
CD
276602013-05-09 Carlos O'Donell <carlos@redhat.com>
27661
27662 * elf/dl-close.c (_dl_close_worker): Add comments.
27663
faa7f811
JM
276642013-05-09 Joseph Myers <joseph@codesourcery.com>
27665
ed41ffef
JM
27666 [BZ #15359]
27667 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27668 high part of pi/2.
27669 (__ieee754_rem_pio2l): Update comments.
27670
d0213cd0
JM
27671 [BZ #15429]
27672 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27673 high part of pi/2.
27674 (__ieee754_rem_pio2l): Update comments.
27675
0d3e777a
JM
27676 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27677 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27678
24f56066
JM
27679 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27680 M_PI_4l.
27681
faa7f811
JM
27682 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27683 (M_PI_34_LOG10El): Likewise.
27684 (M_PI2_LOG10El): Likewise.
27685 (M_PI4_LOG10El): Likewise.
27686 (M_PI_LOG10El): Likewise.
27687
e9a5e0fd
AZ
276882013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27689
27690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27691
d8cd06db
JM
276922013-05-08 Joseph Myers <joseph@codesourcery.com>
27693
a0d9f9d7
JM
27694 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27695 (MINUS_ZERO_INIT): Likewise.
27696 (PLUS_INFTY_INIT): Likewise.
27697 (MINUS_INFTY_INIT): Likewise.
27698 (QNAN_VALUE_INIT): Likewise.
27699 (MAX_VALUE_INIT): Likewise.
27700 (MIN_VALUE_INIT): Likewise.
27701 (MIN_SUBNORM_VALUE_INIT): Likewise.
27702 (plus_zero): Initialize with PLUS_ZERO_INIT.
27703 (minus_zero): Initialize with MINUS_ZERO_INIT.
27704 (plus_infty): Initialize with PLUS_INFTY_INIT.
27705 (minus_infty): Initialize with MINUS_INFTY_INIT.
27706 (qnan_value): Initialize with QNAN_VALUE_INIT.
27707 (max_value): Initialize with MAX_VALUE_INIT.
27708 (min_value): Initialize with MIN_VALUE_INIT.
27709 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27710
ae08db3b
JM
27711 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27712 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27713 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27714 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27715
f44bf14a
JM
27716 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27717 (RUN_TEST_2_f): Likewise.
27718 (RUN_TEST_ff_f): Likewise.
27719 (RUN_TEST_fi_f): Likewise.
27720 (RUN_TEST_fl_f): Likewise.
27721 (RUN_TEST_fff_f): Likewise.
27722 (RUN_TEST_c_f): Likewise.
27723 (RUN_TEST_f_f1): Likewise.
27724 (RUN_TEST_fF_f1): Likewise.
27725 (RUN_TEST_fI_f1): Likewise.
27726 (RUN_TEST_ffI_f1): Likewise.
27727 (RUN_TEST_c_c): Likewise.
27728 (RUN_TEST_cc_c): Likewise.
27729 (RUN_TEST_f_i): Likewise.
27730 (RUN_TEST_f_i_tg): Likewise.
27731 (RUN_TEST_ff_i_tg): Likewise.
27732 (RUN_TEST_f_b): Likewise.
27733 (RUN_TEST_f_b_tg): Likewise.
27734 (RUN_TEST_f_l): Likewise.
27735 (RUN_TEST_f_L): Likewise.
27736 (RUN_TEST_sincos): Likewise.
27737 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27738 whether to show exceptions. Do not include ");\n" in return
27739 value.
27740 (special_functions): Output call to RUN_TEST_sincos instead of
27741 check_float calls. Update calls to new_test.
27742 (parse_args): Output call to single RUN_TEST_* macro instead of
27743 check_* calls and other assignments. Update calls to new_test.
27744
d8cd06db
JM
27745 [BZ #2546]
27746 [BZ #2560]
27747 [BZ #5159]
27748 [BZ #15426]
27749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27750 input to result for tgamma overflow.
27751 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27752 (gamma_coeff): New variable.
27753 (NCOEFF): New macro.
27754 (gamma_positive): New function.
27755 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27756 underflow here. Use gamma_positive instead of exp (lgamma) for
27757 other arguments.
27758 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27759 (gamma_coeff): New variable.
27760 (NCOEFF): New macro.
27761 (gammaf_positive): New function.
27762 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27763 underflow here. Use gamma_positive instead of exp (lgamma) for
27764 other arguments.
27765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27766 (gamma_coeff): New variable.
27767 (NCOEFF): New macro.
27768 (gammal_positive): New function.
27769 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27770 underflow here. Use gamma_positive instead of exp (lgamma) for
27771 other arguments.
27772 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27773 (gamma_coeff): New variable.
27774 (NCOEFF): New macro.
27775 (gammal_positive): New function.
27776 (__ieee754_gammal_r): Handle positive infinity, overflow and
27777 underflow here. Handle NaN the same as positive infinity. Remove
27778 check x < 0xffffffff for negative integers. Use gamma_positive
27779 instead of exp (lgamma) for other arguments.
27780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27781 (gamma_coeff): New variable.
27782 (NCOEFF): New macro.
27783 (gammal_positive): New function.
27784 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27785 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27786 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27788 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27789 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27790 * sysdeps/generic/math_private.h (__gamma_productf): New
27791 prototype.
27792 (__gamma_product): Likewise.
27793 (__gamma_productl): Likewise.
27794 * math/Makefile (libm-calls): Add gamma_product.
27795 * math/libm-test.inc (tgamma_test): Add more tests.
27796 * sysdeps/i386/fpu/libm-test-ulps: Update.
27797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27798
bb7cf681
OB
277992013-05-08 Ondřej Bílka <neleai@seznam.cz>
27800
27801 * benchtests/bench-skeleton.c (main): Preheat CPU.
27802
ba853947
AJ
278032013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27804
27805 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27806
8347c74c
RM
278072013-05-07 Roland McGrath <roland@hack.frob.com>
27808
27809 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27810 and _dl_skip_args_internal.
27811
e8dd4791
CD
278122013-05-07 Carlos O'Donell <carlos@redhat.com>
27813
27814 * manual/message.texi (Message Translation): Talk about users.
27815 Message to key mapping impacts design.
27816
c7405830
RM
278172013-05-06 Roland McGrath <roland@hack.frob.com>
27818
a9173057
RM
27819 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27820
976e2f03
RM
27821 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27822
9723ffc5
RM
27823 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27824 * sysdeps/wordsize-64/glob64.c: ... here.
27825
962e6658
RM
27826 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27827 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27828 New macros.
27829
ee586a6d
RM
27830 * debug/getlogin_r_chk.c: Moved to ...
27831 * login/getlogin_r_chk.c: ... here.
27832 * debug/Makefile (routines): Move getlogin_r_chk to ...
27833 * login/Makefile (routines): ... here.
27834 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27835 * login/Versions (libc: GLIBC_2.4): ... here.
27836
355f9165
RM
27837 * io/poll.c (__poll): Renamed from poll.
27838 Add libc_hidden_def.
27839 (poll): Define as weak alias.
27840
bd9ffde6
RM
27841 * debug/ptsname_r_chk.c: Moved to ...
27842 * login/ptsname_r_chk.c: ... here.
27843 * debug/Makefile (routines): Move ptsname_r_chk to ...
27844 * login/Makefile (routines): ... here.
27845 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27846 * login/Versions (libc: GLIBC_2.4): ... here.
27847
8fb16a04
RM
27848 * posix/getlogin.c: Moved to ...
27849 * login/getlogin.c: ... here.
27850 * posix/getlogin_r.c: Moved to ...
27851 * login/getlogin_r.c: ... here.
27852 * posix/getlogin_r.c: Moved to ...
27853 * login/getlogin_r.c: ... here.
27854 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27855 * login/Makefile (routines): ... here.
27856 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27857 * login/Versions (libc: GLIBC_2.0): ... here.
27858
b99b892f
RM
27859 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27860 (setrlimit): Define as weak alias.
27861
c7405830
RM
27862 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27863 Call __ names for open, ftruncate, and close.
27864 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27865 (truncate): Define as weak alias.
27866
5bf96de5
JM
278672013-05-06 Joseph Myers <joseph@codesourcery.com>
27868
9ea3513c
JM
27869 * math/gen-libm-test.pl (parse_args): Initialize x before each
27870 test of frexp, modf and remquo.
27871
5bf96de5
JM
27872 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27873 test signgam value.
27874
16e616a7
AZ
278752013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27876
27877 [BZ #15418]
27878 [BZ #15419]
27879 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27880 internal tests.
27881 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27882
d5e82754
RM
278832013-05-06 Roland McGrath <roland@hack.frob.com>
27884
27885 * elf/dl-writev.h: New file.
27886 * elf/dl-misc.c: Include it.
27887 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27888 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27889
a7548d41
JM
278902013-05-04 Joseph Myers <joseph@codesourcery.com>
27891
b7dab1e4
JM
27892 * math/libm-test.inc (noXFails): Remove variable.
27893 (noXPasses): Likewise.
27894 (BUILD_COMPLEX_INT): Remove macro.
27895 (print_screen): Remove xfail argument.
27896 (print_screen_max_error): Likewise.
27897 (update_stats): Likewise.
27898 (print_max_error): Likewise. Update calls to other affected
27899 functions.
27900 (print_complex_max_error): Likewise.
27901 (test_single_exception): Update calls to print_screen.
27902 (test_single_errno): Likewise.
27903 (check_float_internal): Remove xfail argument. Update calls to
27904 other affected functions.
27905 (check_float): Likewise.
27906 (check_complex): Likewise.
27907 (check_int): Likewise.
27908 (check_long): Likewise.
27909 (check_bool): Likewise.
27910 (check_longlong): Likewise.
27911 (main): Don't print noXFails and noXPasses.
27912 * math/gen-libm-test.pl (top level): Don't mention expected
27913 failure handling in comment.
27914 (new_test): Don't handle expected failures.
27915 (parse_args): Don't mention expected failure handling in comment.
27916 (generate_testfile): Don't handle expected failures.
27917 (parse_ulps): Likewise.
27918 (print_ulps_file): Likewise.
27919 (get_failure): Remove function.
27920 (output_test): Don't handle expected failures.
27921 * make/README.libm-test: Don't mention expected failure handling.
27922
a7548d41
JM
27923 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27924 (minus_zero): Likewise.
27925 (plus_infty): Likewise.
27926 (minus_infty): Likewise.
27927 (qnan_value): Likewise.
27928 (max_value): Likewise.
27929 (min_value): Likewise.
27930 (min_subnorm_value): Likewise.
27931 (initialize): Do not initialize those variables dynamically.
27932
60bfd54c
RM
279332013-05-03 Roland McGrath <roland@hack.frob.com>
27934
cc0e6ed8
RM
27935 * io/open.c (__open_2): Moved to ...
27936 * io/open_2.c: ... this new file.
27937 * io/open64.c (__open64_2): Moved to ...
27938 * io/open64_2.c: ... this new file.
27939 * io/openat.c (__openat_2): Moved to ...
27940 * io/openat_2.c: ... this new file.
27941 * io/openat64.c (__openat64_2): Moved to ...
27942 * io/openat64_2.c: ... this new file.
27943 * io/Makefile (routines): Add them.
27944 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27945 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27946 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27947 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27948 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27949 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27950 (__openat64): Add hidden_ver.
27951 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27952 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27953
60bfd54c
RM
27954 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27955 Separately conditionalize setting of GLRO(dl_sysinfo) so
27956 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27957 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27958
83e7640f
AZ
279592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27960
27961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27962 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27963 definition.
27964 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27965 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27966 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27967 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27968 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27969
d5dc2af3
JM
279702013-05-03 Joseph Myers <joseph@codesourcery.com>
27971
c31a5b1e
JM
27972 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27973 test signgam value.
27974
d5dc2af3
JM
27975 * math/libm-test.inc (hypot_test): Do not use
27976 IGNORE_ZERO_INF_SIGN.
27977
164fd39d
AJ
279782013-05-03 Andreas Jaeger <aj@suse.de>
27979
27980 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27981 Linux 3.9.
27982 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27983 (PF_MAX): Adjust for VSOCK change.
27984
8237f48c
AZ
279852013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27986
27987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27988
9df02941
CD
279892013-05-02 Carlos O'Donell <carlos@redhat.com>
27990
27991 [BZ #15264]
27992 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27993 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27994 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27995
d422395e
DM
279962013-05-02 David S. Miller <davem@davemloft.net>
27997
27998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27999
a07c5731
OB
280002013-05-01 Ondřej Bílka <neleai@seznam.cz>
28001
28002 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28003
1324e37f
RM
280042013-05-01 Roland McGrath <roland@hack.frob.com>
28005
28006 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28007
0695940b
RS
280082013-05-01 Richard Smith <richard@metafoo.co.uk>
28009
bb5f27ad 28010 [BZ #14952]
0695940b
RS
28011 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28012 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28013 Use __attribute__ ((__gnu_inline__)).
28014 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28015 Don't use __attribute__ ((__gnu_inline__)).
28016
10de07f5
JM
280172013-05-01 Joseph Myers <joseph@codesourcery.com>
28018
28019 [BZ #15423]
28020 * math/s_catan.c (__catan): Handle small real or imaginary part of
28021 input specially to avoid spurious underflow.
28022 * math/s_catanf.c (__catanf): Likewise.
28023 * math/s_catanh.c (__catanh): Likewise.
28024 * math/s_catanhf.c (__catanhf): Likewise.
28025 * math/s_catanhl.c (__catanhl): Likewise.
28026 * math/s_catanl.c (__catanl): Likewise.
28027 * math/libm-test.inc (catan_test): Add more tests.
28028 (catanh_test): Likewise.
28029 * sysdeps/i386/fpu/libm-test-ulps: Update.
28030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28031
cb4d5414
AZ
280322013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28033
28034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28035
caf84319
JM
280362013-04-30 Joseph Myers <joseph@codesourcery.com>
28037
28038 [BZ #15416]
28039 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28040 accurately for denominator in atan2.
28041 * math/s_catanf.c (__catanf): Likewise.
28042 * math/s_catanh.c (__catanh): Likewise.
28043 * math/s_catanhf.c (__catanhf): Likewise.
28044 * math/s_catanhl.c (__catanhl): Likewise.
28045 * math/s_catanl.c (__catanl): Likewise.
28046 * math/libm-test.inc (catan_test): Add more tests.
28047 (catanh_test): Likewise.
28048 * sysdeps/i386/fpu/libm-test-ulps: Update.
28049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28050
d569c6ee
SP
280512013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28052
6dbe713d
SP
28053 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28054
f0ee064b
SP
28055 * benchtests/Makefile (bench): Remove slow benchmarks.
28056 * benchtests/atan-inputs: Add slow benchmark inputs.
28057 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28058 (BENCH_FUNC): Accept variant offset.
28059 (VARIANT): Define.
28060 * benchtests/bench-skeleton.c (main): Run benchmark for each
28061 variant.
28062 * benchtests/cos-inputs: Add slow benchmark inputs.
28063 * benchtests/exp-inputs: Likewise.
28064 * benchtests/pow-inputs: Likewise.
28065 * benchtests/sin-inputs: Likewise.
28066 * benchtests/slowatan-inputs: Remove.
28067 * benchtests/slowatan.c: Remove.
28068 * benchtests/slowcos-inputs: Remove.
28069 * benchtests/slowcos.c: Remove.
28070 * benchtests/slowexp-inputs: Remove.
28071 * benchtests/slowexp.c: Remove.
28072 * benchtests/slowpow-inputs: Remove.
28073 * benchtests/slowpow.c: Remove.
28074 * benchtests/slowsin-inputs: Remove.
28075 * benchtests/slowsin.c: Remove.
28076 * benchtests/slowtan-inputs: Remove.
28077 * benchtests/slowtan.c: Remove.
28078 * benchtests/tan-inputs: Add slow benchmark inputs.
28079 * scripts/bench.pl: Parse comments and directives.
28080
d569c6ee
SP
28081 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28082 in CPPFLAGS.
28083 ($(objpfx)bench-%.c): Remove *-ITER.
28084 * benchtests/bench-modf.c: Remove definition of ITER.
28085 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28086 (main): Loop for DURATION seconds instead of fixed number of
28087 iterations.
28088 * scripts/bench.pl: Don't expect iterations in parameters.
28089
a6a242fe
RM
280902013-04-29 Roland McGrath <roland@hack.frob.com>
28091
28092 * io/fchdir.c (__fchdir): Renamed from fchdir.
28093 (fchdir): Define as weak alias.
28094
f2da7793
JM
280952013-04-29 Joseph Myers <joseph@codesourcery.com>
28096
28097 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28098 (ERRNO_EDOM): Likewise.
28099 (ERRNO_ERANGE): Likewise.
28100 (noErrnoTests): New variable.
28101 (init_max_error): Set errno to 0.
28102 (test_single_errno): New function.
28103 (test_errno): Likewise.
28104 (check_float_internal): Call test_errno. Set errno to 0.
28105 (check_complex): Refer to errno tests in comment.
28106 (check_int): Call test_errno. Set errno to 0.
28107 (check_long): Likewise.
28108 (check_bool): Likewise.
28109 (check_longlong): Likewise.
28110 (cos_test): Use ERRNO_* flags for errno tests instead of
28111 check_int.
28112 (expm1_test): Likewise.
28113 (fmod_test): Likewise.
28114 (ilogb_test): Likewise.
28115 (lgamma_test): Likewise.
28116 (pow_test): Likewise.
28117 (remainder_test): Likewise.
28118 (sin_test): Likewise.
28119 (tan_test): Likewise.
28120 (yn_test): Likewise.
28121 (initialize): Set errno to 0.
28122 (main): Print number of errno tests.
28123 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28124
b1a36ceb
AJ
281252013-04-29 Andreas Jaeger <aj@suse.de>
28126
c3ed8088
AJ
28127 [BZ #15084]
28128 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28129 and RES_USEVC.
28130
f1a24198
AJ
28131 [BZ #15085]
28132 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28133 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28134 unimplemented.
28135
9ce3b2cb
AJ
28136 [BZ #15380]
28137 * stdlib/random.c (__initstate): Return NULL if
28138 __initstate fails.
28139
f1a24198 28140 [BZ #15086]
b1a36ceb
AJ
28141 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28142 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28143 RES_SNGLKUPREOP.
28144
7e7b6f36
AZ
281452013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28146
28147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28148
4d14f449
JM
281492013-04-29 Joseph Myers <joseph@codesourcery.com>
28150
28151 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28152 of individual tests.
28153 (casin_test): Likewise.
28154 (casinh_test): Likewise.
28155
5b4217d7
JM
281562013-04-27 Joseph Myers <joseph@codesourcery.com>
28157
28158 [BZ #15409]
28159 * math/s_catan.c (__catan): Handle arguments with large real or
28160 imaginary part separately without squaring.
28161 * math/s_catanf.c (__catanf): Likewise.
28162 * math/s_catanh.c (__catanh): Likewise.
28163 * math/s_catanhf.c (__catanhf): Likewise.
28164 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28165 and redefine.
28166 (__catanhl): Handle arguments with large real or imaginary part
28167 separately without squaring.
28168 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28169 and redefine.
28170 (__catanl): Handle arguments with large real or imaginary part
28171 separately without squaring.
28172 * math/libm-test.inc (catan_test): Add more tests.
28173 (catanh_test): Likewise.
28174 * sysdeps/i386/fpu/libm-test-ulps: Update.
28175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28176
4220c3ef
AJ
281772013-04-27 Andreas Jaeger <aj@suse.de>
28178
28179 [BZ #15007]
28180 * stdlib/stdlib.h: Update guards for qecvt.
28181 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28182 <stdlib.h>.
28183
4721b2d1
AM
281842013-04-27 Allan McRae <allan@archlinux.org>
28185
28186 * sysdeps/i386/fpu/libm-test-ulps: Update.
28187
f0302940
JM
281882013-04-26 Joseph Myers <joseph@codesourcery.com>
28189
9457fd95
JM
28190 [BZ #15406]
28191 * math/s_catan.c: Include <float.h>.
28192 (__catan): Ensure underflow exception occurs for underflowed
28193 result.
28194 * math/s_catanf.c: Include <float.h>.
28195 (__catanf): Ensure underflow exception occurs for underflowed
28196 result.
28197 * math/s_catanh.c: Include <float.h>.
28198 (__catanh): Ensure underflow exception occurs for underflowed
28199 result.
28200 * math/s_catanhf.c: Include <float.h>.
28201 (__catanhf): Ensure underflow exception occurs for underflowed
28202 result.
28203 * math/s_catanhl.c: Include <float.h>.
28204 (__catanhl): Ensure underflow exception occurs for underflowed
28205 result.
28206 * math/s_catanl.c: Include <float.h>.
28207 (__catanl): Ensure underflow exception occurs for underflowed
28208 result.
28209 * math/libm-test.inc (catan_test): Add more tests.
28210 (catanh_test): Likewise.
28211
f0302940
JM
28212 [BZ #15405]
28213 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28214 underflowed result.
28215 * math/s_ccoshf.c (__ccoshf): Likewise.
28216 * math/s_ccoshl.c (__ccoshl): Likewise.
28217 * math/s_csin.c (__csin): Likewise.
28218 * math/s_csinf.c (__csinf): Likewise.
28219 * math/s_csinh.c (__csinh): Likewise.
28220 * math/s_csinhf.c (__csinhf): Likewise.
28221 * math/s_csinhl.c (__csinhl): Likewise.
28222 * math/s_csinl.c (__csinl): Likewise.
28223 * math/libm-test.inc (ccos_test): Add more tests.
28224 (ccosh_test): Likewise.
28225 (csin_test): Likewise.
28226 (csinh_test): Likewise.
28227
aa630f59
AZ
282282013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28229
28230 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28231 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28232 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28233 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28234 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28235 powerpc/power5+/fpu folders.
28236 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28237
28238
1b835983
MT
282392013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28240
28241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28242
73709b26
JM
282432013-04-25 Joseph Myers <joseph@codesourcery.com>
28244
28245 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28246 additions to variable.
28247 [$(config-machine) = x86_64] (modules-names): Likewise.
28248 ($(objpfx)tst-audit3): Remove dependency.
28249 ($(objpfx)tst-audit3.out): Likewise.
28250 ($(objpfx)tst-audit4): Likewise.
28251 ($(objpfx)tst-audit4.out): Likewise.
28252 ($(objpfx)tst-audit5): Likewise.
28253 ($(objpfx)tst-audit5.out): Likewise.
28254 ($(objpfx)tst-audit6): Likewise.
28255 ($(objpfx)tst-audit6.out): Likewise.
28256 ($(objpfx)tst-audit7): Likewise.
28257 ($(objpfx)tst-audit7.out): Likewise.
28258 (tst-audit3-ENV): Remove variable.
28259 (tst-audit4-ENV): Likewise.
28260 (tst-audit5-ENV): Likewise.
28261 (tst-audit6-ENV): Likewise.
28262 (tst-audit7-ENV): Likewise.
28263 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28264 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28265 addition to variable.
28266 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28267 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28268 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28269 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28270 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28271 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28272 tst-audit3, tst-audit4 and tst-audit5.
28273 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28274 tst-audit6 and tst-audit7.
28275 [$(subdir) = elf] (modules-names): Add audit modules for those
28276 tests.
28277 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28278 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28279 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28280 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28281 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28282 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28283 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28284 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28285 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28286 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28287 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28288 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28289 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28290 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28291 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28292 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28293 Likewise.
28294 [$(subdir) = elf && $(config-cflags-avx) = yes]
28295 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28296 [$(subdir) = elf && $(config-cflags-avx) = yes]
28297 (CFLAGS-tst-auditmod4a.c): Likewise.
28298 [$(subdir) = elf && $(config-cflags-avx) = yes]
28299 (CFLAGS-tst-auditmod4b.c): Likewise.
28300 [$(subdir) = elf && $(config-cflags-avx) = yes]
28301 (CFLAGS-tst-auditmod6b.c): Likewise.
28302 [$(subdir) = elf && $(config-cflags-avx) = yes]
28303 (CFLAGS-tst-auditmod6c.c): Likewise.
28304 [$(subdir) = elf && $(config-cflags-avx) = yes]
28305 (CFLAGS-tst-auditmod7b.c): Likewise.
28306 * elf/tst-audit3.c: Move to ...
28307 * sysdeps/x86_64/tst-audit3.c: ... here.
28308 * elf/tst-audit4.c: Move to ...
28309 * sysdeps/x86_64/tst-audit4.c: ... here.
28310 * elf/tst-audit5.c: Move to ...
28311 * sysdeps/x86_64/tst-audit5.c: ... here.
28312 * elf/tst-audit6.c: Move to ...
28313 * sysdeps/x86_64/tst-audit6.c: ... here.
28314 * elf/tst-audit7.c: Move to ...
28315 * sysdeps/x86_64/tst-audit7.c: ... here.
28316 * elf/tst-auditmod3a.c: Move to ...
28317 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28318 * elf/tst-auditmod3b.c: Move to ...
28319 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28320 * elf/tst-auditmod4a.c: Move to ...
28321 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28322 * elf/tst-auditmod4b.c: Move to ...
28323 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28324 * elf/tst-auditmod5a.c: Move to ...
28325 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28326 * elf/tst-auditmod5b.c: Move to ...
28327 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28328 * elf/tst-auditmod6a.c: Move to ...
28329 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28330 * elf/tst-auditmod6b.c: Move to ...
28331 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28332 * elf/tst-auditmod6c.c: Move to ...
28333 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28334 * elf/tst-auditmod7a.c: Move to ...
28335 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28336 * elf/tst-auditmod7b.c: Move to ...
28337 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28338
1ef74943
PP
283392013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28340
28341 [BZ #15366]
28342 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28343 define unconditionally.
28344 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28345 define unconditionally.
28346 (INT8_C, INT16_C, etc.): Likewise.
28347
93fd48c5
MR
283482013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28349
ae9552cf
MR
28350 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28351 __ehdr_start with hidden visibility.
28352
93fd48c5
MR
28353 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28354
418601aa
CD
283552013-04-24 Carlos O'Donell <carlos@redhat.com>
28356
28357 * math/libm-test.inc (cos_test): Use accurate hex constants.
28358 (sincost_test): Likewise.
28359
2f38fbfe
JM
283602013-04-24 Joseph Myers <joseph@codesourcery.com>
28361
5e221800
JM
28362 * math/libm-test.inc (catan_test): Add more tests.
28363 (catanh_test): Likewise.
28364
77f143fd
JM
28365 * math/s_catanf.c (__catanf): Use suffixed floating-point
28366 constants.
28367 * math/s_catanhf.c (__catanhf): Likewise.
28368 * math/s_catanhl.c (__catanhl): Likewise.
28369 * math/s_catanl.c (__catanl): Likewise.
28370
2f38fbfe
JM
28371 [BZ #15394]
28372 * math/s_catan.c (__catan): Calculate imaginary part of result
28373 with log1p not log unless computing log of number close to 0.
28374 * math/s_catanf.c (__catanf): Likewise.
28375 * math/s_catanl.c (__catanl): Likewise.
28376 * math/s_catanh.c (__catanh): Calculate real part of result with
28377 log1p not log unless computing log of number close to 0.
28378 * math/s_catanhf.c (__catanhf): Likewise.
28379 * math/s_catanhl.c (__catanhl): Likewise.
28380 * math/libm-test.inc (catan_test): Add more tests.
28381 (catanh_test): Likewise.
28382 * sysdeps/i386/fpu/libm-test-ulps: Update.
28383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28384
45d69176
SP
283852013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28386
28387 * benchtests/Makefile: Mention files in which fast and slow
28388 paths of math functions are implemented.
28389
87f51853
RM
283902013-04-23 Roland McGrath <roland@hack.frob.com>
28391
28392 * sysdeps/posix/timespec_get.c: New file.
28393
3c026539
AZ
283942013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28395
28396 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28397 POWER.
28398 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28399 for POWER.
28400 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28401 powerpc/power5/fpu folders.
28402 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28403 * benchtests/Makefile: Add modf testcase.
28404 * benchtests/bench-modf.c: New file: Benchmark test for mo
28405
ff491d14
SP
284062013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28407
28408 [BZ #14888]
28409 * time/Makefile (tests): Add tst-strptime-whitespace.
28410 * time/strptime_l.c (get_number): Use ISSPACE.
28411 (__strptime_internal): Likewise.
28412 * time/tst-strptime-whitespace.c: New test case.
28413
7ed3f4e8
AS
284142013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28415
28416 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28417 member.
28418 (_nss_files_init): Set it here.
28419
5c95f7b6
HC
284202013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28421
28422 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28423 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28424 unsigned.
28425
d34c9158
JBG
284262013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28427
28428 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28429
2169712d
SP
284302013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28431
28432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28433 size just once.
28434
29c5de99
DM
284352013-04-21 David S. Miller <davem@davemloft.net>
28436
28437 * po/ru.po: Update Russion translation from translation project.
28438
ccdad15d
AC
284392013-04-17 Adam Conrad <adconrad@0c3.net>
28440
28441 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28442 and setfsgid.
28443
0f122b8d
CD
284442013-04-17 Carlos O'Donell <carlos@redhat.com>
28445
5c5b07da 28446 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28447 * configure: Regenerate.
5c5b07da 28448 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28449 Add example to error message.
28450 * sysdeps/i386/configure: Regenerate.
28451
037714dd
SP
284522013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28453
28454 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28455 slowtan.
28456 * benchtests/cos-inputs: New file.
28457 * benchtests/slowcos-inputs: New file.
28458 * benchtests/slowcos.c: New file.
28459 * benchtests/slowtan-inputs: New file.
28460 * benchtests/slowtan.c: New file.
28461 * benchtests/tan-inputs: New file.
28462
e913141d
RM
284632013-04-16 Roland McGrath <roland@hack.frob.com>
28464
28465 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28466 considered kosher.
28467
a2964074
SP
284682013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28469
4856bcd2
SP
28470 * benchtests/Makefile: Include cppflags-iterator.mk to add
28471 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28472
a2964074
SP
28473 * Makefile.in (bench-clean): New target.
28474 * benchtests/Makefile (bench-clean): Likewise.
28475
9fbf9aca
DH
284762013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28477
28478 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28479
207d1e2a
TS
284802013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28481
28482 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28483
306dfba9
AS
284842013-04-15 Andreas Schwab <schwab@suse.de>
28485
28486 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28488 * nscd/pwdcache.c (cache_addpw): Likewise.
28489 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28490 more than recsize.
28491
206a6699
SP
284922013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28493
28494 * benchtests/Makefile (bench): Write all output to
28495 bench-out.tmp together.
28496
0582f6b3
AS
284972013-04-15 Andreas Schwab <schwab@suse.de>
28498
28499 * nscd/nscd.c (main): Don't fork again after closing files.
28500
acb4325f
SP
285012013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28502
5cb26d0a
SP
28503 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28504
acb4325f
SP
28505 * benchtests/Rules (bench-deps): Collect dependencies into a
28506 single variable. Add Makefile to dependencies.
28507 ($(objpfx)bench-%.c): Depend on bench-deps.
28508
47792506
RM
285092013-04-12 Roland McGrath <roland@hack.frob.com>
28510 Xavier Roche <roche+kml2@exalead.com>
28511
28512 [BZ #15361]
28513 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28514 just that it's a file descriptor.
28515 * manual/llio.texi (Synchronizing AIO Operations): Update description
28516 for EBADF error from aio_fsync.
28517
8fc1bee5
SP
285182013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28519
28520 * Rules (bench): Move target definition...
28521 * benchtests/Makefile: ... here.
28522
aba5e333
CD
285232013-04-11 Carlos O'Donell <carlos@redhat.com>
28524
28525 * math/libm-test.inc (cos_test): Fix PI/2 test.
28526 (sincos_test): Likewise.
28527 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28528 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28529
273cdee8
AS
285302013-04-11 Andreas Schwab <schwab@suse.de>
28531
6ecec3b6
AS
28532 [BZ #13988]
28533 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28534 accept exponent character only when digits were seen.
28535 * stdio-common/Makefile (tests): Add bug26.
28536 * stdio-common/bug26.c: New file.
28537
273cdee8
AS
28538 [BZ #14293]
28539 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28540 non-freeable.
28541
8da491f5
SP
285422013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28543
01dc6df9
SP
28544 * Makeconfig (rtld-prefix): Define built linker prefix.
28545 * Rules (run-bench): Use it.
28546 * math/Makefile (run-regen-ulps): Likewise.
28547
8da491f5
SP
28548 * Rules (bench): Remove eval.
28549
abe7f530
SP
285502013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28551 Roland McGrath <roland@hack.frob.com>
28552 Ondrej Bilka <neleai@seznam.cz>
28553
28554 [BZ #15346]
28555 * time/getdate.c: Include ctype.h and alloca.h.
28556 (__getdate_r): Trim leading and trailing spaces of input.
28557 * time/tst-getdate.c (tests): Add tests with leading and
28558 trailing spaces.
28559
61c23e62
RM
285602013-04-08 Roland McGrath <roland@hack.frob.com>
28561
28562 [BZ #14280]
28563 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28564 when computing value.
28565
7208a313
CD
285662013-04-06 Carlos O'Donell <carlos@redhat.com>
28567
085b2d41
CD
28568 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28569 Use testrun.sh to run libm tests.
28570
7208a313
CD
28571 [BZ #15309]
28572 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28573
872c0acd
MM
285742013-04-06 Marko Myllynen <myllynen@redhat.com>
28575
28576 [BZ #15264]
28577 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28578
26510bdd
CD
285792013-04-06 Carlos O'Donell <carlos@redhat.com>
28580
28581 * Makefile.in (regen-ulps): New target.
28582 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28583 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28584 [ifneq (no,$(PERL)] (regen-ulps): New target.
28585 [ifeq (no,$(PERL)] (regen-ulps): New target.
28586 * math/libm-test.inc (ulps_file_name): Define.
28587 (output_dir): New variable.
28588 (options): Add "output-dir" option.
28589 (parse_opt): Handle 'o' case.
28590 (main): If output_dir is non-NULL use it as a prefix
28591 otherwise use "".
28592 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28593
a01f19c8
CD
285942013-04-06 Carlos O'Donell <carlos@redhat.com>
28595
28596 [BZ #10060, #10062]
28597 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28598 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28599 fail configure if __sync_val_compare_and_swap is not inlined.
28600 * sysdeps/i386/configure: Regenerate.
28601 * configure.in: Build for i686 when configured for i386.
28602 * configure: Regenerate.
28603 * README: Remove i386 reference.
28604
b7a329a5
CD
286052013-04-06 Carlos O'Donell <carlos@redhat.com>
28606
28607 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28609
bf0f50df
TS
286102013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28611
ee091edf
TS
28612 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28613 (lmsnanval): New variables.
28614 (F): Add conversion tests.
28615 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28616 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28617
a8b792d6
TS
28618 * stdio-common/tstdiomisc.c (F): Properly collect individual
28619 tests' results.
28620
a1cbf437
TS
28621 [BZ #14686, #15336]
28622 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28623 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28624 Instead, use input NaN values or generate a qNaN by arithmetic
28625 operation. Also fix bugs to comply with the standard.
28626 * math/libm-test.inc (remainder_test): Add more tests.
28627
8b43a0c9
TS
28628 [BZ #15335, #15342]
28629 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28631 input NaN values or generate a qNaN by arithmetic operation.
28632
d91da4ce
TS
28633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28634 unreachable code.
28635
bf0f50df
TS
28636 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28637 definitions.
28638
05e166c8
JM
286392013-04-03 Joseph Myers <joseph@codesourcery.com>
28640
28641 [BZ #14478]
28642 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28643 underflowed result.
28644 * math/s_cexpf.c (__cexpf): Likewise.
28645 * math/s_cexpl.c (__cexpl): Likewise.
28646 * math/libm-test.inc (cexp_test): Add more tests.
28647
1cef1b19
AS
286482013-04-03 Andreas Schwab <schwab@suse.de>
28649
28650 [BZ #15330]
28651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28652 order arrays from heap if bigger than alloca cutoff.
28653
74d87055
TS
286542013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28655
28656 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28657 (SNAN_TESTS_double): Refer to GCC PR56831.
28658 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28659 GCC PR56828.
28660
d755bba4
SP
286612013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28662
90d5d5bb
SP
28663 * Rules (bench): Move bench.out after the run is complete.
28664
73e0cd5d
SP
28665 * Rules (bench): Echo currently running benchmark.
28666
64aabd4b
SP
28667 * benchtests/Makefile (bench): Add atan and slowatan.
28668 * benchtests/atan-inputs: New file.
28669 * benchtests/slowatan-inputs: New file.
28670 * benchtests/slowatan.c: New file.
28671
c871eccd
SP
28672 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28674 its value.
28675
d755bba4
SP
28676 [BZ #15305]
28677 * sysdeps/unix/sysv/linux/kernel-features.h
28678 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28679 __ASSUME_XFS_RESTRICTED_CHOWN.
28680 * sysdeps/unix/sysv/linux/pathconf.c
28681 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28682 Save and restore errno.
28683
52ce4860
JM
286842013-04-02 Joseph Myers <joseph@codesourcery.com>
28685
28686 [BZ #15327]
28687 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28688 arguments using __kernel_casinh.
28689 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28690 arguments using __kernel_casinhf.
28691 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28692 arguments using __kernel_casinhl.
28693 * math/libm-test.inc (cacosh_test): Add more tests.
28694 * sysdeps/i386/fpu/libm-test-ulps: Update.
28695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28696
81f311c2
SP
286972013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28698
e7906a47
SP
28699 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28701
92e3664b
SP
28702 * bench/Makefile (bench): Add sin and slowsin.
28703 * benchtests/sin-inputs: New file.
28704 * benchtests/slowsin-inputs: New file.
28705 * benchtests/slowsin.c: New file.
28706
81f311c2
SP
28707 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28708 (bench): Add slowexp and slowpow.
28709 (exp-ITER): Increase iterations.
28710 (pow-ITER): Likewise.
28711 * benchtests/exp-inputs: Change input.
28712 * benchtests/pow-inputs: Likewise.
28713 * benchtests/slowexp-inputs: New file.
28714 * benchtests/slowexp.c: New file.
28715 * benchtests/slowpow-inputs: New file.
28716 * benchtests/slowpow.c: New file.
28717
ab0f1aa9
AZ
287182013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28719
28720 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28721 instructions.
28722 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28723 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28724 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28725 * benchtests/Makefile: Add rint benchtest.
28726 * benchtests/rint-inputs: Input for rint benchtest.
28727
57267616
TS
287282013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28729
28730 * Versions.def (libm): Add GLIBC_2.18.
28731 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28732 hidden libm prototypes.
28733 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28734 * math/Makefile (libm-calls): Add s_issignaling.
28735 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28736 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28737 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28738 declaration.
28739 * math/math.h [__USE_GNU] (issignaling): New macro.
28740 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28741 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28742 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28743 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28746 * manual/arith.texi (issignaling): New section.
28747 * manual/libm-err-tab.pl (@all_functions): Update comment.
28748 * math/gen-libm-test.pl (parse_args): Apply special handling for
28749 issignaling.
28750 * math/libm-test.inc (print_float, issignaling_test): New
28751 functions.
28752 (check_float_internal): Add issignaling checks.
28753 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28754 default definition.
28755 * sysdeps/powerpc/math-tests.h: New file.
28756 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28757 tests.
28758 * math/test-snan.c (TEST_FUNC): Likewise.
28759
6142896d
DM
287602013-03-30 David S. Miller <davem@davemloft.net>
28761
28762 * po/de.po: Update from translation team.
28763
ccc8cadf
JM
287642013-03-30 Joseph Myers <joseph@codesourcery.com>
28765
28766 [BZ #10357]
28767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28768 imaginary part less than 1.0 and real part less than 0.5
28769 specially.
28770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28772 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28773 (cacos_test): Add more tests.
28774 (casin_test): Likewise.
28775 (casinh_test): Likewise.
28776 * sysdeps/i386/fpu/libm-test-ulps: Update.
28777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28778
0f6a8d4b
SP
287792013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28780
0d1029de
SP
28781 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28782 ONE with its value.
28783
c2d94018
SP
28784 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28785 (__pow_mp): Replace ONE and MONE with their values.
28786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28788 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28789 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28790 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28791 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28792
27ec37f1
SP
28793 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28794
a64d7e0e
SP
28795 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28796 (__pow_mp): Replace ZERO and MZERO with their values.
28797 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28799 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28801 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28802 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28803 (__sqr): Likewise.
28804
d26dd3eb
SP
28805 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28806
0f6a8d4b
SP
28807 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28808
e57b0c61
RM
288092013-03-28 Roland McGrath <roland@hack.frob.com>
28810
28811 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28812 Declare with __attribute__ ((weak)).
28813 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28814 Call __call_tls_dtors only if it's not NULL.
28815
356b3480
RM
288162013-03-28 Roland McGrath <roland@hack.frob.com>
28817
288f7d79
RM
28818 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28819 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28820 magic __ehdr_start linker symbol if it's defined.
28821 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28822 them up here if it was already done.
28823
dc0a0263
RM
28824 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28825 (_dl_aux_init): Use const in cast when setting it.
28826 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28827 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28828 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28829
3d3436ae
RM
28830 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28831 Declare them here.
28832 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28833 * csu/libc-tls.c: Nor here.
28834 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28835
356b3480
RM
28836 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28837 (__libc_message): Never call vsyslog.
28838
b0f1246a
AM
288392013-03-28 Alan Modra <amodra@gmail.com>
28840
28841 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28842 Define as empty.
28843 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28844 Likewise.
28845
fbbe2b9a
AZ
288462013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28847
28848 [BZ #15214]
28849 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28850 underflow.
28851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28852
1728ab37
SP
288532013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28854
7a86be6e
SP
28855 [BZ #15304]
28856 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28857 Don't add gid passed as argument.
28858
1728ab37
SP
28859 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28860
3a7182a1
JM
288612013-03-27 Joseph Myers <joseph@codesourcery.com>
28862
28863 [BZ #15307]
28864 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28865 imaginary part between 1.0 and 1.5 and real part less than 0.5
28866 specially.
28867 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28868 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28869 * math/libm-test.inc (cacos_test): Add more tests.
28870 (casin_test): Likewise.
28871 (casinh_test): Likewise.
28872 * sysdeps/i386/fpu/libm-test-ulps: Update.
28873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28874
6f2e90e7
SP
288752013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28876
5739f705
SP
28877 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28878 constants.
28879 (norm): Likewise.
28880 (denorm): Likewise.
28881 (__dbl_mp): Likewise.
28882 (add_magnitudes): Likewise.
28883 (sub_magnitudes): Likewise.
28884 (__add): Likewise.
28885 (__sub): Likewise.
28886 (__mul): Likewise.
28887 (__sqr): Likewise.
28888 (__inv): Likewise.
28889 (__dvd): Likewise.
28890
e375e83d
SP
28891 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28892 commented code.
28893 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28894 (__dubcos): Likewise.
28895 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28896 (__ieee754_acos): Likewise.
28897 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28898 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28899 (__exp1): Likewise.
28900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28902 (log1): Likewise.
28903 (my_log2): Likewise.
28904 (checkint): Likewise.
28905 * sysdeps/ieee754/dbl-64/e_remainder.c
28906 (__ieee754_remainder): Likewise.
28907 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28908 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28909 (bsloww): Likewise.
28910 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28911
6f2e90e7
SP
28912 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28914 MANTISSA_STORE_T to store computations on mantissa. Use
28915 macros for rounding and division.
28916 (denorm): Likewise.
28917 (__dbl_mp): Likewise.
28918 (add_magnitudes): Likewise.
28919 (sub_magnitudes): Likewise.
28920 (__mul): Likewise.
28921 (__sqr): Likewise.
28922 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28923 powers of two in terms of TWOPOW macro.
28924 (mp_no): Make type of mantissa as MANTISSA_T.
28925 [!RADIXI]: Define RADIXI.
28926 [!TWO52]: Define TWO52.
28927 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28928
fce14d4e
AZ
289292013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28930
28931 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28932 llroundl symbol when building for PPC32.
28933
9ad027fb
MW
289342013-03-24 Mark H Weaver <mhw@netris.org>
28935
28936 * manual/arith.texi (Normalization Functions): Fix prototypes for
28937 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28938
e42a38dd
AZ
289392013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28940
28941 [BZ #13889]
28942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28943 high value to check if expl overflow.
28944 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28945 to check for underflow and overflow.
28946 * math/libm-test.inc: Add exp test.
28947
2e0fb521
DL
289482013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28949
28950 [BZ #11120]
28951 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28952 with NOT_IN_libc.
28953
b5784d95
AZ
289542013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28955
28956 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28957 symbol.
28958
5aa4a1a1
TS
289592013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28960
bdef0be7
TS
28961 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28962 wrap blocks consisting of several statements.
28963
5aa4a1a1
TS
28964 * sysdeps/generic/math-tests.h: New file.
28965 * sysdeps/i386/fpu/math-tests.h: Likewise.
28966 * math/test-snan.c: Include it.
28967 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28968
98c48fe5
JM
289692013-03-21 Joseph Myers <joseph@codesourcery.com>
28970
28971 [BZ #15285]
28972 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28973 (__ieee754_j0l): Do not improve calculations using cos of twice
28974 input for inputs above LDBL_MAX / 2.0L.
28975 (__ieee754_y0l): Likewise.
28976 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28977 (__ieee754_j1l): Do not improve calculations using cos of twice
28978 input for inputs above LDBL_MAX / 2.0L.
28979 (__ieee754_y1l): Likewise.
28980 * math/libm-test.inc (j0_test): Add another test.
28981 (j1_test): Likewise.
28982 (y0_test): Likewise.
28983 (y1_test): Likewise.
28984 * sysdeps/i386/fpu/libm-test-ulps: Update.
28985
3775a8bc
SP
289862013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28987
28988 * Rules ($(objpfx)bench-%.c): Include code from a C source
28989 file.
28990
0a1b2ae6
JM
289912013-03-21 Joseph Myers <joseph@codesourcery.com>
28992
28993 [BZ #15287]
28994 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28995 imaginary part 1.0 and real part less than 0.5 specially.
28996 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28997 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28998 * math/libm-test.inc (cacos_test): Add more tests.
28999 (casin_test): Likewise.
29000 (casinh_test): Likewise.
29001 * sysdeps/i386/fpu/libm-test-ulps: Update.
29002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29003
b33d4ce4
SP
290042013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29005
29006 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29007 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29008
bef0b507
JM
290092013-03-20 Joseph Myers <joseph@codesourcery.com>
29010
29011 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29012 * config.make.in (config-cflags-sse4): Remove variable.
29013 (config-cflags-avx): Likewise.
29014 (config-cflags-sse2avx): Likewise.
29015 (config-cflags-novzeroupper): Likewise.
29016 (config-asflags-i686): Likewise.
29017 (have-mfma4): Likewise.
29018 (have-as-vis3): Likewise.
29019 (MIG): Likewise.
29020 * configure.in (MIG): Do not AC_SUBST.
29021 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29022 (libc_cv_cc_sse4): Do not AC_SUBST.
29023 (libc_cv_cc_avx): Likewise.
29024 (libc_cv_cc_sse2avx): Likewise.
29025 (libc_cv_cc_novzeroupper): Likewise.
29026 (libc_cv_cc_fma4): Likewise.
29027 (libc_cv_as_i686): Likewise.
29028 (libc_cv_sparc_as_vis3): Likewise.
29029 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29030 LIBC_CONFIG_VAR.
29031 (config-asflags-i686): Likewise.
29032 (config-cflags-avx): Likewise.
29033 (config-cflags-sse2avx): Likewise.
29034 (have-mfma4): Likewise.
29035 (config-cflags-novzeroupper): Likewise.
29036 * sysdeps/mach/configure.in (MIG): Likewise.
29037 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29038 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29039 LIBC_CONFIG_VAR.
29040 (config-cflags-avx): Likewise.
29041 (config-cflags-sse2avx): Likewise.
29042 (have-mfma4): Likewise.
29043 (config-cflags-novzeroupper): Likewise.
29044 * configure: Regenerated.
29045 * sysdeps/i386/configure: Likewise.
29046 * sysdeps/mach/configure: Likewise.
29047 * sysdeps/sparc/configure: Likewise.
29048 * sysdeps/x86_64/configure: Likewise.
29049
912cc4b3
RM
290502013-03-20 Roland McGrath <roland@hack.frob.com>
29051
29052 [BZ #14812]
29053 * locale/programs/localedef.c (options): Put N_ translation marker
29054 on argument names, not just descriptions.
29055
04eed2b0
MS
290562013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29057
29058 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29059
a065ceff
OB
290602013-03-20 Ondřej Bílka <neleai@seznam.cz>
29061
9bb2a810 29062 [BZ #14176]
a065ceff
OB
29063 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29064
a600e5ce
RM
290652013-03-19 Roland McGrath <roland@hack.frob.com>
29066
29067 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29068 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29069 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29070 [!BEFORE_ABORT] (before_abort): New function.
29071 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29072 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29073 (writev_for_fatal): New function.
29074 (WRITEV_FOR_FATAL): New macro; call that.
29075 (backtrace_and_maps): New function.
29076 (BEFORE_ABORT): New macro; call that.
29077 (struct str_list): Type removed.
29078 (__libc_message, __libc_fatal): Functions removed.
29079 Include <sysdeps/posix/libc_fatal.c> instead.
29080
6b18bea6
JM
290812013-03-19 Joseph Myers <joseph@codesourcery.com>
29082
29083 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29084 constants.
29085 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29086 double constants.
29087
aaa8cb4b
AS
290882013-03-19 Andreas Schwab <schwab@suse.de>
29089
44673770
AS
29090 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29091 * sysdeps/gnu/configure: Regenerate.
29092
aaa8cb4b
AS
29093 * configure.in: Substitute libc_cv_rtlddir.
29094 * configure: Regenerate.
29095 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29096 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29097 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29098 * elf/Makefile (install-others, CFLAGS-interp.c)
29099 (ldso_install, common-ldd-rewrite): Likewise.
29100 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29101 $(inst_slibdir)/$(rtld-installed-name).
29102 * scripts/rellns-sh: Add -p option.
29103 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29104 for source.
29105
d3cfc668
SP
291062013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29107
29108 * manual/nptl.texi: Renamed to ...
29109 * manual/threads.texi: ... this.
29110 * manual/Makefile (chapters): Update.
29111
0e2b9cdd
RM
291122013-03-18 Roland McGrath <roland@hack.frob.com>
29113
29114 [BZ #14812]
29115 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29116 on argument names, not just descriptions.
0e2b9cdd
RM
29117 * malloc/memusagestat.c (options): Likewise.
29118 * nss/getent.c (options): Likewise.
63270c24
RM
29119
291202013-03-18 Benno Schulenberg <bensberg@justemail.net>
29121
29122 [BZ #14812]
29123 * iconv/iconv_prog.c (options): Put N_ translation marker
29124 on argument names, not just descriptions.
29125 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29126
b2e1393c
OB
291272013-03-18 Ondrej Bilka <neleai@seznam.cz>
29128
29129 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29130 implementation which is faster on all x86_64 architectures.
29131 Tested on AMD, Intel Nehalem, SNB, IVB.
29132 * sysdeps/x86_64/strnlen.S: Likewise.
29133
29134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29135 Remove all multiarch strlen and strnlen versions.
29136 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29137 Remove strlen and strnlen related parts.
29138
29139 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29140 Inline strlen part.
29141 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29142
29143 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29144 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29145 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29146 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29147 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29148 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29149
ec4ff04d
CD
291502013-03-17 Carlos O'Donell <carlos@redhat.com>
29151
29152 * manual/memory.texi (Malloc Tunable Parameters):
29153 Sort parameters alphabetically. Add comments for missing entries.
29154
cd18e90a
DM
291552013-03-17 David S. Miller <davem@davemloft.net>
29156
29157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29158
2a185d32
JM
291592013-03-16 Joseph Myers <joseph@codesourcery.com>
29160
d2f9799e
JM
29161 [BZ #15283]
29162 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29163 for arguments at most half maximum finite value.
29164 * math/libm-test.inc (j0_test): Add more tests.
29165 (j1_test): Likewise.
29166 (y0_test): Likewise.
29167 (y1_test): Likewise.
29168 * sysdeps/i386/fpu/libm-test-ulps: Update.
29169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29170
2a185d32
JM
29171 [BZ #14155]
29172 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29173 1 / x and functions P and Q for arguments above 0x1p256L.
29174 (__ieee754_y0l): Likewise.
29175 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29176 (__ieee754_y1l): Likewise.
29177 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29178 (j1_test): Likewise.
29179 (y0_test): Likewise.
29180 (y1_test): Likewise.
29181
6cbec759
TS
291822013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29183
29184 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29185 variable.
29186
bc16e260
RM
291872013-03-15 Roland McGrath <roland@hack.frob.com>
29188
aefc9b8c
RM
29189 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29190 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29191 zero since it's initialized to EXEC_PAGESIZE.
29192
bc16e260
RM
29193 * sysdeps/unix/sysv/linux/ldsodefs.h
29194 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29195 * sysdeps/generic/ldsodefs.h: ... here.
29196
a57da955
TS
291972013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29198
af00a34d
TS
29199 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29200
495ded2c
TS
29201 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29202 math/test-snan.c.
29203 * math/test-snan.c: Renamed from
29204 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29205 * math/Makefile (tests): Add test-snan.
29206 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29207 test-powerpc-snan.
29208
777b0332
TS
29209 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29210 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29211 functions.
29212 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29213 __builtin_nan family of functions.
29214 * math/libm-test.inc (initialize): Initialize qnan_value with
29215 __builtin_nan family of functions.
29216 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29217 Remove variables.
29218 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29219 Remove functions.
29220 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29221 storage class. Initialize qNaN_var and sNaN_var with
29222 __builtin_nan and __builtin_nans families of functions,
29223 respectively.
29224
64d063b8
TS
29225 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29226 (sqrt_test): Remove duplicate test with qNaN input.
29227 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29228 (round_test, signbit_test, significand_test): Note missing +/-Inf
29229 as well as qNaN tests.
29230
67e971f1
TS
29231 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29232 qNaN_var. Fix a few strings, too.
29233 * math/libm-test.inc (nan_value): Rename to qnan_value.
29234 * math/gen-libm-test.pl (%beautify): Adjust to that.
29235 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29236 * math/test-misc.c (main): Likewise.
29237 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29238 to __qnan_bytes, and __qnan_union, respectively.
29239 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29240 Likewise.
29241 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29242 and lqnanval, respectively.
29243 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29244 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29245 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29246 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29247
64487e12
TS
29248 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29249 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29250 doubles.
29251
e015e27b
TS
29252 * math/test-misc.c (main): Fix copy'n'pastos.
29253 * misc/tst-efgcvt.c (special): Likewise.
29254
a57da955
TS
29255 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29256 Remove declarations.
29257
1e380345
SP
292582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29259
29260 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29261 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29262 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29263 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29264
ef26eece
AZ
292652013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29266
29267 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29268 macro to return vdso values correctly in IFUNC implementations.
29269 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29270 Optimization by using IFUNC.
29271
8cfdb7e0
SP
292722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29273 Richard Henderson <rth@redhat.com>
29274 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29275
29276 * Makefile.in (bench): New target.
29277 * NEWS: Mention the benchmark framework.
29278 * Rules (bench): Likewise.
29279 (binaries-bench): Generate binaries for functions to
29280 benchmark.
29281 * benchtests/Makefile: New makefile for benchmark tests.
29282 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29283 programs.
29284 * benchtests/exp-inputs: New input file for EXP function.
29285 * benchtests/pow-inputs: New input file for POW function.
29286 * scripts/bench.pl: New script to generate source files for
29287 benchmark programs.
29288
bcda9880
SP
292892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29290
d22ca8cd
SP
29291 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29293 computations on mantissa. Use macros for rounding and
29294 division.
29295 (denorm): Likewise.
29296 (__dbl_mp): Likewise.
29297 (add_magnitudes): Likewise.
29298 (sub_magnitudes): Likewise.
29299 (__mul): Likewise.
29300 (__sqr): Likewise.
29301 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29302 powers of two in terms of TWOPOW macro.
29303 (mp_no): Make type of mantissa as MANTISSA_T.
29304 [!RADIXI]: Define RADIXI.
29305 [!TWO52]: Define TWO52.
29306 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29307
bcda9880
SP
29308 * manual/nptl.texi (cindex): Modify threads to pthreads.
29309
06d5adfb
JM
293102013-03-15 Joseph Myers <joseph@codesourcery.com>
29311
29312 * sysdeps/x86_64/preconfigure: Regenerated.
29313
41c7328e
JM
293142013-03-14 Joseph Myers <joseph@codesourcery.com>
29315
29316 [BZ #14155]
29317 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29318 0x1p28 and above.
29319 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29320 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29321 0x1p28 and above.
29322 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29323 * math/libm-test.inc (j0_test): Do not allow one spurious
29324 underflow exception.
29325 (y1_test): Likewise.
29326
e25cfa60
SP
293272013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29328
0409959c
SP
29329 * manual/Makefile (chapters): Add nptl.
29330 * manual/debug.texi (Debugging Support): Add link to Threads
29331 chapter.
29332 * manual/nptl.texi: New file.
29333
e25cfa60
SP
29334 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29335
58a1335e
PB
293362013-03-14 Petr Baudis <pasky@ucw.cz>
29337
29338 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29339 for non-NULL pointer before the memory validity test. Pointed
29340 out by Holger Brunck <holger.brunck@keymile.com>.
29341
9dc7c64f
AS
293422013-03-13 Andreas Schwab <schwab@suse.de>
29343
29344 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29345 instead of .os.
29346
54206aa6
JM
293472013-03-13 Joseph Myers <joseph@codesourcery.com>
29348
29349 * timezone/zic.c: Update from tzcode 2013b.
29350
e98cdb38
CD
293512013-03-12 Carlos O'Donell <carlos@redhat.com>
29352
29353 * manual/install.texi (Configuring and compiling):
29354 Mention i686 and i586.
29355 * INSTALL: Regenerate.
29356
9967e003
RM
293572013-03-12 Roland McGrath <roland@hack.frob.com>
29358
29359 * sysdeps/init_array/elf-init.c: New file.
29360 * csu/elf-init.c
29361 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29362 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29363
29364 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29365 __gmon_start__ as global, but as static with a .preinit_array pointer.
29366 * sysdeps/init_array/gmon-start.c: New file. Use that.
29367 * sysdeps/init_array/crti.S: New file, empty except for comments.
29368 * sysdeps/init_array/crtn.S: Likewise.
29369
e6b5a293 293702013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29371
29372 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29373 definining bcopy.
80f844c9
OB
29374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29375 Remove Prefer_SSE_for_memop.
29376 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29377 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29378 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29380 memset-x86-64.
80f844c9 29381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29382 Remove bzero, memset ifunc support.
80f844c9
OB
29383 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29384 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29385 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29386 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29387
fb6b0fcb
AS
293882013-03-11 Andreas Schwab <schwab@suse.de>
29389
29390 [BZ #15234]
29391 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29392 by SHLIB_COMPAT.
29393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29394 (GLIBC_2.16): Remove pthread_atfork.
29395
3e6bd4b1
PP
293962013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29397
29398 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29399 (ptestcases.h): Likewise.
29400
222d7f00
RM
294012013-03-08 Roland McGrath <roland@hack.frob.com>
29402
29403 * Makeconfig ($(common-objpfx)config.status): Depend on
29404 sysdeps/*/preconfigure{,.in} too.
29405
1ba4f030
JM
294062013-03-08 Joseph Myers <joseph@codesourcery.com>
29407
a222d91a
JM
29408 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29409 (__free_hook): Use void * instead of __malloc_ptr_t.
29410 (__malloc_hook): Likewise.
29411 (__realloc_hook): Likewise.
29412 (__memalign_hook): Likewise.
29413 (__after_morecore_hook): Likewise.
29414 * malloc/arena.c (save_malloc_hook): Likewise.
29415 (save_free_hook): Likewise.
29416 * malloc/hooks.c (malloc_hook_ini): Likewise.
29417 (realloc_hook_ini): Likewise.
29418 (memalign_hook_ini): Likewise.
29419 * malloc/malloc.c (malloc_hook_ini): Likewise.
29420 (realloc_hook_ini): Likewise.
29421 (memalign_hook_ini): Likewise.
29422 (__free_hook): Likewise.
29423 (__malloc_hook): Likewise.
29424 (__realloc_hook): Likewise.
29425 (__memalign_hook): Likewise.
29426 (__libc_malloc): Likewise.
29427 (__libc_free): Likewise.
29428 (__libc_realloc): Likewise.
29429 (__libc_memalign): Likewise.
29430 (__libc_valloc): Likewise.
29431 (__libc_pvalloc): Likewise.
29432 (__libc_calloc): Likewise.
29433 (__posix_memalign): Likewise.
29434 * malloc/morecore.c (__sbrk): Likewise.
29435 (__default_morecore): Likewise.
29436
5cc45e10
JM
29437 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29438
dd54b864
JM
29439 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29440 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29441 __malloc_ptrdiff_t.
29442
1ba4f030
JM
29443 * malloc/malloc.h (__malloc_size_t): Remove macro.
29444 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29445 __malloc_size_t.
29446 (old_memalign_hook): Likewise.
29447 (old_realloc_hook): Likewise.
29448 (struct hdr): Likewise.
29449 (flood): Likewise.
29450 (mallochook): Likewise.
29451 (memalignhook): Likewise.
29452 (reallochook): Likewise.
29453 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29454 (tr_old_realloc_hook): Likewise.
29455 (tr_old_memalign_hook): Likewise.
29456 (tr_mallochook): Likewise.
29457 (tr_reallochook): Likewise.
29458 (tr_memalignhook): Likewise.
29459
edf66e57
AZ
294602013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29461
29462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29463 default_ldbl_pack and using as default implementation.
29464 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29465 implementation.
29466 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29467 redundant definition.
29468 (ldbl_insert_mantissa): Likewise.
29469 (ldbl_canonicalize): Likewise.
29470 (ldbl_nearbyint): Likewise.
29471 (ldbl_pack): Rename to ldbl_pack_ppc.
29472 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29473 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29474 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29475
6d9145d8
SP
294762013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29477
29478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29479 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29480 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29481 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29483 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29484 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29485 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29486
4dd4e157
AJ
294872013-03-07 Andreas Jaeger <aj@suse.de>
29488
29489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29490 bits/mman-linux.h.
29491
adbb8027
SP
294922013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29493
ce544b5b
SP
29494 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29495 Include mpa.h and declare __MPEXP.
29496 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29497 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29498 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29499 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29501 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29502 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29503
4cc149fd
SP
29504 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29505 (__slowpow): Use long double EXPL and LOGL functions to
29506 compute POW.
29507 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29508 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29509 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29510 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29511 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29512 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29513
e6ebd4a7
SP
29514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29515 intermediate variable to calculate exponent.
29516 (__sqr): Likewise.
29517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29518 Likewise.
29519 (__sqr): Likewise.
29520
82a9811d
SP
29521 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29522 [!NO__SQR]: Define __sqr.
29523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29524 and NO__SQR. Remove all code except __mul and __sqr. Include
29525 sysdeps/ieee754/dbl-64/mpa.c.
29526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29527
adbb8027
SP
29528 [BZ #12723]
29529 * posix/Makefile (tests): Add tst-pathconf.
29530 * posix/tst-pathconf.c: New test case.
29531 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29532 _PC_PIPE_BUF.
29533 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29534
39120df9
PF
295352013-03-06 Patsy Franklin <pfrankli@redhat.com>
29536
29537 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29538
67525cb8
AJ
295392013-03-06 Andreas Jaeger <aj@suse.de>
29540
664a9ce4
AJ
29541 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29542 definition via __MAP_ANONYMOUS.
29543
8e39047d
AJ
29544 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29545 it's not part of Linux headers.
29546
67525cb8
AJ
29547 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29548 (MAP_HUGE_MASK): Define.
29549
29550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29551 Define.
29552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29553 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29554 Define.
29555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29556 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29557 Define.
29558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29560 Define.
29561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29562
29563 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29564 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29565 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29566 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29567 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29568 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29569
29570 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29571 Handle f2fs.
29572
29573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29574 Handle f2fs and efivarfs.
29575
29576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29577 f2fs.
29578
29579 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29580 (EFIVARFS_MAGIC): Add.
29581 (F2FS_LINK_MAX): Add.
29582
e1b42695
PP
295832013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29584
29585 * stdio-common/vfprintf.c: Replace __builtin_expect with
29586 __glibc_unlikely.
29587
2d67d91a
JM
295882013-03-06 Joseph Myers <joseph@codesourcery.com>
29589
29590 [BZ #13550]
29591 * sysdeps/generic/bp-sym.h: Remove file.
29592 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29593 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29594 <bp-sym.h> and <bp-asm.h>.
29595 (__longjmp): Don't use BP_SYM.
29596 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29597 and <bp-asm.h>.
29598 (memcpy): Don't use BP_SYM.
29599 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29600 <bp-sym.h> and <bp-asm.h>.
29601 (memcpy): Don't use BP_SYM.
29602 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29603 <bp-asm.h>.
29604 (memcpy): Don't use BP_SYM.
29605 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29606 <bp-asm.h>.
29607 (memset): Don't use BP_SYM.
29608 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29609 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29610 (__bzero): Don't use BP_SYM.
29611 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29612 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29613 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29614 <bp-sym.h> and <bp-asm.h>.
29615 (memcmp): Don't use BP_SYM. Remove comment about bounded
29616 pointers.
29617 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29618 <bp-sym.h> and <bp-asm.h>.
29619 (memcpy): Don't use BP_SYM.
29620 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29621 <bp-sym.h> and <bp-asm.h>.
29622 (memset): Don't use BP_SYM.
29623 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29624 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29625 (__bzero): Don't use BP_SYM.
29626 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29627 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29628 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29629 <bp-sym.h> and <bp-asm.h>.
29630 (strncmp): Don't use BP_SYM. Remove comment about bounded
29631 pointers.
29632 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29633 <bp-sym.h> and <bp-asm.h>.
29634 (memcpy): Don't use BP_SYM.
29635 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29636 <bp-sym.h> and <bp-asm.h>.
29637 (memset): Don't use BP_SYM.
29638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29640 (__bzero): Don't use BP_SYM.
29641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29643 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29644 <bp-sym.h> and <bp-asm.h>.
29645 (__memchr): Don't use BP_SYM.
29646 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29647 <bp-sym.h> and <bp-asm.h>.
29648 (memcmp): Don't use BP_SYM. Remove comment about bounded
29649 pointers.
29650 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29651 <bp-sym.h> and <bp-asm.h>.
29652 (memcpy): Don't use BP_SYM.
29653 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29654 <bp-sym.h> and <bp-asm.h>.
29655 (__mempcpy): Don't use BP_SYM.
29656 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29657 <bp-sym.h> and <bp-asm.h>.
29658 (__memrchr): Don't use BP_SYM.
29659 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29660 <bp-sym.h> and <bp-asm.h>.
29661 (memset): Don't use BP_SYM.
29662 (__bzero): Likewise.
29663 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29664 <bp-sym.h> and <bp-asm.h>.
29665 (__rawmemchr): Don't use BP_SYM.
29666 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29667 <bp-sym.h> and <bp-asm.h>.
29668 (__STRCMP): Don't use BP_SYM.
29669 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29670 <bp-sym.h> and <bp-asm.h>.
29671 (strchr): Don't use BP_SYM.
29672 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29673 <bp-sym.h> and <bp-asm.h>.
29674 (__strchrnul): Don't use BP_SYM.
29675 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29676 <bp-sym.h> and <bp-asm.h>.
29677 (strlen): Don't use BP_SYM.
29678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29679 <bp-sym.h> and <bp-asm.h>.
29680 (strncmp): Don't use BP_SYM. Remove comment about bounded
29681 pointers.
29682 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29683 <bp-sym.h> and <bp-asm.h>.
29684 (__strnlen): Don't use BP_SYM.
29685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29686 <bp-sym.h> and <bp-asm.h>.
29687 (__GI__setjmp): Don't use BP_SYM.
29688 (_setjmp): Likewise.
29689 (__sigsetjmp): Likewise.
29690 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29691 (L(start_addresses)): Don't use BP_SYM.
29692 (_start): Likewise.
29693 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29694 <bp-asm.h>.
29695 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29696 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29697 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29698 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29699 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29700 <bp-asm.h>.
29701 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29702 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29703 about bounded pointers.
29704 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29705 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29706 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29707 <bp-asm.h>.
29708 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29709 about bounded pointers. Remove GKM FIXME comments.
29710 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29711 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29712 <bp-asm.h>.
29713 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29714 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29715 Remove GKM FIXME comments.
29716 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29717 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29718 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29719 <bp-asm.h>.
29720 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29721 about bounded pointers. Remove GKM FIXME comment.
29722 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29723 and <bp-asm.h>.
29724 (strncmp): Don't use BP_SYM. Remove comment about bounded
29725 pointers.
29726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29727 <bp-sym.h> and <bp-asm.h>.
29728 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29730 <bp-sym.h> and <bp-asm.h>.
29731 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29732 comment.
29733
cdcf361f
PP
297342013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29735
29736 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29737 call free(NULL).
29738
3c4a2b15
DM
297392013-03-05 David S. Miller <davem@davemloft.net>
29740
29741 * po/es.po: Update from translation team.
29742
cdcf361f 297432013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29744
29745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29746 <bits/mman-linux.h>.
29747 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29748 is fine.
29749 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29750 <bits/mman-linux.h> to end of file.
29751 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29752 is fine.
29753 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29754 <bits/mman-linux.h> to end of file.
29755 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29756 is fine.
29757 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29758 <bits/mman-linux.h> to end of file.
29759
29760 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29761 (MCL_CURRENT, MCL_FUTURE): Define here.
29762
5f67c04f
AK
297632013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29764
8a4473cc 29765 [BZ #15232]
5f67c04f
AK
29766 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29767 attribute_hidden.
29768 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29769
c3e94a95
AK
297702013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29771
29772 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29773 fourth parameter needed for rt_sigprocmask syscall.
29774 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29775 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29776 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29777 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29778 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29779 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29780
cfb6382a
JM
297812013-03-04 Joseph Myers <joseph@codesourcery.com>
29782
29783 [BZ #13550]
29784 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29785 comment about bounded pointers.
29786 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29787 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29788
539d8e01
AJ
297892013-03-04 Andreas Jaeger <aj@suse.de>
29790
29791 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29792 common definitions.
29793
29794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29795 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29796 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29797 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29798 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29799 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29800
2e167a70 298012013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29802
29803 [BZ #15055]
29804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29805 __ieee754_sqrl instead of __sqrl.
29806
68508633
JM
298072013-03-01 Joseph Myers <joseph@codesourcery.com>
29808
29809 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29810 * sysdeps/powerpc/fpu_control.h: ... here.
29811 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29812 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29813 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29814 * sysdeps/powerpc/bits/mathinline.h: ... here.
29815
7775448e
RM
298162013-03-01 Roland McGrath <roland@hack.frob.com>
29817
29818 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29819 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29820 to just [NEED_DL_SYSINFO_DSO].
29821 * elf/dl-support.c: Likewise.
29822 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29823 * elf/rtld.c (dl_main): Likewise.
29824 * elf/setup-vdso.h (setup_vdso): Likewise.
29825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29826 * sysdeps/unix/sysv/linux/dl-sysdep.c
29827 (_dl_discover_osversion): Likewise.
29828
4e9b5995
CD
298292013-03-01 Carlos O'Donell <carlos@redhat.com>
29830
29831 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29832 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29833
e23872c8
SP
298342013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29835
e5c74c63
SP
29836 * NEWS: Mention libm performance improvements and non-x86 PI
29837 futex support.
29838
e23872c8
SP
29839 * csu/libc-start.c (__pthread_initialize_minimal): Change
29840 function arguments.
29841 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29842
b5510883
JM
298432013-02-28 Joseph Myers <joseph@codesourcery.com>
29844
29845 [BZ #13550]
29846 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29847 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29848 <bp-sym.h> and <bp-asm.h>.
29849 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29851 and <bp-asm.h>.
29852 (memcpy): Don't use BP_SYM.
29853 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29854 <bp-asm.h>.
29855 (__mpn_add_n): Don't use BP_SYM.
29856 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29857 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29858 and <bp-asm.h>.
29859 (__mpn_addmul_1): Don't use BP_SYM.
29860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29861 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29862 <bp-sym.h>.
29863 (_setjmp): Don't use BP_SYM.
29864 (__novmx_setjmp): Likewise.
29865 (__GI__setjmp): Likewise.
29866 (__vmx_setjmp): Likewise.
29867 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29868 <bp-sym.h>.
29869 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29870 (__bzero): Don't use BP_SYM.
29871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29873 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29874 <bp-sym.h> and <bp-asm.h>.
29875 (memcpy): Don't use BP_SYM.
29876 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29877 <bp-sym.h> and <bp-asm.h>.
29878 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29880 <bp-sym.h> and <bp-asm.h>.
29881 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29882 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29883 <bp-asm.h>.
29884 (__mpn_lshift): Don't use BP_SYM.
29885 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29886 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29887 <bp-asm.h>.
29888 (memset): Don't use BP_SYM.
29889 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29890 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29891 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29892 <bp-asm.h>.
29893 (__mpn_mul_1): Don't use BP_SYM.
29894 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29895 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29896 <bp-sym.h> and <bp-asm.h>.
29897 (memcmp): Don't use BP_SYM.
29898 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29899 <bp-sym.h> and <bp-asm.h>.
29900 (memcpy): Don't use BP_SYM.
29901 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29902 <bp-sym.h> and <bp-asm.h>.
29903 (memset): Don't use BP_SYM.
29904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29905 <bp-sym.h> and <bp-asm.h>.
29906 (strncmp): Don't use BP_SYM.
29907 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29908 <bp-sym.h> and <bp-asm.h>.
29909 (memcpy): Don't use BP_SYM.
29910 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29911 <bp-sym.h> and <bp-asm.h>.
29912 (memset): Don't use BP_SYM.
29913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29914 <bp-sym.h> and <bp-asm.h>.
29915 (__memchr): Don't use BP_SYM.
29916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29917 <bp-sym.h> and <bp-asm.h>.
29918 (memcmp): Don't use BP_SYM.
29919 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29920 <bp-sym.h> and <bp-asm.h>.
29921 (memcpy): Don't use BP_SYM.
29922 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29923 <bp-sym.h> and <bp-asm.h>.
29924 (__mempcpy): Don't use BP_SYM.
29925 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29926 <bp-sym.h> and <bp-asm.h>.
29927 (__memrchr): Don't use BP_SYM.
29928 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29929 <bp-sym.h> and <bp-asm.h>.
29930 (memset): Don't use BP_SYM.
29931 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29932 <bp-sym.h> and <bp-asm.h>.
29933 (__rawmemchr): Don't use BP_SYM.
29934 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29935 <bp-sym.h> and <bp-asm.h>.
29936 (__STRCMP): Don't use BP_SYM.
29937 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29938 <bp-sym.h> and <bp-asm.h>.
29939 (strchr): Don't use BP_SYM.
29940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29941 <bp-sym.h> and <bp-asm.h>.
29942 (__strchrnul): Don't use BP_SYM.
29943 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29944 <bp-sym.h> and <bp-asm.h>.
29945 (strlen): Don't use BP_SYM.
29946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29947 <bp-sym.h> and <bp-asm.h>.
29948 (strncmp): Don't use BP_SYM.
29949 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29950 <bp-sym.h> and <bp-asm.h>.
29951 (__strnlen): Don't use BP_SYM.
29952 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29953 <bp-asm.h>.
29954 (__mpn_rshift): Don't use BP_SYM.
29955 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29956 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29957 <bp-sym.h> and <bp-asm.h>.
29958 (__sigsetjmp): Don't use BP_SYM.
29959 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29960 (L(start_addresses)): Don't use BP_SYM.
29961 (_start): Likewise.
29962 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29963 <bp-asm.h>.
29964 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29965 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29966 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29967 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29968 <bp-asm.h>.
29969 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29970 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29971 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29972 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29973 <bp-asm.h>.
29974 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29975 comments.
29976 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29977 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29978 <bp-asm.h>.
29979 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29980 FIXME comments.
29981 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29982 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29983 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29984 <bp-asm.h>.
29985 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29986 comment.
29987 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29988 and <bp-asm.h>.
29989 (strncmp): Don't use BP_SYM,
29990 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29991 <bp-asm.h>.
29992 (__mpn_sub_n): Don't use BP_SYM.
29993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29994 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29995 and <bp-asm.h>.
29996 (__mpn_submul_1): Don't use BP_SYM.
29997 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29999 <bp-sym.h> and <bp-asm.h>.
30000 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30002 <bp-sym.h> and <bp-asm.h>.
30003 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30004 comment.
30005
8d19fe64
SP
300062013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30007
30008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30009 Use ZK to minimize writes to Z.
30010 (sub_magnitudes): Simplify code a bit.
30011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30012 Use ZK to minimize writes to Z.
30013 (sub_magnitudes): Simplify code a bit.
30014
85bd816a
RM
300152013-02-27 Roland McGrath <roland@hack.frob.com>
30016
30017 * csu/gmon-start.c: Add special exception to license text.
30018
b5977bf2
RH
300192013-02-27 Richard Henderson <rth@redhat.com>
30020
30021 * scripts/config.guess: Update from config.git.
30022 * scripts/config.sub: Likewise.
30023
11d6e2f2
SP
300242013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30025
09c14ed2
SP
30026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30027
a688864e
SP
30028 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30029
6295157a
SP
30030 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30031
b8de2202
SP
30032 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30033
11d6e2f2
SP
30034 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30035
7e80ddb8
RM
300362013-02-26 Roland McGrath <roland@hack.frob.com>
30037
30038 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30039 [$(build-shared = yes].
7e80ddb8 30040
7da6d9ed
SP
300412013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30042
45f05884
SP
30043 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30044 (__mul): Reduce iterations for calculating mantissa.
30045
2236d359
SP
30046 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30047 MPTWO.
30048 (__mpranred): Likewise.
30049
7da6d9ed
SP
30050 [BZ #15160]
30051 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30052 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30053
b7688c42
PE
300542013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30055
30056 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30057 Define __attribute__.
30058
53a5c423
SP
300592013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30060
30061 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30062 unused.
30063 * posix/regex_internal.h (__attribute): Remove.
30064 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30065 (re_string_context_at): Likewise.
30066 (bitset_not): Use __attribute__ and mark function as possibly
30067 unused.
30068 (bitset_merge): Likewise.
30069 (bitset_mask): Likewise.
30070 (re_string_char_size_at): Likewise.
30071 (re_string_wchar_at): Likewise.
30072 (re_string_elem_size_at): Likewise.
30073
60f5a8b5
SP
300742013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30075
2a983a2e
SP
30076 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30077 code.
30078 (cc32): Likewise.
30079
e69804d1
SP
30080 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30081 (__acr): Likewise.
30082 (__cpy): Likewise.
30083 (norm): Likewise.
30084 (denorm): Likewise.
30085 (__dbl_mp): Likewise.
30086 (add_magnitudes): Likewise.
30087 (sub_magnitudes): Likewise.
30088 (__mul): Likewise.
30089 (__inv): Likewise.
30090
2f22a1e8
SP
30091 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30092 style.
30093
8930ddc7
SP
30094 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30095 style.
30096
dc60cb11
SP
30097 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30098 code.
30099
60f5a8b5
SP
30100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30101 up changes with default code.
30102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30103 Likewise.
30104
b4d1fd33
AM
301052013-02-24 Allan McRae <allan@archlinux.org>
30106
faf6f8bc
AM
30107 * manual/socket.texi (The Internet Namespace): Order menu items
30108 to match that in the file.
30109
b4d1fd33
AM
30110 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30111 node listing of the info page menu.
30112
2366713d
JM
301132013-02-21 Joseph Myers <joseph@codesourcery.com>
30114
30115 [BZ #13550]
30116 * sysdeps/i386/bp-asm.h: Remove file.
30117 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30118 (PARMS): Do not use macros from bp-asm.h.
30119 (S1): Likewise.
30120 (S2): Likewise.
30121 (SIZE): Likewise.
30122 (__mpn_add_n): Do not use BP_SYM
30123 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30124 "bp-asm.h".
30125 (PARMS): Do not use macros from bp-asm.h.
30126 (S1): Likewise.
30127 (SIZE): Likewise.
30128 (__mpn_addmul_1): Do not use BP_SYM
30129 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30130 "bp-asm.h".
30131 (PARMS): Do not use macros from bp-asm.h.
30132 (SIGMSK): Likewise.
30133 (_setjmp): Likewise. Do not use BP_SYM.
30134 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30135 "bp-asm.h".
30136 (PARMS): Do not use macros from bp-asm.h.
30137 (SIGMSK): Likewise.
30138 (setjmp): Likewise. Do not use BP_SYM.
30139 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30140 "bp-asm.h".
30141 (PARMS): Do not use macros from bp-asm.h.
30142 (__frexp): Do not use BP_SYM.
30143 (frexp): Likewise.
30144 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30145 "bp-asm.h".
30146 (PARMS): Do not use macros from bp-asm.h.
30147 (__frexpf): Do not use BP_SYM.
30148 (frexpf): Likewise.
30149 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30150 "bp-asm.h".
30151 (PARMS): Do not use macros from bp-asm.h.
30152 (__frexpl): Do not use BP_SYM.
30153 (frexpl): Likewise.
30154 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30155 "bp-asm.h".
30156 (PARMS): Do not use macros from bp-asm.h.
30157 (__remquo): Do not use BP_SYM.
30158 (remquo): Likewise.
30159 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30160 "bp-asm.h".
30161 (PARMS): Do not use macros from bp-asm.h.
30162 (__remquof): Do not use BP_SYM.
30163 (remquof): Likewise.
30164 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30165 "bp-asm.h".
30166 (PARMS): Do not use macros from bp-asm.h.
30167 (__remquol): Do not use BP_SYM.
30168 (remquol): Likewise.
30169 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30170 "bp-asm.h".
30171 (PARMS): Do not use macros from bp-asm.h.
30172 (DEST): Likewise.
30173 (SRC): Likewise.
30174 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30175 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30176 "bp-asm.h".
30177 (PARMS): Do not use macros from bp-asm.h.
30178 (strlen): Do not use BP_SYM.
30179 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30180 "bp-asm.h".
30181 (PARMS): Do not use macros from bp-asm.h.
30182 (S1): Likewise.
30183 (S2): Likewise.
30184 (SIZE): Likewise.
30185 (__mpn_add_n): Do not use BP_SYM.
30186 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30187 "bp-asm.h".
30188 (PARMS): Do not use macros from bp-asm.h.
30189 (S1): Likewise.
30190 (SIZE): Likewise.
30191 (__mpn_addmul_1): Do not use BP_SYM.
30192 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30193 weak_alias.
30194 (bzero): Likewise.
30195 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30196 "bp-asm.h".
30197 (PARMS): Do not use macros from bp-asm.h.
30198 (S): Likewise.
30199 (SIZE): Likewise.
30200 (__mpn_lshift): Do not use BP_SYM.
30201 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30202 "bp-asm.h".
30203 (PARMS): Do not use macros from bp-asm.h.
30204 (DEST): Likewise.
30205 (SRC): Likewise.
30206 (LEN): Likewise.
30207 (memcpy): Likewise. Do not use BP_SYM.
30208 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30209 libc_hidden_def and weak_alias.
30210 (mempcpy): Do not use BP_SYM in weak_alias.
30211 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30212 "bp-asm.h".
30213 (PARMS): Do not use macros from bp-asm.h.
30214 (DEST): Likewise.
30215 (LEN): Likewise.
30216 [!BZERO_P] (CHR): Likewise.
30217 (memset): Likewise. Do not use BP_SYM.
30218 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30219 "bp-asm.h".
30220 (PARMS): Do not use macros from bp-asm.h.
30221 (S1): Likewise.
30222 (SIZE): Likewise.
30223 (__mpn_mul_1): Do not use BP_SYM.
30224 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30225 "bp-asm.h".
30226 (PARMS): Do not use macros from bp-asm.h.
30227 (S): Likewise.
30228 (SIZE): Likewise.
30229 (__mpn_rshift): Do not use BP_SYM.
30230 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30231 "bp-asm.h".
30232 (PARMS): Do not use macros from bp-asm.h.
30233 (STR): Likewise.
30234 (CHR): Likewise.
30235 (strchr): Likewise. Do not use BP_SYM.
30236 (index): Do not use BP_SYM in weak_alias.
30237 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30238 "bp-asm.h".
30239 (PARMS): Do not use macros from bp-asm.h.
30240 (DEST): Likewise.
30241 (SRC): Likewise.
30242 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30243 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30244 "bp-asm.h".
30245 (PARMS): Do not use macros from bp-asm.h.
30246 (strlen): Do not use BP_SYM.
30247 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30248 "bp-asm.h".
30249 (PARMS): Do not use macros from bp-asm.h.
30250 (S1): Likewise.
30251 (S2): Likewise.
30252 (SIZE): Likewise.
30253 (__mpn_sub_n): Do not use BP_SYM.
30254 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30255 "bp-asm.h".
30256 (PARMS): Do not use macros from bp-asm.h.
30257 (S1): Likewise.
30258 (SIZE): Likewise.
30259 (__mpn_submul_1): Do not use BP_SYM.
30260 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30261 "bp-asm.h".
30262 (PARMS): Do not use macros from bp-asm.h.
30263 (S1): Likewise.
30264 (S2): Likewise.
30265 (SIZE): Likewise.
30266 (__mpn_add_n): Do not use BP_SYM.
30267 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30268 weak_alias.
30269 (bzero): Likewise.
30270 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30271 "bp-asm.h".
30272 (PARMS): Do not use macros from bp-asm.h.
30273 (BLK2): Likewise.
30274 (LEN): Likewise.
30275 (memcmp): Do not use BP_SYM.
30276 (bcmp): Do not use BP_SYM in weak_alias.
30277 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30278 "bp-asm.h".
30279 (PARMS): Do not use macros from bp-asm.h.
30280 (DEST): Likewise.
30281 (SRC): Likewise.
30282 (LEN): Likewise.
30283 (memcpy): Likewise. Do not use BP_SYM.
30284 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30285 "bp-asm.h".
30286 (PARMS): Do not use macros from bp-asm.h.
30287 (DEST): Likewise.
30288 (SRC): Likewise.
30289 (LEN): Likewise.
30290 (memmove): Likewise. Do not use BP_SYM.
30291 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30292 "bp-asm.h".
30293 (PARMS): Do not use macros from bp-asm.h.
30294 (DEST): Likewise.
30295 (SRC): Likewise.
30296 (LEN): Likewise.
30297 (__mempcpy): Likewise. Do not use BP_SYM.
30298 (mempcpy): Do not use BP_SYM in weak_alias.
30299 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30300 "bp-asm.h".
30301 (PARMS): Do not use macros from bp-asm.h.
30302 (DEST): Likewise.
30303 (LEN): Likewise.
30304 [!BZERO_P] (CHR): Likewise.
30305 (memset): Likewise. Do not use BP_SYM.
30306 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30307 "bp-asm.h".
30308 (PARMS): Do not use macros from bp-asm.h.
30309 (STR2): Likewise.
30310 (strcmp): Do not use BP_SYM.
30311 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30312 "bp-asm.h".
30313 (PARMS): Do not use macros from bp-asm.h.
30314 (STR): Likewise.
30315 (DELIM): Likewise.
30316 [USE_AS_STRTOK_R] (SAVE): Likewise.
30317 (FUNCTION): Likewise. Do not use BP_SYM.
30318 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30319 aliases.
30320 (strtok_r): Likewise.
30321 (__GI___strtok_r): Likewise.
30322 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30323 (PARMS): Do not use macros from bp-asm.h.
30324 (S): Likewise.
30325 (SIZE): Likewise.
30326 (__mpn_lshift): Do not use BP_SYM.
30327 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30328 (PARMS): Do not use macros from bp-asm.h.
30329 (STR): Likewise.
30330 (CHR): Likewise.
30331 (__memchr): Do not use BP_SYM.
30332 (memchr): Do not use BP_SYM in weak_alias.
30333 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30334 (PARMS): Do not use macros from bp-asm.h.
30335 (BLK2): Likewise.
30336 (LEN): Likewise.
30337 (memcmp): Do not use BP_SYM.
30338 (bcmp): Do not use BP_SYM in weak_alias.
30339 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30340 (PARMS): Do not use macros from bp-asm.h.
30341 (S1): Likewise.
30342 (SIZE): Likewise.
30343 (__mpn_mul_1): Do not use BP_SYM.
30344 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30345 "bp-asm.h".
30346 (PARMS): Do not use macros from bp-asm.h.
30347 (STR): Likewise.
30348 (CHR): Likewise.
30349 (__rawmemchr): Do not use BP_SYM.
30350 (rawmemchr): Do not use BP_SYM in weak_alias.
30351 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30352 (PARMS): Do not use macros from bp-asm.h.
30353 (S): Likewise.
30354 (SIZE): Likewise.
30355 (__mpn_rshift): Do not use BP_SYM.
30356 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30357 (PARMS): Do not use macros from bp-asm.h.
30358 (SIGMSK): Likewise.
30359 (__sigsetjmp): Likewise. Do not use BP_SYM.
30360 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30361 (_start): Do not use BP_SYM.
30362 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30363 (PARMS): Do not use macros from bp-asm.h.
30364 (DEST): Likewise.
30365 (SRC): Likewise.
30366 (__stpcpy): Likewise. Do not use BP_SYM.
30367 (stpcpy): Do not use BP_SYM in weak_alias.
30368 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30369 "bp-asm.h".
30370 (PARMS): Do not use macros from bp-asm.h.
30371 (DEST): Likewise.
30372 (SRC): Likewise.
30373 (LEN): Likewise.
30374 (__stpncpy): Likewise. Do not use BP_SYM.
30375 (stpncpy): Do not use BP_SYM in weak_alias.
30376 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30377 (PARMS): Do not use macros from bp-asm.h.
30378 (STR): Likewise.
30379 (CHR): Likewise.
30380 (strchr): Likewise. Do not use BP_SYM.
30381 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30382 "bp-asm.h".
30383 (PARMS): Do not use macros from bp-asm.h.
30384 (STR): Likewise.
30385 (CHR): Likewise.
30386 (__strchrnul): Likewise. Do not use BP_SYM.
30387 (strchrnul): Do not use BP_SYM in weak_alias.
30388 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30389 "bp-asm.h".
30390 (PARMS): Do not use macros from bp-asm.h.
30391 (STOP): Likewise.
30392 (strcspn): Do not use BP_SYM.
30393 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30394 "bp-asm.h".
30395 (PARMS): Do not use macros from bp-asm.h.
30396 (STR): Likewise.
30397 (STOP): Likewise.
30398 (strpbrk): Likewise. Do not use BP_SYM.
30399 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30400 "bp-asm.h".
30401 (PARMS): Do not use macros from bp-asm.h.
30402 (STR): Likewise.
30403 (CHR): Likewise.
30404 (strrchr): Likewise. Do not use BP_SYM.
30405 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30406 (PARMS): Do not use macros from bp-asm.h.
30407 (SKIP): Likewise.
30408 (strspn): Do not use BP_SYM.
30409 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30410 (PARMS): Do not use macros from bp-asm.h.
30411 (STR): Likewise.
30412 (DELIM): Likewise.
30413 (SAVE): Likewise.
30414 (FUNCTION): Likewise. Do not use BP_SYM.
30415 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30416 aliases.
30417 (strtok_r): Likewise.
30418 (__GI___strtok_r): Likewise.
30419 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30420 (PARMS): Do not use macros from bp-asm.h.
30421 (S1): Likewise.
30422 (S2): Likewise.
30423 (SIZE): Likewise.
30424 (__mpn_sub_n): Do not use BP_SYM.
30425 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30426 "bp-asm.h".
30427 (PARMS): Do not use macros from bp-asm.h.
30428 (S1): Likewise.
30429 (SIZE): Likewise.
30430 (__mpn_submul_1): Do not use BP_SYM.
30431 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30432 <bp-sym.h>.
30433 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30434 and <bp-asm.h>.
30435 (PARMS): Do not use macros from bp-asm.h.
30436 (FLAGS): Likewise.
30437 (PTID): Likewise.
30438 (TLS): Likewise.
30439 (CTID): Likewise.
30440 (__clone): Do not use BP_SYM.
30441 (clone): Do not use BP_SYM in weak_alias.
30442 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30443 and <bp-asm.h>.
30444 (PARMS): Do not use macros from bp-asm.h.
30445 (LEN): Likewise.
30446 (__mmap64): Do not use BP_SYM.
30447 (mmap64): Do not use BP_SYM in weak_alias.
30448 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30449 <bp-sym.h> and <bp-asm.h>.
30450 (PARMS): Do not use macros from bp-asm.h.
30451 (__posix_fadvise64_l64): Do not use BP_SYM.
30452 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30453 (PARMS): Do not use macros from bp-asm.h.
30454 (NSOPS): Likewise.
30455 (semtimedop): Do not use BP_SYM.
30456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30457 and <bp-asm.h>.
30458
582a3cff
AM
304592013-02-21 Allan McRae <allan@archlinux.org>
30460
30461 * manual/message.texi (Charset conversion in gettext):
30462 Move @end statement to beginning of line.
30463
bab8a695
SP
304642013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30465
80945231
SP
30466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30467 static.
30468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30469 Likewise.
30470
bab8a695
SP
30471 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30472 (denorm): Likewise.
30473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30475
e21d7aa7
AK
304762013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30477
30478 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30479 tail-call to the resolved function if pltexit isn't needed.
30480
4c7a4263
SP
304812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30482
30483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30484 or Y being zero as being unlikely.
30485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30486 Likewise.
30487
41f49342
CD
304882013-02-20 Carlos O'Donell <carlos@redhat.com>
30489
30490 * manual/nss.texi (System Databases and Name Service Switch):
30491 Remove frobnicate @pxref.
30492
50022a93
TS
304932013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30494
30495 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30496 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30497
08cbd996
PM
304982013-02-20 Petr Machata <pmachata@redhat.com>
30499
30500 * elf/elf.h (R_ARM_TARGET1): New macro.
30501 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30502 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30503 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30504 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30505 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30506 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30507 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30508 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30509 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30510 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30511 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30512 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30513 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30514 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30515 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30516 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30517 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30518 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30519 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30520 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30521 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30522 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30523 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30524 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30525 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30526 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30527 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30528 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30529 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30530 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30531 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30532 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30533 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30534 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30535 (R_ARM_THM_GOT_BREL12): Likewise.
30536 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30537 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30538 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30539 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30540 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30541 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30542 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30543 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30544 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30545
c7b275d6
TS
305462013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30547
30548 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30549 __attribute_used__ to __attribute__ ((unused)).
30550
20cd7fb3
SP
305512013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30552
30553 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30554 powerpc mpa.c.
30555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30556 comment formatting.
30557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30558
92945b52
JM
305592013-02-19 Joseph Myers <joseph@codesourcery.com>
30560
30561 [BZ #13550]
30562 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30563 Remove macro.
30564 (ENTER): Remove both macro definitions.
30565 (LEAVE): Likewise.
30566 (CHECK_BOUNDS_LOW): Likewise.
30567 (CHECK_BOUNDS_HIGH): Likewise.
30568 (CHECK_BOUNDS_BOTH): Likewise.
30569 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30570 (RETURN_BOUNDED_POINTER): Likewise.
30571 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30572 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30573 (POP_ERRNO_LOCATION_RETURN): Likewise.
30574 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30575 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30576 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30577 macros.
30578 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30579 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30580 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30581 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30582 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30583 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30584 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30585 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30586 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30587 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30588 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30589 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30590 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30591 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30592 removed macros.
30593 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30594 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30595 macros.
30596 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30597 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30598 * sysdeps/i386/i586/memset.S (memset): Likewise.
30599 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30600 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30601 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30602 macros.
30603 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30604 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30605 Change uses of L(2) to L(out).
30606 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30607 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30608 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30609 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30610 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30611 removed macros.
30612 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30613 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30614 macros.
30615 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30616 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30617 (RETURN): Do not use macro LEAVE.
30618 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30619 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30620 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30621 * sysdeps/i386/i686/memset.S (memset): Likewise.
30622 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30623 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30624 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30625 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30626 Likewise.
30627 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30628 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30629 L(1_2) and L(1_3) into L(1).
30630 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30631 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30632 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30633 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30634 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30635 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30636 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30637 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30638 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30639 macros.
30640 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30641 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30642 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30643 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30644 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30645 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30646 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30647 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30648 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30649 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30650 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30651 * sysdeps/i386/strspn.S (strspn): Likewise.
30652 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30653 conditional code.
30654 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30655 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30656 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30657 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30658 L(1_3) into L(1_1).
30659 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30660 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30661 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30662 macros.
30663 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30664
2389741a
JJ
306652013-02-19 Jakub Jelinek <jakub@redhat.com>
30666
30667 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30668 macro.
30669
2016b3cd
SP
306702013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30671
e4f22324
SP
30672 * math/atest-exp.c (exp_mpn): Remove ROUND.
30673 * math/atest-exp2.c (exp_mpn): Likewise.
30674 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30675
2016b3cd
SP
30676 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30677 * stdlib/tst-tls-atexit-lib.c: Likewise.
30678 * stdlib/tst-tls-atexit.c: Likewise.
30679
4be9b544
MF
306802013-02-18 Mike Frysinger <vapier@gentoo.org>
30681
30682 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30683 and __attribute_alloc_size__.
30684
2f62b9ee
MF
306852013-02-18 Mike Frysinger <vapier@gentoo.org>
30686
30687 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30688 __attribute_alloc_size__.
30689 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30690 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30691
6ff444c4
MF
306922013-02-18 Mike Frysinger <vapier@gentoo.org>
30693
30694 * include/programs/xmalloc.h: New file.
30695 * catgets/gencat.c: Include it.
30696 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30697 * elf/pldd.c: Likewise.
30698 * iconv/iconv_charmap.c: Likewise.
30699 * iconv/iconvconfig.c: Likewise.
30700 * iconv/strtab.c: Likewise.
30701 * locale/programs/locale.c: Likewise.
30702 * locale/programs/localedef.h: Likewise.
30703 * locale/programs/simple-hash.c: Likewise.
30704 * nscd/nscd.h: Likewise.
30705 * nss/makedb.c: Likewise.
30706 * sysdeps/generic/ldconfig.h: Likewise.
30707
be179c8a
SP
307082013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30709
ba384f6e
SP
30710 * Versions.def: Add GLIBC_2.18.
30711 * include/link.h (struct link_map): New member l_tls_dtor_count.
30712 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30713 (__call_tls_dtors): Likewise.
30714 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30715 __cxa_thread_atexit_impl.
30716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30717 Likewise.
30718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30719 Likewise.
30720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30721 Likewise.
30722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30723 Likewise.
30724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30726 Likewise.
30727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30728 Likewise.
30729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30731 Likewise.
30732 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30733 (tests): Add test case tst-tls-atexit.
30734 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30735 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30736 (GLIBC_PRIVATE): Add __call_tls_dtors.
30737 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30738 for libstdc++.
30739 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30740 * stdlib/tst-tls-atexit.c: New test case.
30741 * stdlib/tst-tls-atexit-lib.c: New test case.
30742
ffaa74cf 30743 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30744
be179c8a
SP
30745 * elf/Versions (ld): Add _dl_find_dso_for_object.
30746 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30747 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30748 (dl_open_worker): Use _dl_find_dso_for_object.
30749 * elf/dl-sym.c (do_sym): Likewise.
30750 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30751
f78b5caa
AK
307522013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30753
30754 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30755 Syntactic changes only.
30756 (_dl_runtime_profile): Do a tail-call to the resolved function.
30757
29691210
JM
307582013-02-17 Joseph Myers <joseph@codesourcery.com>
30759
30760 [BZ #13550]
30761 * sysdeps/x86_64/bp-asm.h: Remove file.
30762 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30763 <bp-sym.h> and <bp-asm.h>.
30764 (__clone): Do not use BP_SYM.
30765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30766 <bp-sym.h> and <bp-asm.h>.
30767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30768 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30769 "bp-asm.h".
30770 (_setjmp): Do not use BP_SYM.
30771 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30772 "bp-asm.h".
30773 (setjmp): Do not use BP_SYM.
30774 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30775 libc_hidden_def.
30776 (mempcpy): Do not use BP_SYM in weak_alias.
30777 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30778 "bp-asm.h".
30779 (strchr): Do not use BP_SYM.
30780 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30781 "bp-asm.h".
30782 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30783 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30784 (_start): Do not use BP_SYM.
30785 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30786 "bp-asm.h".
30787 (strcat): Do not use BP_SYM.
30788 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30789 "bp-asm.h".
30790 (STRCMP): Do not use BP_SYM.
30791 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30792 "bp-asm.h".
30793 (STRCPY): Do not use BP_SYM.
30794 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30795 "bp-asm.h".
30796 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30797 "bp-asm.h".
30798 (FUNCTION): Do not use BP_SYM.
30799 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30800 weak_alias.
30801 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30802
f238fd19
AJ
308032013-02-17 Andreas Jaeger <aj@suse.de>
30804
30805 * time/Versions: Sort entries.
30806 * string/Versions: Likewise.
30807 * resolv/Versions: Likewise.
30808 * posix/Versions: Likewise.
30809 * iconv/Versions: Likewise.
30810 * elf/Versions: Likewise.
30811 * wcsmbs/Versions: Likewise.
30812
bd07f23c 308132013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30814
22af19f9
SP
30815 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30816 loop termination condition.
30817
4709fe76
SP
30818 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30819 variable to calculate EZ.
30820 (__sqr): Likewise.
2d0e0f29
SP
30821
30822 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30823 the lower precision input.
30824
daaa7713
JM
308252013-02-15 Joseph Myers <joseph@codesourcery.com>
30826
30827 [BZ #13550]
30828 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30829 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30830 (run-via-rtld-prefix): Do not handle %-bp tests.
30831 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30832 (all-object-suffixes): Remove .ob.
30833 (bppfx): Remove variable.
30834 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30835 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30836 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30837 [$(build-bounded) = yes] (libtype.ob): Likewise.
30838 * Makerules (elide-routines.ob): Remove variable.
30839 (do-tests-clean): Do not handle *-bp.out.
30840 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30841 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30842 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30843 (tests): Do not include $(tests-bp.out).
30844 (xtests): Do not include $(xtests-bp.out).
30845 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30846 [$(build-bounded) = yes] ($(addprefix
30847 $(objpfx),$(binaries-bounded))): Remove rule.
30848 ($(objpfx)%-bp.out): Remove rule.
30849 * config.make.in (build-bounded): Remove variable.
30850 * crypt/Makefile [$(build-bounded) = yes]
30851 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30852 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30853 append to variable.
30854 [$(build-bounded) = yes] (install-lib): Likewise.
30855 [$(build-bounded) = yes] (generated): Likewise.
30856 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30857 Remove rule.
30858 * intl/Makefile [$(build-bounded) = yes]
30859 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30860 * math/Makefile [$(build-bounded) = yes]
30861 ($(tests:%=$(objpfx)%-bp): Likewise.
30862 * misc/Makefile [$(build-bounded) = yes]
30863 ($(objpfx)tst-tsearch-bp): Likewise.
30864 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30865 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30866 Remove dependency.
30867 * string/Makefile (o-objects.ob): Remove variable.
30868 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30869 (CFLAGS-.ob): Remove variable.
30870 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30871 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30872 both definitions of variable.
30873 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30874 (ASFLAGS-.ob): Remove variable.
30875
e97ed6dd
JM
308762013-02-14 Joseph Myers <joseph@codesourcery.com>
30877
2bdd4ca6
JM
30878 [BZ #13550]
30879 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30880 Remove __BOUNDED_POINTERS__ from condition.
30881 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30882 * string/bits/string2.h [!__NO_STRING_INLINES &&
30883 !__BOUNDED_POINTERS__]: Likewise.
30884 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30885 Likewise.
30886 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30887 Remove conditional code.
30888 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30889 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30890 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30891 condition.
30892
e97ed6dd
JM
30893 [BZ #13550]
30894 * csu/libc-start.c: Do not include <bp-sym.h>.
30895 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30896 * elf/dl-open.c: Do not include <bp-sym.h>.
30897 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30898 * math/fegetenv.c: Do not include <bp-sym.h>.
30899 (fegetenv): Do not use BP_SYM in versioned symbols.
30900 * nptl/sysdeps/pthread/bits/libc-lockP.h
30901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30902 <bp-sym.h>.
30903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30904 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30906 (__pthread_mutex_destroy): Likewise.
30907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30908 (__pthread_mutex_lock): Likewise.
30909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30910 (__pthread_mutex_trylock): Likewise.
30911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30912 (__pthread_mutex_unlock): Likewise.
30913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30914 (__pthread_mutexattr_init): Likewise.
30915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30916 (__pthread_mutexattr_destroy): Likewise.
30917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30918 (__pthread_mutexattr_settype): Likewise.
30919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30920 (__pthread_rwlock_init): Likewise.
30921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30922 (__pthread_rwlock_destroy): Likewise.
30923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30924 (__pthread_rwlock_rdlock): Likewise.
30925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30926 (__pthread_rwlock_tryrdlock): Likewise.
30927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30928 (__pthread_rwlock_wrlock): Likewise.
30929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30930 (__pthread_rwlock_trywrlock): Likewise.
30931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30932 (__pthread_rwlock_unlock): Likewise.
30933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30934 (__pthread_key_create): Likewise.
30935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30936 (__pthread_setspecific): Likewise.
30937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30938 (__pthread_getspecific): Likewise.
30939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30940 Likewise.
30941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30942 (_pthread_cleanup_push_defer): Likewise.
30943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30944 (_pthread_cleanup_pop_restore): Likewise.
30945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30946 (pthread_setcancelstate): Likewise.
30947 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30948 <bp-sym.h>.
30949 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30950 (memchr): Do not use BP_SYM in weak_alias.
30951 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30952 (fegetenv): Do not use BP_SYM in versioned symbols.
30953 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30954 (fesetenv): Do not use BP_SYM in versioned symbols.
30955 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30956 (feupdateenv): Do not use BP_SYM in versioned symbols.
30957 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30958 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30959 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30960 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30961 (open64): Do not use BP_SYM in weak_alias.
30962 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30963 (fegetenv): Do not use BP_SYM in versioned symbols.
30964 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30965 (fesetenv): Do not use BP_SYM in versioned symbols.
30966 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30967 (feupdateenv): Do not use BP_SYM in versioned symbols.
30968 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30969 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30970 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30971 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30972 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30973 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30975 <bp-sym.h>.
30976 (__libc_start_main): Do not use BP_SYM.
30977
d6752ccd
SP
309782013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30979
cb57ce60
SP
30980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30981 redundant return line.
30982 (norm): Likewise.
30983 (denorm): Likewise.
30984 (dbl_mp): Likewise.
30985 (sub_magnitudes): Likewise.
30986 (__add): Likewise.
30987 (__sub): Likewise.
30988 (__mul): Likewise.
30989 (__inv): Likewise.
30990 (__dvd): Likewise.
30991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30992 (norm): Likewise.
30993 (denorm): Likewise.
30994 (dbl_mp): Likewise.
30995 (sub_magnitudes): Likewise.
30996 (__add): Likewise.
30997 (__sub): Likewise.
30998 (__mul): Likewise.
30999 (__inv): Likewise.
31000 (__dvd): Likewise.
31001
f414520d
SP
31002 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31003 instead of __mul.
31004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31005 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31006 (cc32): Likewise.
31007
d6752ccd
SP
31008 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31009 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31011 of __mul for squares.
31012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31013 function
31014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31015 Likewise.
31016 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31018
70d9946a
JM
310192013-02-13 Joseph Myers <joseph@codesourcery.com>
31020
31021 [BZ #13550]
31022 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31023 code.
31024 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31025 prototype or function definition. Rename ubp_* variables and
31026 parameters. Remove argv definitions conditional on
31027 [__BOUNDED_POINTERS__].
31028 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31029 * elf/dl-runtime.c (_dl_fixup): Likewise.
31030 * include/set-hooks.h (RUN_HOOK): Likewise.
31031 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31032 definition.
31033 * string/strcpy.c (strcpy): Do not use __unbounded.
31034 * sysdeps/generic/frame.h (struct layout): Likewise.
31035 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31036 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31037 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31038 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31039 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31040 (__backtrace): Likewise.
31041 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31042 use __ptrvalue.
31043 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31044 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31045 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31046 Likewise.
31047 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31048 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31049 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31050 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31051 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31052 Do not use __unbounded.
31053 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31054 Rename __unboundedrlimits parameter to rlimits in prototype.
31055 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31056 Do not use __unbounded.
31057 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31058 not use __ptrvalue.
31059 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31060 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31061 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31062 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31063 __ptrvalue or __unbounded.
31064 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31065 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31066 use __unbounded.
31067 (__new_msgctl): Do not use __ptrvalue.
31068 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31069 __unbounded.
31070 (__libc_msgrcv): Do not use __ptrvalue.
31071 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31072 startup_info): Do not use __unbounded.
31073 (__libc_start_main): Likewise. Rename ubp_* variables and
31074 parameters. Remove argv definitions conditional on
31075 [__BOUNDED_POINTERS__].
31076 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31077 __ptrvalue.
31078 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31079 use __unbounded.
31080 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31081 or __ptrvalue.
31082 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31083 use __unbounded.
31084 (__new_shmctl): Do not use __ptrvalue.
31085 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31086 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31087 Likewise.
31088 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31089 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31090 (__libc_sigaction): Likewise.
31091 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31093 Likewise.
31094 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31095
cc7834d6
OB
310962013-02-13 Ondřej Bílka <neleai@seznam.cz>
31097
ffb1ec7b 31098 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31099
31100 * string/mempcpy.c: Implement by calling memcpy.
31101
bdf02814
SP
311022013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31103
c2af38aa
SP
31104 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31105
4e92d59e
SP
31106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31107 evaluation.
31108
909279a5
SP
31109 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31110 values in the mantissa.
31111
bdf02814
SP
31112 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31113 minimize writes to Z.
31114 (sub_magnitudes): Simplify code a bit.
31115
cd525923
RM
311162013-02-12 Roland McGrath <roland@hack.frob.com>
31117
31118 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31119 from the message. The linker prefixes all warnings with that already.
31120
7e2f0d2d
AS
311212013-02-12 Andreas Schwab <schwab@suse.de>
31122
a445af0b
AS
31123 [BZ #15078]
31124 * posix/regexec.c (extend_buffers): Add parameter min_len.
31125 (check_matching): Pass minimum needed length.
31126 (clean_state_log_if_needed): Likewise.
31127 (get_subexp): Likewise.
31128 * posix/Makefile (tests): Add bug-regex34.
31129 (bug-regex34-ENV): Define.
31130 * posix/bug-regex34.c: New file.
31131
7e2f0d2d
AS
31132 [BZ #11561]
31133 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31134 elements compare against the byte sequence of it, not its name.
31135 * posix/Makefile (tests): Add bug-regex35.
31136 (bug-regex35-ENV): Define.
31137 * posix/bug-regex35.c: New file.
31138
a175b684
TV
311392013-02-11 Tom de Vries <tom@codesourcery.com>
31140
31141 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31142 comment.
31143 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31144 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31145 (CHECK_EOL): Add undef.
31146
310998fe 311472013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31148
31149 * bits/stdlib-bsearch.h: New file.
31150 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31151 * stdlib/stdlib.h: Likewise.
41eda41d 31152
8ded91fb
RM
311532013-02-11 Roland McGrath <roland@hack.frob.com>
31154
31155 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31156 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31157 declaration.
31158 * manual/search.texi (Array Search Function): Add missing const in
31159 lfind prototype.
31160 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31161 declaration to use rlim_t.
31162 (Basic Scheduling Functions): Remove erroneous const from
31163 sched_getparam prototype. Remove erroneous * from
31164 sched_get_priority_max and sched_get_priority_min prototypes.
31165 (Resource Usage): Fix summary @comment on vtimes to refer to
31166 sys/vtimes.h rather than vtimes.h.
31167 Add missing *s in vtimes prototype.
31168 (Limits on Resources): Fix ulimit prototype to return long int.
31169 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31170 prototypes to use long int rather than double.
31171 (BSD Random): Fix initstate and setstate to use char *, not void *.
31172 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31173 prototype to make second argument 'struct aiocb64 *const[]'.
31174 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31175 (Status of AIO Operations): Remove erroneous const in aio_return and
31176 aio_return64 prototypes.
31177 (Synchronizing I/O): Fix sync prototype to return void.
31178 * manual/startup.texi (Suboptions): Remove an erroneous const in
31179 getsubopt prototype.
31180 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31181 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31182 use size_t rather than int.
31183 (Scanning All Users): Likewise for getpwent_r.
31184 (Setting Groups): Add missing const to setgroups prototype.
31185 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31186 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31187 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31188 'const void *' rather than 'const char *'.
31189 (Host Address Functions): Likewise for inet_ntop.
31190 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31191 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31192 ssize_t for return value.
31193 (Sending Data): Likewise for send, sendto, sendmsg.
31194 (Socket Option Functions): Add a missing const in setsockopt prototype.
31195 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31196 use wchar_t for the argument.
31197 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31198 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31199 take no arguments.
31200 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31201 double/float/long double for second argument.
31202 Fix return types of significand, significandf, significandl.
31203 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31204 argument in fchmod prototype.
31205 (File Owner): Use uid_t and gid_t in fchown prototype.
31206 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31207 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31208 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31209 use 'const struct dirent **' as argument types to CMP function pointer
31210 argument.
31211 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31212 (File Times): Fix summary magic @comment for struct utimbuf and utime
31213 to refer to utime.h, not time.h.
31214 * manual/string.texi (Argz Functions): Add missing const in
31215 argz_extract and argz_next prototypes.
31216 (Finding Tokens in a String): Likewise for basename.
31217 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31218 (Copying and Concatenation): Fix typo in wmemmove prototype.
31219 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31220 (Signal Stack): Remove erroneous const in sigstack prototype.
31221 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31222 prototype.
31223 (Simple Calendar Time): Likewise for stime.
31224 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31225 prototype.
31226 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31227 say sys/sysctl.h instead.
31228 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31229 and vsyslog prototypes.
31230
fe77fe6d
TV
312312013-02-11 Tom de Vries <tom@codesourcery.com>
31232
31233 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31234 Remove.
31235
3a09b620
RM
312362013-02-11 Roland McGrath <roland@hack.frob.com>
31237
31238 * misc/sys/mman.h: Fix typo in mremap comment.
31239
550a0b89
RM
312402013-02-08 Roland McGrath <roland@hack.frob.com>
31241
31242 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31243 the '\0' terminator.
31244
a2da1673
JM
312452013-02-08 Joseph Myers <joseph@codesourcery.com>
31246
31247 [BZ #13550]
31248 * debug/segfault.c: Don't include <bp-checks.h>.
31249 * sysdeps/generic/bp-checks.h: Remove file.
31250 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31251 (__GETDENTS): Don't use CHECK_N.
31252 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31253 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31254 (__getgroups): Don't use CHECK_N.
31255 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31256 (setgroups): Don't use CHECK_N.
31257 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31258 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31259 (__libc_msgrcv): Don't use CHECK_N.
31260 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31261 (__libc_msgsnd): Don't use CHECK_N.
31262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31263 <bp-checks.h>.
31264 (__libc_pread): Don't use CHECK_N.
31265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31266 include <bp-checks.h>.
31267 (__libc_pread64): Don't use CHECK_N.
31268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31269 include <bp-checks.h>.
31270 (__libc_pwrite): Don't use CHECK_N.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31272 include <bp-checks.h>.
31273 (__libc_pwrite64): Don't use CHECK_N.
31274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31275 <bp-checks.h>.
31276 (__libc_pread): Don't use CHECK_N.
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31278 include <bp-checks.h>.
31279 (__libc_pread64): Don't use CHECK_N.
31280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31281 include <bp-checks.h>.
31282 (__libc_pwrite): Don't use CHECK_N.
31283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31284 include <bp-checks.h>.
31285 (__libc_pwrite64): Don't use CHECK_N.
31286 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31287 (do_pread): Don't use CHECK_N.
31288 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31289 (do_pread64): Don't use CHECK_N.
31290 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31291 (do_pwrite): Don't use CHECK_N.
31292 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31293 (do_pwrite64): Don't use CHECK_N.
31294 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31295 (__libc_readv): Don't use CHECK_N.
31296 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31297 (semop): Don't use CHECK_N.
31298 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31299 <bp-checks.h>.
31300 (semtimedop): Don't use CHECK_N.
31301 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31302 (__libc_pread): Don't use CHECK_N.
31303 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31304 <bp-checks.h>.
31305 (__libc_pread64): Don't use CHECK_N.
31306 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31307 <bp-checks.h>.
31308 (__libc_pwrite): Don't use CHECK_N.
31309 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31310 <bp-checks.h>.
31311 (__libc_pwrite64): Don't use CHECK_N.
31312 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31313 <bp-checks.h>.
31314 (__libc_msgrcv): Don't use CHECK_N.
31315 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31316 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31317 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31318 (__libc_writev): Don't use CHECK_N.
31319
b84660a8
RM
313202013-02-08 Roland McGrath <roland@hack.frob.com>
31321
7f3e75f8
RM
31322 * string/strcpy.c: Removed unused variable.
31323
b84660a8
RM
31324 * Makeconfig (+sysdep-includes): Define with := rather than =.
31325 Use an existing include/ subdir of each sysdeps dir before it.
31326
471514d3
CD
313272013-02-08 Carlos O'Donell <carlos@redhat.com>
31328
31329 * nscd/connection.c (register_traced_file): Comment function.
31330 [HAVE_INOTIFY] (union __inev): Define.
31331 [HAVE_INOTIFY] (inotify_check_files): New function.
31332 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31333 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31334 clear_db_cache.
31335 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31336
b2d3c3be
CD
313372013-02-08 Carlos O'Donell <carlos@redhat.com>
31338
31339 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31340 loaded if not already and that a failure is permanent.
31341
b39949d2
CD
313422013-02-08 Carlos O'Donell <carlos@redhat.com>
31343
ddacd1db 31344 [BZ #15006]
b39949d2
CD
31345 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31346 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31347
b2c9eff4
JM
313482013-02-08 Joseph Myers <joseph@codesourcery.com>
31349
f3aae3f3
JM
31350 [BZ #13550]
31351 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31352 (CHECK_1_NULL_OK): Likewise.
31353 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31354 (__fxstat): Do not use CHECK_1.
31355 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31356 <bp-checks.h>.
31357 (___fxstat64): Do not use CHECK_1.
31358 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31359 <bp-checks.h>.
31360 (__fxstatat): Do not use CHECK_1.
31361 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31362 <bp-checks.h>.
31363 (__fxstatat64): Do not use CHECK_1.
31364 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31365 <bp-checks.h>.
31366 (__fxstat): Do not use CHECK_1.
31367 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31368 <bp-checks.h>.
31369 (__fxstatat): Do not use CHECK_1.
31370 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31371 <bp-checks.h>.
31372 (__getresgid): Do not use CHECK_1.
31373 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31374 <bp-checks.h>.
31375 (__getresuid): Do not use CHECK_1.
31376 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31377 <bp-checks.h>.
31378 (__lxstat): Do not use CHECK_1.
31379 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31380 <bp-checks.h>.
31381 (__old_msgctl): Do not use CHECK_1.
31382 (__new_msgctl): Likewise.
31383 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31384 <bp-checks.h>.
31385 (__new_setrlimit): Do not use CHECK_1.
31386 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31387 <bp-checks.h>.
31388 (__old_shmctl): Do not use CHECK_1.
31389 (__new_shmctl): Likewise.
31390 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31391 <bp-checks.h>.
31392 (__xstat): Do not use CHECK_1.
31393 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31394 (__lxstat): Do not use CHECK_1.
31395 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31396 <bp-checks.h>.
31397 (___lxstat64): Do not use CHECK_1.
31398 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31399 (__old_msgctl): Do not use CHECK_1.
31400 (__new_msgctl): Likewise.
31401 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31402 <bp-checks.h>.
31403 (__gettimeofday): Do not use CHECK_1.
31404 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31405 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31406 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31407 <bp-checks.h>.
31408 (__gettimeofday): Do not use CHECK_1.
31409 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31410 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31411 (__new_shmctl): Do not use CHECK_1.
31412 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31413 <bp-checks.h>.
31414 (do_sigtimedwait): Do not use CHECK_1.
31415 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31416 <bp-checks.h>.
31417 (do_sigwaitinfo): Do not use CHECK_1.
31418 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31419 <bp-checks.h>.
31420 (msgctl): Do not use CHECK_1.
31421 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31422 <bp-checks.h>.
31423 (shmctl): Do not use CHECK_1.
31424 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31425 (ustat): Do not use CHECK_1.
31426 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31427 <bp-checks.h>.
31428 (__fxstat): Do not use CHECK_1.
31429 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31430 <bp-checks.h>.
31431 (__fxstatat): Do not use CHECK_1.
31432 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31433 <bp-checks.h>.
31434 (__lxstat): Do not use CHECK_1.
31435 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31436 <bp-checks.h>.
31437 (__xstat): Do not use CHECK_1.
31438 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31439 (__xstat): Do not use CHECK_1.
31440 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31441 (___xstat64): Do not use CHECK_1.
31442
b2c9eff4
JM
31443 [BZ #13550]
31444 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31445 definitions.
31446 (CHECK_BOUNDS_HIGH): Likewise.
31447 * string/strcpy.c: Do not include <bp-checks.h>.
31448 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31449
f1d70dad
RM
314502013-02-07 Roland McGrath <roland@hack.frob.com>
31451
31452 * nscd/nscd-client.h (__nscd_drop_map_ref):
31453 Add __attribute__ ((unused)).
31454 * nis/nss-nisplus.h (niserr2nss): Likewise.
31455
31456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31457 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31458
31459 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31460 Remove inline keyword.
31461 * include/rounding-mode.h (round_away): Likewise.
31462 * libio/wfileops.c (adjust_wide_data): Likewise.
31463 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31464 (__m128i_strloadu_tolower): Likewise.
31465 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31466 (__m128i_strloadu_tolower): Likewise.
31467 * time/mktime.c (ydhms_diff): Likewise.
31468 * locale/elem-hash.h (elem_hash): Likewise.
31469 * locale/setlocale.c (setdata): Likewise.
31470 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31471 (re_string_wchar_at): Likewise.
31472 (bitset_not, bitset_merge, bitset_mask): Likewise.
31473 [!(__GNUC__ > 3)] (inline): Remove macro.
31474 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31475 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31476 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31477 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31478 * string/memcmp.c (memcmp_bytes): Likewise.
31479 * locale/programs/locarchive.c (compute_hashval): Likewise.
31480 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31481 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31482 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31483 * nss/getent.c (print_rpc, print_protocols): Likewise.
31484 (print_passwd, print_group, print_aliases): Likewise.
31485 * nis/nss-nisplus.h (niserr2nss): Likewise.
31486 * nscd/connections.c (restart_p): Likewise.
31487 Change return type to bool.
31488
eab55bfb
RM
314892013-02-05 Roland McGrath <roland@hack.frob.com>
31490
7bd642f5
RM
31491 * Makeconfig (all-Depend-files): Add existing
31492 $(sorted-subdirs:=/Depend) files.
31493 (all-subdirs): Remove nss.
31494 * sysdeps/unix/inet/Subdirs: Add it here instead.
31495 * hesiod/Depend: New file.
31496
573c29b2
RM
31497 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31498 instead of calling alloca.
31499
b2e25af0
RM
31500 * io/lseek.c (__lseek): Rename to __libc_lseek.
31501 Define __lseek as an alias.
31502
eab55bfb
RM
31503 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31504
9a0d1941
CD
315052013-02-04 Carlos O'Donell <carlos@redhat.com>
31506
31507 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31508 else clause and remove check for non-standard endianness.
31509
b83bbec4
DM
315102013-02-04 David S. Miller <davem@davemloft.net>
31511
31512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31513
6277fdab
JM
315142013-02-04 Joseph Myers <joseph@codesourcery.com>
31515
31516 [BZ #13550]
31517 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31518 (__ubp_memchr): Remove prototype.
31519 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31520 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31521 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31522 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31523 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31524 Remove alias.
31525 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31526 (__ubp_memchr): Likewise.
31527 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31528 (__ubp_memchr): Likewise.
31529 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31530 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31531 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31532 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31533 CHECK_STRING.
31534 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31535 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31536 (__getcwd): Do not use CHECK_STRING.
31537 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31538 <bp-checks.h>.
31539 (__real_chown): Do not use CHECK_STRING.
31540 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31541 <bp-checks.h>.
31542 (fchownat): Do not use CHECK_STRING.
31543 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31544 CHECK_STRING.
31545 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31546 <bp-checks.h>.
31547 (__lchown): Do not use CHECK_STRING.
31548 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31549 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31550 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31551 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31553 include <bp-checks.h>.
31554 (truncate64): Do not use CHECK_STRING.
31555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31556 <bp-checks.h>.
31557 (__real_chown): Do not use CHECK_STRING.
31558 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31559 <bp-checks.h>.
31560 (__lchown): Do not use CHECK_STRING.
31561 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31562 <bp-checks.h>.
31563 (__chown): Do not use CHECK_STRING.
31564 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31565 <bp-checks.h>.
31566 (truncate64): Do not use CHECK_STRING.
31567 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31568 Likewise.
31569 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31570 (__xmknod): Do not use CHECK_STRING.
31571 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31572 <bp-checks.h>.
31573 (__xmknodat): Do not use CHECK_STRING.
31574 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31575 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31576
903ae060
AS
315772013-02-04 Andreas Schwab <schwab@suse.de>
31578
31579 [BZ #14142]
31580 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31581 * include/netdb.h: Likewise for h_errno.
31582 * elf/tst-stackguard1.c: Include <tls.h>.
31583
542f9466
JK
315842013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31585
31586 * elf/link.h (struct link_map): Extend the l_addr comment.
31587 * include/link.h (struct link_map): Likewise.
31588
e782a927
JM
315892013-02-01 Joseph Myers <joseph@codesourcery.com>
31590
31591 [BZ #13550]
31592 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31593 (BOUNDED_1): Remove macro.
31594 * debug/backtrace.c: Don't include <bp-checks.h>.
31595 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31596 (__backtrace): Likewise.
31597 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31598 <bp-checks.h>.
31599 (__backtrace): Don't use BOUNDED_1.
31600 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31601 <bp-checks.h>.
31602 (__backtrace): Don't use BOUNDED_1.
31603 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31604 (__backtrace): Don't use BOUNDED_1.
31605 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31606 (shmat): Don't use BOUNDED_N.
31607
8cf28c5e
JM
316082013-01-31 Joseph Myers <joseph@codesourcery.com>
31609
3a7ac8a0
JM
31610 [BZ #13550]
31611 * sysdeps/generic/bp-start.h: Remove file.
31612 * csu/libc-start.c: Don't include <bp-start.h>.
31613 (LIBC_START_MAIN): Set up __environ directly instead of using
31614 INIT_ARGV_and_ENVIRON.
31615 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31616 <bp-start.h>.
31617
f3499f95
JM
31618 [BZ #13550]
31619 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31620 definitions.
31621 (CHECK_FCNTL): Likewise.
31622 (CHECK_N_PAGES): Likewise.
31623
32a45bea
JM
31624 [BZ #13550]
31625 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31626 definitions.
31627 (CHECK_SIGSET_NULL_OK): Likewise.
31628 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31629 <bp-checks.h>.
31630 (sigpending): Don't use CHECK_SIGSET.
31631 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31632 <bp-checks.h>.
31633 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31634 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31635 <bp-checks.h>.
31636 (do_sigsuspend): Don't use CHECK_SIGSET.
31637 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31638 use CHECK_SIGSET.
31639 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31640 (do_sigwait): Don't use CHECK_SIGSET.
31641 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31642 use CHECK_SIGSET.
31643 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31644 include <bp-checks.h>.
31645 (sigpending): Don't use CHECK_SIGSET.
31646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31647 include <bp-checks.h>.
31648 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31649 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31650 <bp-checks.h>.
31651 (sigpending): Don't use CHECK_SIGSET.
31652 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31653 <bp-checks.h>.
31654 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31655
2e8a5c8c
JM
31656 [BZ #13550]
31657 * sysdeps/generic/bp-semctl.h: Remove file.
31658 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31659 <bp-checks.h> and <bp-semctl.h>.
31660 (__old_semctl): Don't use CHECK_SEMCTL.
31661 (__new_semctl): Likewise.
31662 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31663 and <bp-semctl.h>.
31664 (__old_semctl): Don't use CHECK_SEMCTL.
31665 (__new_semctl): Likewise.
31666 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31667 <bp-checks.h> and <bp-semctl.h>.
31668 (__old_semctl): Don't use CHECK_SEMCTL.
31669 (__new_semctl): Likewise.
31670 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31671 <bp-checks.h> and <bp-semctl.h>.
31672 (semctl): Don't use CHECK_SEMCTL.
31673
c2d54929
JM
31674 [BZ #13550]
31675 * Makerules (elide-bp-thunks): Remove variable.
31676 (elide-routines.oS): Don't use $(elide-bp-thunks).
31677 (elide-routines.os): Likewise.
31678 (elide-routines.o): Likewise.
31679 (elide-routines.op): Likewise.
31680 (elide-routines.og): Likewise.
31681 (objects): Don't use $(bp-thunks).
31682 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31683 include.
31684 (common-generated): Do not add s-proto-bp.d.
31685 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31686 (int): Likewise.
31687 (typ): Likewise.
31688 Do not generate makefile rules for bounded-pointer thunks.
31689 * sysdeps/generic/bp-thunks.h: Remove file.
31690 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31691 * sysdeps/unix/s-proto-bp.S: Likewise.
31692
8cf28c5e
JM
31693 [BZ #15062]
31694 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31695 parts of result separately when argument is not close to line from
31696 -i to i and one part of argument is small.
31697 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31698 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31699 * math/libm-test.inc (cacos_test): Add more tests.
31700 (casin_test): Likewise.
31701 (casinh_test): Likewise.
31702 * sysdeps/i386/fpu/libm-test-ulps: Update.
31703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31704
c4e33b8d
DM
317052013-01-31 David S. Miller <davem@davemloft.net>
31706
31707 * po/de.po: Update from translation team.
31708
3b60b421
MK
317092013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31710
31711 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31712
bb931195
TS
317132013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31714
b5a5da23
TS
31715 * configure.in (_AC_PROG_CC_C89): New definition.
31716 * configure: Regenerate.
31717
bb931195
TS
31718 * configure.in (AC_PROG_CPP): New definition.
31719 * configure: Regenerate.
31720
8c53a12c
JM
317212013-01-23 Joseph Myers <joseph@codesourcery.com>
31722
31723 * debug/tst-backtrace.h: New file.
31724 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31725 (ret): Remove variable.
31726 (x): Likewise.
31727 (FAIL): Remove macro.
31728 (NO_INLINE): Likewise.
31729 (fn1): Use match function instead of strstr.
31730 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31731 (ret): Remove variable.
31732 (x): Likewise.
31733 (FAIL): Remove macro.
31734 (NO_INLINE): Likewise.
31735 (fn): Use match function instead of strstr.
31736 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31737 (ret): Remove variable.
31738 (x): Likewise.
31739 (FAIL): Remove macro.
31740 (NO_INLINE): Likewise.
31741 (handle_signal): Use match function instead of strstr.
31742 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31743 (ret): Remove variable.
31744 (x): Likewise.
31745 (FAIL): Remove macro.
31746 (NO_INLINE): Likewise.
31747 (handle_signal): Use match function instead of strstr.
31748
4858fa2a
RM
317492013-01-23 Roland McGrath <roland@hack.frob.com>
31750
31751 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31752
bae8e7f5
DM
317532013-01-23 David S. Miller <davem@davemloft.net>
31754
31755 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31756 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31757 argument of CAS if possible.
31758 * sysdeps/sparc/sparc64/bits/atomic.h
31759 (__arch_compare_and_exchange_val_32_acq): Likewise.
31760 (__arch_compare_and_exchange_val_64_acq): Likewise.
31761
9cbbc4ae
PT
317622013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31763
31764 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31765 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31766 Include <limits.h>.
67b3f58c 31767 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31768
5655a0b5
AC
317692013-01-23 Adam Conrad <adconrad@0c3.net>
31770
31771 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31772 (LDFLAGS-tst-array5): Likewise.
31773
052aff95
JM
317742013-01-23 Joseph Myers <joseph@codesourcery.com>
31775
31776 [BZ #15036]
31777 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31778 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31779 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31780 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31781
7c1e01aa
DM
317822013-01-21 David S. Miller <davem@davemloft.net>
31783
31784 * sysdeps/sparc/backtrace.c: New file.
31785 * sysdeps/sparc/sparc32/backtrace.h: New file.
31786 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31787 * sysdeps/sparc/sparc64/backtrace.h: New file.
31788 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31789 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31790 -funwind-tables.
31791
ab087e0a
AS
317922013-01-21 Andreas Schwab <schwab@suse.de>
31793
31794 [BZ #15020]
31795 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31796 closed its stdout.
31797
ed689c2f
AS
317982013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31799
31800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31801 "mpa2.h".
31802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31803
31d470ac
JM
318042013-01-18 Joseph Myers <joseph@codesourcery.com>
31805 Mark Mitchell <mark@codesourcery.com>
31806 Tom de Vries <tom@codesourcery.com>
31807 Paul Pluzhnikov <ppluzhnikov@google.com>
31808
31809 * debug/tst-backtrace2.c: New file.
31810 * debug/tst-backtrace3.c: Likewise.
31811 * debug/tst-backtrace4.c: Likewise.
31812 * debug/tst-backtrace5.c: Likewise.
31813 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31814 (CFLAGS-tst-backtrace3.c): Likewise.
31815 (CFLAGS-tst-backtrace4.c): Likewise.
31816 (CFLAGS-tst-backtrace5.c): Likewise.
31817 (LDFLAGS-tst-backtrace2): Likewise.
31818 (LDFLAGS-tst-backtrace3): Likewise.
31819 (LDFLAGS-tst-backtrace4): Likewise.
31820 (LDFLAGS-tst-backtrace5): Likewise.
31821 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31822 tst-backtrace4 and tst-backtrace5.
31823
90567f30 318242013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31825 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31826
31827 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31828 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31829 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31830 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31832 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31833 "+r" and remove output regs list as redundant. Add explicit inline
31834 asm to specify register of return val to work around compiler codegen
31835 bug. Remove (int) cast on return value. Add return type parameter to
31836 use in macro so that this macro does not truncate return value for
31837 64-bit values.
31838 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31839 pass to INTERNAL_VSYSCALL_NCS.
31840 (INLINE_VSYSCALL): Add 'long int' as return type to
31841 INTERNAL_VSYSCALL_NCS macro invocation.
31842 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31843 INTERNAL_VSYSCALL_NCS macro invocation.
31844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31845
d3b9ea61
SP
318462013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31847
0b57daeb
SP
31848 [BZ #14496]
31849 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31850 Fix application of SIMD FP exception mask.
31851
caa99d06
SP
31852 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31853 mp_no from a power of two.
31854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31855 __mpexp_twomm1. Use __pow_mp.
31856
d3b9ea61
SP
31857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31858 multiplication.
31859
1dbaee3c
DM
318602013-01-17 David S. Miller <davem@davemloft.net>
31861
31862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31863
728d7b43
JM
318642013-01-17 Joseph Myers <joseph@codesourcery.com>
31865
31866 [BZ #15023]
31867 * include/complex.h: Condition contents on [!_COMPLEX_H].
31868 (__kernel_casinhf): New prototype.
31869 (__kernel_casinh): Likewise.
31870 (__kernel_casinhl): Likewise.
31871 * math/Makefile (libm_calls): Add k_casinh.
31872 * math/k_casinh.c: New file.
31873 * math/k_casinhf.c: Likewise.
31874 * math/k_casinhl.c: Likewise.
31875 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31876 finite nonzero arguments.
31877 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31878 finite nonzero arguments.
31879 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31880 finite nonzero arguments.
31881 * math/s_casinh.c: Do not include <float.h>.
31882 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31883 * math/s_casinhf.c: Do not include <float.h>.
31884 (__casinhf): Move code for finite nonzero arguments to
31885 k_casinhf.c.
31886 * math/s_casinhl.c: Do not include <float.h>.
31887 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31888 redefine.
31889 (__casinhl): Move code for finite nonzero arguments to
31890 k_casinhl.c.
31891 * math/libm-test.inc (cacos_test): Add more tests.
31892 * sysdeps/i386/fpu/libm-test-ulps: Update.
31893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31894
2a26ef3a
PT
318952013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31896
31897 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31898 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31899 [!HAVE_MREMAP]: Remove [defined linux] case.
31900 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31901
a897655d
SP
319022013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31903
31904 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31905
881ebe89 319062013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31907
31908 * elf/elf.h (R_386_SIZE32): New relocation.
31909 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31910 R_386_SIZE32.
31911 (elf_machine_rela): Likewise.
31912 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31913 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31914
59981e9b
JM
319152013-01-17 Joseph Myers <joseph@codesourcery.com>
31916
31917 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31918 (FP_FAST_FMA): Do not define.
31919 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31920 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31921 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31922 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31923 !_SOFT_FLOAT]: Likewise.
31924 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31925 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31926 value.
31927 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31928 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31929 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31930 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31931 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31932 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31933 file.
31934
cfa8054f
AS
319352013-01-16 Andreas Schwab <schwab@suse.de>
31936
31937 [BZ #14327]
31938 * include/stdlib.h (__mktemp): Add declaration.
31939 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31940 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31941
dd930cc5
SP
319422013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31943
881ebe89
SP
31944 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31945 definitions.
31946 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31947 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31948 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31949 definitions here.
31950 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31951 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31952 definitions.
31953 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31954 and ONE.
31955 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31956 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31958 definitions.
31959 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31960 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31961 definitions.
31962 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31963
dd930cc5
SP
31964 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31965
c19a9f89
DM
319662013-01-15 David S. Miller <davem@davemloft.net>
31967
1aa61767
DM
31968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31969 trunc{,f} to libm-sysdep_routes.
31970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31972 file.
31973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31975 file.
31976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31977 file.
31978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31980 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31981 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31982 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31983 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31984 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31985 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31986
c42d5e98
DM
31987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31988 nearbyint{,f} to libm-sysdep_routes.
31989 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31991 New file.
31992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31993 file.
31994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31995 New file.
31996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31997 file.
31998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32001 file.
32002 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32003 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32004 file.
32005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32006 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32007 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32008
c19a9f89
DM
32009 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32010 libc_feholdexcept and libc_fesetenv.
32011
357679d2
MF
320122013-01-15 Mike Frysinger <vapier@gentoo.org>
32013
32014 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32015
65a82e3d
DM
320162013-01-14 David S. Miller <davem@davemloft.net>
32017
8b954ab9
DM
32018 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32019 (SPARC_ASM_VIS2_IFUNC): Likewise.
32020 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32022 use of 'siam' instruction.
32023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32024 Likewise.
32025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32026 Likewise.
32027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32028 Likewise.
32029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32034 file.
32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32036 file.
32037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32038 file.
32039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32040 file.
32041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32046 new VIS2 routines.
32047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32050 Likewise.
32051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32056 routines to libm-sysdep_routines.
32057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32058
65a82e3d
DM
32059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32060 fdim/fdimf to libm-sysdep_routines.
32061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32062 file.
32063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32065 file.
32066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32069 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32070 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32071 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32072 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32073
e34ab705
SP
320742013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32075
2a91b573
SP
32076 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32077 to optimize copies.
32078
1066a534
SP
32079 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32082
e34ab705
SP
32083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32084 local variable MPTWO.
32085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32086 Likewise.
32087
aba5e596
MF
320882013-01-13 Mike Frysinger <vapier@gentoo.org>
32089
32090 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32091 GLOB_NOESCAPE.
32092
e557e9e5
MF
320932013-01-13 Mike Frysinger <vapier@gentoo.org>
32094
32095 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32096
0428cec9
MF
320972013-01-13 Mike Frysinger <vapier@gentoo.org>
32098
32099 * manual/pattern.texi (glob_t): Document gl_flags.
32100 (glob64_t): Likewise.
32101
8794a964
DM
321022013-01-11 David S. Miller <davem@davemloft.net>
32103
66438c3f
RM
32104 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32105 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32106 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32107 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32108 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32109 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32110 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32111 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32112 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32113 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32114 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32115 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32116 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32117
4ae4244d
DM
32118 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32119 sparc V9 rather than using V8 code.
32120 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32121 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32122
8794a964
DM
32123 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32124 Move to...
32125 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32126 Here.
32127
6270516e
RM
321282013-01-11 Roland McGrath <roland@hack.frob.com>
32129
32130 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32131 not in the main loop.
32132 * configure: Regenerated.
32133
6a57d931
JM
321342013-01-11 Joseph Myers <joseph@codesourcery.com>
32135
32136 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32137 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32138 to just #else.
32139 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32140 [!__GLIBC_HAVE_LONG_LONG] case.
32141 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32142 condition to just #else.
32143 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32144 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32145 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32146 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32147 unconditional.
32148 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32149 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32150 #elif condition to just #else.
32151 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32152 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32153 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32154 #elif condition to just #else.
32155
0e8529e9
SE
321562013-01-11 Steve Ellcey <sellcey@mips.com>
32157
32158 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32159 (EF_MIPS_ARCH_64): Fix value.
32160 (EF_MIPS_ARCH_32R2): New.
32161 (EF_MIPS_ARCH_64R2): New.
32162
740b3dbe
L
321632013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32164
32165 * Makeconfig (+link-pie-before-libc): New.
32166 (+link-pie-after-libc): Likewise.
32167 (+link-pie-tests): Likewise.
32168 (+link-pie): Rewritten.
32169 (link-before-libc): Remove $(config-LDFLAGS).
32170 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32171 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32172 (config-LDFLAGS): Renamed to ...
32173 (rtld-LDFLAGS): This.
32174 (rtld-tests-LDFLAGS): New macro.
32175 (link-libc-rpath-link): Likewise.
32176 (link-libc-tests-rpath-link): Likewise.
32177 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32178 (link-libc): Prepand $(link-libc-rpath-link).
32179 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32180 (test-program-prefix): New macro.
32181 (test-via-rtld-prefix): Likewise.
32182 (test-program-cmd): Likewise.
32183 (host-test-program-cmd): Likewise.
32184 * Makefile ($(common-objpfx)testrun.sh): Replace
32185 $(run-program-prefix) with $(test-program-prefix).
32186 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32187 $(rtld-LDFLAGS).
32188 ($(common-objpfx)shlib.lds): Likewise.
32189 (build-module-helper): Likewise.
32190 ($(common-objpfx)format.lds): Likewise.
32191 * Rules (binaries-pie-tests): New.
32192 (binaries-pie-notests): Likewise.
32193 (binaries-pie): Rewritten.
32194 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32195 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32196 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32197 (make-test-out): Replace $(host-built-program-cmd) with
32198 $(host-test-program-cmd).
32199 * config.make.in (build-hardcoded-path-in-tests): New variable.
32200 * configure.in (--enable-hardcoded-path-in-tests): New configure
32201 option.
32202 (hardcoded_path_in_tests): New AC_SUBST.
32203 * configure: Regenerated.
32204 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32205 $(built-program-cmd) with $(test-program-cmd).
32206 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32207 (test_program_cmd): This.
32208 * elf/Makefile ($(objpfx)order.out): Run test with
32209 $(test-program-prefix).
32210 ($(objpfx)order2.out): Likewise.
32211 ($(objpfx)tst-initorder.out): Likewise.
32212 ($(objpfx)tst-initorder2.out): Likewise.
32213 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32214 $(test-program-cmd).
32215 ($(objpfx)tst-array1-static.out): Likewise.
32216 ($(objpfx)tst-array2.out): Likewise.
32217 ($(objpfx)tst-array3.out): Likewise.
32218 ($(objpfx)tst-array4.out): Likewise.
32219 ($(objpfx)tst-array5.out): Likewise.
32220 ($(objpfx)tst-array5-static.out): Likewise.
32221 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32222 $(test-program-cmd).
32223 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32224 $(run-program-prefix) with $(test-program-prefix).
32225 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32226 (test_program_prefix): This.
32227 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32228 $(run-program-prefix) with $(test-program-prefix).
32229 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32230 (test_program_prefix): This.
32231 * iconvdata/tst-tables.sh: Likewise.
32232 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32233 $(run-program-prefix) with $(test-program-prefix).
32234 ($(objpfx)tst-translit.out): Likewise.
32235 ($(objpfx)tst-gettext2.out): Likewise.
32236 ($(objpfx)tst-gettext4.out): Likewise.
32237 ($(objpfx)tst-gettext6.out): Likewise.
32238 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32239 (test_program_prefix): This.
32240 * intl/tst-gettext2.sh: Likewise.
32241 * intl/tst-gettext4.sh Likewise.
32242 * intl/tst-gettext6.sh: Likewise.
32243 * intl/tst-translit.sh: Likewise.
32244 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32245 with $(test-program-cmd).
32246 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32247 $(run-program-prefix) with $(test-program-prefix).
32248 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32249 (test_program_prefix): This.
32250 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32251 $(run-program-prefix) with $(test-program-prefix).
32252 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32253 (test_program_prefix): This.
32254 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32255 * posix/Makefile ($(objpfx)globtest.out): Replace
32256 $(run-via-rtld-prefix) and $(test-wrapper) with
32257 $(test-program-prefix) and $(test-via-rtld-prefix).
32258 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32259 $(test-program-prefix).
32260 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32261 $(host-test-program-cmd).
32262 (tst-spawn-ARGS): Likewise.
32263 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32264 $(test-program-prefix).
32265 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32266 (test_via_rtld_prefix): This.
32267 (test_wrapper): Renamed to ...
32268 (test_program_prefix): This.
32269 (run_program_prefix): Replaced by test_program_prefix.
32270 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32271 (test_program_prefix): This.
32272 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32273 with $(host-test-program-cmd).
32274 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32275 $(run-program-prefix) with $(test-program-prefix).
32276 ($(objpfx)tst-printf.out): Likewise.
32277 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32278 $(test-program-cmd).
32279 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32280 (test_program_prefix): This.
32281 * stdio-common/tst-unbputc.sh: Likewise.
32282 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32283 $(run-program-prefix) with $(test-program-prefix).
32284 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32285 (test_program_prefix): This.
32286 * string/Makefile ($(objpfx)tst-svc.out): Replace
32287 $(built-program-cmd) with $(test-program-cmd).
32288
c6fe55cf
AJ
322892013-01-11 Andreas Jaeger <aj@suse.de>
32290
32291 [BZ #15003]
32292 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32293 value. Sync with Linux 3.7.
32294
9e6919c8
DM
322952013-01-10 David S. Miller <davem@davemloft.net>
32296
32297 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32298 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32299 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32300
1c9f1a02
RM
323012013-01-10 Roland McGrath <roland@hack.frob.com>
32302
32303 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32304 never set.
32305 * configure: Regenerated.
32306
b9de2dde
DM
323072013-01-10 David S. Miller <davem@davemloft.net>
32308
32309 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32310 sparc V9 rather than using V8 code.
32311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32313
e7f68ef4
RM
323142013-01-10 Roland McGrath <roland@hack.frob.com>
32315
32316 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32317 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32318 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32319 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32320 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32321 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32322 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32323 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32324 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32325 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32326 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32327 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32328 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32329 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32330 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32331 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32332 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32333 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32334 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32335 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32336 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32337 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32338 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32339 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32340 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32341 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32342 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32343
5a47cc9c
DM
323442013-01-10 David S. Miller <davem@davemloft.net>
32345
32346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32347
4cf8f209
L
323482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32349
32350 * posix/Makefile (tests-static): New variable.
32351 (tests): Add $(tests-static).
32352 (tst-exec-static-ARGS): New variable.
32353 (tst-spawn-static-ARGS): Likewise.
32354 * posix/tst-exec-static.c: New file.
32355 * posix/tst-spawn-static.c: Likewise.
32356 * posix/tst-exec.c: Support run directly.
32357 * posix/tst-spawn.c: Likewise.
32358
fed0faa1
JM
323592013-01-10 Joseph Myers <joseph@codesourcery.com>
32360
828beb13
JM
32361 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32362 long.
32363 * math/bits/mathcalls.h (llrint): Likewise.
32364 (llround): Likewise.
32365 * stdlib/stdlib.h (struct drand48_data): Likewise.
32366 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32367 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32368 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32369 Likewise.
32370 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32371 Likewise.
32372 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32373 (elf_greg_t): Likewise.
32374 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32375 (__jmp_buf): Likewise.
32376 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32377 definitions.
32378 (llrint): Likewise, for all definitions.
32379 (llrintl): Likewise.
32380
fed0faa1
JM
32381 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32382 Remove [__GNUC__] condition.
32383 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32384 condition to just [__USE_ISOC99].
32385 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32386
1a20cb20
L
323872013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32388
32389 [BZ #14200]
32390 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32391 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32392 defined.
32393 (_POSIX_V6_ILP32_OFF32): Likewise.
32394 (_XBS5_ILP32_OFF32): Likewise.
32395 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32396 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32397
751b85f7
SP
323982013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32399
7490eb81
SP
32400 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32401
751b85f7
SP
32402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32403 doubles __mpexp_twomm1. Adjust usage.
32404 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32405 Remove.
32406
988197f0
AS
324072013-01-10 Andreas Schwab <schwab@suse.de>
32408
32409 [BZ #14964]
32410 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32411 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32412
e83d7298
DM
324132013-01-09 David S. Miller <davem@davemloft.net>
32414
034ed64b 32415 [BZ #15003]
57f41c40
AS
32416 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32417 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32418 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32419 (TCP_FASTOPEN): Define.
e83d7298
DM
32420 (tcp_repair_opt): New structure.
32421 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32422 enum values.
57f41c40
AS
32423 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32424 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32425 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32426 (tcp_cookie_transactions): New structure.
32427
d5e0b9bd
AB
324282013-01-09 Anton Blanchard <anton@samba.org>
32429
32430 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32431 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32433 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32434
0c07e3ea
JM
324352013-01-09 Joseph Myers <joseph@codesourcery.com>
32436
32437 * include/features.h (__USE_ANSI): Remove.
32438
232f7002
RM
324392013-01-09 Roland McGrath <roland@hack.frob.com>
32440
ad98e30c
RM
32441 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32442
232f7002
RM
32443 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32444
950c99ca
SP
324452013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32446
b5792741
SP
32447 * sysdeps/s390/fpu/libm-test-ulps: Update.
32448
47cf2278
SP
32449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32450
950c99ca
SP
32451 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32452 (__acr): Likewise.
32453 (__cpy): Likewise.
32454 (norm): Likewise.
32455 (denorm): Likewise.
32456 (__mp_dbl): Likewise.
32457 (__dbl_mp): Likewise.
32458 (add_magnitudes): Likewise.
32459 (sub_magnitudes): Likewise.
32460 (__add): Likewise.
32461 (__sub): Likewise.
32462 (__mul): Likewise.
32463 (__inv): Likewise.
32464 (__dvd): Likewise.
32465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32466 (__acr): Likewise.
32467 (__cpy): Likewise.
32468 (norm): Likewise.
32469 (denorm): Likewise.
32470 (__mp_dbl): Likewise.
32471 (__dbl_mp): Likewise.
32472 (add_magnitudes): Likewise.
32473 (sub_magnitudes): Likewise.
32474 (__add): Likewise.
32475 (__sub): Likewise.
32476 (__mul): Likewise.
32477 (__inv): Likewise.
32478 (__dvd): Likewise.
32479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32480 (__acr): Likewise.
32481 (__cpy): Likewise.
32482 (norm): Likewise.
32483 (denorm): Likewise.
32484 (__mp_dbl): Likewise.
32485 (__dbl_mp): Likewise.
32486 (add_magnitudes): Likewise.
32487 (sub_magnitudes): Likewise.
32488 (__add): Likewise.
32489 (__sub): Likewise.
32490 (__mul): Likewise.
32491 (__inv): Likewise.
32492 (__dvd): Likewise.
32493
eede9df9
JM
324942013-01-08 Joseph Myers <joseph@codesourcery.com>
32495
32496 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32497 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32498 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32499 2 && __USE_EXTERN_INLINES]: Likewise.
32500
c40ea3d9
AJ
325012013-01-08 Andreas Jaeger <aj@suse.de>
32502
32503 [BZ# 14985]
32504 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32505 Remove.
32506 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32507 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32508
2ccdea26
AB
325092013-01-07 Anton Blanchard <anton@samba.org>
32510
32511 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32512 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32513 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32514 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32515 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32516 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32517 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32518 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32520 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32521 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32523 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32526 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32527 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32529 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32530 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32531 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32532 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32533 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32534 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32535 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32536 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32537 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32538 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32540 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32541 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32544 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32545 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32546 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32550 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32551 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32553 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32554
a9708fed
JM
325552013-01-07 Joseph Myers <joseph@codesourcery.com>
32556
375607b9
JM
32557 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32558 (__MALLOC_PMT): Likewise.
32559 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32560 [__GNUC__], only on [_LIBC].
32561 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32562 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32563 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32564 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32565 forward declaration.
32566 (realloc_hook_ini): Likewise.
32567 (memalign_hook_ini): Likewise.
32568 (__libc_memalign): Do not use __MALLOC_PMT in variable
32569 declaration.
32570 (__libc_valloc): Likewise.
32571 (__libc_pvalloc): Likewise.
32572 (__libc_calloc): Likewise.
32573 (__posix_memalign): Likewise.
32574
a9708fed
JM
32575 [BZ #14996]
32576 * math/s_casinh.c: Include <float.h>.
32577 (__casinh): Do not do computation with squaring and square root
32578 for large arguments.
32579 * math/s_casinhf.c: Include <float.h>.
32580 (__casinhf): Do not do computation with squaring and square root
32581 for large arguments.
32582 * math/s_casinhl.c: Include <float.h>.
32583 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32584 (__casinhl): Do not do computation with squaring and square root
32585 for large arguments.
32586 * math/libm-test.inc (casin_test): Add more tests.
32587 (casinh_test): Likewise.
32588 * sysdeps/i386/fpu/libm-test-ulps: Update.
32589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32590
afec409a
L
325912013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32592
32593 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32594 (__x86_64_raw_data_cache_size): Likewise.
32595 (__x86_64_data_cache_size_half): Likewise.
32596 (__x86_64_raw_data_cache_size_half): Likewise.
32597 (__x86_64_shared_cache_size): Likewise.
32598 (__x86_64_raw_shared_cache_size): Likewise.
32599 (__x86_64_shared_cache_size_half): Likewise.
32600 (__x86_64_raw_shared_cache_size_half): Likewise.
32601 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32602 to ...
32603 (__x86_data_cache_size): This.
32604 (__x86_64_raw_data_cache_size): Renamed to ...
32605 (__x86_raw_data_cache_size): This.
32606 (__x86_64_data_cache_size_half): Renamed to ...
32607 (__x86_data_cache_size_half): This.
32608 (__x86_64_raw_data_cache_size_half): Renamed to ...
32609 (__x86_raw_data_cache_size_half): This.
32610 (__x86_64_shared_cache_size): Renamed to ...
32611 (__x86_shared_cache_size): This.
32612 (__x86_64_raw_shared_cache_size): Renamed to ...
32613 (__x86_raw_shared_cache_size): This.
32614 (__x86_64_shared_cache_size_half): Renamed to ...
32615 (__x86_shared_cache_size_half): This.
32616 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32617 (__x86_raw_shared_cache_size_half): This.
32618 * sysdeps/x86_64/memcpy.S: Updated.
32619 * sysdeps/x86_64/memset.S: Likewise.
32620 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32623
0b3986d0
DM
326242013-01-04 David S. Miller <davem@davemloft.net>
32625
32626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32627
e47686e9
AS
326282013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32629
d643bac1
AS
32630 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32631 1 to avoid redefinition warning.
32632 (__USE_GNU): Don't define.
32633 (init_signaling_nan): Protoize.
32634
e47686e9
AS
32635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32636
b18decba
SP
326372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32638
fffb407f
SP
32639 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32641 (__cpymn): Likewise.
32642 (norm): Remove commented code.
32643 (denorm): Likewise.
32644 (__mp_dbl): Likewise.
32645 (__inv): Likewise.
32646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32647 (__cpymn): Likewise.
32648 (norm): Remove commented code.
32649 (denorm): Likewise.
32650 (__mp_dbl): Likewise.
32651 (__inv): Likewise.
32652
b18decba
SP
32653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32654 mp_no value for 1.0 and 2.0.
32655 (norm): Use RADIXI instead of radixi.d.
32656 (denorm): Likewise.
32657 (__mul): Use 0.0 instead of zero.d.
32658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32659 mp_no value for 1.0 and 2.0.
32660 (norm): Use RADIXI instead of radixi.d.
32661 (denorm): Likewise.
32662 (__mul): Use 0.0 instead of zero.d.
32663
cdc1c96f
JM
326642013-01-04 Joseph Myers <joseph@codesourcery.com>
32665
32666 [BZ #14994]
32667 * math/s_casinh.c (__casinh): Reduce finite argument to first
32668 quadrant then set signs of results at the end.
32669 * math/s_casinhf.c (__casinhf): Likewise.
32670 * math/s_casinhl.c (__casinhl): Likewise.
32671 * math/libm-test.inc (casin_test): Add more tests.
32672 (casinh_test): Likewise.
32673 * sysdeps/i386/fpu/libm-test-ulps: Update.
32674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32675
302913e1
SP
326762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32677
6420d207
SP
32678 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32679
a9e48ab4
SP
32680 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32681
b7837264
SP
32682 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32683 declarations.
32684 (denorm): Likewise.
32685 (__mp_dbl): Likewise.
32686 (__inv): Likewise.
32687
f8af25d2
SP
32688 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32689 and adjust the header comment.
32690
302913e1
SP
32691 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32692 variable name from declaration.
32693
5d7dd1ca
L
326942013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32695
32696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32697 Initialize COMMON_CPUID_INDEX_7 element.
32698 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32699 (CPUID_RTM): Likewise.
32700 (HAS_RTM): Likewise.
32701 (COMMON_CPUID_INDEX_7): New enum.
32702
2f5f40f4
AS
327032013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32704
32705 [BZ #14981]
32706 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32707 size is zero, record memory as freed.
32708
4056f4a0
AJ
327092013-01-03 Andreas Jaeger <aj@suse.de>
32710
32711 * po/ia.po: Add new Interlingua translation.
32712
ab15736f 327132012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32714
32715 * locale/programs/localedef.c: Fix description of '--posix' flag.
32716
568035b7
JM
327172013-01-02 Joseph Myers <joseph@codesourcery.com>
32718
e6898b8d
JM
32719 * NEWS: Update dates in second copyright notice.
32720 * README: Update copyright dates in example.
32721 * manual/libc.texinfo: Update copyright dates.
32722 * scripts/test-installation.pl: Update copyright date in --version
32723 output.
32724
0e2f9562
JM
32725 * hurd/ctty-input.c: Fix copyright notice formatting.
32726 * hurd/ctty-output.c: Likewise.
32727 * hurd/dtable.c: Likewise.
32728 * hurd/hurd-raise.c: Likewise.
32729 * hurd/hurdprio.c: Likewise.
32730 * hurd/msgportdemux.c: Likewise.
32731 * misc/sys/file.h: Likewise.
32732 * misc/sys/ioctl.h: Likewise.
32733 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32734 * sysdeps/mach/hurd/chdir.c: Likewise.
32735 * sysdeps/mach/hurd/fchdir.c: Likewise.
32736 * sysdeps/mach/hurd/rename.c: Likewise.
32737 * sysdeps/mach/hurd/rmdir.c: Likewise.
32738 * sysdeps/mach/hurd/seekdir.c: Likewise.
32739 * sysdeps/mach/hurd/setsid.c: Likewise.
32740 * sysdeps/posix/wait3.c: Likewise.
32741
568035b7
JM
32742 * All files with FSF copyright notices: Update copyright dates
32743 using scripts/update-copyrights.
32744 * intl/plural.c: Regenerated.
32745 * locale/programs/charmap-kw.h: Likewise.
32746 * locale/programs/locfile-kw.h: Likewise.
32747
da08f647
SP
327482013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32749
0f5477af
SP
32750 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32751 four values.
32752
44e0d4c2
SP
32753 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32754 calculation loop and add branch prediction.
32755
4d55b4e5
SP
32756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32757 check access beyond bounds of m1np.
32758
da08f647
SP
32759 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32760 MPTWO.
32761 (__inv): Remove local variable MPTWO to use the global
32762 constant.
32763 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32764 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32765 variable MPTWO.
32766 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32767 MP3HALFS static const.
32768
8e051029
DM
327692013-01-01 David S. Miller <davem@davemloft.net>
32770
32771 * po/ca.po: Update from translation team.
32772
f4cf5f2d
JM
327732013-01-01 Joseph Myers <joseph@codesourcery.com>
32774
32775 * scripts/update-copyrights: New file.
32776 * Makeconfig: Reformat copyright notice.
32777 * ctype/ctype.h: Likewise.
32778 * debug/swprintf_chk.c: Likewise.
32779 * elf/dl-cache.c: Likewise.
32780 * elf/dl-debug.c: Likewise.
32781 * elf/dl-object.c: Likewise.
32782 * grp/initgroups.c: Likewise.
32783 * hurd/Makefile: Likewise.
32784 * hurd/hurd/signal.h: Likewise.
32785 * hurd/hurdfault.c: Likewise.
32786 * hurd/hurdioctl.c: Likewise.
32787 * hurd/hurdlookup.c: Likewise.
32788 * hurd/intr-msg.c: Likewise.
32789 * iconv/gconv_open.c: Likewise.
32790 * libio/swprintf.c: Likewise.
32791 * locale/lc-ctype.c: Likewise.
32792 * locale/nl_langinfo.c: Likewise.
32793 * mach/Machrules: Likewise.
32794 * mach/Makefile: Likewise.
32795 * malloc/obstack.h: Likewise.
32796 * manual/Makefile: Likewise.
32797 * manual/tsort.awk: Likewise.
32798 * misc/bits/stab.def: Likewise.
32799 * nis/nis_print_group_entry.c: Likewise.
32800 * nis/nis_table.c: Likewise.
32801 * nis/nss_compat/compat-pwd.c: Likewise.
32802 * nis/nss_compat/compat-spwd.c: Likewise.
32803 * po/Makefile: Likewise.
32804 * posix/fnmatch.c: Likewise.
32805 * posix/regex.h: Likewise.
32806 * resolv/Makefile: Likewise.
32807 * resolv/nss_dns/dns-network.c: Likewise.
32808 * resolv/res_hconf.c: Likewise.
32809 * scripts/gen-sorted.awk: Likewise.
32810 * soft-fp/soft-fp.h: Likewise.
32811 * stdio-common/printf.h: Likewise.
32812 * stdlib/monetary.h: Likewise.
32813 * stdlib/random.c: Likewise.
32814 * stdlib/random_r.c: Likewise.
32815 * sysdeps/generic/Makefile: Likewise.
32816 * sysdeps/gnu/Makefile: Likewise.
32817 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32824 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32827 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32828 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32829 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32830 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32831 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32833 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32835 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32837 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32838 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32840 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32841 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32842 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32844 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32845 * sysdeps/mach/hurd/errnos.awk: Likewise.
32846 * sysdeps/mach/hurd/fork.c: Likewise.
32847 * sysdeps/mach/hurd/getcwd.c: Likewise.
32848 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32849 * sysdeps/mach/hurd/mmap.c: Likewise.
32850 * sysdeps/mach/hurd/utimes.c: Likewise.
32851 * sysdeps/mach/hurd/xmknod.c: Likewise.
32852 * sysdeps/posix/profil.c: Likewise.
32853 * sysdeps/posix/readdir_r.c: Likewise.
32854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32855 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32856 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32857 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32859 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32860 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32861 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32863 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32864 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32865 * sysdeps/pthread/lio_listio.c: Likewise.
32866 * sysdeps/sparc/dl-procinfo.h: Likewise.
32867 * sysdeps/unix/i386/sysdep.S: Likewise.
32868 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32869 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32870 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32871 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32873 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32874 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32875 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32876 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32877 * sysdeps/wordsize-32/divdi3.c: Likewise.
32878 * time/sys/time.h: Likewise.
32879 * wcsmbs/Makefile: Likewise.
32880
0549fbba
DM
328812013-01-01 David S. Miller <davem@davemloft.net>
32882
a141f1a7
DM
32883 * po/fr.po: Update from translation team.
32884
0549fbba
DM
32885 * catgets/gencat.c: Update copyright year.
32886 * csu/version.c: Likewise.
32887 * debug/catchsegv.sh: Likewise.
32888 * debug/pcprofiledump.c: Likewise.
32889 * debug/xtrace.sh: Likewise.
32890 * elf/ldconfig.c: Likewise.
32891 * elf/ldd.bash.in: Likewise.
32892 * elf/pldd.c: Likewise.
32893 * elf/sotruss.ksh: Likewise.
32894 * elf/sprof.c: Likewise.
32895 * iconv/iconv_prog.c: Likewise.
32896 * iconv/iconvconfig.c: Likewise.
32897 * locale/programs/locale.c: Likewise.
32898 * locale/programs/localedef.c: Likewise.
32899 * login/programs/pt_chown.c: Likewise.
32900 * malloc/memusage.sh: Likewise.
32901 * malloc/memusagestat.c: Likewise.
32902 * malloc/mtrace.pl: Likewise.
32903 * nscd/nscd.c: Likewise.
32904 * nss/getent.c: Likewise.
32905 * nss/makedb.c: Likewise.
32906 * posix/getconf.c: Likewise.
32907
18ea052c
SP
329082012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32909
32910 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32911 numbers.
32912
9c89fca6
MF
329132012-12-30 Mike Frysinger <vapier@gentoo.org>
32914
32915 * math/bits/mathcalls.h (modf): Use __nonnull.
32916
085ec079
SP
329172012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32918
32919 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32920 (split): Use macro CN instead of the bare value.
32921 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32922 could be used.
32923 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32924 instead of the bare value.
32925 (power1): Likewise.
32926
6d9f97e1
SP
329272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32928
d63f73be
SP
32929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32930 __ATAN_TWOM.
32931 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32932
6d9f97e1
SP
32933 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32934 their values.
32935 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32936 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32937 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32938 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32939
4c4febf5
AJ
329402012-12-28 Andreas Jaeger <aj@suse.de>
32941
af5843ef
AJ
32942 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32943 values are from Linux 3.7.
32944
4c4febf5
AJ
32945 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32946 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32947
99136f82
SP
329482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32949
2f216c3c 32950 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32951 TRUE case.
32952
99136f82
SP
32953 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32954 (norm): Likewise.
32955 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32956 variables with preprocessor constants.
32957 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32958 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32959 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32960
7fffbdff
BH
329612012-12-27 Bruno Haible <bruno@clisp.org>
32962
32963 [BZ #14317]
32964 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32965 only if needed.
32966
b76eb5f0
SP
329672012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32968
31a7fe5c
SP
32969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32970 and use variable directly.
32971 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32972
b76eb5f0
SP
32973 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32974 MPONE.
32975 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32977 variable MPONE.
32978 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32980 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32981 include directive. Remove local variable MPONE.
32982 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32983 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32984 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32985
2c8bfe7d
DM
329862012-12-25 David S. Miller <davem@davemloft.net>
32987
32988 * version.h (RELEASE): Set to "development".
32989 (VERSION): Set to "2.17.90".
32990 * NEWS: Add 2.18 section.
32991
147d03b0
DM
329922012-12-21 David S. Miller <davem@davemloft.net>
32993
32994 * po/hr.po: Update from translation team.
32995
a8ebb2b9
AK
329962012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32997
32998 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32999
95b4f1b6
SE
330002012-12-19 Steve Ellcey <sellcey@mips.com>
33001
b2d94007 33002 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33003
cedb2a90
MS
330042012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33005
33006 * manual/contrib.texi (Contributors): Spelling correction.
33007
bbf527d6
DM
330082012-12-15 David S. Miller <davem@davemloft.net>
33009
33010 * po/ru.po: Update from translation team.
33011
bc38c906
DM
330122012-12-13 David S. Miller <davem@davemloft.net>
33013
85429b1a
DM
33014 * NEWS: Mention IFUNC testsuite enhancements.
33015
d283e353
DM
33016 * po/pl.po: Update from translation team.
33017 * po/bg.po: Likewise.
33018
bc38c906
DM
33019 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33020 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33021
a181b0d7
DM
330222012-12-11 David S. Miller <davem@davemloft.net>
33023
4641d57e
DM
33024 * po/sv.po: Update from translation team.
33025
f7bc6495
DM
33026 * po/vi.po: Update from translation team.
33027
6fc9048f
DM
33028 * po/cs.po: Update from translation team.
33029
a181b0d7
DM
33030 * po/de.po: Update from translation team.
33031 * po/eo.po: Likewise.
33032 * po/nl.po: Likewise.
33033
f70bfe80
SP
330342012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33035
3c8b4190
SP
33036 [BZ #14246]
33037 * manual/argp.texi (Argp Helper Functions): Move node to follow
33038 Argp Parsing State.
33039
f70bfe80
SP
33040 [BZ #14872]
33041 * manual/conf.texi (Limits on File System Capacity): Mention if
33042 terminating null is included in the max size.
33043
188f0adf
AJ
330442012-12-10 Andreas Jaeger <aj@suse.de>
33045
33046 * po/cs.po: Update from translation team.
33047
56e7d3ad
SP
330482012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33049
33050 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33051 void pointer and cast to uintptr_t.
33052 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33053 path.
33054 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33055 * sysdeps/s390/s390-64/memset.S: Likewise.
33056
76f2d2ea 330572012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33058
33059 [BZ #14833]
33060 * menual/message.texi (Message Translation): Fix typos.
33061 (Helper programs for gettext): Likewise.
33062
67cbf9a2
AS
330632012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33064
33065 [BZ #14898]
33066 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33067 Change to -1.
33068
682d0e9a
DM
330692012-12-07 David S. Miller <davem@davemloft.net>
33070
33071 * po/libc.pot: Update.
33072
573cd484
RH
330732012-12-07 Richard Henderson <rth@redhat.com>
33074
7e9da188 33075 [BZ #10114]
573cd484
RH
33076 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33077 normal/normal case to before the switch.
33078 (_FP_DIV): Likewise.
33079
e933a943
MF
330802012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33081 Mike Frysinger <vapier@gentoo.org>
33082
33083 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33084 check for __NR_fadvise64_64.
33085
82123268
CM
330862012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33087
33088 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33089 0, not just to plain "0" as a statement.
33090 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33091 with cw.
33092
d9814526
JM
330932012-12-06 Joseph Myers <joseph@codesourcery.com>
33094
33095 * NEWS: Use sourceware.org in Bugzilla URL.
33096
7728c574
SP
330972012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33098
f16946dd
SP
33099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33100 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33101
5704bbcb
SP
33102 * stdio-common/tst-put-error.c (do_test): Add newline to the
33103 padded test to ensure flush.
33104
17aa0516
JL
331052012-12-05 Jeff Law <law@redhat.com>
33106
33107 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33108
363313b5
JM
331092012-12-05 Joseph Myers <joseph@codesourcery.com>
33110
effbd42a
JM
33111 * README: Don't refer to ports add-on as distributed separately.
33112 Mention AArch64 in list of systems supported in the ports add-on.
33113
87600365
JM
33114 * LICENSES: Add more non-FSF copyright and license notices.
33115
a0d7066a
JM
33116 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33117 ((unused)).
33118
66ca5a5b
JM
33119 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33120
363313b5
JM
33121 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33122 10000 as width of padded output.
33123
b37984ad
JM
331242012-12-04 Joseph Myers <joseph@codesourcery.com>
33125
9003570a
JM
33126 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33127
b37984ad
JM
33128 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33129 variable LX with __attribute__ ((unused)).
33130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33131 Likewise.
33132 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33134 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33135 with __attribute__ ((unused)).
33136
c8df52ec
DM
331372012-12-04 David S. Miller <davem@abraco.davemloft.net>
33138
33139 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33140
b3b099af
JM
331412012-12-04 Joseph Myers <joseph@codesourcery.com>
33142
c33aa6e3
JM
33143 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33144 (CFLAGS-nldbl-acos.c): New variable.
33145 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33146 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33147 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33148 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33149 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33150 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33151 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33152 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33153 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33154 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33155 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33156 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33157 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33158 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33159 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33160 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33161 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33162 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33163 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33164 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33165 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33166 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33167 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33168 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33169 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33170 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33171 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33172 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33173 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33174 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33175 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33176 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33177 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33178 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33179 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33180 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33181 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33182 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33183 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33184 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33185 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33186 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33187 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33188 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33189 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33190 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33191 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33192 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33193 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33194 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33195 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33196 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33197 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33198 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33199 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33200 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33201 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33202 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33203 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33204 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33205 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33206 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33207 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33208 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33209 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33210 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33211 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33212 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33213 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33214 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33215 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33216 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33217 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33218 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33219 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33220 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33221 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33222 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33223 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33224 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33225 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33226 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33227 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33228 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33229 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33230 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33231 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33232 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33233 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33234 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33235 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33236 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33237 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33238 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33239 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33240 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33241 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33242
20f0018d
JM
33243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33244 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33245
b3b099af
JM
33246 [BZ #14914]
33247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33248 whole low double instead of just low 47 bits when splitting values
33249 into two parts.
33250
029264d1
AM
332512012-12-03 Allan McRae <allan@archlinux.org>
33252
33253 * manual/stdio.texi (Predefined Printf Handlers): Remove
33254 @hsep and @vsep usage.
33255
c9d6789e
MF
332562012-12-03 Mike Frysinger <vapier@gentoo.org>
33257
33258 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33259 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33260
4b7634a5
JL
332612012-12-03 Jeff Law <law@redhat.com>
33262
33263 * time/sys/time.h (settimeofday): Do not mark TV argument
33264 as __nonnull.
33265
eb6cbd24
MF
332662012-12-01 Mike Frysinger <vapier@gentoo.org>
33267
33268 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33269 when currently writing and seek to current position when not.
33270 * libio/Makefile (tests): Remove bug-fclose1.
33271 * libio/bug-fclose1.c: Delete.
33272
f638872a
JM
332732012-12-01 Joseph Myers <joseph@codesourcery.com>
33274
33275 * manual/arith.texi (feenableexcept): Fix typo.
33276 (fedisableexcept): Likewise.
33277
48085d14
RM
332782012-11-30 Roland McGrath <roland@hack.frob.com>
33279
33280 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33281 second, differently-typed declaration, rather than a cast.
33282
1a538b9f
SP
332832012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33284
33285 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33286 * include/rpc/svc.h: ... here.
33287
d07f2ff1 332882012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33289
33290 [BZ #13013]
33291 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33292 depending n and resplen2 to catch cases where answer
33293 equals answerp2.
33294
c93ec1f0
CD
332952012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33296
33297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33298 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33299
37db69de
MF
333002012-11-29 Mike Frysinger <vapier@gentoo.org>
33301
33302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33303
e10c4e4f
RM
333042012-11-29 Roland McGrath <roland@hack.frob.com>
33305
33306 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33307
2af1b328
JL
333082012-11-28 Jeff Law <law@redhat.com>
33309
33310 [BZ #13761]
33311 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33312 dataset_temporary. Track alloca usage into alloca_used.
33313 If dataset is large allocate and release it via malloc/free.
33314
111db5b1
FW
333152012-06-04 Florian Weimer <fweimer@redhat.com>
33316
f06cc227 33317 [BZ #14197]
111db5b1
FW
33318 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33319
dd694abd
DM
333202012-11-28 David S. Miller <davem@davemloft.net>
33321
33322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33323
9984dd01
JM
333242012-11-28 Joseph Myers <joseph@codesourcery.com>
33325
33326 [BZ #14803]
33327 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33328 of pi/2 rounded to nearest to 64 bits.
33329 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33330 nearest to 64 bits.
33331 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33332 bits.
33333
14bc93a9
JL
333342012-11-28 Jeff Law <law@redhat.com>
33335 Martin Osvald <mosvald@redhat.com>
33336
33337 [BZ #14889]
33338 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33339 * sunrpc/svc.c: Include time.h.
33340 (__svc_accept_failed): New function.
33341 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33342 any reason other than EINTR, call __svc_accept_failed.
33343 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33344 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33345
e3c6aa3a
AS
333462012-11-28 Andreas Schwab <schwab@suse.de>
33347
33348 * scripts/abilist.awk: Also handle indirect functions in .opd
33349 section.
33350
1bead169
JM
333512012-11-28 Joseph Myers <joseph@codesourcery.com>
33352
33353 [BZ #13881]
33354 * sysdeps/x86/fpu/powl_helper.c: New file.
33355 * sysdeps/x86/fpu/Makefile: Likewise.
33356 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33357 (p3): New object.
33358 (__ieee754_powl): Use __powl_helper for finite arguments except
33359 integer exponents below 8.
33360 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33361 (p3): New object.
33362 (__ieee754_powl): Use __powl_helper for finite arguments except
33363 integer exponents below 8.
33364 * math/libm-test.inc (pow_test): Add more tests and enable some
33365 previously disabled tests.
33366 * sysdeps/i386/fpu/libm-test-ulps: Update.
33367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33368
0817d63d
SP
333692012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33370 Carlos O'Donell <carlos_odonell@mentor.com>
33371
33372 * nss/makedb.c (is_prime): Assert that input is odd and greater
33373 than 4. Note that fact in a comment too.
33374 (next_prime): Add 4 to input.
33375
de2fd463
SP
333762012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33377
33378 [BZ #11741]
33379 * libio/Makefile (tests): Add test case tst-fwrite-error.
33380 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33381 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33382 * libio/tst-fwrite-error.c: New test case.
33383
c515fb51
L
333842012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33385
33386 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33387 before casting to void *.
33388 * include/libc-internal.h (__pointer_type): New macro.
33389 (__integer_if_pointer_type_sub): Likewise.
33390 (__integer_if_pointer_type): Likewise.
33391 (cast_to_integer): Likewise.
33392 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33393 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33394 before casting to atomic64_t.
33395 (atomic_exchange_acq): Likewise.
33396 (__arch_exchange_and_add_body): Likewise.
33397 (__arch_add_body): Likewise.
33398 (atomic_add_negative): Likewise.
33399 (atomic_add_zero): Likewise.
33400
4cf77aa9
JM
334012012-11-26 Joseph Myers <joseph@codesourcery.com>
33402
33403 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33404 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33405 (add_fdes): Likewise.
33406 (linear_search_fdes): Likewise.
33407 (binary_search_unencoded_fdes): Likewise.
33408
d260b3b4
AS
334092012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33410
33411 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33412
67060746
AC
334132012-11-24 Adam Conrad <adconrad@0c3.net>
33414
33415 * configure.in: Autodetect C++ header directories.
33416 * configure: Regenerated.
33417
800938a1
MF
334182012-11-23 Mike Frysinger <vapier@gentoo.org>
33419
33420 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33421
4e6e34e6
AS
334222012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33423
33424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33425
7c7feb47
JM
334262012-11-22 Joseph Myers <joseph@codesourcery.com>
33427
7184dcdf
JM
33428 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33429 LDBL_MANT_DIG == 106]: Disable some tests.
33430 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33431 Likewise.
33432 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33433 Likewise.
33434
0a42601f
JM
33435 [BZ #14871]
33436 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33437 input for small inputs. Return +/- pi/2 for large inputs.
33438 * math/libm-test.inc (atan_test): Add more tests.
33439
79c9b9fe
JM
33440 * sysdeps/generic/unwind-dw2-fde-glibc.c
33441 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33442 __attribute__ ((unused)).
33443
c60d3bf2
JM
33444 [BZ #14645]
33445 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33446 x * y if x and y are nonzero and z is zero.
33447
ef1e0867
JM
33448 [BZ #14811]
33449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33450 nonzero exponents with absolute value below 0x1p-117 to +/-
33451 0x1p-117.
33452
1468ded3
JM
33453 [BZ #14869]
33454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33455 up arguments below 2**-450, not just those below 2**-500.
33456 * math/libm-test.inc (hypot_test): Add another test.
33457
8e27e3cc
JM
33458 [BZ #14868]
33459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33460 Return a+b for ratio over 2**120, not 2**60.
33461 * math/libm-test.inc (hypot_test): Add another test.
33462
c9c0279b
JM
33463 * math/libm-test.inc (clog_test): Use
33464 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33465 (clog10_test): Likewise.
33466
7c7feb47
JM
33467 [BZ #6778]
33468 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33469
fff1530e
AS
334702012-11-22 Andreas Schwab <schwab@suse.de>
33471
33472 * sysdeps/i386/fpu/libm-test-ulps: Update.
33473
94558d30
PT
334742012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33475
33476 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33477 printf output with newline.
33478
7e1be741
L
334792012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33480
6bfea974
L
33481 [BZ #14865]
33482 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33483 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33484 -z nodlopen, -z initfirst and -z execstack support.
33485 * configure: Regenerated.
33486
7e1be741
L
33487 * elf/elf.h (DF_1_NODIRECT): New macro.
33488 (DF_1_IGNMULDEF): Likewise.
33489 (DF_1_NOKSYMS): Likewise.
33490 (DF_1_NOHDR): Likewise.
33491 (DF_1_EDITED): Likewise.
33492 (DF_1_NORELOC): Likewise.
33493 (DF_1_SYMINTPOSE): Likewise.
33494 (DF_1_GLOBAUDIT): Likewise.
33495 (DF_1_SINGLETON): Likewise.
33496 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33497 DT_1_SUPPORTED_MASK bits.
33498 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33499
105ce2ce
CD
335002012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33501
33502 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33503
123be9de
TS
335042012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33505
d072f3f7
TS
33506 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33507 macro.
33508
123be9de
TS
33509 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33510 (sendmmsg): Move declarations...
33511 * socket/sys/socket.h: ... here.
33512 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33513 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33514 include it from...
33515 * socket/recvmmsg.c: ... this new file.
33516 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33517 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33518 definition of __sendmmsg hidden.
33519 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33520 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33521 Move ENOSYS stub into and include it from...
33522 * socket/sendmmsg.c: ... this new file.
33523 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33524 (sysdep_routines): Move recvmmsg and sendmmsg...
33525 * socket/Makefile (routines): ... here.
33526 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33527 (GLIBC_PRIVATE): Add __sendmmsg.
33528 * include/sys/socket.h (__sendmmsg): Add declarations.
33529 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33530 sendmmsg.
33531
cf9a5d18
JM
335322012-11-20 Joseph Myers <joseph@codesourcery.com>
33533
33534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33535 variable I1 with __attribute__ ((unused)).
33536 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33537
ecd4caf9
JM
335382012-11-19 Joseph Myers <joseph@codesourcery.com>
33539
be14d48f
JM
33540 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33541 DUMMY variables with __attribute__ ((unused)).
33542
ecd4caf9
JM
33543 * bits/byteswap.h: Include <bits/types.h>.
33544 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33545
986cab95
PT
335462012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33547
33548 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33549 string_t. Do not manually set errno.
33550 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33551 length with __strnlen. Make sure to both set errno and return it on
33552 failure.
33553
6d33cc9d
DM
335542012-11-19 David S. Miller <davem@davemloft.net>
33555
33556 With help from Joseph Myers.
33557 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33558 very large arguments properly.
33559 * math/libm-test.inc (atan_test): New tests.
33560 (atan2_test): New tests.
33561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33563
ee663277
JM
335642012-11-19 Joseph Myers <joseph@codesourcery.com>
33565
877f2d8e
JM
33566 [BZ #14856]
33567 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33568 Define to 3.
33569
116fc08a
JM
33570 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33571 [POSIX] (EADDRNOTAVAIL): Likewise.
33572 [POSIX] (EAFNOSUPPORT): Likewise.
33573 [POSIX] (EALREADY): Likewise.
33574 [POSIX] (ECONNABORTED): Likewise.
33575 [POSIX] (ECONNREFUSED): Likewise.
33576 [POSIX] (ECONNRESET): Likewise.
33577 [POSIX] (EDESTADDRREQ): Likewise.
33578 [POSIX] (EDQUOT): Likewise.
33579 [POSIX] (EHOSTUNREACH): Likewise.
33580 [POSIX] (EIDRM): Likewise.
33581 [POSIX] (EISCONN): Likewise.
33582 [POSIX] (ELOOP): Likewise.
33583 [POSIX] (EMULTIHOP): Likewise.
33584 [POSIX] (ENETDOWN): Likewise.
33585 [POSIX] (ENETUNREACH): Likewise.
33586 [POSIX] (ENOBUFS): Likewise.
33587 [POSIX] (ENODATA): Likewise.
33588 [POSIX] (ENOLINK): Likewise.
33589 [POSIX] (ENOMSG): Likewise.
33590 [POSIX] (ENOPROTOOPT): Likewise.
33591 [POSIX] (ENOSR): Likewise.
33592 [POSIX] (ENOSTR): Likewise.
33593 [POSIX] (ENOTCONN): Likewise.
33594 [POSIX] (ENOTSOCK): Likewise.
33595 [POSIX] (EOPNOTSUPP): Likewise.
33596 [POSIX] (EOVERFLOW): Likewise.
33597 [POSIX] (EPROTO): Likewise.
33598 [POSIX] (EPROTONOSUPPORT): Likewise.
33599 [POSIX] (EPROTOTYPE): Likewise.
33600 [POSIX] (ESTALE): Likewise.
33601 [POSIX] (ETIME): Likewise.
33602 [POSIX] (ETXTBSY): Likewise.
33603 [POSIX] (EWOULDBLOCK): Likewise.
33604 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33605 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33606 [POSIX] (SEEK_CUR): Likewise.
33607 [POSIX] (SEEK_END): Likewise.
33608 [POSIX || UNIX98] (mode_t): Do not require.
33609 [POSIX] (off_t): Likewise.
33610 [POSIX] (pid_t): Likewise.
33611 [POSIX] (sys/stat.h): Do not allow header.
33612 [POSIX] (unistd.h): Likewise.
33613 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33614 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33615 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33616 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33617 require.
33618 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33619 sigevent): Specify elements.
33620 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33621 entry.
33622 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33623 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33624
a483863f
JM
33625 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33626 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33627 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33628 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33629 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33630 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33631 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33632 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33633 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33634 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33635 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33636 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33637 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33638 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33639 Likewise.
33640 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33641 Likewise.
33642 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33643 Likewise.
33644 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33645 Likewise.
33646 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33647 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33648 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33649 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33650 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33651 Specify lower bound on value.
33652 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33653 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33654 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33655 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33656 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33657 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33658 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33659 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33660 value.
33661 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33662 as optional.
33663 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33664 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33665 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33666 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33667 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33668 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33669 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33670 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33671 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33672 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33673 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33674 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33675 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33676 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33677 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33678 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33679 entry.
33680 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33681 optional.
33682 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33683 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33684 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33685 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33686 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33687 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33688 Likewise.
33689 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33690 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33691 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33692 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33693 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33694 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33695 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33696 as optional.
33697 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33698 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33699 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33700 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33701 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33702 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33703 specify as optional.
33704 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33705 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33706 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33707 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33708 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33709 [XPG3] (NL_LANGMAX): Likewise.
33710 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33711 [POSIX || XPG3] (NL_NMAX): Likewise.
33712 [POSIX || XPG3] (NL_SETMAX): Likewise.
33713 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33714 [XPG3] (NZERO): Likewise.
33715 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33716 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33717 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33718 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33719 (REG_ERANGE): Expect.
33720 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33721 optional-constant.
33722 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33723 Use (void) in prototype.
33724 [POSIX] (*_t): Allow.
33725 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33726 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33727 (WRDE_BADVAL): Expect.
33728
5ba924e3
JM
33729 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33730 expect.
33731 [XPG3 || XPG4] (O_RSYNC): Likewise.
33732 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33733 Likewise.
33734 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33735 [XPG3 || XPG4] (sigqueue): Likewise.
33736 [XPG3 || XPG4] (sigtimedwait): Likewise.
33737 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33738 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33739 [XPG3 || XPG4] (vsnprintf): Likewise.
33740 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33741 Likewise.
33742 [XPG3 || XPG4] (blksize_t): Likewise.
33743 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33744 Likewise.
33745 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33746 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33747 [XPG3 || XPG4] (struct itimerspec): Likewise.
33748 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33749 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33750 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33751 [XPG3 || XPG4] (clockid_t): Likewise.
33752 [XPG3 || XPG4] (timer_t): Likewise.
33753 [XPG3 || XPG4] (clock_getres): Likewise.
33754 [XPG3 || XPG4] (clock_gettime): Likewise.
33755 [XPG3 || XPG4] (clock_settime): Likewise.
33756 [XPG3 || XPG4] (nanosleep): Likewise.
33757 [XPG3 || XPG4] (timer_create): Likewise.
33758 [XPG3 || XPG4] (timer_delete): Likewise.
33759 [XPG3 || XPG4] (timer_gettime): Likewise.
33760 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33761 [XPG3 || XPG4] (timer_settime): Likewise.
33762 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33763 [XPG3 || XPG4] (getlogin_r): Likewise.
33764 [XPG3 || XPG4] (pread): Likewise.
33765 [XPG3 || XPG4] (pthread_atfork): Likewise.
33766 [XPG3 || XPG4] (pwrite): Likewise.
33767
ee663277
JM
33768 [BZ #14835]
33769 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33770 <bits/siginfo.h>.
33771
942caa16
PT
337722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33773
e19af380
PT
33774 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33775 finalizing MALLSTREAM.
33776
942caa16
PT
33777 * sysdeps/mach/hurd/syncfs.c: New file.
33778
cfde9b46
SP
337792012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33780
33781 [BZ #14719]
33782 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33783 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33784 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33785 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33786 (_nss_dns_gethostbyname4_r): Likewise.
33787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33788 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33789
f6da27e5
PH
337902012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33791
33792 [BZ #13763]
33793 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33794
6665d4a2
SM
337952012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33796
1f51ee92
SM
33797 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33798 * elf/cache.c (print_entry): Print ",AArch64" for
33799 FLAG_AARCH64_LIB64
33800
6665d4a2
SM
33801 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33802 * elf/cache.c (print_entry): Print ",hard-float" for
33803 FLAG_ARM_LIBHF.
33804
05b227bd
DM
338052012-11-18 David S. Miller <davem@davemloft.net>
33806
33807 With help from Joseph Myers.
33808 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33809 cutoff to 2**-13.
33810 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33811 cutoff to 2**-25.
33812 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33813 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33814 small.
33815 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33816 * math/libm-test.inc (y0_test): New tests.
33817 (y1_test): New tests.
33818 * sysdeps/i386/fpu/libm-test-ulps: Update.
33819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33821
786b0b67
AS
338222012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33823
33824 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33825 64-bit targets.
33826 * configure: Regenerated.
33827
8e18b86d
DM
338282012-11-17 David S. Miller <davem@davemloft.net>
33829
33830 [BZ #14811]
33831 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33832 nonzero exponents with absolute value below 0x1p-128 to +/-
33833 0x1p-128.
33834
531f1ae0
JM
338352012-11-17 Joseph Myers <joseph@codesourcery.com>
33836
12df29e2
JM
33837 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33838
150dc1a0
JM
33839 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33840
531f1ae0
JM
33841 * posix/getconf-speclist.c: New file.
33842 * posix/posix-envs.def: Likewise.
33843 * posix/confstr.c (START_ENV_GROUP): New macro.
33844 (END_ENV_GROUP): Likewise.
33845 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33846 (KNOWN_PRESENT_ENV_STRING): Likewise.
33847 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33848 (UNKNOWN_ENVIRONMENT): Likewise.
33849 (confstr): Include posix-envs.def instead of handling
33850 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33851 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33852 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33853 (END_ENV_GROUP): Likewise.
33854 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33855 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33856 (UNKNOWN_ENVIRONMENT): Likewise.
33857 (__sysconf): Include posix-envs.def instead of handling associated
33858 cases directly here.
33859 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33860 preprocessing getconf-speclist.c rather than running getconf or
33861 generating empty file.
33862
a93f9cbc
PT
338632012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33864
33865 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33866
d64d9f87
AL
338672012-11-16 Andrej Lajovic <natrij@gmail.com>
33868
33869 [BZ #14672]
33870 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33871
447885eb
DM
338722012-11-16 David S. Miller <davem@davemloft.net>
33873
33874 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33875 smaller than LDBL_EPSILON/2.0L, just return xm1.
33876
bcbf9830
L
338772012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33878
33879 * elf/tst-array1.c (init): Set constructor priority to 1000.
33880 (fini): Set destructor priority to 1000.
33881 * elf/tst-array2dep.c: Likewise.
33882
2b766585
SP
338832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33884
33885 [BZ #11741]
33886 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33887 (_IO_new_file_xsputn): Also return EOF if none of the input
33888 data was written when overflow failed.
33889 * libio/iopadn.c (_IO_padn): Likewise.
33890 * libio/iowpadn.c (_IO_wpadn): Likewise.
33891 * stdio-common/tst-put-error.c: Add copyright notice.
33892 (do_test): Add case for printing padded string.
33893 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33894 _IO_padn returned error.
33895 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33896 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33897 return EOF.
33898
b1848fde
SP
338992012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33900
33901 * libio/libioP.h: Add comment note that the references to C++
33902 bits are now obsolete.
33903
2fd89785
MS
339042012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33905
33906 * math/libm-test.inc (check_complex): Use asprintf.
33907
e3ea5409
JM
339082012-11-14 Joseph Myers <joseph@codesourcery.com>
33909
33910 * debug/pcprofiledump.c (print_version): Update copyright year.
33911 * malloc/memusagestat.c (print_version): Likewise.
33912
2e64d265
L
339132012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33914
33915 [BZ #14831]
33916 * elf/Makefile (tests): Add tst-audit8.
33917 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33918 ($(objpfx)tst-audit8.out): New target.
33919 (tst-audit8-ENV): New variable.
33920 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33921 audit if l_reloc_result is NULL.
33922 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33923 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33924 * elf/tst-audit8.c: New file.
33925
c485e4d2
MS
339262012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33927
33928 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33929 * misc/Makefile (CFLAGS-select.c): Define.
33930 * posix/Makefile (CFLAGS-pause.c): Define.
33931
3a0d900a
DM
339322012-11-13 David S. Miller <davem@davemloft.net>
33933
33934 * crypt/Makefile: Move test targets after toplevel Rules
33935 inclusion. Grab any necessary sysdep routines when linking.
33936 * crypt/md5.c (md5_process_block): Remove define, we will always
33937 name it __md5_process_block.
33938 (md5_finish_ctx): Update md5_process_block call.
33939 (md5_stream): Likewise.
33940 (md5_process_bytes): Likewise.
33941 (md5_process_block): Rename to __md5_process_block and move to ...
33942 * crypt/md5-block.c: ... here.
33943 * crypt/sha256.c (sha256_process_block): Move to ...
33944 * crypt/sha256-block.c: ... here.
33945 * crypt/sha512.c (sha512_process_block): Move to ...
33946 * crypt/sha512-block.c: ... here.
33947 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33948 path.
33949 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33950 * sysdeps/sparc/sparc64/multiarch/Makefile
33951 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33952 crypt subdir.
33953 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33955 multiarch changes.
33956 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33957 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33958 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33959 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33960 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33961 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33962 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33963 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33965 file.
33966 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33968 file.
33969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33970
8ca89318
JM
339712012-11-13 Joseph Myers <joseph@codesourcery.com>
33972
e27d476a
JM
33973 * timezone/tzselect.ksh: Update from tzcode git revision
33974 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33975 * timezone/zdump.c: Likewise.
33976 * timezone/zic.c: Likewise.
33977 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33978 in TZVERSION setting, not $(PKGVERSION).
33979 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33980 REPORT_BUGS_TO settings.
33981
8ca89318
JM
33982 [BZ #14838]
33983 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33984 macro.
33985
47594329
MS
339862012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33987
33988 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33989 detection to immediately after _FP_ROUND().
33990 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33991 bits are 0.
33992
640ac3f1
DM
339932012-11-11 David S. Miller <davem@davemloft.net>
33994
33995 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33996 inttypes.h
33997 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33998 __close rather than their public counterparts.
33999
3d2577bb
JM
340002012-11-10 Joseph Myers <joseph@codesourcery.com>
34001
34002 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34003 file.
34004 [UNIX98] (sem_timedwait): Do not expect.
34005 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34006 [XPG4 || UNIX98] (sockatmark): Do not expect.
34007 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34008 (clock_getcpuclockid): Do not expect.
34009 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34010 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34011 Do not expect.
34012 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34013 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34014 [UNIX98] (vwscanf): Likewise.
34015 [UNIX98] (vswscanf): Likewise.
34016
fb1ae1ee
JM
340172012-11-09 Joseph Myers <joseph@codesourcery.com>
34018
9ec6f8bd
JM
34019 * timezone/version.h: Remove file.
34020 * timezone/README: Do not refer to version.h.
34021 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34022 $(objpfx)version.h.
34023 ($(objpfx)zdump.o): Likewise.
c3f81911 34024 ($(objpfx)version.h): New target.
9ec6f8bd 34025
0aa8f8a1
JM
34026 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34027 2012i.
34028 * timezone/README: Don't mention modification to tzselect.ksh.
34029 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34030 work on unmodified tzselect.ksh. Substitute version numbers in
34031 tzselect.ksh.
34032
4e87147f
JM
34033 * Makefile (format-me): Remove.
34034 (INSTALL): Adjust indentation. Use commands directly instead of
34035 using $(format-me).
34036
8b748aed
JM
34037 * aclocal.m4 (ACX_PKGVERSION): New macro.
34038 (ACX_BUGURL): Likewise.
34039 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34040 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34041 (REPORT_BUGS_TO): Likewise.
34042 * configure: Regenerated.
34043 * config.h.in (PKGVERSION): New macro.
34044 (REPORT_BUGS_TO): Likewise.
34045 * config.make.in (PKGVERSION): New variable.
34046 (PKGVERSION_TEXI): Likewise.
34047 (REPORT_BUGS_TO): Likewise.
34048 (REPORT_BUGS_TEXI): Likewise.
34049 * Makefile (format-me): Use -I$(common-objpfx)manual.
34050 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34051 ($(common-objpfx)manual/%): New target.
34052 (manual/%): Remove target.
34053 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34054 (print_version): Use PKGVERSION.
34055 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34056 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34057 and REPORT_BUGS_TO.
34058 ($(objpfx)xtrace): Likewise.
34059 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34060 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34061 (print_version): Use PKGVERSION.
34062 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34063 (do_version): Use PKGVERSION.
34064 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34065 REPORT_BUGS_TO.
34066 (common-ldd-rewrite): Likewise.
34067 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34068 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34069 (print_version): Use PKGVERSION.
34070 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34071 * elf/pldd.c (argp_program_bug_address): Remove variable.
34072 (more_help): New function.
34073 (argp): Use more_help.
34074 (print_version): Use PKGVERSION.
34075 * elf/sln.c (main): Use PKGVERSION.
34076 (usage): Use REPORT_BUGS_TO.
34077 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34078 (top level): Use PKGVERSION.
34079 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34080 (print_version): Use PKGVERSION.
34081 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34082 (print_version): Use PKGVERSION.
34083 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34084 (print_version): Use PKGVERSION.
34085 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34086 (print_version): Use PKGVERSION.
34087 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34088 (print_version): Use PKGVERSION.
34089 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34090 (print_version): Use PKGVERSION.
34091 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34092 and BUGURL.
34093 ($(objpfx)memusage): Likewise.
34094 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34095 (do_version): Use PKGVERSION.
34096 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34097 (print_version): Use PKGVERSION.
34098 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34099 ($PKGVERSION): New variable.
34100 ($REPORT_BUGS_TO): Likewise.
34101 (usage): Use $REPORT_BUGS_TO.
34102 (top level): Use $PKGVERSION.
34103 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34104 ($(objpfx)pkgvers.texi): New rule.
34105 ($(objpfx)stamp-pkgvers): Likewise.
34106 * manual/install.texi: Include pkgvers.texi.
34107 (--with-pkgversion): Document new configure option.
34108 (--with-bugurl): Likewise.
34109 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34110 than necessarily for this particular distribution. Use
34111 REPORT_BUGS_TO for where to report bugs.
34112 * INSTALL: Regenerated.
34113 * manual/libc.texinfo: Include pkgvers.texi.
34114 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34115 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34116 (print_version): Use PKGVERSION.
34117 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34118 (print_version): Use PKGVERSION.
34119 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34120 (print_version): Use PKGVERSION.
34121 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34122 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34123 macro.
34124 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34125 (print_version): Use PKGVERSION.
34126 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34127 (print_version): Use PKGVERSION.
34128 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34129 and PKGVERSION.
34130
92e4b6a9
JM
34131 * timezone/checktab.awk: Update from tzcode 2012i.
34132 * timezone/ialloc.c: Likewise.
34133 * timezone/private.h: Likewise.
34134 * timezone/scheck.c: Likewise.
34135 * timezone/tzfile.h: Likewise.
34136 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34137 (TZVERSION): Hardcode tzcode version number.
34138 * timezone/zdump.c: Update from tzcode 2012i.
34139 * timezone/zic.c: Likewise.
34140 * timezone/version.h: New file.
34141 * timezone/README: Describe version.h. Update upstream location.
34142
9bde902c
JM
34143 [BZ #14824]
34144 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34145 (mktemp): Enable declaration.
34146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34150 Likewise.
34151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34152 Likewise.
34153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34154 Likewise.
34155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34156 Likewise.
34157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34158 Likewise.
34159 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34160 Likewise.
34161
fb1ae1ee
JM
34162 [BZ #14821]
34163 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34164 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34165 for copies of such integer values.
34166 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34167 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34168
2c1adbcb
AJ
341692012-11-09 Andreas Jaeger <aj@suse.de>
34170
34171 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34172 definitions and declarations that are provided by
34173 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34174
d0f8457e
AK
341752012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34176
3a235abb 34177 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34178 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34179 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34180 definition.
34181
57241e26
MS
341822012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34183
34184 * elf/elf.h: Update comment before AArch64 relocations.
34185
60e8270d
DM
341862012-11-07 David S. Miller <davem@davemloft.net>
34187
34188 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34189 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34190 (__start_context): Declare.
34191 (__makecontext_ret): Delete.
34192 (__makecontext): Hook up __start_context instead of
34193 __makecontext_ret.
34194 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34195 (sysdep_routines): Add __start_context when in stdlib.
34196
0fbb0fbc
JM
341972012-11-07 Joseph Myers <joseph@codesourcery.com>
34198
34199 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34200 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34201 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34202 hardcoded "nm".
34203 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34204 (READELF): New variable. Use it instead of hardcoded "readelf".
34205
eb48db7e
L
342062012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34207
34208 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34209 * sysdeps/x86/Makefile: Here.
34210 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34211 * sysdeps/x86/tst-xmmymm.sh: This.
34212
05bcf62a
JM
342132012-11-07 Joseph Myers <joseph@codesourcery.com>
34214
c4b6cf53
JM
34215 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34216 expectations.
34217 [UNIX98] (pthread_barrier_t): Do not expect.
34218 [UNIX98] (pthread_barrierattr_t): Likewise.
34219 [UNIX98] (pthread_spinlock_t): Likewise.
34220 [UNIX98] (pthread_barrier_destroy): Likewise.
34221 [UNIX98] (pthread_barrier_init): Likewise.
34222 [UNIX98] (pthread_barrier_wait): Likewise.
34223 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34224 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34225 [UNIX98] (pthread_barrierattr_init): Likewise.
34226 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34227 [UNIX98] (pthread_getcpuclockid): Likewise.
34228 [UNIX98] (pthread_mutex_timedlock): Likewise.
34229 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34230 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34231 [UNIX98] (pthread_sigmask): Likewise.
34232 [UNIX98] (pthread_spin_destroy): Likewise.
34233 [UNIX98] (pthread_spin_init): Likewise.
34234 [UNIX98] (pthread_spin_lock): Likewise.
34235 [UNIX98] (pthread_spin_trylock): Likewise.
34236 [UNIX98] (pthread_spin_unlock): Likewise.
34237 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34238 Do not expect.
34239 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34241 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34242 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34243 [XPG3 || XPG4] (pthread_key_t): Likewise.
34244 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34245 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34246 [XPG3 || XPG4] (pthread_once_t): Likewise.
34247 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34248 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34250 [XPG3 || XPG4] (pthread_t): Likewise.
34251
cbe6e120
JM
34252 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34253 not expect.
34254 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34255
1b126443
JM
34256 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34257 Change function return type to int.
34258
b961a573
JM
34259 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34260 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34261 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34262 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34263 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34264 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34265 [!POSIX] (posix_madvise): Likewise.
34266 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34267 && !UNIX98].
34268 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34269 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34270 (mode_t): Likewise.
34271 (posix_mem_offset): Likewise.
34272 (posix_typed_mem_get_info): Likewise.
34273 (posix_typed_mem_open): Likewise.
34274
9e188909
JM
34275 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34276 Change condition to [XOPEN2K8].
34277
05bcf62a
JM
34278 * conform/conformtest.pl: Preprocess allow-header data with -x c
34279 instead of from stdin.
34280 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34281 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34282 [C99-based standards] (cerfc): Likewise.
34283 [C99-based standards] (cexp2): Likewise.
34284 [C99-based standards] (cexpm1): Likewise.
34285 [C99-based standards] (clog10): Likewise.
34286 [C99-based standards] (clog1p): Likewise.
34287 [C99-based standards] (clog2): Likewise.
34288 [C99-based standards] (clgamma): Likewise.
34289 [C99-based standards] (ctgamma): Likewise.
34290 [C99-based standards] (cerff): Likewise.
34291 [C99-based standards] (cerfcf): Likewise.
34292 [C99-based standards] (cexp2f): Likewise.
34293 [C99-based standards] (cexpm1f): Likewise.
34294 [C99-based standards] (clog10f): Likewise.
34295 [C99-based standards] (clog1pf): Likewise.
34296 [C99-based standards] (clog2f): Likewise.
34297 [C99-based standards] (clgammaf): Likewise.
34298 [C99-based standards] (ctgammaf): Likewise.
34299 [C99-based standards] (cerfl): Likewise.
34300 [C99-based standards] (cerfcl): Likewise.
34301 [C99-based standards] (cexp2l): Likewise.
34302 [C99-based standards] (cexpm1l): Likewise.
34303 [C99-based standards] (clog10l): Likewise.
34304 [C99-based standards] (clog1pl): Likewise.
34305 [C99-based standards] (clog2l): Likewise.
34306 [C99-based standards] (clgammal): Likewise.
34307 [C99-based standards] (ctgammal): Likewise.
34308 * conform/data/inttypes.h-data [C99-based standards]: Include
34309 stdint.h-data. Remove all expectations for stdint.h contents.
34310 [C99-based standards] (PRI*): Do not allow.
34311 [C99-based standards] (SCN*): Likewise.
34312 [C99-based standards] (*_t): Likewise.
34313 [C99-based-standards] (PRId8): Expect macro.
34314 [C99-based-standards] (PRIi8): Likewise.
34315 [C99-based-standards] (PRIo8): Likewise.
34316 [C99-based-standards] (PRIu8): Likewise.
34317 [C99-based-standards] (PRIx8): Likewise.
34318 [C99-based-standards] (PRIX8): Likewise.
34319 [C99-based-standards] (SCNd8): Likewise.
34320 [C99-based-standards] (SCNi8): Likewise.
34321 [C99-based-standards] (SCNo8): Likewise.
34322 [C99-based-standards] (SCNu8): Likewise.
34323 [C99-based-standards] (SCNx8): Likewise.
34324 [C99-based-standards] (PRIdLEAST8): Likewise.
34325 [C99-based-standards] (PRIiLEAST8): Likewise.
34326 [C99-based-standards] (PRIoLEAST8): Likewise.
34327 [C99-based-standards] (PRIuLEAST8): Likewise.
34328 [C99-based-standards] (PRIxLEAST8): Likewise.
34329 [C99-based-standards] (PRIXLEAST8): Likewise.
34330 [C99-based-standards] (SCNdLEAST8): Likewise.
34331 [C99-based-standards] (SCNiLEAST8): Likewise.
34332 [C99-based-standards] (SCNoLEAST8): Likewise.
34333 [C99-based-standards] (SCNuLEAST8): Likewise.
34334 [C99-based-standards] (SCNxLEAST8): Likewise.
34335 [C99-based-standards] (PRIdFAST8): Likewise.
34336 [C99-based-standards] (PRIiFAST8): Likewise.
34337 [C99-based-standards] (PRIoFAST8): Likewise.
34338 [C99-based-standards] (PRIuFAST8): Likewise.
34339 [C99-based-standards] (PRIxFAST8): Likewise.
34340 [C99-based-standards] (PRIXFAST8): Likewise.
34341 [C99-based-standards] (SCNdFAST8): Likewise.
34342 [C99-based-standards] (SCNiFAST8): Likewise.
34343 [C99-based-standards] (SCNoFAST8): Likewise.
34344 [C99-based-standards] (SCNuFAST8): Likewise.
34345 [C99-based-standards] (SCNxFAST8): Likewise.
34346 [C99-based-standards] (PRId16): Likewise.
34347 [C99-based-standards] (PRIi16): Likewise.
34348 [C99-based-standards] (PRIo16): Likewise.
34349 [C99-based-standards] (PRIu16): Likewise.
34350 [C99-based-standards] (PRIx16): Likewise.
34351 [C99-based-standards] (PRIX16): Likewise.
34352 [C99-based-standards] (SCNd16): Likewise.
34353 [C99-based-standards] (SCNi16): Likewise.
34354 [C99-based-standards] (SCNo16): Likewise.
34355 [C99-based-standards] (SCNu16): Likewise.
34356 [C99-based-standards] (SCNx16): Likewise.
34357 [C99-based-standards] (PRIdLEAST16): Likewise.
34358 [C99-based-standards] (PRIiLEAST16): Likewise.
34359 [C99-based-standards] (PRIoLEAST16): Likewise.
34360 [C99-based-standards] (PRIuLEAST16): Likewise.
34361 [C99-based-standards] (PRIxLEAST16): Likewise.
34362 [C99-based-standards] (PRIXLEAST16): Likewise.
34363 [C99-based-standards] (SCNdLEAST16): Likewise.
34364 [C99-based-standards] (SCNiLEAST16): Likewise.
34365 [C99-based-standards] (SCNoLEAST16): Likewise.
34366 [C99-based-standards] (SCNuLEAST16): Likewise.
34367 [C99-based-standards] (SCNxLEAST16): Likewise.
34368 [C99-based-standards] (PRIdFAST16): Likewise.
34369 [C99-based-standards] (PRIiFAST16): Likewise.
34370 [C99-based-standards] (PRIoFAST16): Likewise.
34371 [C99-based-standards] (PRIuFAST16): Likewise.
34372 [C99-based-standards] (PRIxFAST16): Likewise.
34373 [C99-based-standards] (PRIXFAST16): Likewise.
34374 [C99-based-standards] (SCNdFAST16): Likewise.
34375 [C99-based-standards] (SCNiFAST16): Likewise.
34376 [C99-based-standards] (SCNoFAST16): Likewise.
34377 [C99-based-standards] (SCNuFAST16): Likewise.
34378 [C99-based-standards] (SCNxFAST16): Likewise.
34379 [C99-based-standards] (PRId32): Likewise.
34380 [C99-based-standards] (PRIi32): Likewise.
34381 [C99-based-standards] (PRIo32): Likewise.
34382 [C99-based-standards] (PRIu32): Likewise.
34383 [C99-based-standards] (PRIx32): Likewise.
34384 [C99-based-standards] (PRIX32): Likewise.
34385 [C99-based-standards] (SCNd32): Likewise.
34386 [C99-based-standards] (SCNi32): Likewise.
34387 [C99-based-standards] (SCNo32): Likewise.
34388 [C99-based-standards] (SCNu32): Likewise.
34389 [C99-based-standards] (SCNx32): Likewise.
34390 [C99-based-standards] (PRIdLEAST32): Likewise.
34391 [C99-based-standards] (PRIiLEAST32): Likewise.
34392 [C99-based-standards] (PRIoLEAST32): Likewise.
34393 [C99-based-standards] (PRIuLEAST32): Likewise.
34394 [C99-based-standards] (PRIxLEAST32): Likewise.
34395 [C99-based-standards] (PRIXLEAST32): Likewise.
34396 [C99-based-standards] (SCNdLEAST32): Likewise.
34397 [C99-based-standards] (SCNiLEAST32): Likewise.
34398 [C99-based-standards] (SCNoLEAST32): Likewise.
34399 [C99-based-standards] (SCNuLEAST32): Likewise.
34400 [C99-based-standards] (SCNxLEAST32): Likewise.
34401 [C99-based-standards] (PRIdFAST32): Likewise.
34402 [C99-based-standards] (PRIiFAST32): Likewise.
34403 [C99-based-standards] (PRIoFAST32): Likewise.
34404 [C99-based-standards] (PRIuFAST32): Likewise.
34405 [C99-based-standards] (PRIxFAST32): Likewise.
34406 [C99-based-standards] (PRIXFAST32): Likewise.
34407 [C99-based-standards] (SCNdFAST32): Likewise.
34408 [C99-based-standards] (SCNiFAST32): Likewise.
34409 [C99-based-standards] (SCNoFAST32): Likewise.
34410 [C99-based-standards] (SCNuFAST32): Likewise.
34411 [C99-based-standards] (SCNxFAST32): Likewise.
34412 [C99-based-standards] (PRId64): Likewise.
34413 [C99-based-standards] (PRIi64): Likewise.
34414 [C99-based-standards] (PRIo64): Likewise.
34415 [C99-based-standards] (PRIu64): Likewise.
34416 [C99-based-standards] (PRIx64): Likewise.
34417 [C99-based-standards] (PRIX64): Likewise.
34418 [C99-based-standards] (SCNd64): Likewise.
34419 [C99-based-standards] (SCNi64): Likewise.
34420 [C99-based-standards] (SCNo64): Likewise.
34421 [C99-based-standards] (SCNu64): Likewise.
34422 [C99-based-standards] (SCNx64): Likewise.
34423 [C99-based-standards] (PRIdLEAST64): Likewise.
34424 [C99-based-standards] (PRIiLEAST64): Likewise.
34425 [C99-based-standards] (PRIoLEAST64): Likewise.
34426 [C99-based-standards] (PRIuLEAST64): Likewise.
34427 [C99-based-standards] (PRIxLEAST64): Likewise.
34428 [C99-based-standards] (PRIXLEAST64): Likewise.
34429 [C99-based-standards] (SCNdLEAST64): Likewise.
34430 [C99-based-standards] (SCNiLEAST64): Likewise.
34431 [C99-based-standards] (SCNoLEAST64): Likewise.
34432 [C99-based-standards] (SCNuLEAST64): Likewise.
34433 [C99-based-standards] (SCNxLEAST64): Likewise.
34434 [C99-based-standards] (PRIdFAST64): Likewise.
34435 [C99-based-standards] (PRIiFAST64): Likewise.
34436 [C99-based-standards] (PRIoFAST64): Likewise.
34437 [C99-based-standards] (PRIuFAST64): Likewise.
34438 [C99-based-standards] (PRIxFAST64): Likewise.
34439 [C99-based-standards] (PRIXFAST64): Likewise.
34440 [C99-based-standards] (SCNdFAST64): Likewise.
34441 [C99-based-standards] (SCNiFAST64): Likewise.
34442 [C99-based-standards] (SCNoFAST64): Likewise.
34443 [C99-based-standards] (SCNuFAST64): Likewise.
34444 [C99-based-standards] (SCNxFAST64): Likewise.
34445 [C99-based-standards] (PRIdMAX): Likewise.
34446 [C99-based-standards] (PRIiMAX): Likewise.
34447 [C99-based-standards] (PRIoMAX): Likewise.
34448 [C99-based-standards] (PRIuMAX): Likewise.
34449 [C99-based-standards] (PRIxMAX): Likewise.
34450 [C99-based-standards] (PRIXMAX): Likewise.
34451 [C99-based-standards] (SCNdMAX): Likewise.
34452 [C99-based-standards] (SCNiMAX): Likewise.
34453 [C99-based-standards] (SCNoMAX): Likewise.
34454 [C99-based-standards] (SCNuMAX): Likewise.
34455 [C99-based-standards] (SCNxMAX): Likewise.
34456 [C99-based-standards] (PRIdPTR): Likewise.
34457 [C99-based-standards] (PRIiPTR): Likewise.
34458 [C99-based-standards] (PRIoPTR): Likewise.
34459 [C99-based-standards] (PRIuPTR): Likewise.
34460 [C99-based-standards] (PRIxPTR): Likewise.
34461 [C99-based-standards] (PRIXPTR): Likewise.
34462 [C99-based-standards] (SCNdPTR): Likewise.
34463 [C99-based-standards] (SCNiPTR): Likewise.
34464 [C99-based-standards] (SCNoPTR): Likewise.
34465 [C99-based-standards] (SCNuPTR): Likewise.
34466 [C99-based-standards] (SCNxPTR): Likewise.
34467 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34468 allow.
34469 * conform/data/stdint.h-data: Update comments to clarify
34470 requirements.
34471 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34472 type.
34473 [C99-based standards] (INT8_MAX): Likewise.
34474 [C99-based standards] (INT16_MIN): Likewise.
34475 [C99-based standards] (INT16_MAX): Likewise.
34476 [C99-based standards] (INT32_MIN): Likewise.
34477 [C99-based standards] (INT32_MAX): Likewise.
34478 [C99-based standards] (INT64_MIN): Likewise.
34479 [C99-based standards] (INT64_MAX): Likewise.
34480 [C99-based standards] (UINT8_MAX): Likewise.
34481 [C99-based standards] (UINT16_MAX): Likewise.
34482 [C99-based standards] (UINT32_MAX): Likewise.
34483 [C99-based standards] (UINT64_MAX): Likewise.
34484 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34485 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34486 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34487 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34488 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34489 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34490 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34491 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34492 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34493 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34494 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34495 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34496 [C99-based standards] (INT_FAST8_MIN): Likewise.
34497 [C99-based standards] (INT_FAST8_MAX): Likewise.
34498 [C99-based standards] (INT_FAST16_MIN): Likewise.
34499 [C99-based standards] (INT_FAST16_MAX): Likewise.
34500 [C99-based standards] (INT_FAST32_MIN): Likewise.
34501 [C99-based standards] (INT_FAST32_MAX): Likewise.
34502 [C99-based standards] (INT_FAST64_MIN): Likewise.
34503 [C99-based standards] (INT_FAST64_MAX): Likewise.
34504 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34505 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34506 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34507 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34508 [C99-based standards] (INTPTR_MIN): Likewise.
34509 [C99-based standards] (INTPTR_MAX): Likewise.
34510 [C99-based standards] (UINTPTR_MAX): Likewise.
34511 [C99-based standards] (INTMAX_MIN): Likewise.
34512 [C99-based standards] (INTMAX_MAX): Likewise.
34513 [C99-based standards] (UINTMAX_MAX): Likewise.
34514 [C99-based standards] (PTRDIFF_MIN): Likewise.
34515 [C99-based standards] (PTRDIFF_MAX): Likewise.
34516 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34517 [C99-based standards] (SIZE_MAX): Likewise.
34518 [C99-based standards] (WCHAR_MAX): Likewise.
34519 [C99-based standards] (WINT_MAX): Likewise.
34520 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34521 constraint on value.
34522 [C99-based standards] (WCHAR_MIN): Likewise.
34523 [C99-based standards] (WINT_MIN): Likewise.
34524 [C99-based standards] (*_t): Allow.
34525 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34526 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34527 Include math.h-data and complex.h-data. Remove all expectations
34528 of math.h and complex.h contents.
34529 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34530 at end of line.
34531 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34532 (struct tm): Expect tag.
34533 [C99-based-standards] (wcstof): Expect function.
34534 [C99-based-standards] (wcstold): Likewise.
34535 [C99-based-standards] (wcstoll): Likewise.
34536 [C99-based-standards] (wcstoull): Likewise.
34537 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34538 macro-int-constant. Specify type.
34539 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34540 constraint on value.
34541 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34542 Specify type.
34543 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34544 Specify value.
34545 [ISO C standards]: Do not allow headers.
34546 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34547 wcs[abcdefghijklmnopqrstuvwxyz]*.
34548 [ISO C standards] (*_t): Do not allow.
34549 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34550 Expect function.
34551 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34552 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34553 Specify type.
34554 [ISO C standards]: Do not allow headers.
34555 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34556 is[abcdefghijklmnopqrstuvwxyz]*.
34557 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34558 to[abcdefghijklmnopqrstuvwxyz]*.
34559 [ISO C standards] (*_t): Do not allow.
34560 * conform/data/stdalign.h-data: New file.
34561 * conform/data/stdbool.h-data: Likewise.
34562 * conform/data/stdnoreturn.h-data: Likewise.
34563
7514feb8
RM
345642012-11-07 Roland McGrath <roland@hack.frob.com>
34565
34566 [BZ #14815]
34567 * manual/filesys.texi (Directory Entries): Typo fix.
34568 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34569
19b2ecfc
MS
345702012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34571
34572 * elf/elf.h (EM_AARCH64): New macro.
34573 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34574 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34575 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34576 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34577 (R_AARCH64_TLSDESC): Likewise.
34578 (NT_ARM_TLS): Likewise.
34579 (NT_ARM_HW_BREAK): Likewise.
34580 (NT_ARM_HW_WATCH): Likewise.
34581
60e235ee
JM
345822012-11-07 Joseph Myers <joseph@codesourcery.com>
34583
34584 [BZ #14811]
34585 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34586 (__ieee754_powl): Saturate nonzero exponents with absolute value
34587 below 0x1p-79 to +/- 0x1p-79.
34588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34589 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34590 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34591 nonzero exponents with absolute value below 0x1p-32 to +/-
34592 0x1p-32.
34593 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34594 (__ieee754_powl): Saturate nonzero exponents with absolute value
34595 below 0x1p-79 to +/- 0x1p-79.
34596 * math/libm-test.inc (pow_test): Add more tests.
34597
0ab234b7
AK
345982012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34599
34600 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34601 _dl_s390_cap_flags with kernel. Increase string length.
34602 (_dl_s390_platforms): Add z196 and zEC12.
34603
45832f74
JM
346042012-11-07 Joseph Myers <joseph@codesourcery.com>
34605
34606 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34607 Change XOPEN21K to XOPEN2K.
34608
19218757
MK
346092012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34610
34611 * string/memmove.c: Use memcpy when possible.
34612
c5f45721
AJ
346132012-11-06 Andreas Jaeger <aj@suse.de>
34614
34615 * po/eo.po: Update from translation team.
34616
82477c28
JM
346172012-11-06 Joseph Myers <joseph@codesourcery.com>
34618
34619 [BZ #14793]
34620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34621 exponent and small x and y exponents, scale x or y up. Increase
34622 by 2 the exponent used in scaling up.
34623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34625 * math/libm-test.inc (fma_test): Add more tests.
34626 (fma_test_towardzero): Likewise.
34627 (fma_test_downward): Likewise.
34628 (fma_test_upward): Likewise.
34629
99252c8c
JM
346302012-11-05 Joseph Myers <joseph@codesourcery.com>
34631
acfa885f
JM
34632 [BZ #14805]
34633 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34634 fenv_t *.
34635
99252c8c
JM
34636 [BZ #14801]
34637 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34638 namespace for names of struct fields.
34639 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34640 fenv_t fields.
34641 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34642 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34643
d6d98dea
ST
346442012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34645
34646 [BZ #3665]
34647 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34648
e10bb107
TS
346492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34650
34651 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34652 PTR_DEMANGLE.
34653
34654 [BZ #5246]
34655 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34656 PTR_DEMANGLE.
34657
a0c2940d
JM
346582012-11-04 Joseph Myers <joseph@codesourcery.com>
34659
34660 [BZ #14797]
34661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34662 definitely overflow as x * y not x * y + z.
34663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34665 * math/libm-test.inc (fma_test): Add more tests.
34666 (fma_test_towardzero): Likewise.
34667 (fma_test_downward): Likewise.
34668 (fma_test_upward): Likewise.
34669
b830319d
TS
346702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34671
34672 [BZ #157]
34673
34674 * include/stub-tag.h: Remove file.
34675 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34676 '#include' of it.
34677 * manual/maint.texi (Porting): Don't reference it.
34678 * Makerules ($(objpfx)stubs): Likewise.
34679 * dirent/closedir.c: Don't include <stub-tag.h>.
34680 * dirent/dirfd.c: Likewise.
34681 * dirent/fdopendir.c: Likewise.
34682 * dirent/getdents.c: Likewise.
34683 * dirent/getdents64.c: Likewise.
34684 * dirent/opendir.c: Likewise.
34685 * dirent/readdir.c: Likewise.
34686 * dirent/readdir64.c: Likewise.
34687 * dirent/readdir64_r.c: Likewise.
34688 * dirent/readdir_r.c: Likewise.
34689 * dirent/rewinddir.c: Likewise.
34690 * dirent/seekdir.c: Likewise.
34691 * dirent/telldir.c: Likewise.
34692 * gmon/profil.c: Likewise.
34693 * grp/setgroups.c: Likewise.
34694 * inet/if_index.c: Likewise.
34695 * io/access.c: Likewise.
34696 * io/chdir.c: Likewise.
34697 * io/chmod.c: Likewise.
34698 * io/chown.c: Likewise.
34699 * io/close.c: Likewise.
34700 * io/dup.c: Likewise.
34701 * io/dup2.c: Likewise.
34702 * io/dup3.c: Likewise.
34703 * io/euidaccess.c: Likewise.
34704 * io/faccessat.c: Likewise.
34705 * io/fchdir.c: Likewise.
34706 * io/fchmod.c: Likewise.
34707 * io/fchmodat.c: Likewise.
34708 * io/fchown.c: Likewise.
34709 * io/fchownat.c: Likewise.
34710 * io/fcntl.c: Likewise.
34711 * io/flock.c: Likewise.
34712 * io/fstatfs.c: Likewise.
34713 * io/fstatfs64.c: Likewise.
34714 * io/fstatvfs.c: Likewise.
34715 * io/fstatvfs64.c: Likewise.
34716 * io/futimens.c: Likewise.
34717 * io/fxstat.c: Likewise.
34718 * io/fxstat64.c: Likewise.
34719 * io/fxstatat.c: Likewise.
34720 * io/fxstatat64.c: Likewise.
34721 * io/getcwd.c: Likewise.
34722 * io/isatty.c: Likewise.
34723 * io/lchmod.c: Likewise.
34724 * io/lchown.c: Likewise.
34725 * io/link.c: Likewise.
34726 * io/linkat.c: Likewise.
34727 * io/lseek.c: Likewise.
34728 * io/lseek64.c: Likewise.
34729 * io/lxstat64.c: Likewise.
34730 * io/mkdir.c: Likewise.
34731 * io/mkdirat.c: Likewise.
34732 * io/mkfifo.c: Likewise.
34733 * io/mkfifoat.c: Likewise.
34734 * io/open.c: Likewise.
34735 * io/open64.c: Likewise.
34736 * io/openat.c: Likewise.
34737 * io/openat64.c: Likewise.
34738 * io/pipe.c: Likewise.
34739 * io/pipe2.c: Likewise.
34740 * io/poll.c: Likewise.
34741 * io/posix_fadvise.c: Likewise.
34742 * io/posix_fadvise64.c: Likewise.
34743 * io/posix_fallocate.c: Likewise.
34744 * io/posix_fallocate64.c: Likewise.
34745 * io/read.c: Likewise.
34746 * io/readlink.c: Likewise.
34747 * io/readlinkat.c: Likewise.
34748 * io/rmdir.c: Likewise.
34749 * io/sendfile.c: Likewise.
34750 * io/sendfile64.c: Likewise.
34751 * io/statfs.c: Likewise.
34752 * io/statfs64.c: Likewise.
34753 * io/statvfs.c: Likewise.
34754 * io/statvfs64.c: Likewise.
34755 * io/symlink.c: Likewise.
34756 * io/symlinkat.c: Likewise.
34757 * io/ttyname.c: Likewise.
34758 * io/ttyname_r.c: Likewise.
34759 * io/umask.c: Likewise.
34760 * io/unlink.c: Likewise.
34761 * io/unlinkat.c: Likewise.
34762 * io/utime.c: Likewise.
34763 * io/utimensat.c: Likewise.
34764 * io/write.c: Likewise.
34765 * io/xmknod.c: Likewise.
34766 * io/xmknodat.c: Likewise.
34767 * io/xstat.c: Likewise.
34768 * io/xstat64.c: Likewise.
34769 * login/getpt.c: Likewise.
34770 * login/grantpt.c: Likewise.
34771 * login/unlockpt.c: Likewise.
34772 * math/e_acoshl.c: Likewise.
34773 * math/e_acosl.c: Likewise.
34774 * math/e_asinl.c: Likewise.
34775 * math/e_atan2l.c: Likewise.
34776 * math/e_atanhl.c: Likewise.
34777 * math/e_coshl.c: Likewise.
34778 * math/e_expl.c: Likewise.
34779 * math/e_fmodl.c: Likewise.
34780 * math/e_gammal_r.c: Likewise.
34781 * math/e_hypotl.c: Likewise.
34782 * math/e_j0l.c: Likewise.
34783 * math/e_j1l.c: Likewise.
34784 * math/e_jnl.c: Likewise.
34785 * math/e_lgammal_r.c: Likewise.
34786 * math/e_log10l.c: Likewise.
34787 * math/e_log2l.c: Likewise.
34788 * math/e_logl.c: Likewise.
34789 * math/e_powl.c: Likewise.
34790 * math/e_rem_pio2l.c: Likewise.
34791 * math/e_sinhl.c: Likewise.
34792 * math/e_sqrtl.c: Likewise.
34793 * math/fclrexcpt.c: Likewise.
34794 * math/fedisblxcpt.c: Likewise.
34795 * math/feenablxcpt.c: Likewise.
34796 * math/fegetenv.c: Likewise.
34797 * math/fegetexcept.c: Likewise.
34798 * math/fegetround.c: Likewise.
34799 * math/feholdexcpt.c: Likewise.
34800 * math/fesetenv.c: Likewise.
34801 * math/fesetround.c: Likewise.
34802 * math/feupdateenv.c: Likewise.
34803 * math/fgetexcptflg.c: Likewise.
34804 * math/fraiseexcpt.c: Likewise.
34805 * math/fsetexcptflg.c: Likewise.
34806 * math/ftestexcept.c: Likewise.
34807 * math/k_cosl.c: Likewise.
34808 * math/k_rem_pio2l.c: Likewise.
34809 * math/k_sinl.c: Likewise.
34810 * math/k_tanl.c: Likewise.
34811 * math/s_asinhl.c: Likewise.
34812 * math/s_atanl.c: Likewise.
34813 * math/s_cbrtl.c: Likewise.
34814 * math/s_erfl.c: Likewise.
34815 * math/s_expm1l.c: Likewise.
34816 * math/s_log1pl.c: Likewise.
34817 * math/s_tanhl.c: Likewise.
34818 * misc/acct.c: Likewise.
34819 * misc/brk.c: Likewise.
34820 * misc/chflags.c: Likewise.
34821 * misc/chroot.c: Likewise.
34822 * misc/fchflags.c: Likewise.
34823 * misc/fgetxattr.c: Likewise.
34824 * misc/flistxattr.c: Likewise.
34825 * misc/fremovexattr.c: Likewise.
34826 * misc/fsetxattr.c: Likewise.
34827 * misc/fsync.c: Likewise.
34828 * misc/ftruncate.c: Likewise.
34829 * misc/futimes.c: Likewise.
34830 * misc/futimesat.c: Likewise.
34831 * misc/getdomain.c: Likewise.
34832 * misc/getdtsz.c: Likewise.
34833 * misc/gethostid.c: Likewise.
34834 * misc/gethostname.c: Likewise.
34835 * misc/getloadavg.c: Likewise.
34836 * misc/getpagesize.c: Likewise.
34837 * misc/getsysstats.c: Likewise.
34838 * misc/getxattr.c: Likewise.
34839 * misc/gtty.c: Likewise.
34840 * misc/ioctl.c: Likewise.
34841 * misc/lgetxattr.c: Likewise.
34842 * misc/listxattr.c: Likewise.
34843 * misc/llistxattr.c: Likewise.
34844 * misc/lremovexattr.c: Likewise.
34845 * misc/lsetxattr.c: Likewise.
34846 * misc/lutimes.c: Likewise.
34847 * misc/madvise.c: Likewise.
34848 * misc/mincore.c: Likewise.
34849 * misc/mlock.c: Likewise.
34850 * misc/mlockall.c: Likewise.
34851 * misc/mmap.c: Likewise.
34852 * misc/mprotect.c: Likewise.
34853 * misc/msync.c: Likewise.
34854 * misc/munlock.c: Likewise.
34855 * misc/munlockall.c: Likewise.
34856 * misc/munmap.c: Likewise.
34857 * misc/preadv.c: Likewise.
34858 * misc/preadv64.c: Likewise.
34859 * misc/ptrace.c: Likewise.
34860 * misc/pwritev.c: Likewise.
34861 * misc/pwritev64.c: Likewise.
34862 * misc/readv.c: Likewise.
34863 * misc/reboot.c: Likewise.
34864 * misc/remap_file_pages.c: Likewise.
34865 * misc/removexattr.c: Likewise.
34866 * misc/revoke.c: Likewise.
34867 * misc/select.c: Likewise.
34868 * misc/setdomain.c: Likewise.
34869 * misc/setegid.c: Likewise.
34870 * misc/seteuid.c: Likewise.
34871 * misc/sethostid.c: Likewise.
34872 * misc/sethostname.c: Likewise.
34873 * misc/setregid.c: Likewise.
34874 * misc/setreuid.c: Likewise.
34875 * misc/setxattr.c: Likewise.
34876 * misc/sstk.c: Likewise.
34877 * misc/stty.c: Likewise.
34878 * misc/swapoff.c: Likewise.
34879 * misc/swapon.c: Likewise.
34880 * misc/sync.c: Likewise.
34881 * misc/syncfs.c: Likewise.
34882 * misc/syscall.c: Likewise.
34883 * misc/truncate.c: Likewise.
34884 * misc/ualarm.c: Likewise.
34885 * misc/usleep.c: Likewise.
34886 * misc/ustat.c: Likewise.
34887 * misc/utimes.c: Likewise.
34888 * misc/vhangup.c: Likewise.
34889 * misc/writev.c: Likewise.
34890 * posix/_exit.c: Likewise.
34891 * posix/alarm.c: Likewise.
34892 * posix/execve.c: Likewise.
34893 * posix/fexecve.c: Likewise.
34894 * posix/fork.c: Likewise.
34895 * posix/fpathconf.c: Likewise.
34896 * posix/getaddrinfo.c: Likewise.
34897 * posix/getegid.c: Likewise.
34898 * posix/geteuid.c: Likewise.
34899 * posix/getgid.c: Likewise.
34900 * posix/getgroups.c: Likewise.
34901 * posix/getlogin.c: Likewise.
34902 * posix/getlogin_r.c: Likewise.
34903 * posix/getpgid.c: Likewise.
34904 * posix/getpid.c: Likewise.
34905 * posix/getppid.c: Likewise.
34906 * posix/getresgid.c: Likewise.
34907 * posix/getresuid.c: Likewise.
34908 * posix/getsid.c: Likewise.
34909 * posix/getuid.c: Likewise.
34910 * posix/glob64.c: Likewise.
34911 * posix/nanosleep.c: Likewise.
34912 * posix/pathconf.c: Likewise.
34913 * posix/pause.c: Likewise.
34914 * posix/posix_madvise.c: Likewise.
34915 * posix/pread.c: Likewise.
34916 * posix/pread64.c: Likewise.
34917 * posix/pwrite.c: Likewise.
34918 * posix/pwrite64.c: Likewise.
34919 * posix/sched_getaffinity.c: Likewise.
34920 * posix/sched_getp.c: Likewise.
34921 * posix/sched_gets.c: Likewise.
34922 * posix/sched_primax.c: Likewise.
34923 * posix/sched_primin.c: Likewise.
34924 * posix/sched_rr_gi.c: Likewise.
34925 * posix/sched_setaffinity.c: Likewise.
34926 * posix/sched_setp.c: Likewise.
34927 * posix/sched_sets.c: Likewise.
34928 * posix/sched_yield.c: Likewise.
34929 * posix/setgid.c: Likewise.
34930 * posix/setlogin.c: Likewise.
34931 * posix/setpgid.c: Likewise.
34932 * posix/setresgid.c: Likewise.
34933 * posix/setresuid.c: Likewise.
34934 * posix/setsid.c: Likewise.
34935 * posix/setuid.c: Likewise.
34936 * posix/sleep.c: Likewise.
34937 * posix/spawni.c: Likewise.
34938 * posix/sysconf.c: Likewise.
34939 * posix/times.c: Likewise.
34940 * posix/wait.c: Likewise.
34941 * posix/wait3.c: Likewise.
34942 * posix/wait4.c: Likewise.
34943 * posix/waitpid.c: Likewise.
34944 * resolv/gai_sigqueue.c: Likewise.
34945 * resource/getpriority.c: Likewise.
34946 * resource/getrlimit.c: Likewise.
34947 * resource/getrusage.c: Likewise.
34948 * resource/nice.c: Likewise.
34949 * resource/setpriority.c: Likewise.
34950 * resource/setrlimit.c: Likewise.
34951 * resource/ulimit.c: Likewise.
34952 * rt/aio_cancel.c: Likewise.
34953 * rt/aio_fsync.c: Likewise.
34954 * rt/aio_read.c: Likewise.
34955 * rt/aio_sigqueue.c: Likewise.
34956 * rt/aio_suspend.c: Likewise.
34957 * rt/aio_write.c: Likewise.
34958 * rt/clock_getres.c: Likewise.
34959 * rt/clock_gettime.c: Likewise.
34960 * rt/clock_nanosleep.c: Likewise.
34961 * rt/clock_settime.c: Likewise.
34962 * rt/lio_listio.c: Likewise.
34963 * rt/mq_close.c: Likewise.
34964 * rt/mq_getattr.c: Likewise.
34965 * rt/mq_notify.c: Likewise.
34966 * rt/mq_open.c: Likewise.
34967 * rt/mq_receive.c: Likewise.
34968 * rt/mq_send.c: Likewise.
34969 * rt/mq_setattr.c: Likewise.
34970 * rt/mq_timedreceive.c: Likewise.
34971 * rt/mq_timedsend.c: Likewise.
34972 * rt/mq_unlink.c: Likewise.
34973 * rt/shm_open.c: Likewise.
34974 * rt/shm_unlink.c: Likewise.
34975 * rt/timer_create.c: Likewise.
34976 * rt/timer_delete.c: Likewise.
34977 * rt/timer_getoverr.c: Likewise.
34978 * rt/timer_gettime.c: Likewise.
34979 * rt/timer_settime.c: Likewise.
34980 * setjmp/__longjmp.c: Likewise.
34981 * setjmp/setjmp.c: Likewise.
34982 * signal/kill.c: Likewise.
34983 * signal/killpg.c: Likewise.
34984 * signal/raise.c: Likewise.
34985 * signal/sigaction.c: Likewise.
34986 * signal/sigaltstack.c: Likewise.
34987 * signal/sigblock.c: Likewise.
34988 * signal/sigignore.c: Likewise.
34989 * signal/sigintr.c: Likewise.
34990 * signal/signal.c: Likewise.
34991 * signal/sigpause.c: Likewise.
34992 * signal/sigpending.c: Likewise.
34993 * signal/sigqueue.c: Likewise.
34994 * signal/sigreturn.c: Likewise.
34995 * signal/sigset.c: Likewise.
34996 * signal/sigsetmask.c: Likewise.
34997 * signal/sigstack.c: Likewise.
34998 * signal/sigsuspend.c: Likewise.
34999 * signal/sigtimedwait.c: Likewise.
35000 * signal/sigvec.c: Likewise.
35001 * signal/sigwait.c: Likewise.
35002 * signal/sigwaitinfo.c: Likewise.
35003 * signal/sysv_signal.c: Likewise.
35004 * socket/accept.c: Likewise.
35005 * socket/accept4.c: Likewise.
35006 * socket/bind.c: Likewise.
35007 * socket/connect.c: Likewise.
35008 * socket/getpeername.c: Likewise.
35009 * socket/getsockname.c: Likewise.
35010 * socket/getsockopt.c: Likewise.
35011 * socket/isfdtype.c: Likewise.
35012 * socket/listen.c: Likewise.
35013 * socket/recv.c: Likewise.
35014 * socket/recvfrom.c: Likewise.
35015 * socket/recvmsg.c: Likewise.
35016 * socket/send.c: Likewise.
35017 * socket/sendmsg.c: Likewise.
35018 * socket/sendto.c: Likewise.
35019 * socket/setsockopt.c: Likewise.
35020 * socket/shutdown.c: Likewise.
35021 * socket/sockatmark.c: Likewise.
35022 * socket/socket.c: Likewise.
35023 * socket/socketpair.c: Likewise.
35024 * stdio-common/ctermid.c: Likewise.
35025 * stdio-common/cuserid.c: Likewise.
35026 * stdio-common/remove.c: Likewise.
35027 * stdio-common/rename.c: Likewise.
35028 * stdio-common/renameat.c: Likewise.
35029 * stdio-common/tempname.c: Likewise.
35030 * stdlib/getcontext.c: Likewise.
35031 * stdlib/makecontext.c: Likewise.
35032 * stdlib/setcontext.c: Likewise.
35033 * stdlib/swapcontext.c: Likewise.
35034 * stdlib/system.c: Likewise.
35035 * streams/fattach.c: Likewise.
35036 * streams/fdetach.c: Likewise.
35037 * streams/getmsg.c: Likewise.
35038 * streams/getpmsg.c: Likewise.
35039 * streams/putmsg.c: Likewise.
35040 * streams/putpmsg.c: Likewise.
35041 * sysdeps/unix/bsd/getpt.c: Likewise.
35042 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35043 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35044 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35046 Likewise.
35047 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35048 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35049 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35050 * sysvipc/msgctl.c: Likewise.
35051 * sysvipc/msgget.c: Likewise.
35052 * sysvipc/msgrcv.c: Likewise.
35053 * sysvipc/msgsnd.c: Likewise.
35054 * sysvipc/semctl.c: Likewise.
35055 * sysvipc/semget.c: Likewise.
35056 * sysvipc/semop.c: Likewise.
35057 * sysvipc/semtimedop.c: Likewise.
35058 * sysvipc/shmat.c: Likewise.
35059 * sysvipc/shmctl.c: Likewise.
35060 * sysvipc/shmdt.c: Likewise.
35061 * sysvipc/shmget.c: Likewise.
35062 * termios/tcdrain.c: Likewise.
35063 * termios/tcflow.c: Likewise.
35064 * termios/tcflush.c: Likewise.
35065 * termios/tcgetattr.c: Likewise.
35066 * termios/tcgetpgrp.c: Likewise.
35067 * termios/tcsendbrk.c: Likewise.
35068 * termios/tcsetattr.c: Likewise.
35069 * termios/tcsetpgrp.c: Likewise.
35070 * time/adjtime.c: Likewise.
35071 * time/clock.c: Likewise.
35072 * time/getitimer.c: Likewise.
35073 * time/gettimeofday.c: Likewise.
35074 * time/setitimer.c: Likewise.
35075 * time/settimeofday.c: Likewise.
35076 * time/stime.c: Likewise.
35077 * time/time.c: Likewise.
35078
350792012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35080
a20492cf
PT
35081 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35082 /usr/old/bin.
35083
72e182e3
PT
35084 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35085 instead of spaces.
35086 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35087
fbeafede
JM
350882012-11-03 Joseph Myers <joseph@codesourcery.com>
35089
5b5b04d6
JM
35090 [BZ #14796]
35091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35092 FE_TONEAREST before applying Dekker multiplication and Knuth
35093 addition. Clear inexact exceptions and check for exact zero
35094 results afterwards.
35095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35096 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35097 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35098 * math/libm-test.inc (fma_test): Add more tests.
35099 (fma_test_towardzero): Likewise.
35100 (fma_test_downward): Likewise.
35101 (fma_test_upward): Likewise.
35102 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35103 function.
35104 (libc_fesetround): New macro.
35105 (libc_fesetroundf): Likewise.
35106 (libc_fesetroundl): Likewise.
35107 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35108 function.
35109 (libc_fesetround_387): Likewise.
35110 (libc_fesetroundf): New macro.
35111 (libc_fesetround): Likewise.
35112 (libc_fesetroundl): Likewise.
35113 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35114 function.
35115 (libc_fesetroundf): New macro.
35116 (libc_fesetround): Likewise.
35117 (libc_fesetroundl): Likewise.
35118 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35119 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35120 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35121 libm_hidden_ver.
35122 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35123 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35124 libm_hidden_def.
35125 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35126 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35127 libm_hidden_ver.
35128 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35129 libm_hidden_def.
35130
fbeafede
JM
35131 [BZ #3439]
35132 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35133 integer constant usable in #if and use that to give value to enum
35134 constant.
35135 (FE_DIVBYZERO): Likewise.
35136 (FE_UNDERFLOW): Likewise.
35137 (FE_OVERFLOW): Likewise.
35138 (FE_INVALID): Likewise.
35139 (FE_INVALID_SNAN): Likewise.
35140 (FE_INVALID_ISI): Likewise.
35141 (FE_INVALID_IDI): Likewise.
35142 (FE_INVALID_ZDZ): Likewise.
35143 (FE_INVALID_IMZ): Likewise.
35144 (FE_INVALID_COMPARE): Likewise.
35145 (FE_INVALID_SOFTWARE): Likewise.
35146 (FE_INVALID_SQRT): Likewise.
35147 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35148 (FE_TONEAREST): Likewise.
35149 (FE_TOWARDZERO): Likewise.
35150 (FE_UPWARD): Likewise.
35151 (FE_DOWNWARD): Likewise.
35152 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35153 (FE_DIVBYZERO): Likewise.
35154 (FE_OVERFLOW): Likewise.
35155 (FE_UNDERFLOW): Likewise.
35156 (FE_INEXACT): Likewise.
35157 (FE_TONEAREST): Likewise.
35158 (FE_DOWNWARD): Likewise.
35159 (FE_UPWARD): Likewise.
35160 (FE_TOWARDZERO): Likewise.
35161 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35162 (FE_UNDERFLOW): Likewise.
35163 (FE_OVERFLOW): Likewise.
35164 (FE_DIVBYZERO): Likewise.
35165 (FE_INVALID): Likewise.
35166 (FE_TONEAREST): Likewise.
35167 (FE_TOWARDZERO): Likewise.
35168 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35169 (FE_OVERFLOW): Likewise.
35170 (FE_UNDERFLOW): Likewise.
35171 (FE_DIVBYZERO): Likewise.
35172 (FE_INEXACT): Likewise.
35173 (FE_TONEAREST): Likewise.
35174 (FE_TOWARDZERO): Likewise.
35175 (FE_UPWARD): Likewise.
35176 (FE_DOWNWARD): Likewise.
35177 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35178 (FE_DIVBYZERO): Likewise.
35179 (FE_OVERFLOW): Likewise.
35180 (FE_UNDERFLOW): Likewise.
35181 (FE_INEXACT): Likewise.
35182 (FE_TONEAREST): Likewise.
35183 (FE_DOWNWARD): Likewise.
35184 (FE_UPWARD): Likewise.
35185 (FE_TOWARDZERO): Likewise.
35186
105ca950
CM
351872012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35188
35189 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35190
a542b389
AS
351912012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35192
35193 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35194 commands. Quote $PWD.
35195 (blacklist_exports): Don't use remove_newlines. Replace "declare
35196 -x" by "export".
35197 (remove_newlines): Remove.
35198
f62c8abc
L
351992012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35200
35201 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35202 * stdlib/stdlib.h (atof): Moved to ...
35203 * include/bits/stdlib-float.h: Here. New file.
35204 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35205 * stdlib/bits/stdlib-float.h: New file.
35206 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35207 -mno-sse -mno-mmx.
35208 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35209 <xmmintrin.h>.
35210
0155d5b2
JM
352112012-11-02 Joseph Myers <joseph@codesourcery.com>
35212
a68d0680
JM
35213 * conform/conformtest.pl (@headers): Add fenv.h.
35214 * conform/data/fenv.h-data: New file.
35215 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35216 include of <math/fenv.h>.
35217
caf7f573
JM
35218 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35219 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35220 && !UNIX98]. Enables tests for XOPEN2K8.
35221 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35222 POSIX2008]: Likewise.
35223
6c073ad6
JM
35224 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35225 (struct rusage): Do not expect type or its members.
35226
0155d5b2
JM
35227 [BZ #3439]
35228 * math/math.h (FP_NAN): Define macro to integer constant usable in
35229 #if and use that to give value to enum constant.
35230 (FP_INFINITE): Likewise.
35231 (FP_ZERO): Likewise.
35232 (FP_SUBNORMAL): Likewise.
35233 (FP_NORMAL): Likewise.
35234
b5dcacb4
AS
352352012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35236
35237 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35238 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35239 arguments.
35240
f7934be8
RM
352412012-11-02 Roland McGrath <roland@hack.frob.com>
35242
35243 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35244 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35245 autoconf-time if not.
35246 * configure.in: Remove AC_PREREQ.
35247
d7d08bde
TMQMF
352482012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35249
35250 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35251 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35252 of the internal implementation.
35253
dcdae19a
JM
352542012-11-02 Joseph Myers <joseph@codesourcery.com>
35255
35256 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35257 except include of <misc/sys/syslog.h>.
35258
d6cffd3e
AS
352592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35260
35261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35262 function returns with a NULL context exit with zero.
35263
b3563932
TMQMF
352642012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35265
35266 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35267
b288a93d
L
352682012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35269
35270 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35271 (run_program_cmd): This.
35272 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35273 (tst_langinfo): New variable. Use it.
35274
a2421a68
SAS
352752012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35276
35277 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35278 floating point opcodes.
35279
6f796e1b
TS
352802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35281
7402596b
TS
35282 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35283 variable.
35284
d0d4f868
TS
35285 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35286
6f796e1b
TS
35287 * sysdeps/mach/hurd/powerpc: Remove directory.
35288 * sysdeps/mach/powerpc: Likewise.
35289
4da224a2
AS
352902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35291
35292 * scripts/check-local-headers.sh: Ignore c++ headers.
35293
341dd673
TS
352942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35295
35296 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35297 __libc_cleanup_region_start argument.
35298
473611b2
JM
352992012-11-01 Joseph Myers <joseph@codesourcery.com>
35300
35301 [BZ #14784]
35302 [BZ #14785]
35303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35304 x * y using scaling, not as x * y + z.
35305 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35306 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35307 * math/libm-test.inc (fma_test): Add more tests.
35308 (fma_test_towardzero): Likewise.
35309 (fma_test_downward): Likewise.
35310 (fma_test_upward): Likewise.
35311
4078da3d
TS
353122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35313
35314 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35315
903252aa
JM
353162012-10-31 Joseph Myers <joseph@codesourcery.com>
35317
35318 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35319 New variable.
35320
cbc818d0
TS
353212012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35322
35323 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35324
5a03cb1e
AS
353252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35326
35327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35328 Fix sort order.
35329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35330 Likewise.
35331
90aff2ff
TMQMF
353322012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35333
35334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35335 Fix the order of the list for glibc 2.17.
35336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35337 Likewise.
35338
1818fcb7
AS
353392012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35340
35341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35342
ef82f4da
JM
353432012-10-31 Joseph Myers <joseph@codesourcery.com>
35344
16a0e2ec
JM
35345 [BZ #14610]
35346 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35347 for low part of x being zero before using __atanl (y).
35348 * math/libm-test.inc (atan2_test): Add another test.
35349
0eb69512
JM
35350 * manual/install.texi (Configuring and compiling): Document
35351 general use of test-wrapper and test-wrapper-env.
35352 * INSTALL: Regenerated.
35353
ef82f4da
JM
35354 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35355 (__fma): Do not extract and scale down low bits on after-rounding
35356 systems when result rounded to normal precision would have normal
35357 exponent.
35358 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35359 (__fmal): Do not extract and scale down low bits on after-rounding
35360 systems when result rounded to normal precision would have normal
35361 exponent.
35362 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35363 (__fmal): Do not extract and scale down low bits on after-rounding
35364 systems when result rounded to normal precision would have normal
35365 exponent.
35366 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35367 macro.
35368 (fma_test): Add more tests.
35369 (fma_test_towardzero): Likewise.
35370 (fma_test_downward): Likewise.
35371 (fma_test_upward): Likewise.
35372
954ef0d9
L
353732012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35374
35375 * sysdeps/i386/tininess.h: Renamed to ...
35376 * sysdeps/x86/tininess.h: This.
35377 * sysdeps/x86_64/tininess.h: Removed.
35378
df61ffb2
JM
353792012-10-30 Joseph Myers <joseph@codesourcery.com>
35380
35381 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35382 input. Use $(build-program-cmd).
35383 ($(objpfx)tst-array1-static.out): Likewise.
35384 ($(objpfx)tst-array2.out): Likewise.
35385 ($(objpfx)tst-array3.out): Likewise.
35386 ($(objpfx)tst-array4.out): Likewise.
35387 ($(objpfx)tst-array5.out): Likewise.
35388 ($(objpfx)tst-array5-static.out): Likewise.
35389
01767843
CM
353902012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35391
47cc1490
CM
35392 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35393 if defined.
35394
01767843
CM
35395 * nss/nsswitch.h (nss_interface_function): Provide new
35396 macro for use with NSS functions.
35397 * grp/initgroups.c: Use new macro.
35398 * nss/getXXbyYY.c: Likewise.
35399 * nss/getXXbyYY_r.c: Likewise.
35400 * nss/getXXent.c: Likewise.
35401 * nss/getXXent_r.c: Likewise.
35402 * sysdeps/posix/getaddrinfo.c: Likewise.
35403
8321aa97
AJ
354042012-10-30 Andreas Jaeger <aj@suse.de>
35405
35406 * po/ru.po: Update Russion translation from translation project.
35407
2a27fd6d
JM
354082012-10-30 Joseph Myers <joseph@codesourcery.com>
35409
8627a232
JM
35410 [BZ #14152]
35411 [BZ #14783]
35412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35413 result and shift together with sticky bit instead of replicating
35414 round-to-nearest rounding.
35415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35416 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35417 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35418 missing underflow exceptions.
35419 (fma_test_towardzero): Add more tests.
35420 (fma_test_downward): Likewise.
35421 (fma_test_upward): Likewise.
35422
2a27fd6d
JM
35423 [BZ #14047]
35424 * sysdeps/generic/tininess.h: New file.
35425 * sysdeps/i386/tininess.h: Likewise.
35426 * sysdeps/sh/tininess.h: Likewise.
35427 * sysdeps/x86_64/tininess.h: Likewise.
35428 * stdlib/tst-strtod-underflow.c: Likewise.
35429 * stdlib/tst-tininess.c: Likewise.
35430 * stdlib/strtod_l.c: Include <tininess.h>.
35431 (round_and_return): Do not set errno for exact underflow cases.
35432 Force an underflow exception when setting errno for underflow.
35433 Determine underflow based on rounding to normal precision if
35434 TININESS_AFTER_ROUNDING.
35435 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35436 ERANGE for exact underflow cases.
35437 * stdlib/Makefile (tests): Add tst-tininess and
35438 tst-strtod-underflow.
35439 ($(objpfx)tst-tininess): Use $(link-libm).
35440 ($(objpfx)tst-strtod-underflow): Likewise.
35441
e7170363
AJ
354422012-10-30 Andreas Jaeger <aj@suse.de>
35443
e5088dc6
AJ
35444 [BZ#14767]
35445 * elf/Makefile (tests): Remove conditional for have-initfini-array
35446 since this is now always required and the variable does not exist
35447 anymore.
35448 (tests-static): Likewise.
35449 (modules-names): Likewise.
35450
e7170363 35451 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35452
35453 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35454 merged with constructor/destructor.
35455 (init_array): Likewise.
35456 * elf/tst-array2dep.c (fini_array): Likewise.
35457 (init_array): Likewise.
35458
60457d8a
MF
354592012-10-29 Mike Frysinger <vapier@gentoo.org>
35460
35461 * manual/message.texi: Delete @cartouche tags.
35462
8bece752
PT
354632012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35464
94ce799f
PT
35465 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35466 EOPNOTSUPP.
35467 * sysdeps/mach/hurd/fsync.c: Likewise.
35468
8bece752
PT
35469 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35470 [_POSIX_REALTIME_SIGNALS]: Change condition to
35471 [_POSIX_REALTIME_SIGNALS > 0].
35472
86ebe6b1
AJ
354732012-10-27 Andreas Jaeger <aj@suse.de>
35474
35475 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35476 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35477 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35478 [__WORDSIZE != 64]: Likewise.
35479
54399c08
L
354802012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35481
35482 * iconvdata/tst-table.sh: Remove ${SHELL}.
35483 * iconvdata/tst-tables.sh: Likewise.
35484
e2211bed
DM
354852012-10-25 David S. Miller <davem@davemloft.net>
35486
35487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35488 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35489 of strtoull.
35490
f303f97c
DM
35491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35492 ifunc-impl-list.c
35493 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35494 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35495 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35496 file.
35497
1e9d84cd
RM
354982012-10-25 Roland McGrath <roland@hack.frob.com>
35499
35500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35501 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35502 __getdirentries.
35503
df381762
JM
355042012-10-25 Joseph Myers <joseph@codesourcery.com>
35505 Jim Blandy <jimb@codesourcery.com>
35506
35507 * scripts/cross-test-ssh.sh: New file.
35508 * manual/install.texi (Configuring and compiling): Document use of
35509 cross-test-ssh.sh.
35510 * INSTALL: Regenerated.
35511
bff64913
PT
355122012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35513
35514 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35515 EOPNOTSUPP.
35516
25fe8932
JM
355172012-10-25 Joseph Myers <joseph@codesourcery.com>
35518
35519 * Makeconfig (run-program-prefix): Fix comment.
35520
cc1290d0
JM
355212012-10-24 Joseph Myers <joseph@codesourcery.com>
35522 Jim Blandy <jimb@codesourcery.com>
35523
35524 * Makeconfig (test-wrapper): New variable,
35525 (test-wrapper-env): Likewise.
35526 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35527 (run-built-tests): Define to yes.
35528 (run-program-prefix): Use $(test-wrapper).
35529 (built-program-cmd): Likewise.
35530 * Rules (make-test-out): Use $(test-wrapper-env) and
35531 $(host-built-program-cmd).
35532 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35533 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35534 tst-pathopt.sh.
35535 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35536 $(test-wrapper-env) to tst-rtld-load-self.sh.
35537 ($(objpfx)order2.out): Use $(test-wrapper).
35538 ($(objpfx)tst-initorder.out): Likewise.
35539 ($(objpfx)tst-initorder2.out): Likewise.
35540 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35541 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35542 (test_wrapper_env): New variable. Use it to run ld.so.
35543 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35544 Use it to run ld.so.
35545 (test_wrapper_env): Likewise.
35546 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35547 $(test-wrapper) to run-iconv-test.sh.
35548 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35549 (ICONV): Use $test_wrapper.
35550 * posix/Makefile ($(objpfx)globtest.out): Pass
35551 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35552 globtest.sh, not $(run-program-prefix).
35553 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35554 (test_wrapper): Likewise.
35555 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35556 set together with run_via_rtld_prefix.
35557 (run_program_prefix): Define in terms of test_wrapper and
35558 run_via_rtld_prefix.
35559
6e6249d0
RM
355602012-10-24 Roland McGrath <roland@hack.frob.com>
35561
35562 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35563 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35564 Targets removed.
35565
35566 [BZ #14743]
35567 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35568 Declare __clock_getres, __clock_gettime, __clock_settime,
35569 __clock_nanosleep, and __clock_getcpuclockid.
35570 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35571 Remove librt_hidden_def (clock_gettime).
35572 * sysdeps/unix/clock_gettime.c: Likewise.
35573 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35575 * rt/clock_getres.c: Define __clock_getres as an alias.
35576 * sysdeps/posix/clock_getres.c: Likewise.
35577 * rt/clock_settime.c: Define __clock_settime as an alias.
35578 * sysdeps/unix/clock_settime.c: Likewise.
35579 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35580 * sysdeps/unix/clock_nanosleep.c: Likewise.
35581 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35582 * rt/clock-compat.c: New file.
35583 * rt/Makefile (librt-routines): Add clock-compat and move
35584 $(clock-routines) to ...
35585 (routines): ... here, new variable.
35586 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35587 Don't add get_clockfreq here.
35588 * rt/Versions (libc: GLIBC_2.17): New version set.
35589 Add clock_* symbols here.
35590 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35592 (GLIBC_2.17): Add clock_* symbols.
35593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35597 Likewise.
35598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35599 Likewise.
35600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35604 * NEWS: Mention the move.
35605
35606 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35607 Use __open, __read, __close rather than their public counterparts.
35608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35609 (__get_clockfreq_via_cpuinfo): Likewise.
35610 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35611 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35612
35613 * config.h.in (HAVE_IFUNC): New #undef.
35614 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35615 was successful.
35616 * configure: Regenerated.
35617
0cae3f4b
MF
356182012-10-24 Mike Frysinger <vapier@gentoo.org>
35619
35620 * configure.in: Move READELF check to start of file.
35621 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35622 libc_cv_asm_gnu_indirect_function in the process.
35623 * configure: Regenerated.
35624
8175a253
MF
356252012-10-24 Mike Frysinger <vapier@gentoo.org>
35626
35627 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35628 send the output to /dev/null.
35629 (libc_cv_cc_with_libunwind): Likewise.
35630 (libc_cv_as_noexecstack): Likewise.
35631 * configure: Regenerate.
35632
0708a7d1
JM
356332012-10-24 Joseph Myers <joseph@codesourcery.com>
35634
10b40d85
JM
35635 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35636
0708a7d1
JM
35637 * posix/globtest.sh (TMPDIR): Do not set.
35638 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35639 (testout): Likewise.
35640
9fddec1a
AJ
356412012-10-24 Andreas Jaeger <aj@suse.de>
35642
3a8db22f
AJ
35643 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35644 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35645 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35646 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35647 posix_fadvise64, posix_fallocate64.
35648
9fddec1a
AJ
35649 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35650 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35651 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35652 Likewise.
35653 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35654 Likewise.
35655 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35656
35657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35658 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35659 <bits/fcntl-linux.h>.
35660 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35661
35662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35663 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35664 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35665 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35666 [__WORDSIZE != 64]: Likewise.
35667
ebfd1bbd
JM
356682012-10-23 Joseph Myers <joseph@codesourcery.com>
35669
03ac099f
JM
35670 * Makeconfig (run-built-tests): New variable.
35671 * Rules [$(cross-compiling) = yes]: Change condition to
35672 [$(run-built-tests) = no].
35673 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35674 to [$(run-built-tests) = yes].
35675 * elf/Makefile [$(cross-compiling) = no]: Likewise
35676 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35677 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35678 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35679 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35680 * io/Makefile [$(cross-compiling) = no]: Likewise.
35681 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35682 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35683 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35684 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35685 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35686 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35687 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35688 * string/Makefile [$(cross-compiling) = no]: Likewise.
35689
ebfd1bbd
JM
35690 * posix/Makefile ($(objpfx)globtest.out): Pass
35691 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35692 $(rtld-installed-name).
35693 * posix/globtest.sh (elf_objpfx): Remove variable.
35694 (rtld_installed_name): Likewise.
35695 (library_path): Likewise.
35696 (run_program_prefix): New variable. Use for running globtest
35697 binary.
35698
166bca24
JB
356992012-10-23 Jim Blandy <jimb@codesourcery.com>
35700 Joseph Myers <joseph@codesourcery.com>
35701
35702 * Makeconfig (host-built-program-cmd): New variable.
35703 * elf/Makefile (tst-stackguard1-ARGS): Use
35704 $(host-built-program-cmd).
35705 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35706 (tst-spawn-ARGS): Likewise.
35707 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35708
88866099
JM
357092012-10-23 Joseph Myers <joseph@codesourcery.com>
35710 Jim Blandy <jimb@codesourcery.com>
35711
35712 * Makeconfig (run-via-rtld-prefix): New variable.
35713 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35714 (built-program-cmd): Likewise.
35715
b4b4c296
AJ
357162012-10-22 Andreas Jaeger <aj@suse.de>
35717
35718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35719 __O_RSYNC if it exists, otherwise to O_SYNC.
35720
6fb54a22
JB
357212012-10-22 Jim Blandy <jimb@codesourcery.com>
35722 Joseph Myers <joseph@codesourcery.com>
35723
35724 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35725 /dev/null.
35726 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35727 from /dev/null
35728 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35729 /dev/null.
35730
481b90b9
AJ
357312012-10-22 Andreas Jaeger <aj@suse.de>
35732
2a0e2669
AJ
35733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35734 Define always.
35735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35736
76e38f9a
AJ
35737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35738 bits/fcntl-linux.h.
35739
7cd37b43
AJ
35740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35741 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35742
481b90b9
AJ
35743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35744 to __O_LARGEFILE.
35745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35746 to __O_LARGEFILE.
35747
aba75984
JB
357482012-10-21 Jim Blandy <jimb@codesourcery.com>
35749 Joseph Myers <joseph@codesourcery.com>
35750
35751 * config.make.in (NM): New variable.
35752
88d4247f
AJ
357532012-10-21 Andreas Jaeger <aj@suse.de>
35754
35755 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35756 definitions and declarations that are provided by
35757 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35758
f2eed205
L
357592012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35760
35761 [BZ #14683]
35762 * elf/Makefile (tests-static): Add tst-leaks1-static.
35763 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35764 ($(objpfx)tst-leaks1-static): New rule.
35765 ($(objpfx)tst-leaks1-static-mem): Likewise.
35766 (tst-leaks1-static-ENV): New macro.
35767 * elf/dl-open.c (dl_open_worker): Check the main application
35768 only if SHARED is defined.
35769 * elf/tst-leaks1-static.c: New file.
35770
335e6931
AJ
357712012-10-20 Andreas Jaeger <aj@suse.de>
35772
35773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35774 generic values for Linux.
35775 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35776 and declarations that are provided by <bits/fcntl-linux.h> and
35777 include <bits/fcntl-linux.h>.
35778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35779 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35780
ac5c94d3
RM
357812012-10-20 Roland McGrath <roland@hack.frob.com>
35782
35783 * io/fcntl.h: Move include of <bits/types.h> to the top and
35784 include it unconditionally.
35785
de54b33a
L
357862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35787
228cfb01
L
35788 * wcsmbs/Makefile (tests-ifunc): New variable.
35789 (tests): Add $(tests-ifunc).
35790 * wcsmbs/test-wcschr-ifunc.c: New file.
35791 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35792 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35793 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35794 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35795 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35796
69f07e5f
L
35797 * string/Makefile (tests-ifunc): New variable.
35798 (tests): Add $(tests-ifunc).
35799 * string/test-memccpy.c (TEST_NAME): New macro.
35800 * string/test-memchr.c (TEST_NAME): Likewise.
35801 * string/test-memcmp.c (TEST_NAME): Likewise.
35802 * string/test-memcpy.c (TEST_NAME): Likewise.
35803 * string/test-memmem.c (TEST_NAME): Likewise.
35804 * string/test-memmove.c (TEST_NAME): Likewise.
35805 * string/test-memset.c (TEST_NAME): Likewise.
35806 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35807 * string/test-stpcpy.c (TEST_NAME): Likewise.
35808 * string/test-stpncpy.c (TEST_NAME): Likewise.
35809 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35810 * string/test-strcasestr.c (TEST_NAME): Likewise.
35811 * string/test-strcat.c (TEST_NAME): Likewise.
35812 * string/test-strchr.c (TEST_NAME): Likewise.
35813 * string/test-strcmp.c(TEST_NAME): Likewise.
35814 * string/test-strcpy.c (TEST_NAME): Likewise.
35815 * string/test-strcspn.c (TEST_NAME): Likewise.
35816 * string/test-strlen.c (TEST_NAME): Likewise.
35817 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35818 * string/test-strncmp.c (TEST_NAME): Likewise.
35819 * string/test-strncpy.c (TEST_NAME): Likewise.
35820 * string/test-strnlen.c (TEST_NAME): Likewise.
35821 * string/test-strpbrk.c (TEST_NAME): Likewise.
35822 * string/test-strrchr.c (TEST_NAME): Likewise.
35823 * string/test-strspn.c (TEST_NAME): Likewise.
35824 * string/test-strstr.c (TEST_NAME): Likewise.
35825 * string/test-bcopy-ifunc.c: New file.
35826 * string/test-bzero-ifunc.c: Likewise.
35827 * string/test-memccpy-ifunc.c: Likewise.
35828 * string/test-memchr-ifunc.c: Likewise.
35829 * string/test-memcmp-ifunc.c: Likewise.
35830 * string/test-memcpy-ifunc.c: Likewise.
35831 * string/test-memmem-ifunc.c: Likewise.
35832 * string/test-memmove-ifunc.c: Likewise.
35833 * string/test-mempcpy-ifunc.c: Likewise.
35834 * string/test-memset-ifunc.c: Likewise.
35835 * string/test-rawmemchr-ifunc.c: Likewise.
35836 * string/test-stpcpy-ifunc.c: Likewise.
35837 * string/test-stpncpy-ifunc.c: Likewise.
35838 * string/test-strcasecmp-ifunc.c: Likewise.
35839 * string/test-strcasestr-ifunc.c: Likewise.
35840 * string/test-strcat-ifunc.c: Likewise.
35841 * string/test-strchr-ifunc.c: Likewise.
35842 * string/test-strchrnul-ifunc.c: Likewise.
35843 * string/test-strcmp-ifunc.c: Likewise.
35844 * string/test-strcpy-ifunc.c: Likewise.
35845 * string/test-strcspn-ifunc.c: Likewise.
35846 * string/test-strlen-ifunc.c: Likewise.
35847 * string/test-strncasecmp-ifunc.c: Likewise.
35848 * string/test-strncat-ifunc.c: Likewise.
35849 * string/test-strncmp-ifunc.c: Likewise.
35850 * string/test-strncpy-ifunc.c: Likewise.
35851 * string/test-strnlen-ifunc.c: Likewise.
35852 * string/test-strpbrk-ifunc.c: Likewise.
35853 * string/test-strrchr-ifunc.c: Likewise.
35854 * string/test-strspn-ifunc.c: Likewise.
35855 * string/test-strstr-ifunc.c: Likewise.
35856
de54b33a
L
35857 * debug/Makefile (tests-ifunc): New variable.
35858 (tests): Add $(tests-ifunc).
35859 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35860 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35861 * debug/test-stpcpy_chk-ifunc.c: New file.
35862 * debug/test-strcpy_chk-ifunc.c: Likewise.
35863
88481c16
SP
358642012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35865
35866 [BZ #13601]
35867 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35868 header is not read in.
35869
135948bd
JM
358702012-10-19 Joseph Myers <joseph@codesourcery.com>
35871
89f1c388
JM
35872 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35873 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35874 directly. Pass built executable to script as
35875 $(built-program-cmd).
35876 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35877 $testprogram without using LD_LIBRARY_PATH and $ldso.
35878
e40a0d21
JM
35879 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35880 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35881 $(rtld-installed-name).
35882 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35883 (rtld_installed_name): Likewise.
35884 (library_path): Likewise.
35885 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35886 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35887 $(run-program-prefix) to tst-tables.sh.
35888 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35889 it to run tst-table-from and tst-table-to.
35890 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35891 Pass it to tst-table.sh.
35892 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35893 $(run-program-prefix) to tst-gettext.sh.
35894 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35895 tst-translit.sh.
35896 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35897 tst-gettext2.sh.
35898 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35899 to run tst-gettext.
35900 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35901 to run tst-gettext2.
35902 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35903 to run tst-translit.
35904 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35905 $(run-program-prefix) to tst-mtrace.sh.
35906 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35907 to run tst-mtrace.
35908 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35909 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35910 $(rtld-installed-name).
35911 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35912 (rtld_installed_name): Likewise.
35913 (run_program_prefix): New variable. Use it to run wordexp-test.
35914
728e272a
JM
35915 * Makeconfig (ARCH): Remove all definitions.
35916 (machine): Likewise.
35917 [ARCH]: Remove conditional code.
35918 [!objdir]: Give error.
35919 [!objdir] (objpfx): Remove.
35920 [!objdir] (common-objpfx): Likewise.
35921 [!objdir] (common-objdir): Likewise.
35922 * configure.in (config_makefile): Remove. Hardcode Makefile in
35923 AC_CONFIG_FILES call.
35924 * configure: Regenerated.
35925
d528cdcf
JM
35926 [BZ #13888]
35927 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35928 or TMPDIR.
35929 (testout): Likewise.
35930
135948bd
JM
35931 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35932 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35933 $(rtld-installed-name).
35934 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35935 (rtld_installed_name): Likwise.
35936 (runit): Remove function.
35937 (run_getconf): New variable, Use it for running getconf binary.
35938
38c78296
L
359392012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35940
35941 [BZ #14716]
35942 * string/test-memmem.c (check_result): New function.
35943 (do_one_test): Use it.
35944 (check1): New function.
35945 (test_main): Use it.
35946
d077f65f
MT
359472012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35948
35949 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35950
ced52c71
JM
359512012-10-18 Joseph Myers <joseph@codesourcery.com>
35952
35953 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35954 (_G_LSEEK64): Likewise.
35955 (_G_MMAP64): Likewise.
35956 (_G_FSTAT64): Likewise.
35957 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35958 (_G_LSEEK64): Likewise.
35959 (_G_MMAP64): Likewise.
35960 (_G_FSTAT64): Likewise.
35961 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35962 unconditional. Call __mmap64 directly.
35963 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35964 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35965 __lseek64 directly.
35966 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35967 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35968 __mmap64 directly.
35969 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35970 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35971 __lseek64 directly.
35972 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35973 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35974 __lseek64 directly.
35975 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35976 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35977 __lseek64 directly.
35978 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35979 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35980 __fxstat64 directly.
35981 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35982 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35983 unconditional.
35984 (freopen64) [!_G_OPEN64]: Remove conditional code.
35985 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35986 unconditional.
35987 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35988 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35989 unconditional.
35990 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35991 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35992 unconditional.
35993 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35994 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35995 unconditional.
35996 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35997 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35998 unconditional.
35999 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36000 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36001 unconditional.
36002 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36003 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36004 unconditional.
36005 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36006
b741de23
SP
360072012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36008
36009 [BZ #12140]
36010 * manual/memory.texi (Malloc Tunable Parameters): Add note
36011 about free list pointers overwriting some perturb bytes.
36012 Wording suggested by Roland McGrath.
36013
f9b9d9c9
JM
360142012-10-17 Joseph Myers <joseph@codesourcery.com>
36015
36016 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36017 (lgamma_test): Likewise.
36018 (tgamma_test): Likewise.
36019
172a631a
FW
360202012-10-16 Florian Weimer <fweimer@redhat.com>
36021
36022 [BZ #14700]
36023 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36024 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36025
e9f37252
MK
360262012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36027
36028 * NEWS: Mention BZ #14716.
36029 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36030 when removing AVAILABLE1_USES_J macro.
36031
d394eb74
L
360322012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36033
36034 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36035 (__bswap_64): __uint64_t for unsigned 64-bit int.
36036
ca38dc17
AS
360372012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36038
36039 * include/string.h (memmem): Declare libc hidden alias.
36040 * string/memmem.c (memmem): Define libc hidden alias.
36041 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36042 __read, __close instead of open, read, close.
36043
9a387d1f
L
360442012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36045
ac49ecaf
L
36046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36047 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36048 global and hidden.
36049 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36050 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36051 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36052 Likewise.
36053 (__rawmemchr_sse2): Likewise.
36054 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36055 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36056 (__strchr_sse2): Likewise.
36057 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36058 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36059 (__strcasecmp_sse2): Likewise.
36060 (__strncasecmp_sse2): Likewise.
36061 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36062 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36063 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36064 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36065 (__strrchr_sse2): Likewise.
36066 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36067 ifunc-impl-list.c.
36068 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36069 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36070 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36071 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36072 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36073 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36074 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36075 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36076 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36077 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36078 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36079 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36080 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36081 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36082 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36083 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36084 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36085 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36086 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36087 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36088 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36089 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36090 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36091 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36092 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36093 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36094 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36095 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36096 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36097 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36098
b090e8ea
L
36099 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36100 global and hidden.
36101 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36102 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36103 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36104 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36105 Likewise.
36106 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36107 Likewise.
36108 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36109 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36110 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36111 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36112 ifunc-impl-list.c.
36113 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36114 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36115 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36116 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36117 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36118 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36119 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36120 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36121 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36122 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36123 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36124 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36125 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36126 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36127 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36128 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36129 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36130 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36131 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36132 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36133 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36134 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36135 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36136 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36137 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36138 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36139 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36140 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36141 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36142 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36143 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36144 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36145 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36146 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36147 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36148 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36149 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36150 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36151 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36152 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36153 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36154
11dd4af6
L
36155 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36156 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36157 * include/ifunc-impl-list.h: New file.
36158 * misc/ifunc-impl-list.c: Likewise.
36159 * misc/Makefile (routines): Add ifunc-impl-list.
36160 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36161 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36162 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36163 TEST_NAME]: New variables.
11dd4af6
L
36164 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36165 are defined.
36166 (test_init): Call __libc_ifunc_impl_list to initialize
36167 func_list if TEST_IFUNC and TEST_NAME are defined.
36168
9a387d1f
L
36169 * string/Makefile (strop-tests): Add bcopy and bzero.
36170 * string/test-bcopy.c: New file.
36171 * string/test-bzero.c: Likewise.
36172 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36173 defined.
36174 * string/test-memset.c: Support bzero test if TEST_BZERO is
36175 defined.
36176 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36177 __libc_memmove.
36178 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36179 __libc_memset.
36180 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36181 of memset.
36182
472371b9
JM
361832012-10-10 Joseph Myers <joseph@codesourcery.com>
36184
1e4a9536
JM
36185 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36186 * configure: Regenerated.
36187
d173d12e
JM
36188 * Makeconfig (+link-static-before-libc): Don't include
36189 $(link-static-libc).
36190
472371b9
JM
36191 * libio/libio.h (_IO_pos_t): Remove.
36192
89a3ad0b
AO
361932012-10-10 Alexandre Oliva <aoliva@redhat.com>
36194
36195 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36196 McGrath.
36197
e7451425
AO
361982012-10-10 Alexandre Oliva <aoliva@redhat.com>
36199
36200 * crypt/crypt-entry.c: Include fips-private.h.
36201 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36202 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36203 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36204 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36205
4ba74a35
AO
362062012-10-10 Alexandre Oliva <aoliva@redhat.com>
36207
36208 * crypt/crypt-private.h: Include stdbool.h.
36209 (_ufc_setup_salt_r): Return bool.
36210 * crypt/crypt-entry.c: Include errno.h.
36211 (__crypt_r): Return NULL with EINVAL for bad salt.
36212 * crypt/crypt_util.c (bad_for_salt): New.
36213 (_ufc_setup_salt_r): Check that salt is long enough and within
36214 the specified alphabet.
36215 * crypt/badsalttest.c: New file.
36216 * crypt/Makefile (tests): Add it.
36217 ($(objpfx)badsalttest): New.
36218
f96f1242
MK
362192012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36220
36221 * NEWS: Add entry for BZ #14602.
36222
0e8e0c1c
JM
362232012-10-09 Joseph Myers <joseph@codesourcery.com>
36224
36225 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36226 type-generic.
36227 * math/libm-test.inc: Update comment listing what functions and
36228 macros are tested.
36229 (isgreater_test): New function.
36230 (isgreaterequal_test): Likewise.
36231 (isless_test): Likewise.
36232 (islessequal_test): Likewise.
36233 (islessgreater_test): Likewise.
36234 (isunordered_test): Likewise.
36235 (main): Call the new functions.
36236
273edc5e
RM
362372012-10-09 Roland McGrath <roland@hack.frob.com>
36238
b8493de0
RM
36239 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36240 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36241 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36242 * sysdeps/i386/configure: Regenerated.
36243 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36244 * sysdeps/mach/configure: Regenerated.
36245 * sysdeps/mach/hurd/configure: Regenerated.
36246 * sysdeps/powerpc/configure: Regenerated.
36247 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36248 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36249 * sysdeps/s390/s390-32/configure: Regenerated.
36250 * sysdeps/s390/s390-64/configure: Regenerated.
36251 * sysdeps/sh/configure: Regenerated.
36252 * sysdeps/sparc/configure: Regenerated.
36253 * sysdeps/unix/sysv/linux/configure: Regenerated.
36254 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36255 * sysdeps/x86_64/configure: Regenerated.
36256
273edc5e
RM
36257 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36258 defined. Don't check if MAP is NULL.
36259
c8450f70
JM
362602012-10-09 Joseph Myers <joseph@codesourcery.com>
36261
36262 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36263 (_G_stat64): Likewise.
36264 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36265 (_G_stat64): Likewise.
36266 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36267 instead of struct _G_stat64.
36268 * libio/fileops.c (mmap_remap_check): Likewise.
36269 (decide_maybe_mmap): Likewise.
36270 (_IO_new_file_seekoff): Likewise.
36271 (_IO_file_stat): Likewise.
36272 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36273 _G_off64_t.
36274 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36275 instead of struct _G_stat64.
36276 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36277
57e605ba
MK
362782012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36279
36280 [BZ #14602]
36281 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36282 Replace with ...
36283 (CHECK_EOL): New macro.
36284 (two_way_short_needle): Check beginning of haystack for EOL. Use
36285 CHECK_EOL.
36286 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36287 Replace with CHECK_EOL.
36288 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36289 Replace with CHECK_EOL.
36290
ef1bb361
JM
362912012-10-08 Joseph Myers <joseph@codesourcery.com>
36292
36293 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36294 type-generic.
36295 * math/libm-test.inc: Update comment listing what functions and
36296 macros are tested.
36297 (finite_test): New function.
36298 (isinf_test): Likewise.
36299 (isnan_test): Likewise.
36300 (fpclassify_test): Test subnormal input.
36301 (isfinite_test): Likewise.
36302 (isnormal_test): Likewise.
36303 (main): Call the new functions.
36304
55f11534
JN
363052012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36306
36307 [BZ #14660]
36308 * Makerules (%.dynsym): Force C locale when running
36309 $(OBJDUMP) --dynamic-syms.
36310
1ab29350
AS
363112012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36312
36313 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36314 <stdint.h>.
36315
f1ecb7ef
DM
363162012-10-06 David S. Miller <davem@davemloft.net>
36317
36318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36319 upper 32-bits of the length value in %o2 since we use branch-on-register
36320 tests which consider the entire 64-bit register.
36321
5d41d91a
L
363222012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36323
36324 * string/test-strstr.c (check2): Add a test for page boundary.
36325
3baddb72
DM
363262012-10-05 David S. Miller <davem@davemloft.net>
36327
36328 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36329 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36330 file.
36331 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36332 sysdep_routines.
36333 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36334 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36335 and bzero when HWCAP_SPARC_CRYPTO is present.
36336
9cee5585
L
363372012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36338
d7e0dab9
L
36339 [BZ #14602]
36340 * string/test-strstr.c (check2): New function.
36341 (test_main): Call check2.
36342
03759f47
L
36343 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36344 and bug-strchr1.
36345 * string/bug-strcasestr1.c (do_test): Moved to ...
36346 * string/test-strcasestr.c (check1): Here. New function.
36347 (do_one_test): Break out result checking code into ...
36348 (check_result): This. New function.
36349 (do_one_test): Call check_result.
36350 (test_main): Call check1.
36351 * string/bug-strchr1.c (do_test): Moved to ...
36352 * string/test-strchr.c (check1): Here. New function.
36353 (do_one_test): Break out result checking code into ...
36354 (check_result): This. New function.
36355 (do_one_test): Call check_result.
36356 (test_main): Call check1.
36357 * string/bug-strstr1.c (main): Moved to ...
046f153e 36358 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36359 (do_one_test): Break out result checking code into ...
36360 (check_result): This. New function.
36361 (do_one_test): Call check_result.
36362 (test_main): Call check1.
36363 * string/bug-strcasestr1.c: Removed.
36364 * string/bug-strchr1.c: Likewise.
36365 * string/bug-strstr1.c: Likewise.
36366
53cea63e
L
36367 * elf/Makefile (dl-routines): Add hwcaps.
36368 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36369 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36370 (_dl_important_hwcaps): Moved to ...
36371 * elf/dl-hwcaps.c: Here. New file.
36372 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36373
9cee5585 36374 [BZ #14557]
bb859b06
L
36375 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36376 if IS_IN_rtld isn't defined.
36377
9cee5585
L
36378 * elf/dl-support.c (_dl_sysinfo_map): New.
36379 Include "get-dynamic-info.h" and "setup-vdso.h".
36380 (_dl_non_dynamic_init): Call setup_vdso.
36381 * elf/dynamic-link.h: Don't include <assert.h>.
36382 (elf_get_dynamic_info): Moved to ...
36383 * elf/get-dynamic-info.h: Here. New file.
36384 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36385 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36386 * elf/setup-vdso.h: Here. New file.
36387 * elf/rtld.c: Include "setup-vdso.h".
36388 (dl_main): Call setup_vdso.
36389
23c31b76
JM
363902012-10-05 Joseph Myers <joseph@codesourcery.com>
36391
28234b07
JM
36392 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36393 creal in comment listing functions tested. List finite, isinf,
36394 isnan, isless, islessequal, isgreater, isgreaterequal,
36395 islessgreater, isunordered, lgamma_r and pow10 as functions and
36396 macros not tested. Mention which functions not tested are aliases
36397 for other functions. Fix typo. Note that signs of NaNs are not
36398 tested.
36399
23c31b76
JM
36400 * scripts/config.guess: Update from config.git.
36401 * scripts/config.sub: Likewise.
36402
9043e228
RM
364032012-10-04 Roland McGrath <roland@hack.frob.com>
36404
36405 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36406 * misc/madvise.c (madvise): Renamed to __madvise.
36407 Make madvise a weak alias.
36408 * include/sys/mman.h: Declare __madvise.
36409 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36410 * sysdeps/unix/syscalls.list
36411 (madvise): Make __madvise the strong name, and madvise a weak alias.
36412 * sysdeps/unix/sysv/linux/syscalls.list
36413 (madvise, mmap): Remove redundant entries.
36414 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36415 * malloc/malloc.c (mtrim): Likewise.
36416 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36417
f57f8055
RM
364182012-10-03 Roland McGrath <roland@hack.frob.com>
36419
36420 * sysdeps/mach/hurd/dl-cache.c: File removed.
36421 * config.h.in (USE_LDCONFIG): New #undef.
36422 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36423 * configure: Regenerated.
36424 * elf/Makefile (dl-routines): Add dl-cache only under
36425 [$(use-ldconfig) = yes].
36426 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36427 cache on [USE_LDCONFIG].
36428 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36429 [USE_LDCONFIG].
36430 * elf/rtld.c (dl_main): Likewise.
36431
5bb0c10a
PT
364322012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36433
36434 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36435 _SC_LEVEL4_CACHE_LINESIZE.
36436
010188c6
RM
364372012-10-03 Roland McGrath <roland@hack.frob.com>
36438
36439 * sysdeps/unix/bsd/confstr.h: File removed.
36440
b6c5ec07
AO
364412012-10-02 Alexandre Oliva <aoliva@redhat.com>
36442
36443 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36444 sys/sdt-config.h.
36445
408223d4
RM
364462012-10-02 Roland McGrath <roland@hack.frob.com>
36447
36448 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36449 Make 'mapoff' field ElfW(Off) rather than off_t.
36450
bb9510dc
DL
364512012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36452
fc997c6e
DL
36453 * nscd/Makefile: Remove nscd-cflags and all its users.
36454 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36455 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36456
bb9510dc
DL
36457 [BZ #10631]
36458 * malloc.c (malloc_printerr): Clarify error message.
36459
05699367
L
364602012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36461
36462 [BZ #14648]
36463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36464 Set bit_FMA_Usable if FMA is supported.
36465 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36466 macro.
36467 (bit_FMA4_Usable): Updated.
36468 (index_FMA_Usable): New macro.
36469 (CPUID_FMA): Likewise
36470 (HAS_FMA): Defined with bit_FMA_Usable.
36471
51367701
RM
364722012-10-01 Roland McGrath <roland@hack.frob.com>
36473
36474 * bits/types.h (__swblk_t): Type removed.
36475 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36476 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36478 (__SWBLK_T_TYPE): Likewise.
36479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36480 (__SWBLK_T_TYPE): Likewise.
36481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36482 (__SWBLK_T_TYPE): Likewise.
36483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36484 (__SWBLK_T_TYPE): Likewise.
36485
4d57bf63 364862012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36487 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36488
36489 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36490 (xdr_mapname): Use YPMAXMAP as maxsize.
36491 (xdr_peername): Use YPMAXPEER as maxsize.
36492 (xdr_keydat): Use YPAXRECORD as maxsize.
36493 (xdr_valdat): Use YPMAXRECORD as maxsize.
36494
93c65d43
RM
364952012-10-01 Roland McGrath <roland@hack.frob.com>
36496
497a03d6
RM
36497 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36498
93c65d43
RM
36499 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36500 * csu/init-first.c: ... here.
36501 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36502 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36503 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36504 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36505 * sysdeps/i386/init-first.c: File removed.
36506 * sysdeps/sh/init-first.c: File removed.
36507
bec749fd
JM
365082012-10-01 Joseph Myers <joseph@codesourcery.com>
36509
36510 [BZ #14645]
36511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36512 if x * y might underflow to zero and z is zero.
36513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36515 * math/libm-test.inc (min_subnorm_value): New variable.
36516 (fma_test): Add more tests.
36517 (fma_test_towardzero): Likewise.
36518 (fma_test_downward): Likewise
36519 (fma_test_upward): Likewise.
36520 (initialize): Set min_subnorm_value.
36521
8ec5b013
JM
365222012-09-29 Joseph Myers <joseph@codesourcery.com>
36523
36524 [BZ #14638]
36525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36526 0 + 0.
36527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36528 mode for addition resulting in exact zero.
36529 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36531 exact 0 + 0.
36532 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36533 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36534 * math/libm-test.inc (fma_test): Add more tests.
36535 (fma_test_towardzero): New function.
36536 (fma_test_downward): Likewise.
36537 (fma_test_upward): Likewise.
36538 (main): Call the new functions.
36539
b1fa802e
DM
365402012-09-28 David S. Miller <davem@davemloft.net>
36541
36542 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36543
d3b9fd9e
RM
365442012-09-28 Roland McGrath <roland@hack.frob.com>
36545
ea4d37b3
RM
36546 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36547 instead of SIGALRM.
36548
ac51c949
RM
36549 * sysdeps/gnu/_G_config.h: Moved to ...
36550 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36551 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36552 * sysdeps/generic/_G_config.h: ... here.
36553
28c195f7
RM
36554 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36555
848917f9
RM
36556 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36557
6bacf05b
RM
36558 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36559 Conditionalize target on [libnss_test1.so-version].
36560
91363dbb
RM
36561 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36562
cc87f7d8
RM
36563 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36564 (elfobjdir): Move out of conditionals.
36565
b1c608fe
RM
36566 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36567 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36568 (__nss_lookup_function): Conditionalize label remove_from_tree on
36569 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36570
1d9a6d96
DM
365712012-09-28 David S. Miller <davem@davemloft.net>
36572
36573 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36574 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36575 file.
36576 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36577 sysdep_routines.
36578 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36580 when HWCAP_SPARC_CRYPTO is present.
36581
72581615
PT
365822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36583
36584 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36585
715a900c
JL
365862012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36587
36588 [BZ #6530]
36589 * stdio-common/vfprintf.c (process_string_arg): Revert
36590 2000-07-22 change.
36591
365922011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36593
36594 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36595 for testcase.
36596 * stdio-common/tst-sprintf.c: Include <locale.h>
36597 (main): Test sprintf's handling of incomplete multibyte
36598 characters.
36599
9bac1d86
L
366002012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36601
36602 * elf/dl-runtime.c (VERSYMIDX): Removed.
36603 * elf/dl-version.c (VERSYMIDX): Likewise.
36604 * elf/do-rel.h (VERSYMIDX): Likewise.
36605 (VALIDX): Likewise.
36606 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36607 * elf/rtld.c (VALIDX): Likewise.
36608 (ADDRIDX): Likewise.
9bac1d86
L
36609 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36610 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36611 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36612 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36613 (VALIDX): Likewise.
36614 (ADDRIDX): Likewise.
9bac1d86 36615
b31606c0
PT
366162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36617
36618 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36619
11541177
JL
366202012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36621
36622 [BZ #11438]
36623 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36624 to global scope.
36625 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36626 addresses are in the same scope as 192.0.2/24.
36627 * posix/gai.conf: Document new scope table defaults.
36628
adb26fae
SP
366292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36630
36631 [BZ #5298]
36632 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36633 for ftell. Compute offsets from write pointers instead.
36634 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36635
4573c6b0
SP
366362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36637
36638 [BZ #14543]
36639 * libio/Makefile (tests): New test case tst-fseek.
36640 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36641 combination works in wide mode.
36642 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36643 state when the external buffer state changes.
36644
aa9bbfe6
DM
366452012-09-27 David S. Miller <davem@davemloft.net>
36646
36647 [BZ #14376]
36648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36649 pass reloc->r_addend in as the 'high' argument to
36650 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36651
784421e7
DM
36652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36653
c39bc8b8
PT
366542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36655
36656 * rt/tst-aio2.c: Include <pthread.h>.
36657 * rt/tst-aio3.c: Likewise.
36658
1ccc2399
SE
366592012-09-27 Steve Ellcey <sellcey@mips.com>
36660
36661 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36662
31ed4153
L
366632012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36664
25f5f885
L
36665 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36666 contents on [SHARED].
31ed4153 36667
b7bfe116
MP
366682012-09-26 Marek Polacek <polacek@redhat.com>
36669
36670 [BZ #14530]
36671 [BZ #13741]
36672 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36673 for C++ and GCC <4.3 as well as for non GCC compilers.
36674
43c4edba
MT
366752012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36676
36677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36678
6a1bf82f
RM
366792012-09-25 Roland McGrath <roland@hack.frob.com>
36680
36681 * Makefile.in (all, install): Declare with .PHONY.
36682 Reported by Michael Hope <michael.hope@linaro.org>.
36683
8ad11b9a
TMQMF
366842012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36685
36686 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36687 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36688 system header.
36689 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36690 Likewise.
36691 (sydep_routines): Add the new and the internal functions.
36692 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36693 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36695 (GLIBC_2.17): Add the new function.
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36697 (GLIBC_2.17): Likewise.
36698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36699 (GLIBC_2.17): Likewise.
36700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36701 (GLIBC_2.17): Likewise.
36702 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36703
7e2fca8d
AM
367042012-09-25 Alan Modra <amodra@gmail.com>
36705
36706 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36707 Add release barrier before setting once_control to say
36708 initialisation is done. Add hints on lwarx. Use macro in
36709 place of isync.
36710 (clear_once_control): Add release barrier.
36711
b87c4b24
JM
367122012-09-25 Joseph Myers <joseph@codesourcery.com>
36713
d032e0d2
JM
36714 [BZ #13629]
36715 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36716 specially.
36717 * math/s_clog10.c (__clog10): Likewise.
36718 * math/s_clog10f.c (__clog10f): Likewise.
36719 * math/s_clog10l.c (__clog10l): Likewise.
36720 * math/s_clogf.c (__clogf): Likewise.
36721 * math/s_clogl.c (__clogl): Likewise.
36722 * math/Makefile (libm-calls): Add x2y2m1.
36723 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36724 (__x2y2m1): Likewise.
36725 (__x2y2m1l): Likewise.
36726 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36727 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36730 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36731 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36732 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36733 * sysdeps/i386/fpu/libm-test-ulps: Update.
36734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36735
b87c4b24
JM
36736 [BZ #14621]
36737 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36738 int as type of variable DEPTH.
36739 (glob): Use size_t instead of int as type of variables NEWCOUNT
36740 and OLD_PATHC.
36741
6d3bf199
LD
367422012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36743
22bf5c17
LD
36744 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36745 Add s_sincosf-sse2.
36746 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36747 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36748 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36749 macros for using routine as __sincosf_ia32.
36750 Use macro for function declaration and weak_alias.
36751 * sysdeps/i386/fpu/libm-test-ulps: Update.
36752
36753 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36755
36756 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36757 subnormal argument.
36758 * math/s_cexpf.c (__cexpf): Likewise.
36759 * math/s_csinf.c (__csinf): Likewise.
36760 * math/s_csinhf.c (__csinhf): Likewise.
36761 * math/s_ctanf.c (__ctanf): Likewise.
36762 * math/s_ctanhf.c (__ctanhf): Likewise.
36763 * math/s_ccosh.c (__ccoshf): Likewise.
36764 * math/s_cexp.c (__cexpl): Likewise.
36765 * math/s_csin.c (__csin): Likewise.
36766 * math/s_csinh.c (__csinh): Likewise.
36767 * math/s_ctan.c (__ctan): Likewise.
36768 * math/s_ctanh.c (ctanh): Likewise.
36769 * math/s_ccoshl.c (__ccoshl): Likewise.
36770 * math/s_cexpl.c (__cexpl): Likewise.
36771 * math/s_csinl.c (__csinl): Likewise.
36772 * math/s_csinhl.c (__csinhl): Likewise.
36773 * math/s_ctanl.c (__ctanl): Likewise.
36774 * math/s_ctanhl.c (__ctanhl): Likewise.
36775
203e5603
JM
367762012-09-25 Joseph Myers <joseph@codesourcery.com>
36777
36778 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36779 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36780 (_IO_off_t): Define to __off_t, not _G_off_t.
36781 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36782 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36783 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36784 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36785 type of __dummy and __dummy2 fields.
36786 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36787 (_G_ssize_t): Likewise.
36788 (_G_off_t): Likewise.
36789 (_G_pid_t): Likewise.
36790 (_G_uid_t): Likewise.
36791 (_G_wchar_t): Likewise.
36792 (_G_wint_t): Likewise.
36793 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36794 (_G_ssize_t): Likewise.
36795 (_G_off_t): Likewise.
36796 (_G_pid_t): Likewise.
36797 (_G_uid_t): Likewise.
36798 (_G_wchar_t): Likewise.
36799 (_G_wint_t): Likewise.
36800 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36801 (_G_ssize_t): Likewise.
36802 (_G_off_t): Likewise.
36803 (_G_pid_t): Likewise.
36804 (_G_uid_t): Likewise.
36805 (_G_wchar_t): Likewise.
36806 (_G_wint_t): Likewise.
36807
9fab36eb
SP
368082012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36809
36810 * malloc/arena.c: Include malloc-sysdep.h.
36811 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36812 is sufficient to shrink the heap or an unmap is needed.
36813 * sysdeps/generic/malloc-sysdep.h: New file. Define
36814 new function check_may_shrink_heap.
36815 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36816 new function check_may_shrink_heap.
36817
2b4f00d1
SP
368182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36819
36820 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36821 comments.
36822
9a9028b1
DL
368232012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36824
57c69bef
DL
36825 * catgets/test-gencat.sh: Add "set -e".
36826 * elf/tst-pathopt.sh: Likewise.
36827 * grp/tst_fgetgrent.sh: Likewise.
36828 * iconvdata/run-iconv-test.sh: Likewise.
36829 * intl/tst-gettext.sh: Likewise.
36830 * intl/tst-gettext2.sh: Likewise.
36831 * intl/tst-gettext4.sh: Likewise.
36832 * intl/tst-gettext6.sh: Likewise.
36833 * intl/tst-translit.sh: Likewise.
36834 * io/ftwtest-sh: Likewise.
36835 * libio/test-freopen.sh: Likewise.
36836 * malloc/tst-mtrace.sh: Likewise.
36837 * posix/globtest.sh: Likewise.
36838 * posix/tst-getconf.sh: Likewise.
36839 * posix/wordexp-tst.sh: Likewise.
36840 * stdio-common/tst-printf.sh: Likewise.
36841 * stdio-common/tst-unbputc.sh: Likewise.
36842 * stdlib/tst-fmtmsg.sh: Likewise.
36843 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36844 * catgets/Makefile: Do not specify -e option when running
36845 testsuite shell scripts.
36846 * elf/Makefile: Likewise.
36847 * grp/Makefile: Likewise.
36848 * iconvdata/Makefile: Likewise.
36849 * intl/Makefile: Likewise.
36850 * io/Makefile: Likewise.
36851 * libio/Makefile: Likewise.
36852 * malloc/Makefile: Likewise.
36853 * posix/Makefile: Likewise.
36854 * stdio-common/Makefile: Likewise.
36855 * stdlib/Makefile: Likewise.
36856 * sysdeps/x86_64/Makefile: Likewise.
36857
9a9028b1
DL
36858 * io/ftwtest-sh: Add copyright header.
36859 * posix/globtest.sh: Likewise.
36860 * posix/tst-getconf.sh: Likewise.
36861 * posix/wordexp-tst.sh: Likewise.
36862 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36863
ced6f16e
L
368642012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36865
94b32c39
L
36866 [BZ #13679]
36867 * Makeconfig (+link): Defined as $(+link-static) if
36868 $(build-shared) isn't yes.
36869 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36870 isn't yes.
36871 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36872
189e935b
L
36873 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36874
ced6f16e
L
36875 [BZ #14562]
36876 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36877 new chunk size with MALLOC_ALIGN_MASK.
36878
a9f8e53a
JM
368792012-09-24 Joseph Myers <joseph@codesourcery.com>
36880
36881 [BZ #5044]
36882 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36883 <rounding-mode.h>.
36884 (__printf_fphex): Determine rounding using get_rounding_mode and
36885 round_away.
36886 * stdio-common/tst-printf-round.c (struct hex_test): New
36887 structure.
36888 (hex_tests): New variable.
36889 (test_hex_in_one_mode): New function.
36890 (do_test): Also run tests for hex float output.
36891
43153109
JM
368922012-09-21 Joseph Myers <joseph@codesourcery.com>
36893
36894 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36895 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36896 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36897 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36898 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36899 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36900 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36901 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36902
8a26625d
JM
369032012-09-20 Joseph Myers <joseph@codesourcery.com>
36904
36905 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36906 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36907 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36908 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36909
f3fd569c
DL
369102012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36911
36912 [BZ #14579]
36913 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36914 mode only.
36915 * elf/tst-rtld-load-self.sh: New test.
36916 * elf/Makefile: Run it.
36917
63bbedd4
JM
369182012-09-18 Joseph Myers <joseph@codesourcery.com>
36919
36920 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36921 (tst-writev-ENV): Remove.
36922 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36923
626f8b6a
CM
369242012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36925
36926 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36927
b7aaa4d6
JM
369282012-09-17 Joseph Myers <joseph@codesourcery.com>
36929
36930 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36931 unconditional.
36932 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36933 Likewise.
36934 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36935 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36936 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36937 Likewise.
36938
65513990
L
369392012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36940
36941 [BZ #14587]
36942 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36943 * config.make.in (have-cpp-asm-debuginfo): Removed.
36944 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36945 * configure: Regenerated.
36946
784761be
JM
369472012-09-14 Joseph Myers <joseph@codesourcery.com>
36948
36949 [BZ #5044]
36950 * stdio-common/printf_fp.c: Include <stdbool.h> and
36951 <rounding-mode.h>.
36952 (___printf_fp): Determine rounding using get_rounding_mode and
36953 round_away.
36954 * stdio-common/tst-printf-round.c: New file.
36955 * stdio-common/Makefile (tests): Add tst-printf-round.
36956 (link-libm): New variable.
36957 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36958
9503345f
L
369592012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36960
36961 [BZ #14576]
36962 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36963 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36964 Likewise.
36965 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36966 Likewise.
36967
ad35fc00
JM
369682012-09-13 Joseph Myers <joseph@codesourcery.com>
36969
36970 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36971 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36972 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36973 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36974
6c9b0f68
JM
369752012-09-12 Joseph Myers <joseph@codesourcery.com>
36976
36977 [BZ #14518]
36978 * include/rounding-mode.h: New file.
36979 * sysdeps/generic/get-rounding-mode.h: Likewise.
36980 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36981 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36982 (MAX_VALUE): New macro.
36983 (MIN_VALUE): Likewise.
36984 (overflow_value): New function.
36985 (underflow_value): Likewise.
36986 (round_and_return): Use overflow_value and underflow_value to
36987 determine return values in overflow and underflow cases. Use
36988 round_away to determine rounding depending on rounding mode.
36989 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36990 determine return values in overflow and underflow cases.
36991 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36992 (struct test_results): New structure.
36993 (struct test): Use struct test_results to store expected results
36994 for all rounding modes.
36995 (TEST): Include expected results for all rounding modes.
36996 (test_in_one_mode): New function.
36997 (do_test): Use test_in_one_mode to compute and check results.
36998 Check results for all rounding modes.
36999 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37000 $(link-libm).
37001
19fcedd5
AM
370022012-12-09 Allan McRae <allan@archlinux.org>
37003
1e9d84cd 37004 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37005
8bbfd2f1
JM
370062012-09-11 Joseph Myers <joseph@codesourcery.com>
37007
37008 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37009 (_G_int32_t): Likewise.
37010 (_G_uint16_t): Likewise.
37011 (_G_uint32_t): Likewise.
37012 (_G_HAVE_BOOL): Likewise.
37013 (_G_HAVE_ATEXIT): Likewise.
37014 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37015 (_G_HAVE_IO_FILE_OPEN): Likewise.
37016 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37017 (_G_int32_t): Likewise.
37018 (_G_uint16_t): Likewise.
37019 (_G_uint32_t): Likewise.
37020 (_G_HAVE_BOOL): Likewise.
37021 (_G_HAVE_ATEXIT): Likewise.
37022 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37023 (_G_HAVE_IO_FILE_OPEN): Likewise.
37024 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37025 (_G_int32_t): Likewise.
37026 (_G_uint16_t): Likewise.
37027 (_G_uint32_t): Likewise.
37028 (_G_HAVE_BOOL): Likewise.
37029 (_G_HAVE_ATEXIT): Likewise.
37030 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37031 (_G_HAVE_IO_FILE_OPEN): Likewise.
37032
b1dc5912
L
370332012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37034
37035 * csu/libc-tls.c: Update copyright years.
37036
0e886ef9
JM
370372012-09-10 Joseph Myers <joseph@codesourcery.com>
37038
28361c5e
JM
37039 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37040 [!_G_USING_THUNKS]: Remove conditional code.
37041 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37042 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37043
0e886ef9
JM
37044 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37045 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37046 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37047 (_G_VTABLE_LABEL_PREFIX): Likewise.
37048 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37049 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37050 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37051 (_G_VTABLE_LABEL_PREFIX): Likewise.
37052 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37053 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37054 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37055 (_G_VTABLE_LABEL_PREFIX): Likewise.
37056 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37057
bcba7aa2
L
370582012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37059
37060 * libio/Makefile: Include ../Makeconfig before tests.
37061 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37062 only if $(build-shared) is yes.
37063
06585ee8
L
37064 * iconv/gconv_db.c: Update copyright years.
37065
80ccd52c
LD
370662012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37067
37068 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37069 unwind info if defined PIC. Fix special cases description.
37070 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37071
37072 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37073 DP_HI_MASK entry.
37074 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37075
691bc9c1
L
370762012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37077
3d9b46b3
L
37078 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37079
de2139a9
L
37080 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37081 is NULL.
37082
5ca78dd0
L
37083 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37084 (LDLIBS-tst-chk4): This.
37085 (LDFLAGS-tst-chk5): Renamed to ...
37086 (LDLIBS-tst-chk5): This.
37087 (LDFLAGS-tst-chk6): Renamed to ...
37088 (LDLIBS-tst-chk6): This.
37089 (LDFLAGS-tst-lfschk4): Renamed to ...
37090 (LDLIBS-tst-lfschk4): This.
37091 (LDFLAGS-tst-lfschk5): Renamed to ...
37092 (LDLIBS-tst-lfschk5): This.
37093 (LDFLAGS-tst-lfschk6): Renamed to ...
37094 (LDLIBS-tst-lfschk6): This.
37095
691bc9c1
L
37096 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37097 on $(common-objpfx)soversions.mk.
37098
65cafb1c
JM
370992012-09-07 Joseph Myers <joseph@codesourcery.com>
37100
37101 [BZ #10014]
37102 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37103 example host name.
37104
c78ab094
SP
371052012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37106
37107 * malloc/arena.c (arena_get_retry): New function that gets
37108 another arena for the caller to try its request on.
37109 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37110 current arena cannot fulfill the request.
37111 (__libc_memalign): Likewise.
37112 (__libc_memalign): Likewise.
37113 (__libc_pvalloc): Likewise.
37114 (__libc_calloc): Likewise.
37115
01f49f59
JT
371162012-09-05 John Tobey <john.tobey@gmail.com>
37117
37118 [BZ #13542]
37119 * manual/arith.texi (Operations on Complex): Fix description
37120 of carg branch cut.
37121
4c23fed5
JM
371222012-09-06 Joseph Myers <joseph@codesourcery.com>
37123
1d3c8572
JM
37124 [BZ #10014]
37125 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37126 host name.
37127
4c23fed5
JM
37128 [BZ #10038]
37129 * manual/memory.texi (Memory): Make order of menu items match
37130 order of sections.
37131
04570aaa
L
371322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37133
37134 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37135 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37136 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37137
b80af2f4
L
371382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37139
37140 * csu/libc-tls.c (static_dtv): Renamed to ...
37141 (_dl_static_dtv): This. Make it global.
37142 (_dl_initial_dtv): Removed.
37143 (__libc_setup_tls): Updated.
37144 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37145 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37146 DL_INITIAL_DTV.
37147
2abe9f15
PM
371482012-09-06 Petr Machata <pmachata@redhat.com>
37149
37150 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37151 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37152 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37153 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37154
0948c3af
L
371552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37156
37157 [BZ #14545]
37158 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37159 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37160 freeing dtv[-1].
37161
a5055ad1
L
371622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37163
37164 [BZ #14544]
37165 * Makeconfig (link-static-before-libc): Replace $(+prector)
37166 with $(+prectorT).
37167 (link-static-after-libc): Replace $(+postctor) with
37168 $(+postctorT).
37169 (link-bounded): Replace $(+prector)/$(+postctor) with
37170 $(+prectorT)/$(+postctorT).
37171 (+prectorT): New macro.
37172 (+postctorT): Likewise.
37173
ed8c2ecd
JM
371742012-09-06 Joseph Myers <joseph@codesourcery.com>
37175
37176 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37177 (round_str): Handle values above the maximum for IBM long double
37178 as inexact.
37179 * stdlib/tst-strtod-round.c (tests): Regenerated.
37180
14c996c8
AK
371812012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37182
37183 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37184 assembler flag.
37185 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37186 zarch_nohighgprs around the zarch optimized routines.
37187 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37188 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37190 for zarch.
37191
430d6ce6
DM
371922012-09-05 David S. Miller <davem@davemloft.net>
37193
37194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37195
57f41c40
AS
37196 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37197 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37198 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37199 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37200 entries.
37201
24d4e01b
AO
372022012-09-05 Alexandre Oliva <aoliva@redhat.com>
37203
37204 * malloc/arena.c: Fold copyright years.
37205 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37206
61d58174
AO
372072012-09-05 Alexandre Oliva <aoliva@redhat.com>
37208
37209 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37210
20196a5e
AO
372112012-09-05 Alexandre Oliva <aoliva@redhat.com>
37212
37213 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37214
5c447383
AO
372152012-09-05 Alexandre Oliva <aoliva@redhat.com>
37216
37217 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37218 change internal state upon failure.
37219
fad64255
AO
372202012-09-05 Alexandre Oliva <aoliva@redhat.com>
37221
37222 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37223 * malloc/memusage.c (mmap): Likewise.
37224 (mmap64, mremap): Likewise. Adjust name in comment.
37225
1ffb8c90
SP
372262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37227
37228 * libio/fileops.c: Fix typos in comments.
37229 * libio/oldfileops.c: Likewise.
37230 * libio/wfileops.c: Likewise.
37231
6ef9cc37
SP
372322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37233
37234 [BZ #1349]
37235 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37236 (tst-malloc-usable-ENV): Set environment for test case.
37237 * malloc/hooks.c (malloc_check_get_size): New function to get
37238 requested size.
37239 * malloc/malloc.c (musable): Use malloc_check_get_size.
37240 * malloc/tst-malloc-usable.c: New test case.
37241
4d038ae3
AS
372422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37243
37244 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37245
c4e85184
AM
372462012-09-05 Allan McRae <allan@archlinux.org>
37247
b9dafc56 37248 [BZ #13966]
c4e85184
AM
37249 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37250 determine header location.
37251 * configure: Regenerated.
37252
e1343020
AS
372532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37254
37255 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37256 float format.
37257 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37258 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37259 format.
e1343020
AS
37260 (test): Regenerate.
37261
0a9f1987
DM
372622012-09-04 David S. Miller <davem@davemloft.net>
37263
37264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37266 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37267
29237804
FW
372682012-09-04 Florian Weimer <fweimer@redhat.com>
37269
37270 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37271 failures.
37272
edb3cb88
FW
37273 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37274
60160d83
JM
372752012-09-04 Joseph Myers <joseph@codesourcery.com>
37276
37277 [BZ #9914]
37278 * libio/iogetdelim.c: Include <limits.h>.
37279 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37280 + len + 1 would overflow.
37281
bcd6c8dc
AJ
372822012-09-03 Andreas Jaeger <aj@suse.de>
37283
37284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37285 * sysdeps/i386/fpu/libm-test-ulps: Update.
37286
4ffffbd2
LD
372872012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37288
37289 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37290 Add s_sinf-sse2, s_conf-sse2.
37291
37292 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37293 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37294 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37295 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37296
37297 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37298 for using routine as __sinf_ia32.
37299 Use macro for function declaration and weak_alias.
37300 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37301 for using routine as __cosf_ia32.
37302 Use macro for function declaration and weak_alias.
37303
37304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37305 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37306
37307 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37308 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37310
37311 * math/libm-test.inc (cos_test): Add more test cases.
37312 (sin_test): Likewise.
37313 (sincos_test): Likewise.
37314
511fa286
AK
373152012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37316
37317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37318 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37319 hidden.
37320 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37321
5f30cfec
L
373222012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37323
37324 [BZ #14538]
37325 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37326 first element of the GOT.
37327 (elf_machine_load_address): Return the difference between
37328 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37329
0786794f
AM
373302012-09-01 Allan McRae <allan@archlinux.org>
37331
5f30cfec
L
37332 [BZ #13412]
37333 * configure.in (AWK): Require gawk version 3.0 or later.
37334 * configure: Regenerated.
0786794f 37335
26889eac
JM
373362012-09-01 Joseph Myers <joseph@codesourcery.com>
37337
37338 * sysdeps/unix/sysv/linux/kernel-features.h
37339 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37340 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37341 [__NR_clock_getres]: Make code unconditional.
37342 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37343 (clock_getcpuclockid): Remove code left unreachable by removal of
37344 conditionals.
37345 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37346 code unconditional.
37347 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37348 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37349 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37350 Make code unconditional.
37351 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37352 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37353 * sysdeps/unix/sysv/linux/clock_settime.c
37354 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37355 conditional code.
37356 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37358
d22e28b0
L
373592012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37360
37361 [BZ #14476]
37362 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37363 scripts/test-installation.pl.
37364
37365 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37366 and $ld_so_version if it is set.
37367
050af9c4
SP
373682012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37369
37370 [BZ #14516]
37371 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37372 failure if reading from procfs failed.
37373 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37374
ad845c0b
JM
373752012-08-27 Joseph Myers <joseph@codesourcery.com>
37376
37377 * sysdeps/unix/sysv/linux/kernel-features.h
37378 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37379 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37380 Remove conditional code.
37381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37382 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37383 Remove conditional code.
37384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37385 * sysdeps/unix/sysv/linux/i386/fxstat.c
37386 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37388 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37389 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37391 * sysdeps/unix/sysv/linux/i386/lxstat.c
37392 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37394 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37395 Remove conditional code.
37396 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37397 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37398 Remove conditional code.
37399 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37400 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37401 <kernel-features.h>.
37402 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37403 Remove.
37404 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37405 Remove conditional code.
37406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37407 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37408 Remove conditional.
37409
5dbf56af
MF
374102012-08-27 Mike Frysinger <vapier@gentoo.org>
37411
37412 [BZ #5400]
37413 * NEWS: Add fixed bug number.
37414
d6e70f43
JM
374152012-08-27 Joseph Myers <joseph@codesourcery.com>
37416
7efb4737
JM
37417 [BZ #14519]
37418 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37419 underflowing exponent in case of negative sign.
37420 * stdlib/tst-strtod-round-data: Add more tests.
37421 * stdlib/tst-strtod-round.c (tests): Regenerated.
37422
af92131a
JM
37423 [BZ #3479]
37424 * stdlib/strtod_l.c (NDIG): Remove.
37425 (HEXNDIG): Likewise.
37426 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37427 smallest representable value.
37428 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37429 lie within an exact representation of 1/2 ulp of the result.
37430 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37431 unconditionally.
37432 (TENS_P9_IDX): Define unconditionally.
37433 (TENS_P9_SIZE): Likewise.
37434 (TENS_P10_IDX): Likewise.
37435 (TENS_P10_SIZE): Likewise.
37436 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37437 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37438 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37439 entries for 10^2^13 and 10^2^14.
37440 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37441 (TENS_P13_IDX): Define.
37442 (TENS_P13_SIZE): Likewise.
37443 (TENS_P14_IDX): Likewise.
37444 (TENS_P14_SIZE): Likewise.
37445 (_fpioconst_pow10): Change array size to
37446 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37447 unconditional.
37448 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37449 1024]: Add entries for 10^2^13 and 10^2^14.
37450 [LAST_POW10 > _LAST_POW10]: Remove #error.
37451 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37452 (_fpioconst_pow10): Change array size to
37453 FPIOCONST_POW10_ARRAY_SIZE.
37454 * stdlib/gen-fpioconst.c: New file.
37455 * stdlib/gen-tst-strtod-round.c: Likewise.
37456 * stdlib/tst-strtod-round-data: Likewise.
37457 * stdlib/tst-strtod-round.c: Likewise.
37458 * stdlib/Makefile (tests): Add tst-strtod-round.
37459
d6e70f43
JM
37460 [BZ #14459]
37461 * stdlib/strtod_l.c: Include <stdint.h>.
37462 (NDEBUG): Do not define.
37463 (round_and_return): Change EXPONENT parameter to type intmax_t.
37464 Rearrange calculations to avoid internal overflow possibilities.
37465 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37466 Rearrange calculations to avoid internal overflow possibilities.
37467 Assert that number fits inside MPNSIZE limbs.
37468 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37469 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37470 calculations and add assertions to avoid internal overflow
37471 possibilities. Add casts to avoid signed/unsigned operations.
37472 * stdlib/tst-strtod-overflow.c: New file.
37473 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37474
1f529f7d
MP
374752012-08-25 Marek Polacek <polacek@redhat.com>
37476
37477 * time/time.h: Fix some typos in comments.
37478
59a629f1
RM
374792012-08-23 Roland McGrath <roland@hack.frob.com>
37480
37481 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37482 * posix/tst-rfc3484-2.c: Likewise.
37483 * posix/tst-rfc3484-3.c: Likewise.
37484
d3bafbc9
SM
374852012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37486
37487 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37488 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37489
4efcc022
JM
374902012-08-23 Joseph Myers <joseph@codesourcery.com>
37491
37492 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37493 #include of fxstatat64.c.
37494
3cc3ef96
RM
374952012-08-22 Roland McGrath <roland@hack.frob.com>
37496
f04e2132
RM
37497 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37498 * shadow/getspent_r.c: Likewise.
37499 * shadow/getspnam.c: Likewise.
37500 * shadow/getspnam_r.c: Likewise.
37501 * gshadow/getsgent.c: Likewise.
37502 * gshadow/getsgent_r.c: Likewise.
37503 * gshadow/getsgnam.c: Likewise.
37504 * gshadow/getsgnam_r.c: Likewise.
37505 * inet/getnetbyad.c: Likewise.
37506 * inet/getnetbyad_r.c: Likewise.
37507 * inet/getnetbynm.c: Likewise.
37508 * inet/getnetbynm_r.c: Likewise.
37509 * inet/getnetent.c: Likewise.
37510 * inet/getnetent_r.c: Likewise.
37511 * inet/getproto.c: Likewise.
37512 * inet/getproto_r.c: Likewise.
37513 * inet/getprtent.c: Likewise.
37514 * inet/getprtent_r.c: Likewise.
37515 * inet/getprtname.c: Likewise.
37516 * inet/getprtname_r.c: Likewise.
37517 * inet/getrpcbyname.c: Likewise.
37518 * inet/getrpcbyname_r.c: Likewise.
37519 * inet/getrpcbynumber.c: Likewise.
37520 * inet/getrpcbynumber_r.c: Likewise.
37521 * inet/getrpcent.c: Likewise.
37522 * inet/getrpcent_r.c: Likewise.
37523 * inet/getaliasent.c: Likewise.
37524 * inet/getaliasent_r.c: Likewise.
37525 * inet/getaliasname.c: Likewise.
37526 * inet/getaliasname_r.c: Likewise.
37527 * nscd/getgrgid_r.c: Likewise.
37528 * nscd/getgrnam_r.c: Likewise.
37529 * nscd/gethstbyad_r.c: Likewise.
37530 * nscd/gethstbynm3_r.c: Likewise.
37531 * nscd/getpwnam_r.c: Likewise.
37532 * nscd/getpwuid_r.c: Likewise.
37533 * nscd/getsrvbynm_r.c: Likewise.
37534 * nscd/getsrvbypt_r.c: Likewise.
37535 * nscd/gai.c: Likewise.
37536
c53d909c
RM
37537 * configure.in (build_nscd): New substituted variable, set
37538 by --disable-build-nscd and defaults to $use_nscd.
37539 * configure: Regenerated.
37540 * config.make.in (build-nscd): New substituted variable.
37541 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37542 Change conditional to require [$(build-nscd) = yes] as well.
37543 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37544
3cc3ef96
RM
37545 [BZ# 13696]
37546 * configure.in (use_nscd): New substituted variable, set by
37547 --disable-nscd. If enabled, define USE_NSCD.
37548 * configure: Regenerated.
37549 * config.h.in: Add USE_NSCD.
37550 * config.make.in (use-nscd): New substituted variable.
37551 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37552 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37553 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37554 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37555 (CFLAGS-getgrnam_r.c): Likewise.
37556 (CFLAGS-initgroups.c): Likewise.
37557 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37558 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37559 Variables removed.
37560 * inet/getnetgrent_r.c
37561 (nscd_setnetgrent): New function, broken out of ...
37562 (setnetgrent): ... here. Call it.
37563 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37564 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37565 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37566 * nscd/Makefile (routines, aux): Move definitions after include of
37567 Makeconfig. Conditionalize on [$(use-nscd) != no].
37568 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37569 Conditionalize on [USE_NSCD].
37570 (is_nscd, nscd_init_cb): Likewise.
37571 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37572 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37573 * nss/nss_db/db-init.c: Likewise.
37574 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37575 [USE_NSCD].
37576 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37577 (make_request): Use it.
37578 (cache_valid_p): New function.
37579 (__check_pf): Use it.
37580 * NEWS: Add item for --disable-nscd.
37581
07e51550
DL
375822012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37583
37584 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37585 to support sed >= 4.2.1-20-ga9bf076.
37586 * configure: Regenerated.
37587
35a5b08b
RM
375882012-08-22 Roland McGrath <roland@hack.frob.com>
37589
37590 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37591 Conditionalize whole body on [IREL].
37592
8479f23a
JL
375932012-08-22 Jeff Law <law@redhat.com>
37594
37595 [BZ #14505]
37596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37597 if the family is PF_UNSPEC.
37598
48da0b21
MF
375992012-08-22 Mike Frysinger <vapier@gentoo.org>
37600
37601 * Makerules (lib-version): Rename from V.
37602 (install-lib-nosubdir): Change V to lib-version.
37603
15d0da8c
WS
376042012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37605
37606 [BZ #14252]
37607 * powerpc32/power6/wcschr.c: New file.
37608 * powerpc32/power6/wcscpy.c: New file.
37609 * powerpc32/power6/wcsrchr.c: New file.
37610 * powerpc64/power6/wcschr.c: New file.
37611 * powerpc64/power6/wcscpy.c: New file.
37612 * powerpc64/power6/wcsrchr.c: New file.
37613
bcca0895
MK
376142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37615
37616 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37617 (two_way_short_needle): Use it.
5a4aaa33
RM
37618 * string/strstr.c (AVAILABLE1_USES_J): Define.
37619 * string/strcasestr.c: Likewise.
99677e57
MK
37620
37621 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37622 array references.
37623 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37624
400726de
MK
37625 [BZ #11607]
37626 * NEWS: Add an entry.
37627 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37628 define their defaults.
37629 (two_way_short_needle): Detect end-of-string on-the-fly.
37630 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37631 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37632 * string/bug-strcasestr1.c: New test.
37633 * string/Makefile: Run it.
37634
20a71f2c
MK
376352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37636
37637 [BZ #11607]
37638 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37639 the first character.
37640
21ad0558
RM
376412012-08-21 Roland McGrath <roland@hack.frob.com>
37642
37643 * csu/elf-init.c (__libc_csu_irel): Function removed.
37644 * csu/libc-start.c (apply_irel): New function.
37645 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37646
0e1d9911
JM
376472012-08-21 Joseph Myers <joseph@codesourcery.com>
37648
37649 * sysdeps/unix/sysv/linux/kernel-features.h
37650 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37651 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37652 <kernel-features.h>.
37653 [__NR_fadvise64_64]: Make code unconditional.
37654 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37655 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37656 !__NR_fadvise64_64)]: Likewise.
37657 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37658 !__NR_fadvise64_64))]: Likewise.
37659 [__NR_fadvise64]: Make code unconditional.
37660 [!__NR_fadvise64]: Remove conditional code.
37661 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37662 <kernel-features.h>.
37663 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37664 unconditional.
37665 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37666 conditional code.
37667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37668 not include <kernel-features.h>.
37669 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37670 unconditional.
37671 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37672 conditional code.
37673 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37674 include <kernel-features.h>.
37675 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37676 unconditional.
37677 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37678 conditional code.
37679
14a50c9d
WS
376802012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37681
37682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37683 slight instruction rearrangements per scrollpipe analysis.
37684 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37685
c0f4faf0
RM
376862012-08-20 Roland McGrath <roland@hack.frob.com>
37687
696da859
RM
37688 * manual/syslog.texi (syslog; vsyslog, closelog):
37689 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37690 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37691
c0f4faf0
RM
37692 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37693 DSOCAPS to match condition on defining it.
37694
348363b2
JM
376952012-08-20 Joseph Myers <joseph@codesourcery.com>
37696
a35cbf28
JM
37697 * sysdeps/unix/sysv/linux/kernel-features.h
37698 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37700 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37701 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37703 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37704 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37706 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37707 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37708
445f7ecd
JM
37709 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37710 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37711
348363b2
JM
37712 * sysdeps/unix/sysv/linux/kernel-features.h
37713 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37714 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37715 unconditional.
37716 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37717 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37718 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37719 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37720 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37721 Make code unconditional.
37722 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37723 (__mmap64) [!__NR_mmap2]: Likewise.
37724 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37725 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37726 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37727 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37728 [__NR_mmap2]: Make code unconditional.
37729 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37730 (__mmap64) [!__NR_mmap2]: Likewise.
37731
bc5bc0e5
AK
377322012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37733
37734 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37735
88d506de
AJ
377362012-08-18 Andreas Jaeger <aj@suse.de>
37737
37738 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37739
493387d2
MF
377402012-08-18 Mike Frysinger <vapier@gentoo.org>
37741
37742 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37743 * include/unistd.h (__have_sock_cloexec): Likewise.
37744 (__have_pipe2): Likewise.
37745 (__have_dup3): Likewise.
37746
a277af22
MF
377472012-08-18 Mike Frysinger <vapier@gentoo.org>
37748
37749 [BZ #9685]
37750 * include/unistd.h (__have_pipe2): Change define into an extern int.
37751 (__have_dup3): Likewise.
37752 * socket/have_sock_cloexec.c: Include fcntl.h.
37753 (__have_pipe2): New variable.
37754 (__have_dup3): Likewise.
37755
fdab8fd3
MF
377562012-08-17 Mike Frysinger <vapier@gentoo.org>
37757
37758 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37759
31035e80
MP
377602012-08-17 Marek Polacek <polacek@redhat.com>
37761
37762 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37763 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37764
3bd9e993
RM
377652012-08-17 Roland McGrath <roland@hack.frob.com>
37766
c91c505f
RM
37767 * configure.in: Add AC_SUBST for sysheaders.
37768 * configure: Regenerated.
37769 * config.make.in (sysheaders): New substituted variable.
37770
7c6f9d53
RM
37771 * sysdeps/unix/mkfifo.c: Moved ...
37772 * sysdeps/posix/mkfifo.c: ... here.
37773 * sysdeps/unix/mkfifoat.c: Moved ...
37774 * sysdeps/posix/mkfifoat.c: ... here.
37775
37776 * sysdeps/unix/utime.c: Moved ...
37777 * sysdeps/posix/utime.c: ... here.
37778
37779 * sysdeps/unix/time.c: Moved ...
37780 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37781 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37782 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37783
37784 * sysdeps/unix/nice.c: Moved ...
37785 * sysdeps/posix/nice.c: ... here.
37786
37787 * sysdeps/unix/alarm.c: Moved ...
37788 * sysdeps/posix/alarm.c: ... here.
37789
3bd9e993
RM
37790 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37791
d1f09384
JL
377922012-08-17 Jeff Law <law@redhat.com>
37793
37794 * intl/Makefile (codeset_mo): New variable.
37795 ($(codeset_mo)): New target.
37796 (tst-codeset.out): Depend on that. Remove explicit rule.
37797 (tst-gettext3.out, tst-gettext5.out): Likewise.
37798 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37799 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37800 * intl/tst-codeset.sh: Remove.
37801 * intl/tst-gettext3.sh: Likewise.
37802 * intl/tst-gettext5.sh: Likewise.
37803
2ae1ae5c
RM
378042012-08-17 Roland McGrath <roland@hack.frob.com>
37805
c31fdb83
RM
37806 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37807 * sysdeps/unix/syscalls.list: ... here.
37808
a0844057
RM
37809 * sysdeps/posix/getaddrinfo.c
37810 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37811 (gaiconf_init, gaiconf_reload): Use them.
37812 [!_STATBUF_ST_NSEC]
37813 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37814 Define using time_t rather than struct timespec.
37815
750c1f2a
RM
37816 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37817 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37818 Macros removed.
37819 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37820 [!NO_THREADS].
37821 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37822 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37823 Likewise.
37824
2ae1ae5c
RM
37825 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37826 __libc_cleanup_push argument.
37827
e66a42f5
RM
37828 * bits/param.h: New file.
37829 * misc/sys/param.h: New file.
37830 * include/sys/param.h: New file.
37831 * misc/Makefile (headers): Add bits/param.h.
37832 * sysdeps/generic/sys/param.h: File removed.
37833 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37834 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37835 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37836 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37837
b7c08a66
RM
37838 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37839 last change.
37840
b2e1c562
RM
37841 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37842 [_IO_MTSAFE_IO].
37843 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37844 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37845 New macros.
37846
c75ccd4c
RM
37847 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37848 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37849 rather than -D_IO_MTSAFE_IO conditionally.
37850 * stdio-common/Makefile (CPPFLAGS): Likewise.
37851 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37852 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37853 Use $(libio-mtsafe).
37854 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37855 of -D_IO_MTSAFE_IO.
37856 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37857 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37858 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37859 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37860 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37861 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37862 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37863 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37864 (CFLAGS-fread_u_chk.c): Likewise.
37865 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37866 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37867 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37868 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37869 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37870 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37871 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37872 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37873 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37874
37875 * libio/Makefile: Test [$(libc-reentrant) = yes]
37876 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37877
37878 * Makeconfig
37879 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37880 * sysdeps/pthread/configure: File removed.
37881 * sysdeps/pthread/Makeconfig: New file.
37882 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37883 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37884
d9195db8
GB
378852012-08-16 Gary Benson <gbenson@redhat.com>
37886
37887 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37888 unmapping the first object in a namespace.
37889
86466cd9
RM
378902012-08-16 Roland McGrath <roland@hack.frob.com>
37891
37892 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37893 (__internal_setnetgrent): ... this. Add internal_function to
37894 definition. Add libc_hidden_def.
37895 (setnetgrent): Update caller.
37896 (internal_endnetgrent): Renamed to ...
37897 (__internal_endnetgrent): ... this. Add internal_function to
37898 definition. Add libc_hidden_def.
37899 (endnetgrent): Update caller.
37900 (internal_getnetgrent_r): Renamed to ...
37901 (__internal_getnetgrent_r): ... this. Add internal_function to
37902 definition. Add libc_hidden_def.
37903 (__getnetgrent_r): Update caller.
37904 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37905
c3c8283c
JM
379062012-08-16 Joseph Myers <joseph@codesourcery.com>
37907
37908 * stdlib/longlong.h: Update from GCC.
37909
db1ee0a8
RM
379102012-08-16 Roland McGrath <roland@hack.frob.com>
37911
37912 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37913 on _QL, which is set by umul_ppmm but never used.
37914 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37915 variables, which are set by GMP macros but never used.
37916 * stdio-common/_itowa.c (_itowa): Likewise.
37917 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37918 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37919
30f69637
CD
379202012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37921
37922 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37923 struct La_sh_regs is not constant.
37924 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37925 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37926 and struct La_sparc64_regs are not constant.
37927
93a78ac4
JM
379282012-08-16 Joseph Myers <joseph@codesourcery.com>
37929
37930 * sysdeps/unix/sysv/linux/kernel-features.h
37931 (__ASSUME_POSIX_TIMERS): Remove.
37932 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37934 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37935 Make code unconditional.
37936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37937 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37938 Make code unconditional.
37939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37940 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37941 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37942 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37943 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37944 Make code unconditional.
37945 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37946 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37947 (__libc_missing_posix_timers): Remove.
37948
dd924cd7
RM
379492012-08-15 Roland McGrath <roland@hack.frob.com>
37950
4b4f2771
RM
37951 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37952 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37953
601c888b
RM
37954 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37955
176790a7
RM
37956 * elf/dl-sym.c: Include <stdlib.h>.
37957
329bc018
RM
37958 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37959 constants, which avoids warnings in 32-bit builds.
37960
e04e272d
RM
37961 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37962 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37963
952bf94a
RM
37964 * misc/lseek.c: File moved to ...
37965 * io/lseek.c: ... here.
37966
7c99b50a
RM
37967 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37968
dd924cd7
RM
37969 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37970 shifting LEN more than 31 bits at once.
37971
b3f479a8
LD
379722012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37973
37974 [BZ #14195]
8c4ae0d4
RM
37975 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37976 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37977 * string/test-strncasecmp.c (check1): Renamed to...
37978 (bz12205): ...this.
37979 (bz14195): Add new testcase for two empty input strings and N > 0.
37980 (test_main): Call new testcase, adapt for renamed function.
37981
9c55864e
AJ
379822012-08-15 Andreas Jaeger <aj@suse.de>
37983
37984 [BZ #14090]
37985 * crypt/md5test2.c: New test, based on test supplied by Serge
37986 Belyshev <belyshev@depni.sinp.msu.ru>.
37987 * crypt/Makefile (xtests): Add md5test-giant..
37988 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37989
02dcb6c5
PE
379902012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37991
37992 [BZ #14090]
37993 * crypt/md5.c (md5_process_block): Don't assume the buffer
37994 length is less than 2**32.
37995 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37996 length is less than 2**64.
37997
a3f95dcc
RM
379982012-08-15 Roland McGrath <roland@hack.frob.com>
37999
be75d758
RM
38000 * string/str-two-way.h: Include <sys/param.h>.
38001 (MAX): Macro removed.
38002
7312ca90
RM
38003 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38004 Move #define and #undef of memmove to just before and after
38005 including <string.h>.
38006
9a0a5486
RM
38007 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38008 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38009 and after including <string.h>. Move declarations of
38010 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38011 to before #include "string/memmove.c".
38012
67cc348d
RM
38013 * include/dirent.h: Declare __getdirentries.
38014
a3f95dcc
RM
38015 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38016 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38017
ca98e171
MF
380182012-08-14 Mike Frysinger <vapier@gentoo.org>
38019
38020 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38021 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38022 * sysdeps/i386/configure: Regenerated.
38023 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38024 STABS_CURRENT_FILE, and STABS_FUN.
38025 (END): Remove call to STABS_FUN_END.
38026 (STABS_CURRENT_FILE1): Delete.
38027 (STABS_CURRENT_FILE): Likewise.
38028 (STABS_FUN): Likewise.
38029 (STABS_FUN_END): Likewise.
38030 (STABS_FUN2): Likewise.
38031 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38032 * sysdeps/x86_64/configure: Regenerated.
38033
5908bf46
RM
380342012-08-14 Roland McGrath <roland@hack.frob.com>
38035
38036 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38037 * elf/dl-lookup.c: Likewise.
5908bf46 38038
f2c05b9e
JM
380392012-08-14 Joseph Myers <joseph@codesourcery.com>
38040
38041 * sysdeps/unix/sysv/linux/kernel-features.h
38042 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38043 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38044 unconditionally.
38045 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38046 unconditionally.
38047 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38048 condition on __ASSUME_CLONE_THREAD_FLAGS.
38049
e11f5155
AJ
380502012-08-14 Andreas Jaeger <aj@suse.de>
38051
38052 * sysdeps/i386/fpu/libm-test-ulps: Update.
38053
51a9ba86
MK
380542012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38055
2fdd4f78
AJ
38056 * include/atomic.h (atomic_exchange_and_add): Split into ...
38057 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38058 New atomic macros.
51a9ba86 38059
ba6cba9e
MT
380602012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38061
38062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38063
42443a47
JL
380642012-08-13 Jeff Law <law@redhat.com>
38065
38066 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38067 null byte in the output string.
38068
121dce05
JM
380692012-08-10 Joseph Myers <joseph@codesourcery.com>
38070
38071 * sysdeps/unix/sysv/linux/kernel-features.h
38072 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38073 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38074 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38075 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38076 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38077 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38078 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38079
bf51f568
JL
380802012-08-09 Jeff Law <law@redhat.com>
38081
38082 [BZ #13939]
38083 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38084 When avoid_arena is set, don't retry in the that arena. Pick the
38085 next one, whatever it might be.
38086 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38087 (arena_lock): Pass in new parameter to arena_get2.
38088 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38089 arena_get2.
38090 (__libc_malloc): Unify retrying after main arena failure with
38091 __libc_memalign version.
38092 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38093
f85fa270
L
380942012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38095
38096 [BZ #14166]
38097 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38098 to __redirect_strstr.
38099 (__strstr_sse42): Use typeof __redirect_strstr.
38100 (__strstr_ia32): Likewise.
38101 (__libc_strstr): New prototype.
38102 (strstr): Renamed to ...
38103 (__libc_strstr): This.
38104 (strstr): New strong alias of __libc_strstr.
38105 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38106 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38107 __redirect_time.
38108 Include <time.h>.
38109 (__libc_time): New prototype.
38110 (time_ifunc): Replace time with __libc_time.
38111 (time): New strong alias and hidden definition of __libc_time.
38112 (__GI_time): Remove strong alias.
38113 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38114 Include <stddef.h>.
38115 (memmove): Redefined to __redirect_memmove.
38116 (__memmove_sse2): Use typeof __redirect_memmove.
38117 (__memmove_ssse3): Likewise.
38118 (__memmove_ssse3_back): Likewise.
38119 (__libc_memmove): New prototype.
38120 (memmove): Renamed to ...
38121 (__libc_memmove): This.
38122 (memmove): New strong alias of __libc_memmove.
38123
33b4a91e
MS
381242012-08-08 Mark Salter <msalter@redhat.com>
38125
38126 * elf/elf.h
38127 (R_MN10300_TLS_GD): Define.
38128 (R_MN10300_TLS_LD): Likewise.
38129 (R_MN10300_TLS_LDO): Likewise.
38130 (R_MN10300_TLS_GOTIE): Likewise.
38131 (R_MN10300_TLS_IE): Likewise.
38132 (R_MN10300_TLS_LE): Likewise.
38133 (R_MN10300_TLS_DTPMOD): Likewise.
38134 (R_MN10300_TLS_DTPOFF): Likewise.
38135 (R_MN10300_TLS_TPOFF): Likewise.
38136 (R_MN10300_SYM_DIFF): Likewise.
38137 (R_MN10300_ALIGN): Likewise.
38138 (R_MN10300_NUM): Update.
38139
b36137f1
JM
381402012-08-08 Joseph Myers <joseph@codesourcery.com>
38141
38142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38143 Remove.
38144
cdd915fd
RM
381452012-08-08 Roland McGrath <roland@hack.frob.com>
38146
a2433aac
RM
38147 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38148
cdd915fd
RM
38149 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38150 sysdeps/unix -> sysdeps/posix move.
38151 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38152
bf9b740a
AM
381532012-08-07 Allan McRae <allan@archlinux.org>
38154
38155 [BZ #14303]
38156 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38157 (SUNOS_CPP): Likewise.
38158 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38159 not found.
38160 (open_input): Call CPP using execvp.
38161
93df14ee
JM
381622012-08-07 Joseph Myers <joseph@codesourcery.com>
38163
38164 * sysdeps/unix/sysv/linux/kernel-features.h
38165 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38166 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38167 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38168 (__ASSUME_WAITID_SYSCALL): Likewise.
38169 * sysdeps/unix/sysv/linux/dl-execstack.c
38170 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38171 code unconditional.
38172 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38173 conditional code.
38174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38175 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38176 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38177 code.
38178 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38179 unconditional.
38180 [__ASSUME_WAITID_SYSCALL]: Likewise.
38181 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38182
d34689de
RM
381832012-08-07 Roland McGrath <roland@hack.frob.com>
38184
a281decc
RM
38185 * sysdeps/unix/closedir.c: Renamed to ...
38186 * sysdeps/posix/closedir.c: ... here.
38187 * sysdeps/unix/dirfd.c: Renamed to ...
38188 * sysdeps/posix/dirfd.c: ... here.
38189 * sysdeps/unix/dirstream.h: Renamed to ...
38190 * sysdeps/posix/dirstream.h: ... here.
38191 * sysdeps/unix/fdopendir.c: Renamed to ...
38192 * sysdeps/posix/fdopendir.c: ... here.
38193 * sysdeps/unix/opendir.c: Renamed to ...
38194 * sysdeps/posix/opendir.c: ... here.
38195 * sysdeps/unix/readdir.c: Renamed to ...
38196 * sysdeps/posix/readdir.c: ... here.
38197 * sysdeps/unix/readdir_r.c: Renamed to ...
38198 * sysdeps/posix/readdir_r.c: ... here.
38199 * sysdeps/unix/rewinddir.c: Renamed to ...
38200 * sysdeps/posix/rewinddir.c: ... here.
38201 * sysdeps/unix/seekdir.c: Renamed to ...
38202 * sysdeps/posix/seekdir.c: ... here.
38203 * sysdeps/unix/telldir.c: Renamed to ...
38204 * sysdeps/posix/telldir.c: ... here.
38205 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38206 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38207 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38208 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38209
22895b47
RM
38210 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38211 * bits/fcntl.h: ... here.
38212
707a53b6
RM
38213 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38214 not 0.
38215 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38216 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38217 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38218 (struct flock): Move l_start, l_len to the beginning.
38219 Use __pid_t for l_pid.
38220 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38221 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38222 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38223 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38224 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38225 [__USE_LARGEFILE64] (struct flock64): New type.
38226 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38227
f0bd3e25
RM
38228 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38229 * bits/dirent.h: ... here.
38230
d34689de
RM
38231 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38232 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38233
6dad2c06
JM
382342012-08-07 Joseph Myers <joseph@codesourcery.com>
38235
38236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38237 Change from 2.6.0 to 2.6.16.
38238 * sysdeps/unix/sysv/linux/configure: Regenerated.
38239 * sysdeps/unix/sysv/linux/kernel-features.h
38240 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38241 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38242 version.
38243 (__ASSUME_UTIMES): Likewise.
38244 (__ASSUME_CLONE_STOPPED): Remove.
38245 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38246 architectures, not kernel version.
38247 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38248 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38249 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38250 (__ASSUME_WAITID_SYSCALL): Likewise.
38251 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38252 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38253 * README: State 2.6.16 as minimum Linux kernel version. Do not
38254 refer to older versions.
38255
03af9520
RM
382562012-08-06 Roland McGrath <roland@hack.frob.com>
38257
8e49df1d
RM
38258 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38259 Define alphasort64 as an alias.
38260 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38261 Define versionsort64 as an alias.
38262 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38263 Define scandir64 as an alias.
38264 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38265 Define scandirat64 as an alias.
38266 * dirent/alphasort64.c (alphasort64):
38267 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38268 * dirent/versionsort64.c: Likewise.
38269 * dirent/scandir64.c: Likewise.
38270 * dirent/scandirat64.c: Likewise.
38271 * sysdeps/wordsize-64/alphasort.c: File removed.
38272 * sysdeps/wordsize-64/alphasort64.c: File removed.
38273 * sysdeps/wordsize-64/scandir.c: File removed.
38274 * sysdeps/wordsize-64/scandir64.c: File removed.
38275 * sysdeps/wordsize-64/scandirat.c: File removed.
38276 * sysdeps/wordsize-64/scandirat64.c: File removed.
38277 * sysdeps/wordsize-64/versionsort.c: File removed.
38278 * sysdeps/wordsize-64/versionsort64.c: File removed.
38279 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38280 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38281 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38282 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38283 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38284 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38287
38288 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38290 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38292 [defined __arch64__ || defined __sparcv9]
38293 (__INO_T_MATCHES_INO64_T): New macro.
38294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38295 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38296 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38297 * sysdeps/unix/sysv/linux/bits/dirent.h
38298 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38299 (_DIRENT_MATCHES_DIRENT64): New macro.
38300
03af9520
RM
38301 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38302 Define lockf64 as an alias.
38303 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38304 Define fseeko64 as an alias.
38305 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38306 Define ftello64 as an alias.
38307 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38308 Define _IO_fgetpos64 and fgetpos64 as aliases.
38309 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38310 Define _IO_fsetpos64 and fsetpos64 as aliases.
38311 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38312 Conditionalize body on this.
38313 * libio/fseeko64.c: Likewise.
38314 * libio/ftello64.c: Likewise.
38315 * libio/iofgetpos64.c: Likewise.
38316 * libio/iofsetpos64.c: Likewise.
38317 * sysdeps/wordsize-64/lockf.c: File removed.
38318 * sysdeps/wordsize-64/lockf64.c: File removed.
38319 * sysdeps/wordsize-64/fseeko.c: File removed.
38320 * sysdeps/wordsize-64/fseeko64.c: File removed.
38321 * sysdeps/wordsize-64/ftello.c: File removed.
38322 * sysdeps/wordsize-64/ftello64.c: File removed.
38323 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38324 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38325 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38326 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38327 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38328 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38329 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38330 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38331 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38332 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38333 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38335 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38336 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38337
38338 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38340 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38342 [defined __arch64__ || defined __sparcv9]
38343 (__OFF_T_MATCHES_OFF64_T): New macro.
38344 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38345 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38347 (__OFF_T_MATCHES_OFF64_T): New macro.
38348
c5757acd
L
383492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38350
38351 * stdlib/secure-getenv.c (__secure_getenv): Replace
38352 GLIBC_2_16 with GLIBC_2_17.
38353
3a31811e
L
383542012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38355
38356 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38357 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38358
faa2bccb
DM
383592012-08-03 David S. Miller <davem@davemloft.net>
38360
38361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38362
85fe1997
JM
383632012-08-03 Joseph Myers <joseph@codesourcery.com>
38364
38365 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38366 Remove.
38367 (__ASSUME_CORRECT_SI_PID): Likewise.
38368 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38369 (__ASSUME_TMPFS_NAME): Likewise.
38370 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38371 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38372 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38373 (HAVE_AUX_SECURE): Make definition unconditional.
38374 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38375 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38376
4f75b7a0
RM
383772012-08-03 Roland McGrath <roland@hack.frob.com>
38378
38379 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38380 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38381 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38383 __eloop_threshold instead of SYMLOOP_MAX.
38384
38385 * sysdeps/generic/eloop-threshold.h: New file.
38386 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38387 of MAXSYMLINKS.
38388 * elf/chroot_canon.c (chroot_canon): Likewise.
38389
7aab07e4
JM
383902012-08-03 Joseph Myers <joseph@codesourcery.com>
38391
38392 [BZ #13717]
38393 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38394 Change to 2.6.0 everywhere.
38395 * sysdeps/unix/sysv/linux/configure: Regenerated.
38396 * sysdeps/unix/sysv/linux/kernel-features.h
38397 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38398 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38399 kernel versions.
38400 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38401 (__ASSUME_FUTEX_REQUEUE): Remove.
38402 (__ASSUME_STATFS64): Define unconditionally.
38403 (__ASSUME_AT_SECURE): Likewise.
38404 (__ASSUME_CORRECT_SI_PID): Likewise.
38405 (__ASSUME_TGKILL): Define without depending on kernel version for
38406 i386.
38407 (__ASSUME_UTIMES): Likewise.
38408 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38409 kernel version.
38410 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38411 (__ASSUME_TMPFS_NAME): Likewise.
38412 * README: Update reference to Linux kernel versions.
38413
b67e9372
MP
384142012-08-02 Marek Polacek <polacek@redhat.com>
38415
1f529f7d 38416 [BZ# 14150]
b67e9372
MP
38417 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38418 libc_cv_asm_type_prefix with %.
38419 * configure: Regenerated.
d2441631
RM
38420 * include/libc-symbols.h: Remove comment about
38421 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38422 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38423 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38424 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38425 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38426 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38427 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38428 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38429 * elf/tst-unique2mod1.c: Likewise.
38430 * elf/tst-unique1mod2.c: Likewise.
38431 * elf/tst-unique1mod1.c: Likewise.
38432 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38433 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38434 Replace ASM_TYPE_DIRECTIVE with .type.
38435 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38436 * sysdeps/i386/sysdep.h: Likewise.
38437 * sysdeps/x86_64/sysdep.h: Likewise.
38438 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38440 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38441 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38442 * sysdeps/powerpc/powerpc32/sysdep.h:
38443 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38444 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38445 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38446 * sysdeps/i386/fpu/e_powf.S: Likewise.
38447 * sysdeps/i386/fpu/e_expl.S: Likewise.
38448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38449 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38450 * sysdeps/i386/fpu/e_pow.S: Likewise.
38451 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38452 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38453 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38454 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38455 * sysdeps/i386/fpu/e_log2.S: Likewise.
38456 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38457 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38458 * sysdeps/i386/fpu/e_powl.S: Likewise.
38459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38460 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38461 * sysdeps/i386/fpu/e_logl.S: Likewise.
38462 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38463 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38464 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38465 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38466 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38467 * sysdeps/i386/fpu/e_log.S: Likewise.
38468 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38469 * sysdeps/i386/fpu/e_logf.S: Likewise.
38470 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38471 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38472 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38473 * sysdeps/i386/fpu/e_log10.S: Likewise.
38474 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38476 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38477 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38480 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38481 * sysdeps/i386/i686/strtok.S: Likewise.
38482 * sysdeps/i386/i386-mcount.S: Likewise.
38483 * sysdeps/i386/strtok.S: Likewise.
38484 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38486 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38487 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38488 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38490 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38491 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38492 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38493 * sysdeps/x86_64/_mcount.S: Likewise.
38494 * sysdeps/x86_64/strtok.S: Likewise.
38495 * sysdeps/sh/_mcount.S: Likewise.
38496
2747bf9a
RM
384972012-08-01 Roland McGrath <roland@hack.frob.com>
38498
38499 * libio/iofopen.c: Include <fcntl.h>.
38500 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38501 (_IO_fopen64, fopen64): Define as aliases.
38502 * libio/iofopen64.c: Include <fcntl.h>.
38503 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38504 Conditionalize body on this.
38505 * sysdeps/wordsize-64/iofopen.c: File removed.
38506 * sysdeps/wordsize-64/iofopen64.c: File removed.
38507
3fb791b8
MP
385082012-08-01 Marek Polacek <polacek@redhat.com>
38509
38510 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38511 Use dlfcn directly instead of a variable.
38512 (binfmt-subdir): Do not define.
38513 (dlfcn): Likewise.
38514
a9f1039f
JM
385152012-08-01 Joseph Myers <joseph@codesourcery.com>
38516
23bddc06
JM
38517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38518 Remove all definitions.
38519 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38520 <kernel-features.h>.
38521 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38522 (miss_F_GETOWN_EX): Remove all definitions.
38523 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38524 macro definition.
38525 [!__ASSUME_FCNTL64]: Remove conditional code.
38526 [__ASSUME_FCNTL64]: Make code unconditional.
38527 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38528 <kernel-features.h>.
38529 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38530 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38531 (lockf64) [__NR_fcntl64]: Make code unconditional.
38532 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38533
a9f1039f
JM
38534 * sysdeps/unix/sysv/linux/kernel-features.h
38535 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38536 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38537 Make code unconditional.
38538 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38539 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38541 [__NR_vfork]: Make code unconditional.
38542 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38543 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38545 [__NR_vfork]: Make code unconditional.
38546 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38547 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38548
09c0ee5f
RM
385492012-08-01 Roland McGrath <roland@hack.frob.com>
38550
48aec5b9
RM
38551 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38552 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38553
cd97c966
RM
38554 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38555 Define mkstemp64 as an alias.
3f55550c
RM
38556 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38557 Define mkstemps64 as an alias.
cd97c966
RM
38558 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38559 Define mkostemp64 as an alias.
b8625cfc
RM
38560 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38561 Define mkostemps64 as an alias.
cd97c966
RM
38562 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38563 Conditionalize body on this.
38564 * misc/mkostemp64.c: Likewise.
b8625cfc 38565 * misc/mkostemps64.c: Likewise.
3f55550c 38566 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38567 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38568 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38569 * sysdeps/wordsize-64/mkostemp.c: File removed.
38570 * sysdeps/wordsize-64/mkstemp.c: File removed.
38571 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38572 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38573 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38575
09c0ee5f
RM
38576 [BZ #14138]
38577 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38578 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38579 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38580 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38581
38582 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38583 compat_symbol macros from <shlib-compat.h> rather than the underlying
38584 default_symbol_version and symbol_version macros, so that DEFAULT
38585 lines in shlib-versions are respected.
38586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38587
7e66ee51
FW
385882012-08-01 Florian Weimer <fweimer@redhat.com>
38589
38590 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38591 Declare with warn_unused_result.
38592 (setgid, setregid, setegid, setresgid): Likewise.
38593 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38594 Likewise.
38595 * WUR-REPORT: Remove set*id functions.
38596
d2a54255
PT
385972012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38598
38599 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38600
7ecdb005
RM
386012012-07-31 Roland McGrath <roland@hack.frob.com>
38602
b4180a5e 38603 [BZ #10191]
789bd351
RM
38604 * include/sys/socket.h (__libc_accept, __libc_accept4):
38605 Add attribute_hidden.
38606 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38607
40ce302d
RM
38608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38609 use of PTR_MANGLE.
38610 * inet/getnetgrent_r.c (setup): Likewise.
38611
7ecdb005
RM
38612 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38613
e2eabb2c
DM
386142012-07-31 David S. Miller <davem@davemloft.net>
38615
38616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38617
d0419dbf
JM
386182012-07-31 Joseph Myers <joseph@codesourcery.com>
38619
38620 [BZ #13629]
38621 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38622 value between 1.0 and 2.0 and smaller part has absolute value less
38623 than 1.0.
38624 * math/s_clog10.c (__clog10): Likewise.
38625 * math/s_clog10f.c (__clog10f): Likewise.
38626 * math/s_clog10l.c (__clog10l): Likewise.
38627 * math/s_clogf.c (__clogf): Likewise.
38628 * math/s_clogl.c (__clogl): Likewise.
38629 * math/libm-test.inc (clog_test): Add more tests.
38630 (clog10_test): Likewise.
38631 * sysdeps/i386/fpu/libm-test-ulps: Update.
38632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38633
2bc13872
FW
386342012-07-31 Florian Weimer <fweimer@redhat.com>
38635
38636 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38637 Exit with zero in case no suitable GID is found, and write a
38638 message to standard error.
38639
bea9b193
RM
386402012-07-30 Roland McGrath <roland@hack.frob.com>
38641
38642 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38643 rather than to 1.
38644 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38645 (MAXPATHLEN): Removed.
38646 (NOGROUP, NODEV): New macros.
38647 (setbit, clrbit, isset, isclr): New macros.
38648 (howmany, roundup, powerof2): New macros.
38649 (DEV_BSIZE): New macro.
38650
38651 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38652 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38653
38654 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38655 definition on [!__NO_LONG_DOUBLE_MATH].
38656
38657 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38658 PTR_MANGLE and PTR_DEMANGLE.
38659
38660 * socket/accept4.c (accept4): Rename to __libc_accept4.
38661 Define accept4 as a weak alias.
38662
38663 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38664 on [_DIRENT_HAVE_D_TYPE].
38665 * io/ftw.c (ftw_dir): Likewise.
38666
38667 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38668
38669 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38670
38671 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38672 Use the BSD numbers rather than the arbitrary ones we had.
38673 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38674 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38675 (SIGXCPU, SIGXFSZ): New macros.
38676 (_NSIG): Now 32.
38677
38678 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38679 initializer on [_LIBC_REENTRANT].
38680
38681 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38682 definitions inside [_POSIX_MAPPED_FILES].
38683
38684 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38685
38686 * dirent/opendir.c: Include <fcntl.h>.
38687
38688 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38689 (__libc_getspecific): Likewise.
38690 (__libc_key_create): Likewise.
38691
38692 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38693 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38694 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38695 (tmpfile64): Define as alias.
38696 * sysdeps/wordsize-64/tmpfile.c: File removed.
38697 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38699 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38700
38701 * stdio-common/vfscanf.c: Include <stdbool.h>.
38702 * nss/makedb.c: Likewise.
38703 * stdio-common/_i18n_number.h: Likewise.
38704 * argp/argp-help.c: Likewise.
38705 * posix/wordexp.c: Likewise.
38706 * sysdeps/posix/spawni.c: Likewise.
38707 * nss/nss_files/files-initgroups.c: Likewise.
38708 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38709 * nss/nss_files/files-initgroups.c: Likewise.
38710 * nss/nss_db/db-netgrp.c: Likewise.
38711 * nss/nss_db/db-initgroups.c: Likewise.
38712 * io/fchmodat.c: Include <sys/stat.h>.
38713
38714 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38715 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38716
38717 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38718 [HAVE_MMAP].
38719
38720 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38721 Add multiple inclusion protection.
38722
e5abc686
DM
387232012-07-27 David S. Miller <davem@davemloft.net>
38724
38725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38726
815e6fa3
GB
387272012-07-27 Gary Benson <gbenson@redhat.com>
38728
38729 [BZ #14298]
38730 * elf/rtld.c: Include <stap-probe.h>.
38731 (dl_main): Added static probes "init_start" and "init_complete".
38732 * elf/dl-load.c: Include <stap-probe.h>.
38733 (lose): Take new parameter "nsid".
38734 Added static probe "map_failed".
38735 (_dl_map_object_from_fd): Pass namespace id to lose.
38736 Added static probe "map_start".
38737 (open_verify): Pass namespace id to lose.
38738 * elf/dl-open.c: Include <stap-probe.h>.
38739 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38740 and "reloc_complete".
38741 * elf/dl-close.c: Include <stap-probe.h>.
38742 (_dl_close_worker): Added static probes "unmap_start" and
38743 "unmap_complete".
38744 * elf/rtld-debugger-interface.txt: New file documenting the above.
38745
9f98c16c
RM
387462012-07-26 Roland McGrath <roland@hack.frob.com>
38747
38748 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38749 rather than a string variable.
38750 * sunrpc/rpc_main.c (h_output): Likewise.
38751 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38752
f3c22df3
PT
387532012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38754
38755 * inet/check_native.c: New file.
38756
3129cfc6
JM
387572012-07-26 Joseph Myers <joseph@codesourcery.com>
38758
da865e95
JM
38759 [BZ #13629]
38760 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38761 if larger part has absolute value 1.0.
38762 * math/s_clog10.c (__clog10): Likewise.
38763 * math/s_clog10f.c (__clog10f): Likewise.
38764 * math/s_clog10l.c (__clog10l): Likewise.
38765 * math/s_clogf.c (__clogf): Likewise.
38766 * math/s_clogl.c (__clogl): Likewise.
38767 * math/libm-test.inc (clog_test): Add more tests.
38768 (clog10_test): Likewise.
38769 * sysdeps/i386/fpu/libm-test-ulps: Update.
38770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38771
3129cfc6
JM
38772 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38773 (pltexit): Likewise.
38774 (La_regs): Likewise.
38775 (La_retval): Likewise.
38776 (int_retval): Likewise.
38777 Update #error for removed macros to refer only to definitions in
38778 tst-audit.h.
38779 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38780 macro.
38781 (pltexit): Likewise.
38782 (La_regs): Likewise.
38783 (La_retval): Likewise.
38784 (int_retval): Likewise.
38785 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38786 macro.
38787 (pltexit): Likewise.
38788 (La_regs): Likewise.
38789 (La_retval): Likewise.
38790 (int_retval): Likewise.
38791 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38792 macro.
38793 (pltexit): Likewise.
38794 (La_regs): Likewise.
38795 (La_retval): Likewise.
38796 (int_retval): Likewise.
38797 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38798 macro.
38799 (pltexit): Likewise.
38800 (La_regs): Likewise.
38801 (La_retval): Likewise.
38802 (int_retval): Likewise.
38803 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38804 macro.
38805 (pltexit): Likewise.
38806 (La_regs): Likewise.
38807 (La_retval): Likewise.
38808 (int_retval): Likewise.
38809 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38810 macro.
38811 (pltexit): Likewise.
38812 (La_regs): Likewise.
38813 (La_retval): Likewise.
38814 (int_retval): Likewise.
38815 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38816 macro definitions in tst-audit.h.
38817 * sysdeps/i386/tst-audit.h: New file.
38818 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38819 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38820 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38821 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38822 * sysdeps/sh/tst-audit.h: Likewise.
38823 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38824 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38825 * sysdeps/x86_64/tst-audit.h: Likewise.
38826
bfc07087
AJ
388272012-07-26 Andreas Jaeger <aj@suse.de>
38828
b1b2aaf8
AJ
38829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38830 ptrace.
38831
38832 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38833 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38834 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38835 PTRACE_O_MASK.
38836 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38837 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38838 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38839
bfc07087
AJ
38840 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38841 value.
38842
38843 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38844 _sigsys.
38845 (si_call_addr, si_syscall, si_arch): Define new macro.
38846 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38847 _sigsys.
38848 (si_call_addr, si_syscall, si_arch): Define new marcro.
38849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38850 _sigsys.
38851 (si_call_addr, si_syscall, si_arch): Define new macro.
38852 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38853 _sigsys.
38854 (si_call_addr, si_syscall, si_arch): Define new macro.
38855
89b4b02f
JM
388562012-07-25 Joseph Myers <joseph@codesourcery.com>
38857
38858 [BZ #13717]
38859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38860 Change to 2.4.21 where previously 2.4.1.
38861 * sysdeps/unix/sysv/linux/configure: Regenerated.
38862 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38863 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38864 Linux kernel version.
38865 (__ASSUME_STD_AUXV): Remove.
38866 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38867 kernel version.
38868 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38869 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38870 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38871 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38872 (__ASSUME_NETLINK_SUPPORT): Likewise.
38873 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38874 (__no_netlink_support): Remove conditional definition.
38875 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38876 Remove.
38877 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38878 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38879 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38880 (if_nameindex_ioctl): Remove.
38881 (if_nameindex_netlink): Do not handle __no_netlink_support.
38882 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38883 code.
38884 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38885 Remove conditional code.
38886 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38887 code.
38888 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38889 unconditional.
38890 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38891 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38892 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38893 Remove.
38894 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38895 [!__ASSUME_STD_AUXV]: Remove conditional code.
38896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38897 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38898 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38900 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38901 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38902 code.
38903 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38905 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38906 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38907 conditional code.
38908 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38910 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38911 code.
38912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38913 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38914 conditional code.
38915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38916 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38917 code unconditional.
38918 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38919 conditional code.
38920 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38921 unconditional.
38922 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38923 conditional code.
38924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38925 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38926 unconditional.
38927 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38928 conditional code.
38929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38930 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38931 code unconditional.
38932 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38933 conditional code.
38934 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38935 unconditional.
38936 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38937 conditional code.
38938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38939 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38940 code unconditional.
38941 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38942 conditional code.
38943 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38944 unconditional.
38945 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38946 conditional code.
38947
842a39cd
AS
389482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38949
38950 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38951 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38952 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38953 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38954 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38955 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38956 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38957 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38958 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38959 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38960 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38961 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38962 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38963 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38964 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38965 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38966 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38968 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38970 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38971 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38973
84b3fd84
FW
389742012-07-25 Florian Weimer <fweimer@redhat.com>
38975
38976 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38977 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38978 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38979 Introduce __libc_secure_getenv.
0c7936d5
FW
38980 * stdlib/Versions (2.17): Add secure_getenv
38981 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38982 * stdlib/secure-getenv.c: Rename __secure_getenv to
38983 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38984 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38985 * stdlib/tst-secure-getenv.c: New.
38986 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38987 * manual/startup.texi (Environment Access): Document
38988 secure_getenv.
84b3fd84
FW
38989 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38990 __libc_secure_getenv.
38991 * inet/ruserpass.c (ruserpass): Likewise.
38992 * malloc/mtrace.c (mtrace): Likewise.
38993 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38994 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38995 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38996 * sysdeps/posix/tempname.c: Likewise. Evaluate
38997 HAVE_SECURE_GETENV.
38998 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38999 __secure_getenv to __libc_secure_getenv.
84b3fd84 39000 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39002 Likewise.
39003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39004 Likewise.
39005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39012
56e49b71
JM
390132012-07-25 Joseph Myers <joseph@codesourcery.com>
39014
39015 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39016 (struct La_i86_retval): Likewise.
39017 (struct La_x86_64_regs): Likewise.
39018 (struct La_x86_64_retval): Likewise.
39019 (struct La_x32_regs): Likewise.
39020 (struct La_x32_retval): Likewise.
39021 (struct La_ppc32_regs): Likewise.
39022 (struct La_ppc32_retval): Likewise.
39023 (struct La_ppc64_regs): Likewise.
39024 (struct La_ppc64_retval): Likewise.
39025 (struct La_sh_regs): Likewise.
39026 (struct La_sh_retval): Likewise.
39027 (struct La_s390_32_regs): Likewise.
39028 (struct La_s390_32_retval): Likewise.
39029 (struct La_s390_64_regs): Likewise.
39030 (struct La_s390_64_retval): Likewise.
39031 (struct La_sparc32_regs): Likewise.
39032 (struct La_sparc32_retval): Likewise.
39033 (struct La_sparc64_regs): Likewise.
39034 (struct La_sparc64_retval): Likewise.
39035 (struct audit_ifaces): Remove architecture-specific pltenter and
39036 pltexit members.
39037 * sysdeps/i386/ldsodefs.h: New file.
39038 * sysdeps/powerpc/ldsodefs.h: Likewise.
39039 * sysdeps/s390/ldsodefs.h: Likewise.
39040 * sysdeps/sh/ldsodefs.h: Likewise.
39041 * sysdeps/sparc/ldsodefs.h: Likewise.
39042 * sysdeps/x86_64/ldsodefs.h: Likewise.
39043
354691b7
MP
390442012-07-25 Marek Polacek <polacek@redhat.com>
39045
39046 [BZ #6808]
39047 * math/libm-test.inc (yn_test): Add another test.
39048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39049 to ERANGE when the result is +-Inf.
39050 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39051 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39052 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39053 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39054
bf9e2071
JM
390552012-07-24 Joseph Myers <joseph@codesourcery.com>
39056
39057 * conform/data/time.h-data (NULL): Use macro-constant. Require
39058 equal to 0.
39059 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39060 clock_t.
39061 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39062
57633811
TS
390632012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39064
39065 * configure.in <sysdeps resolving>: Correct printing
39066 Implies_before.
39067 * configure: Regenerate.
39068
c23c33b0
TS
390692012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39070
39071 * math/w_ilogb.c: Include <limits.h>.
39072 * math/w_ilogbl.c: Likewise.
39073
b5982523
JM
390742012-07-20 Joseph Myers <joseph@codesourcery.com>
39075
39076 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39077 va_copy. Document allowing for unavailable va_copy only as
39078 pre-C99 compatibility.
39079 * manual/string.texi (Copying and Concatenation): Use va_copy
39080 instead of __va_copy in concat example.
39081
ac4ea442
PT
390822012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39083
39084 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39085 (__sendto): Use create_address_port. Initialize APORT and deallocate
39086 it if not null.
39087
f98eafbd
PT
39088 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39089 with O_NOLINK passed to __file_name_lookup.
39090
898c7aab
PT
39091 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39092 with O_NOLINK passed to __file_name_lookup.
39093
0ced335a
PT
39094 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39095 negative N or less than NGIDS.
39096
b3404dbd
PT
39097 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39098 type to string_t. Set ERANGE as errno and return it if NAME is not big
39099 enough. Use memcpy instead of strncpy.
39100
0f48659e
JM
391012012-07-20 Joseph Myers <joseph@codesourcery.com>
39102
39103 * elf/Makefile (check-data): Remove.
39104 (localplt.data): New vpath directive.
39105 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39106 instead of $(check-data).
39107 * scripts/data/localplt-generic.data: Move to ...
39108 * sysdeps/generic/localplt.data: ... here.
39109 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39110 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39111 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39113 ... here.
39114 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39116 ... here.
39117 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39119 ... here.
39120 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39122 ... here.
39123 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39125 ... here.
39126 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39128 ... here.
39129
d37cbdaa
AZ
391302012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39131
39132 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39133 PPC32 and PPC64 files.
39134 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39135 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39136
46f85fc2
AK
391372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39138
39139 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39140 __makecontext_ret to ...
39141 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39142 ... here and call exit if uc_link is NULL. New file.
39143 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39144 __makecontext_ret.S.
39145 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39146 __makecontext_ret to ...
39147 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39148 ... here and call exit if uc_link is NULL. New file.
39149 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39150 __makecontext_ret.S.
39151
08f43f9b
AK
391522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39153
39154 * elf/elf.h (R_390_IRELATIVE): New definition.
39155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39156 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39157 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39158 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39159 (elf_machine_lazy_rel): Likewise.
39160 * sysdeps/s390/dl-irel.h: New file.
39161 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39162 * sysdeps/s390/s390-64/memset.S: New asm code.
39163 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39164 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39166 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39167 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39168 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39169 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39170 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39171 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39172 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39173 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39174 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39175 * sysdeps/s390/s390-32/memset.S: New asm code.
39176 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39177
3b05db33
MP
391782012-07-17 Marek Polacek <polacek@redhat.com>
39179
39180 [BZ #14349]
39181 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39182 * sysdeps/s390/s390-64/configure.in: Likewise.
39183 * sysdeps/sparc/configure.in: Likewise.
39184 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39185 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39186 * sysdeps/i386/configure.in: Likewise.
39187 * sysdeps/x86_64/configure.in: Likewise.
39188 * sysdeps/sh/configure.in: Likewise.
39189 * sysdeps/s390/s390-32/configure: Regenerated.
39190 * sysdeps/s390/s390-64/configure: Likewise.
39191 * sysdeps/x86_64/configure: Likewise.
39192 * sysdeps/sh/configure: Likewise.
39193 * sysdeps/powerpc/powerpc64/configure: Likewise.
39194 * sysdeps/powerpc/powerpc32/configure: Likewise.
39195 * sysdeps/sparc/configure: Likwise.
39196 * sysdeps/i386/configure: Likewise.
39197
a66877c6
MP
39198 * elf/dl-open.c: Comment fixes.
39199
cfc82fd8
JM
392002012-07-17 Joseph Myers <joseph@codesourcery.com>
39201
bd29910a
JM
39202 * Makefile [CXX] (check-data): Remove.
39203 [CXX] (c++-types.data): New vpath directive.
39204 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39205 vpath. Do not allow for C++ type data being missing.
39206 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39207 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39208 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39209 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39210 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39211 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39212 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39214 ... here.
39215 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39217 ... here.
39218 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39220 ... here.
39221 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39223 ... here.
39224 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39226 ... here.
39227 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39229 ... here.
39230 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39232 ... here.
39233 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39235
cfc82fd8
JM
39236 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39237 definitions to architecture-specific files.
39238 (TLS_IE): Likewise.
39239 (TLS_LD): Likewise.
39240 (TLS_GD): Likewise.
39241 * sysdeps/i386/tls-macros.h: New file.
39242 * sysdeps/powerpc/tls-macros.h: Likewise.
39243 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39244 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39245 * sysdeps/sh/tls-macros.h: Likewise.
39246 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39247 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39248 * sysdeps/x86_64/tls-macros.h: Likewise.
39249
f7db3170
TS
392502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39251
07cbfc23
TS
39252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39253 zero value for regular exit case.
39254
f7db3170
TS
39255 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39256 (__start_context): Preserve zero value for regular exit case.
39257
dc97c227
TS
392582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39259 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39260
39261 * manual/setjmp.texi (setcontext): Clarify normal process
39262 termination when uc_link is the null pointer.
39263 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39264 exit call.
39265
d0cd7d02
AS
392662012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39267
39268 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39269 preprocessor. Test for each exception mask separately.
39270
dd318934
AJ
392712012-07-16 Andreas Jaeger <aj@suse.de>
39272
39273 * po/ru.po: Update from translation team.
39274
8048311a
JM
392752012-07-15 Joseph Myers <joseph@codesourcery.com>
39276
39277 * conform/data/string.h-data (NULL): Use macro-constant. Require
39278 equal to 0.
39279 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39280 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39281 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39282 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39284
b637d46e
AJ
392852012-07-13 Andreas Jaeger <aj@suse.de>
39286
39287 * po/fr.po: Update from translation team.
39288
541428fe
MP
392892012-07-12 Marek Polacek <polacek@redhat.com>
39290
39291 [BZ #14173]
39292 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39294 loop condition.
39295
ec332e94
JM
392962012-07-12 Joseph Myers <joseph@codesourcery.com>
39297
39298 [BZ #13717]
39299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39300 Change to 2.4.1 where previously 2.4.0.
39301 * sysdeps/unix/sysv/linux/configure: Regenerated.
39302 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39303 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39304 version.
39305 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39306 (__ASSUME_AT_CLKTCK): Remove.
39307 (__ASSUME_AT_PAGESIZE): Likewise.
39308 (__ASSUME_AT_XID): Likewise.
39309 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39310 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39311 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39312 unconditionally.
39313 (HAVE_AUX_PAGESIZE): Likewise.
39314 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39315 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39316 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39317
7b6e99be
JB
393182012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39319
39320 [BZ #14307]
39321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39322 the temporary buffer used to invoke __gethostbyname2_r,
39323 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39324 host_data / struct gaih_addrtuple.
39325 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39326 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39327 header file nss/nsswitch.h.
39328 * nss/nsswitch.h (global scope): Add definition of implementation
39329 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39330 resolv/nss_dns/dns-host.c).
39331
608404eb
AJ
393322012-07-11 Andreas Jaeger <aj@suse.de>
39333
39334 * po/fr.po: Update from translation team.
39335
71220aca
AJ
39336 * po/sv.po: Update from translation team
39337 * po/fr.po: Another update from translation team.
39338
28cfe843
AZ
393392012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39340
39341 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39342 for subnormals or multiply small sinh result by itself.
39343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39345
6b90f981
DM
393462012-07-11 David S. Miller <davem@davemloft.net>
39347
39348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39349
c6825772
AS
393502012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39351
39352 [BZ #14347]
39353 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39354 (INTERNAL_MARK): Shift it here.
39355
7b8e0d49
MP
393562012-07-10 Marek Polacek <polacek@redhat.com>
39357
39358 [BZ #14151]
39359 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39360 libc_cv_asm_global_directive with .globl.
39361 * configure: Regenerated.
39362 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39363 with .globl.
39364 * sysdeps/i386/configure: Regenerated.
39365 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39366 with .globl.
39367 * sysdeps/x86_64/configure: Regenerated.
39368 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39369 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39370 * elf/tst-unique2mod2.c: Likewise.
39371 * elf/tst-unique2mod1.c: Likewise.
39372 * elf/tst-unique1mod2.c: Likewise.
39373 * elf/tst-unique1mod1.c: Likewise.
39374 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39375 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39376 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39377 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39378 * sysdeps/mach/sysdep.h: Likewise.
39379 * sysdeps/i386/sysdep.h: Likewise.
39380 * sysdeps/i386/i386-mcount.S: Likewise.
39381 * sysdeps/x86_64/_mcount.S: Likewise.
39382 * sysdeps/x86_64/sysdep.h: Likewise.
39383 * sysdeps/sh/_mcount.S: Likewise.
39384 * sysdeps/sh/sysdep.h: Likewise.
39385 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39386 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39387 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39388 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39389 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39390 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39391 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39392 * locale/localeinfo.h: Likewise.
39393 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39394 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39395
6c55cda3
RM
393962012-07-09 Roland McGrath <roland@hack.frob.com>
39397
39398 [BZ #14336]
39399 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39400 system".
39401 * manual/message.texi (The Uniforum approach): Likewise.
39402 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39403 (glibc iconv Implementation): Likewise.
39404
638a572e
JM
394052012-07-09 Joseph Myers <joseph@codesourcery.com>
39406
39407 [BZ #14337]
39408 * math/s_clog.c (__clog): Avoid scaling a value down where that
39409 could result in underflow.
39410 * math/s_clog10.c (__clog10): Likewise.
39411 * math/s_clog10f.c (__clog10f): Likewise.
39412 * math/s_clog10l.c (__clog10l): Likewise.
39413 * math/s_clogf.c (__clogf): Likewise.
39414 * math/s_clogl.c (__clogl): Likewise.
39415 * math/libm-test.inc (clog_test): Add more tests.
39416 (clog10_test): Likewise.
39417 * sysdeps/i386/fpu/libm-test-ulps: Update.
39418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39419
261f4859
AS
394202012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39421
0abaf3e4
AS
39422 [BZ #14283]
39423 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39424 by 7 not 8 to examine high bit of fractional part.
39425
261f4859
AS
39426 [BZ #14042]
39427 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39428 for call to __mcount_internal.
39429 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39430 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39431 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39432
f17ac40d
JM
394332012-07-06 Joseph Myers <joseph@codesourcery.com>
39434
9ad63c23
JM
39435 [BZ #14154]
39436 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39437 approximation for values within 0x1p-13f of an odd multiple of
39438 pi/4.
39439 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39440 exception. Add more tests.
39441 * sysdeps/i386/fpu/libm-test-ulps: Update.
39442
f17ac40d
JM
39443 [BZ #6778]
39444 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39445 inputs and return -1 for them. Do not check for +Inf in case not
39446 reachable for +Inf.
39447 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39448 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39449 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39450 and return -1 for them. Do not check for +Inf in case not
39451 reachable for +Inf.
39452 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39453 define.
39454 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39455 and return -1 for them. Do not check for +Inf in case not
39456 reachable for +Inf.
39457 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39458 spurious underflow.
39459 * sysdeps/i386/fpu/libm-test-ulps: Update.
39460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39461
fb21f89b
MF
394622012-07-06 Mike Frysinger <vapier@gentoo.org>
39463
39464 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39465
cdfe2c5e
JM
394662012-07-05 Joseph Myers <joseph@codesourcery.com>
39467
39468 [BZ #14157]
39469 [BZ #14331]
39470 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39471 could result in spurious underflow. Scale down values above
39472 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39473 * math/s_csqrtf.c (__csqrtf): Likewise.
39474 * math/s_csqrtl.c (__csqrtl): Likewise.
39475 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39476 spurious underflow.
39477 * sysdeps/i386/fpu/libm-test-ulps: Update.
39478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39479
70d35b67
AS
394802012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39481
704bc459
AS
39482 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39483 xopen-msg.sed.
39484 * catgets/xopen-msg.awk: New file.
39485 * catgets/xopen-msg.sed: Removed.
39486
70d35b67
AS
39487 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39488 po2text.sed.
39489 * intl/po2test.awk: New file.
39490 * intl/po2test.sed: Removed.
39491
ca61cf32
JM
394922012-07-04 Joseph Myers <joseph@codesourcery.com>
39493
39494 [BZ #14328]
39495 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39496 or multiply small sinh result by itself.
39497 * math/s_ctanf.c (__ctanf): Likewise.
39498 * math/s_ctanh.c (__ctanh): Likewise.
39499 * math/s_ctanhf.c (__ctanhf): Likewise.
39500 * math/s_ctanhl.c (__ctanhl): Likewise.
39501 * math/s_ctanl.c (__ctanl): Likewise.
39502 * math/libm-test.inc (ctan_test_tonearest): New function.
39503 (ctan_test_towardzero): Likewise.
39504 (ctan_test_downward): Likewise.
39505 (ctan_test_upward): Likewise.
39506 (ctanh_test_tonearest): Likewise.
39507 (ctanh_test_towardzero): Likewise.
39508 (ctanh_test_downward): Likewise.
39509 (ctanh_test_upward): Likewise.
39510 (main): Call these new functions.
39511 * sysdeps/i386/fpu/libm-test-ulps: Update.
39512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39513
ca48a46a
MF
395142012-07-03 Mike Frysinger <vapier@gentoo.org>
39515
39516 * .gitignore: Delete /ports entry.
39517
9d63d37d
AJ
395182012-07-03 Andreas Jaeger <aj@suse.de>
39519
39520 * po/bg.po: Update from translation team.
39521 * po/cs.po: Likewise.
39522 * po/de.po: Likewise.
39523 * po/hr.po: Likewise.
39524 * po/nl.pl: Likewise.
39525 * po/pl.po: Likewise.
39526 * po/vi.po: Likewise.
39527
370ca3d2
JM
395282012-07-03 Joseph Myers <joseph@codesourcery.com>
39529
95f5a9a8
JM
39530 * Makeconfig [!+link] (+link-before-libc): New variable.
39531 [!+link] (+link-after-libc): Likewise.
39532 [!+link] (+link-tests): Likewise.
39533 [!+link] (+link): Define in terms of $(+link-before-libc) and
39534 $(+link-after-libc).
39535 [!+link-static] (+link-static-before-libc): New variable.
39536 [!+link-static] (+link-static-after-libc): Likewise.
39537 [!+link-static] (+link-static-tests): Likewise.
39538 [!+link-static] (+link-static): Define in terms of
39539 $(+link-static-before-libc) and $(+link-static-after-libc).
39540 [build-shared] (link-libc-before-gnulib): New variable.
39541 [build-shared] (link-libc-tests): Likewise.
39542 [build-shared] (link-libc): Define in terms of
39543 $(link-libc-before-gnulib).
39544 [!build-shared] (link-libc-tests): New variable.
39545 (link-libc-static-tests): New variable.
39546 [!gnulib] (gnulib-arch): New variable.
39547 [!gnulib] (gnulib-tests): Likewise.
39548 [!gnulib] (static-gnulib-arch): Likewise.
39549 [!gnulib] (static-gnulib-tests): Likewise.
39550 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39551 Define with "=" instead of ":=".
39552 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39553 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39554 * Rules (binaries-all-notests): New variable.
39555 (binaries-all-tests): Likewise.
39556 (binaries-static-notests): Likewise.
39557 (binaries-static-tests): Likewise.
39558 (binaries-all): Define using $(binaries-all-notests) and
39559 $(binaries-all-tests).
39560 (binaries-static): Define using $(binaries-static-notests) and
39561 $(binaries-static-tests).
39562 (binaries-shared-tests): New variable.
39563 (binaries-shared-notests): Likewise.
39564 (binaries-shared): Remove variable.
39565 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39566 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39567 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39568 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39569 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39570 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39571 * elf/Makefile (sln-modules): New variable.
39572 (extra-objs): Add $(sln-modules:=.o).
39573 (ldconfig-modules): Add static-stubs.
39574 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39575 * elf/static-stubs.c: New file.
39576
7a845b2c
JM
39577 [BZ #14283]
39578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39579 by 7 not 8 to examine high bit of fractional part. Use volatile
39580 variables when splitting into final array of floats if
39581 __FLT_EVAL_METHOD__ != 0.
39582 * math/libm-test.inc (cos_test): Add another test.
39583 (sin_test): Likewise.
39584 * sysdeps/i386/fpu/libm-test-ulps: Update.
39585
e2283f38
JM
39586 [BZ #14273]
39587 * math/libm-test.inc (cosh_test): Add more tests.
39588
370ca3d2
JM
39589 * version.h (RELEASE): Set to "development".
39590 (VERSION): Set to "2.16.90".
39591
ee9247c3
CD
395922012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39593
39594 * NEWS: Update copyright. Remove last-updated date.
39595 Mention math library bug fixes and timezone data changes.
39596 * README: Mention GNU/Hurd, x32, and HPPA support status.
39597
4648c381
TS
395982012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39599
39600 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39601
aac78a43
AJ
396022012-06-27 Andreas Jaeger <aj@suse.de>
39603
39604 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39605
ed3dbfad
AJ
396062012-06-25 Andreas Jaeger <aj@suse.de>
39607
39608 * sysdeps/s390/fpu/libm-test-ulps: Update.
39609
4d0ee855
AS
396102012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39611 Thomas Schwinge <thomas@codesourcery.com>
39612
39613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39614 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39616 fanotify_mark.
39617
af1bce34
TS
396182012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39619
a9fa33ba
TS
39620 * sysdeps/mach/start.c: Remove file.
39621 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39622 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39623 * sysdeps/sh/init-first.c: Likewise.
39624
58f902b8
TS
39625 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39626 registers for frame unwinding purposes, add CFI directives.
39627 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39629 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39630 Likewise.
39631
1518f58b
TS
39632 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39633 __fortify_fail returning.
39634 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39635
db9b5059
TS
39636 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39637 sysdeps/sh/____longjmp_chk.S.
39638 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39639 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39640 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39641 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39642
967705fe
TS
39643 * sysdeps/sh/abort-instr.h: New file.
39644 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39645 process in case exit returns.
39646
a9def8c4
TS
39647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39648 initialize the GOT register before use.
39649
2a649725
TS
39650 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39651 calculation of ARGC > 4.
39652
af1bce34
TS
39653 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39654 meaningful names to some local labels.
39655
d230f50a
KK
396562012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39657 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39658
39659 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39660 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39661 (__arch_compare_and_exchange_val_16_acq): Likewise.
39662 (__arch_compare_and_exchange_val_32_acq): Likewise.
39663 (atomic_exchange_and_add): Fix gUSA sequence.
39664 (atomic_add): Likewise.
39665 (atomic_add_negative): Likewise.
39666 (atomic_add_zero): Likewise.
39667 (atomic_bit_test_set): Likewise.
39668
0479b305
AS
396692012-06-22 Andreas Schwab <schwab@redhat.com>
39670
39671 [BZ #13579]
39672 * include/link.h (struct link_map): Add l_free_initfini.
39673 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39674 l_initfini.
39675 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39676 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39677 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39678 set.
39679
0e3933b9
CD
396802012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39681
39682 * configure.in: Use AC_LANG_SOURCE.
39683 * configure: Regenerate.
39684
4248b1b1
RM
396852012-06-22 Roland McGrath <roland@hack.frob.com>
39686
39687 * configure.in (libc_cv_localstatedir): New substituted variable.
39688 * configure: Regenerated.
39689 * config.make.in (localstatedir): New variable, substituted from
39690 libc_cv_localstatedir.
39691 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39692 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39693 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39694 * sysdeps/gnu/configure: Regenerated.
39695
006dd861
JL
396962012-06-21 Jeff Law <law@redhat.com>
39697
39698 [BZ #14277]
39699 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39700 free. Simplify list management for _LIBC case.
39701
79662d42
JM
397022012-06-21 Joseph Myers <joseph@codesourcery.com>
39703
b7abb4bf
JM
39704 [BZ #14273]
39705 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39706 Clear sign bit of 64-bit integer value before comparing against
39707 overflow value.
39708
79662d42
JM
39709 * sysdeps/mach/configure: Regenerated.
39710
1f150908
L
397112012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39712
39713 [BZ #14278]
39714 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39715
28363bbf
JL
397162012-06-21 Jeff Law <law@redhat.com>
39717
39718 [BZ #13882]
39719 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39720 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39721 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39722 * elf/dl-open.c (dl_open_worker): Likewise.
39723
09615db4
CD
397242012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39725
39726 * scripts/list-sources.sh: Scan PORTS for translations.
39727 * po/libc.pot: Regenerated.
39728
2174c6dd
AJ
397292012-06-21 Andreas Jaeger <aj@suse.de>
39730
39731 [BZ #12194]
39732 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39733 warning.
39734 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39735 * bits/byteswap-16.h (__bswap_16): Likewise.
39736 * bits/byteswap.h (__bswap_constant_16): Likewise.
39737
3ee947b1
L
397382012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39739
39740 [BZ #14117]
a2f34833
L
39741 * sysdeps/i386/fpu_control.h: Removed.
39742 * sysdeps/x86_64/fpu_control.h: Moved to ...
39743 * sysdeps/x86/fpu_control.h: Here.
39744
3ee947b1
L
39745 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39746 (_FPU_SETCW): Likewise.
39747
ed1825f8
L
397482012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39749
25f1282a
L
39750 [BZ #14117]
39751 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39752 * sysdeps/x86/fpu/bits/mathinline.h: This.
39753 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39754
ed1825f8
L
39755 [BZ #14050]
39756 [BZ #14117]
39757 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39758 functions if __x86_64__ is defined.
39759
36d54b74
CLT
397602012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39761
39762 * string/endian.h: Add !__ASSEMBLER__ condition for including
39763 conversion interfaces.
39764
10285c21
JM
397652012-06-15 Joseph Myers <joseph@codesourcery.com>
39766
39767 [BZ #14241]
39768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39769 of ABS(x) in calculating zero to negative powers other than odd
39770 integers.
39771 * math/libm-test.inc (pow_test): Add more tests.
39772
06c5abbd
AJ
397732012-06-15 Andreas Jaeger <aj@suse.de>
39774
39775 * manual/contrib.texi (Contributors): Update entry of Liubov
39776 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39777 Machado Filho.
39778
a3aeac40
CH
397792012-06-15 Cyril Hrubis <metan@ucw.cz>
39780
39781 * string/string.h: Add __wur to GNU version of strerror_r.
39782
49bdf4c1
L
397832012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39784
39785 [BZ #14229]
39786 * string/Makefile (tests): Add tst-strtok_r.
39787 * string/tst-strtok_r.c: New file.
39788 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39789 RAX_LP/RDX_LP on SAVE_PTR.
39790
834f9b8d
RM
397912012-06-14 Roland McGrath <roland@hack.frob.com>
39792
39793 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39794
75fa1921
JM
397952012-06-14 Joseph Myers <joseph@codesourcery.com>
39796
39797 * libm_test.inc (csqrt_test): Allow more spurious underflow
39798 exceptions.
39799 (j0_test): Likewise.
39800 (j1_test): Likewise.
39801 (y0_test): Likewise.
39802 (y1_test): Likewise.
39803
771766df
CD
398042012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39805
39806 * po/Makefile (libc.pot): Use UTF-8 charset.
39807
ceb9e56b
PP
398082012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39809
39810 [BZ #14210]
39811 Suppress sign-conversion warning from FD_SET.
39812 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39813 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39814 not unsigned long int.
39815 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39816
ddb28975
L
398172012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39818
39819 [BZ #14050]
39820 [BZ #14117]
39821 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39822 __extern_always_inline instead of __extern_inline.
39823 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39824 (__signbit): Likewise.
39825 (__signbitl): Support C++ namespace.
39826 (lrintf): New inline function.
39827 (lrint): Likewise.
39828 (llrintf): Likewise.
39829 (llrint): Likewise.
39830 (fmaxf): Likewise.
39831 (fmax): Likewise.
39832 (fminf): Likewise.
39833 (fmin): Likewise.
39834 (rint): Likewise.
39835 (rintf): Likewise.
39836 (ceil): Likewise.
39837 (ceilf): Likewise.
39838 (floor): Likewise.
39839 (floorf): Likewise.
39840 (nearbyint): Likewise.
39841 (nearbyintf): Likewise.
39842
d7b4fb26
TS
398432012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39844
39845 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39846 non-default versions.
39847
eb55f5c2
RM
398482012-06-11 Roland McGrath <roland@hack.frob.com>
39849
39850 [BZ #14218]
39851 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39852
366af02c
TS
398532012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39854
99ff6e5c
TS
39855 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39856 (FE_UPWARD, FE_DOWNWARD): Don't define.
39857 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39858 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39859
366af02c
TS
39860 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39861 reading it.
39862 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39863 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39864
793ea851
KK
398652012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39866
39867 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39869 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39870 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39871
a728a38f
L
398722012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39873
39874 [BZ #14117]
c08010c7
L
39875 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39876 * sysdeps/i386/fpu/Implies: New file.
39877 * sysdeps/x86_64/fpu/Implies: Likewise.
39878 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39879 * sysdeps/x86/fpu/bits/fenv.h: This.
39880
a728a38f
L
39881 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39882 __SSE_MATH__.
39883
6e230d11
SP
398842012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39885
39886 [BZ #14134]
39887 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39888 character 0xffff that matches the last element of the
39889 conversion table.
39890
1b671feb
AZ
398912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39892
39893 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39894 fmodl commit.
39895
6043738b
AZ
398962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39897
39898 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39899 values higher than 25.6283.
39900
34ae0b32
AZ
399012012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39902
39903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39904 subnormal exponent extraction and add some __builtin_expect.
39905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39906 Fix for subnormal mantissa calculation.
39907
1214ec8f
MF
399082012-06-04 Mike Frysinger <vapier@gentoo.org>
39909
39910 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39911 cpu2 is -1 and errno is not ENOSYS.
39912
f3d1f93c
L
399132012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39914
39915 [BZ #14117]
0e4a3cd7
L
39916 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39917 * sysdeps/x86/bits/string.h: This.
39918 * sysdeps/x86_64/bits/string.h: Removed.
39919
6704c645
L
39920 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39921 if not compiling for x86-64, but compiling for >= i486.
39922
48495318
L
39923 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39924 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39925
14adcbfc
L
39926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39927 New macro from Linux kernel 3.4.0.
39928 (FP_XSTATE_MAGIC2): Likewise.
39929 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39930 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39931 (struct _fpx_sw_bytes): New struct.
39932 (struct _xsave_hdr): Likewise.
39933 (struct _ymmh_state): Likewise.
39934 (struct _xstate): Likewise.
39935
68e408ab
L
39936 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39937 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39938 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39939 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39940 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39941 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39942
f3d1f93c
L
39943 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39944 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39945 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39946 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39947 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39948 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39949
d9dc34cd
TMQMF
399502012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39951
39952 [BZ #13743]
39953 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39954 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39955 (sysdep_headers): Include sys/platform/ppc.h.
39956 * sysdeps/powerpc/test-gettimebase.c: Test for
39957 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39958 * manual/Makefile (appendices): Include platform.texi.
39959 * manual/contrib.texi (Contributors): Update @node pointers.
39960 * manual/maint.texi (Maintenance): Likewise.
39961 (Platform): New node.
39962 * manual/platform.texi: New file. Document the new features.
39963
4af3879c
SP
399642012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39965 Jakub Jelinek <jakub@redhat.com>
39966
39967 [BZ #14188]
39968 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39969 where __builtin_expect is unavailable.
39970
2fd6ff13
DM
399712012-06-03 David S. Miller <davem@davemloft.net>
39972
39973 * stdlib/longlong.h: Updated from GCC.
39974
173f7220
AS
399752012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39976
39977 [BZ #14042]
39978 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39979 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39980 __mcount_internal.
39981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39982 (GLIBC_2.16): Likewise.
39983
f34a1c6f
L
399842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39985
39986 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39987
88a4576f
JM
399882012-06-01 Joseph Myers <joseph@codesourcery.com>
39989
ea32bcdd
JM
39990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39991 (default-abi): New variable.
39992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39993 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39994 variable.
39995 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39996 Likewise.
39997 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39998 Likewise.
39999 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40000 Likewise.
40001
88a4576f
JM
40002 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40003 definition. Document in comment.
40004
402fe938
DM
400052012-06-01 David S. Miller <davem@davemloft.net>
40006
40007 * stdlib/longlong.h: Updated from GCC.
40008
3553723f
L
400092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40010
40011 [BZ #14117]
3bd872c4
L
40012 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40013 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40014 sys/debugreg.h sys/io.h here.
40015 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40016 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40017 sys/io.h.
40018 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40019 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40020 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40021 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40022 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40023 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40024
3553723f
L
40025 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40026 Define only if __x86_64__ is defined.
40027
4842e4fe
JM
400282012-06-01 Joseph Myers <joseph@codesourcery.com>
40029
c5bfe3d5
JM
40030 [BZ #14048]
40031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40032 Use int64_t for variable i.
40033 * math/libm-test.inc (fmod_test): Add more tests.
40034
4842e4fe
JM
40035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40036 z computation is not scheduled after fetestexcept.
40037 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40038 Use math_force_eval instead of asm to ensure calculation scheduled
40039 before exception test.
40040 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40041 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40042
efb73488
AJ
400432012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40044
40045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40046 computation is not scheduled after fetestexcept.
40047
29bcce7c
L
400482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40049
40050 [BZ #14117]
40051 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40052 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40053
73a68f94
AZ
400542012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40055
40056 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40057 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40058
67b6df78
L
400592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40060
edf2933a 40061 [BZ #14117]
ebc64a18
L
40062 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40063 <bits/wordsize.h>.
40064 (__WCHAR_MIN): Support __WORDSIZE == 64.
40065 (__WCHAR_MAX): Likewise.
40066
edf2933a
L
40067 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40068 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40069
57c6cf40
L
40070 [BZ #14183]
40071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40072 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40073
67b6df78 40074 [BZ #14117]
8eb6281e
L
40075 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40076 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40077
aac639f4
L
40078 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40079 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40080
67b6df78
L
40081 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40082 Defined to 1 if __x86_64__ isn't defined.
40083 (_STAT_VER_LINUX_OLD): New.
40084 (st_atime): Remove duplicate.
40085 (st_mtime): Likewise.
40086 (st_ctime): Likewise.
40087
1c2cfe81
DM
400882012-05-31 David S. Miller <davem@davemloft.net>
40089
40090 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40091 entries.
40092
5be8418c
AS
400932012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40094
e7725326
AS
40095 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40096 gen-libm-test.pl.
40097
5be8418c
AS
40098 [BZ #14132]
40099 * elf/dl-reloc.c: Include <_itoa.h>.
40100 (_dl_reloc_bad_type): Remove use of INTUSE.
40101 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40102 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40103 * stdio-common/psiginfo.c (psiginfo): Likewise.
40104 * stdio-common/psignal.c (psignal): Likewise.
40105 * string/strsignal.c (strsignal): Likewise.
40106 * include/signal.h (_sys_siglist): Declare hidden proto.
40107 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40108 INTVARDEF with libc_hidden_data_def.
40109 * stdio-common/itoa-udigits.c: Likewise.
40110 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40111 (_itoa_lower_digits_internal): Remove declaration.
40112 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40113 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40114 (_sys_sigabbrev_internal): Remove aliases.
40115 (_sys_siglist): Define hidden alias.
40116
507352f1
MT
401172012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40118
40119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40120 bits/sysctl.h.
40121
42bbb1c3
L
401222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40123
40124 [BZ #14117]
6bd784b6
L
40125 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40126 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40127
8bca20f0
L
40128 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40129 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40130 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40131 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40132 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40133 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40134
f9e890a9
L
40135 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40136 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40137 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40138
471101a1
L
40139 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40140 with __addr.
40141 (insw): Likewise.
40142 (insl): Likewise.
40143 (outsb): Likewise.
40144 (outsw): Likewise.
40145 (outsl): Likewise.
40146
6451c862
L
40147 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40148 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40149 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40150
a254b8c9
L
40151 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40152 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40154 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40155 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40156 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40157
b8dfdd92
L
40158 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40159 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40160
578cd270
L
40161 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40162 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40163
de662f5f
L
40164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40167
25653439
L
40168 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40169 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40170 to ...
40171 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40172
6bad24a0
L
40173 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40174 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40175 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40176
42bbb1c3
L
40177 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40178 for x86-64.
40179 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40180
2d10d547
JM
401812012-05-31 Joseph Myers <joseph@codesourcery.com>
40182
40183 * math/math.h (M_El): Use two more decimal places.
40184 (M_LOG2El): Likewise.
40185 (M_LOG10El): Likewise.
40186 (M_LN2l): Likewise.
40187 (M_LN10l): Likewise.
40188 (M_PIl): Likewise.
40189 (M_PI_2l): Likewise.
40190 (M_PI_4l): Likewise.
40191 (M_1_PIl): Likewise.
40192 (M_2_PIl): Likewise.
40193 (M_2_SQRTPIl): Likewise.
40194 (M_SQRT2l): Likewise.
40195 (M_SQRT1_2l): Likewise.
40196
f230c29b
DM
401972012-05-31 David S. Miller <davem@davemloft.net>
40198
40199 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40200 values between float registers.
40201 * sysdeps/sparc/sparc64/memset.S: Likewise.
40202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40203
fed806c3
MF
402042012-05-31 Mike Frysinger <vapier@gentoo.org>
40205
40206 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40207 -D_FORTIFY_SOURCE=1.
40208 (CPPFLAGS-tst-longjmp_chk.c): Define.
40209 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40210 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40211 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40212 CFLAGS-tst-wchar-h.c.
40213
30917259
MP
402142012-05-31 Marek Polacek <polacek@redhat.com>
40215
40216 [BZ #14132]
40217 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40218 __endmntent_internal): Remove declaration.
40219 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40220 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40221 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40222
1c58d5dc
DM
402232012-05-30 David S. Miller <davem@davemloft.net>
40224
40225 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40226 (___Q_simulate_exceptions): Use real FP ops rather than writing
40227 into the %fsr.
40228 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40229 Likewise.
40230
7dc00e0d
L
402312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40232
40233 [BZ #14117]
0bd53985
L
40234 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40235 * sysdeps/x86/bits/xtitypes.h: This.
40236
3a257e66
L
40237 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40238 * sysdeps/x86/bits/wordsize.h: This.
40239
62f62904
L
40240 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40241 * sysdeps/x86/bits/huge_vall.h: This.
40242
404fe9d9
L
40243 * sysdeps/i386/bits/select.h: Removed.
40244 * sysdeps/x86_64/bits/select.h: Renamed to ...
40245 * sysdeps/x86/bits/select.h: This.
40246
d48d0446
L
40247 * sysdeps/i386/bits/setjmp.h: Removed.
40248 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40249 * sysdeps/x86/bits/setjmp.h: This.
40250
7dc00e0d
L
40251 * sysdeps/i386/bits/mathdef.h: Removed.
40252 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40253 * sysdeps/x86/bits/mathdef.h: This.
40254
03277f8f
AS
402552012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40256
40257 [BZ #14132]
40258 * include/sys/socket.h (__connect_internal)
40259 (__libc_sa_len_internal): Remove declaration.
40260 (__connect, __libc_sa_len): Declare hidden_proto.
40261 (SA_LEN): Remove use of INTUSE.
40262 * socket/connect.c: Add libc_hidden_def.
40263 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40264 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40265 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40266 alias.
40267 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40268 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40269 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40270 of adding _internal alias.
40271
13764867
L
402722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40273
40274 [BZ #14117]
6bd97696
L
40275 * sysdeps/i386/bits/link.h: Removed.
40276 * sysdeps/i386/bits/linkmap.h: Likewise.
40277 * sysdeps/x86_64/bits/link.h: Renamed to ...
40278 * sysdeps/x86/bits/link.h: This.
40279 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40280 * sysdeps/x86/bits/linkmap.h: This.
40281
f726f0bb
L
40282 * sysdeps/i386/bits/endian.h: Removed.
40283 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40284 * sysdeps/x86/bits/endian.h: This.
40285
13764867
L
40286 * sysdeps/i386/bits/byteswap.h: Removed.
40287 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40288 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40289 * sysdeps/x86/bits/byteswap.h: This.
40290 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40291 * sysdeps/x86/bits/byteswap-16.h: This.
40292 * sysdeps/i386/Implies: Add x86.
40293 * sysdeps/x86_64/Implies: Likewise.
40294
ae251b0b
DM
402952012-05-30 David S. Miller <davem@davemloft.net>
40296
40297 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40298 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40299 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40300 (FP_TRAPPING_EXCEPTIONS): Define.
40301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40302 (FP_TRAPPING_EXCEPTIONS): Define.
40303 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40304 subnormals only when inexact has been signalled or underflow
40305 exceptions are enabled.
40306 (_FP_PACK_CANONICAL): Likewise.
40307
d5c90867
L
403082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40309
40310 [BZ #14183]
40311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40312 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40313
63f1549e
RH
403142012-05-30 Richard Henderson <rth@twiddle.net>
40315
8d8f2279
RH
40316 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40317 with #ifndef NOT_IN_libc.
40318
63f1549e
RH
40319 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40320 marked to avoid plt entry.
40321
0ab0291b
L
403222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40323
40324 [BZ #14112]
40325 * Makeconfig (default-abi): New macro.
40326 (abi-includes): Likewise.
40327 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40328 $(abi-$(default-abi)-lib-soname) for soname if defined.
40329 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40330 abi-variants.
40331 * Makefile (installed-stubs): Likewise.
40332 * include/stubs-biarch.h: Removed.
40333 * scripts/lib-names.awk: Only handle one library at a time.
40334 * scripts/soversions.awk: Remove WORDSIZE support.
40335 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40336 entries.
40337 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40338 Removed.
40339 (syscall-list-default-condition): Likewise.
40340 (syscall-list-default-condition): Likewise.
40341 (syscall-list-includes): Likewise.
40342 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40343 syscall-list-* with abi-*. Handle undefined abi-variants.
40344 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40345 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40346 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40347 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40348 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40349 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40350 Removed.
40351 (syscall-list-32-options): Likewise.
40352 (syscall-list-32-condition): Likewise.
40353 (syscall-list-64-options): Likewise.
40354 (syscall-list-64-condition): Likewise.
40355 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40356 macro.
40357 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40358 Renamed to ...
40359 (abi-*): This.
40360 (abi-64-ld-soname): New macro.
40361 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40362 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40363 Renamed to ...
40364 (abi-*): This.
40365 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40366 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40367
4da0431d
JM
403682012-05-30 Joseph Myers <joseph@codesourcery.com>
40369
3a85279c
JM
40370 * sysdeps/unix/sysv/linux/kernel-features.h
40371 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40372 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40373 include <kernel-features.h>.
40374 [!__NR_ftruncate64]: Remove conditional code.
40375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40376 [__NR_ftruncate64]: Make code unconditional.
40377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40378 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40379 include <kernel-features.h>.
40380 [!__NR_ftruncate64]: Remove conditional code.
40381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40382 [__NR_ftruncate64]: Make code unconditional.
40383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40385 include <kernel-features.h>.
40386 [!__NR_ftruncate64]: Remove conditional code.
40387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40388 [__NR_ftruncate64]: Make code unconditional.
40389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40391 include <kernel-features.h>.
40392 [!__NR_ftruncate64]: Remove conditional code.
40393 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40394 [__NR_ftruncate64]: Make code unconditional.
40395 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40396
4da0431d
JM
40397 * configure.in (libc_cv_fpie): Weaken to a compile test using
40398 LIBC_TRY_CC_OPTION.
40399 * configure: Regenerated.
40400
11ef492c
AK
404012012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40402
40403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40407 Refreshed.
40408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40414 Refreshed.
40415
d66ef399
DM
404162012-05-27 David S. Miller <davem@davemloft.net>
40417
40418 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40419 (___Q_zero): New.
40420 (__Q_simulate_exceptions): Return void. Change to simulate
40421 exceptions by writing into the %fsr.
40422 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40423 (__Qp_handle_exceptions): Likewise.
40424 (numbers): Delete.
40425 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40426 __Qp_handle_exceptions.
40427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40428 __Qp_handle_exceptions.
40429 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40430 as unused and give dummy FP_RND_NEAREST initializer.
40431 (FP_INHIBIT_RESULTS): Define.
40432 (___Q_simulate_exceptions): Update declaration.
40433 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40434 formatting.
40435 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40436 as unused and give dummy FP_RND_NEAREST initializer.
40437 (__Qp_handle_exceptions): Update declaration.
40438 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40439 formatting.
40440
04fb54b5
TS
404412012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40442
40443 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40444 the temporary FPU control word.
40445 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40446 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40447 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40448 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40449 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40450 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40451 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40452 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40453 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40454 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40455 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40456
3f99608f
KK
404572012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40458
40459 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40460 fields.
40461
65a4de4e
CLT
404622012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40463
40464 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40465 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40466 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40467 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40468 Likewise.
40469 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40470 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40471 Likewise.
40472
15749d40
UD
404732012-05-27 Ulrich Drepper <drepper@gmail.com>
40474
40475 * po/h.po: Update from translation team.
40476
25dbcb27
AS
404772012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40478
3d3f8e55
AS
40479 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40480
25dbcb27
AS
40481 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40482 handling of denormals.
40483 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40484 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40485 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40486 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40488 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40490 Likewise.
40491
7ad47a80 404922012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40493
40494 [BZ #14152]
40495 * math/libm-test.inc (fma_test): Don't always expect underflow
40496 exception.
40497
9c6ea9fa
SP
404982012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40499
40500 [BZ #12416]
40501 * elf/tst-execstack.c: Include stackinfo.h.
40502 (do_test): Adjust test case to ensure that pthread_getattr_np
40503 behaviour remains the same after marking stack executable.
40504
a8239222
JM
405052012-05-25 Joseph Myers <joseph@codesourcery.com>
40506
40507 * sysdeps/unix/sysv/linux/kernel-features.h
40508 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40509 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40510 kernel-features.h.
40511 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40512 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40513 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40514 kernel-features.h.
40515 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40516 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40517
918b5606
L
405182012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40519
40520 * configure.in: Define the default includes to being none.
40521 * configure: Regenerated.
40522
3a097cc7
RM
405232012-05-25 Roland McGrath <roland@hack.frob.com>
40524
8422c9a5
RM
40525 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40526 * sysdeps/x86_64/setjmp.S: Likewise.
40527 * sysdeps/i386/bsd-setjmp.S: Likewise.
40528 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40529 * sysdeps/i386/setjmp.S: Likewise.
40530 * sysdeps/i386/__longjmp.S: Likewise.
40531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40532 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40533
3a097cc7
RM
40534 * include/stap-probe.h: New file.
40535 * configure.in: Handle --enable-systemtap.
40536 * configure: Regenerated.
40537 * config.h.in (USE_STAP_PROBE): New #undef.
40538 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40539 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40540 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40541
21708942
JM
405422012-05-25 Joseph Myers <joseph@codesourcery.com>
40543
40544 [BZ #13717]
40545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40546 to 2.4.0 where earlier.
40547 * sysdeps/unix/sysv/linux/configure: Regenerated.
40548 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40549 <kernel-features.h>.
40550 [__ASSUME_32BITUIDS]: Make code unconditional.
40551 [!__ASSUME_32BITUIDS]: Remove conditional code.
40552 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40553 <kernel-features.h>.
40554 [__ASSUME_32BITUIDS]: Make code unconditional.
40555 [!__ASSUME_32BITUIDS]: Remove conditional code.
40556 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40557 [__ASSUME_32BITUIDS]: Make code unconditional.
40558 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40559 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40560 <kernel-features.h>.
40561 [__ASSUME_32BITUIDS]: Make code unconditional.
40562 [!__ASSUME_32BITUIDS]: Remove conditional code.
40563 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40564 <kernel-features.h>.
40565 [__ASSUME_32BITUIDS]: Make code unconditional.
40566 [!__ASSUME_32BITUIDS]: Remove conditional code.
40567 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40568 <kernel-features.h>.
40569 [__ASSUME_32BITUIDS]: Make code unconditional.
40570 [!__ASSUME_32BITUIDS]: Remove conditional code.
40571 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40572 <kernel-features.h>.
40573 [__ASSUME_32BITUIDS]: Make code unconditional.
40574 [!__ASSUME_32BITUIDS]: Remove conditional code.
40575 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40576 <kernel-features.h>.
40577 [__ASSUME_32BITUIDS]: Make code unconditional.
40578 [!__ASSUME_32BITUIDS]: Remove conditional code.
40579 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40580 <kernel-features.h>.
40581 [__ASSUME_32BITUIDS]: Make code unconditional.
40582 [!__ASSUME_32BITUIDS]: Remove conditional code.
40583 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40584 <kernel-features.h>.
40585 [__ASSUME_32BITUIDS]: Make code unconditional.
40586 [!__ASSUME_32BITUIDS]: Remove conditional code.
40587 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40588 <kernel-features.h>.
40589 [__ASSUME_32BITUIDS]: Make code unconditional.
40590 [!__ASSUME_32BITUIDS]: Remove conditional code.
40591 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40592 <kernel-features.h>.
40593 [__ASSUME_32BITUIDS]: Make code unconditional.
40594 [!__ASSUME_32BITUIDS]: Remove conditional code.
40595 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40596 <kernel-features.h>.
40597 [__ASSUME_32BITUIDS]: Make code unconditional.
40598 [!__ASSUME_32BITUIDS]: Remove conditional code.
40599 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40600 <kernel-features.h>.
40601 [__NR_setresgid] (__setresgid): Do not declare.
40602 [__ASSUME_32BITUIDS]: Make code unconditional.
40603 [!__ASSUME_32BITUIDS]: Remove conditional code.
40604 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40605 <kernel-features.h>.
40606 [__NR_setresuid] (__setresuid): Do not declare.
40607 [__ASSUME_32BITUIDS]: Make code unconditional.
40608 [!__ASSUME_32BITUIDS]: Remove conditional code.
40609 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40610 <kernel-features.h>.
40611 [__ASSUME_32BITUIDS]: Make code unconditional.
40612 [!__ASSUME_32BITUIDS]: Remove conditional code.
40613 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40614 <kernel-features.h>.
40615 [__ASSUME_32BITUIDS]: Make code unconditional.
40616 [!__ASSUME_32BITUIDS]: Remove conditional code.
40617 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40618 <kernel-features.h>.
40619 [__ASSUME_32BITUIDS]: Make code unconditional.
40620 [!__ASSUME_32BITUIDS]: Remove conditional code.
40621 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40622 <kernel-features.h>.
40623 [__ASSUME_32BITUIDS]: Make code unconditional.
40624 [!__ASSUME_32BITUIDS]: Remove conditional code.
40625 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40626 <kernel-features.h>.
40627 [__ASSUME_32BITUIDS]: Make code unconditional.
40628 [!__ASSUME_32BITUIDS]: Remove conditional code.
40629 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40630 <kernel-features.h>.
40631 [__ASSUME_32BITUIDS]: Make code unconditional.
40632 [!__ASSUME_32BITUIDS]: Remove conditional code.
40633 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40634 <kernel-features.h>.
40635 [__ASSUME_32BITUIDS]: Make code unconditional.
40636 [!__ASSUME_32BITUIDS]: Remove conditional code.
40637 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40638 <kernel-features.h>.
40639 [__ASSUME_32BITUIDS]: Make code unconditional.
40640 [!__ASSUME_32BITUIDS]: Remove conditional code.
40641 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40642 <kernel-features.h>.
40643 [__ASSUME_32BITUIDS]: Make code unconditional.
40644 [!__ASSUME_32BITUIDS]: Remove conditional code.
40645 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
40650 (__ASSUME_SETRESUID_SYSCALL): Remove.
40651 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40652 (__ASSUME_32BITUIDS): Likewise.
40653 (__ASSUME_LDT_WORKS): Likewise.
40654 (__ASSUME_O_DIRECTORY): Likewise.
40655 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40656 architecture but not kernel version.
40657 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40658 (__ASSUME_MMAP2_SYSCALL): Likewise.
40659 (__ASSUME_STAT64_SYSCALL): Likewise.
40660 (__ASSUME_IPC64): Likewise.
40661 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40662 <kernel-features.h>.
40663 [__ASSUME_32BITUIDS]: Make code unconditional.
40664 [!__ASSUME_32BITUIDS]: Remove conditional code.
40665 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40666 <kernel-features.h>.
40667 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40668 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40669 132096]: Remove conditional code.
40670 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40671 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40672 <kernel-features.h>.
40673 [__ASSUME_32BITUIDS]: Make code unconditional.
40674 [!__ASSUME_32BITUIDS]: Remove conditional code.
40675 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40676 <kernel-features.h>.
40677 [__ASSUME_32BITUIDS]: Make code unconditional.
40678 [!__ASSUME_32BITUIDS]: Remove conditional code.
40679 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40680 <kernel-features.h>.
40681 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40682 unconditional.
40683 (__setresgid): Do not declare.
40684 [__ASSUME_32BITUIDS]: Make code unconditional.
40685 [!__ASSUME_32BITUIDS]: Remove conditional code.
40686 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40687 <kernel-features.h>.
40688 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40689 unconditional.
40690 (__setresuid): Do not declare.
40691 [__ASSUME_32BITUIDS]: Make code unconditional.
40692 [!__ASSUME_32BITUIDS]: Remove conditional code.
40693 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40694 <kernel-features.h>.
40695 [__ASSUME_32BITUIDS]: Make code unconditional.
40696 [!__ASSUME_32BITUIDS]: Remove conditional code.
40697 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40698 <kernel-features.h>.
40699 [__ASSUME_32BITUIDS]: Make code unconditional.
40700 [!__ASSUME_32BITUIDS]: Remove conditional code.
40701
a386f1cc
RH
407022012-05-25 Richard Henderson <rth@twiddle.net>
40703
40704 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40705 dl_hwcap to ifunc resolver.
40706 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40707 elf_ifunc_invoke.
40708 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40709 dl_hwcap to ifunc resolver.
40710 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40711
b6550497
JM
407122012-05-24 Joseph Myers <joseph@codesourcery.com>
40713
40714 [BZ #14153]
40715 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40716 for |x| <= 2**-26, not 2**-57.
40717 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40718 exception.
40719
b0bc23a1
JL
407202012-05-24 Jeff Law <law@redhat.com>
40721
40722 * stdio-common/Makefile (tests): Add bug25.
40723 * stdio-common/bug25.c: New test.
40724
347c92e9
L
407252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40726
40727 [BZ #13576]
40728 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40729 multiple of MALLOC_ALIGNMENT in size.
40730 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40731
6bcc8b3f
JM
407322012-05-24 Joseph Myers <joseph@codesourcery.com>
40733
40734 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40735 Require >= 256.
40736 (FILENAME_MAX): Use macro-int-constant.
40737 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40738 (_IOFBF): Use macro-int-constant.
40739 (_IOLBF): Likewise.
40740 (_IONBF): Likewise.
40741 (SEEK_CUR): Likewise.
40742 (SEEK_END): Likewise.
40743 (SEEK_SET): Likewise.
40744 (TMP_MAX): Likewise.
40745 (EOF): Use macro-int-constant. Require < 0.
40746 (NULL): Use macro-constant. Require == 0.
40747 (stdin): Require type to be FILE *.
40748 (stdout): Likewise.
40749 (stderr): Likewise.
40750 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40751 macro-int-constant.
40752 (EXIT_SUCCESS): Likewise.
40753 (NULL): Use macro-constant. Require == 0.
40754 (RAND_MAX): Use macro-int-constant.
40755 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40756 [C99-based standards] (strtof): Require function.
40757 [C99-based standards] (strtold): Likewise.
40758 [C99-based standards] (strtoll): Likewise.
40759 [C99-based standards] (strtoull): Likewise.
40760 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40761 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40762 [ISO || ISO99 || ISO11] (math.h): Likewise.
40763 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40764 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40766
d18ea0c5
AS
407672012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40768
40769 [BZ #14132]
56d25bb8
AS
40770 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40771 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40772 * intl/dgettext.c (DCGETTEXT): Likewise.
40773 * intl/gettext.c (DCGETTEXT): Likewise.
40774 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40775 * posix/regex_internal.h (gettext): Likewise.
40776 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40777 Remove declaration.
40778 * include/argz.h (__argz_count_internal)
40779 (__argz_stringify_internal): Remove declaration.
40780 (__argz_count, __argz_stringify): Declare hidden proto.
40781 * intl/dcgettext.c: Remove use of INTDEF.
40782 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40783 * string/argz-stringify.c: Likewise.
40784 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40785 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40786 Declare hidden proto.
d18ea0c5
AS
40787 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40788 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40789 Declare hidden proto.
40790 * include/stdio.h (__asprintf_internal): Don't declare.
40791 (__asprintf): Don't define as macro. Declare hidden proto.
40792 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40793 (__fsetlocking): Declare hidden proto.
40794 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40795 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40796 hidden proto.
40797 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40798 (_IO_setlinebuf): Remove use of INTUSE.
40799 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40800 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40801 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40802 Remove declaration.
40803 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40804 (_IO_do_flush): Remove use of INTUSE.
40805 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40806 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40807 (_IO_adjust_column, _IO_least_wmarker)
40808 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40809 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40810 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40811 (_IO_default_doallocate, _IO_wdefault_doallocate)
40812 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40813 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40814 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40815 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40816 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40817 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40818 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40819 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40820 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40821 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40822 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40823 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40824 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40825 proto.
40826 (_IO_flush_all_internal, _IO_adjust_column_internal)
40827 (_IO_default_uflow_internal, _IO_default_finish_internal)
40828 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40829 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40830 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40831 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40832 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40833 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40834 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40835 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40836 (_IO_file_close_internal, _IO_file_close_it_internal)
40837 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40838 (_IO_file_init_internal, _IO_file_attach_internal)
40839 (_IO_file_fopen_internal, _IO_file_read_internal)
40840 (_IO_file_sync_internal, _IO_file_seek_internal)
40841 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40842 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40843 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40844 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40845 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40846 (_IO_list_all_internal, _IO_link_in_internal)
40847 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40848 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40849 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40850 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40851 (_IO_do_write_internal, _IO_padn_internal)
40852 (_IO_getline_info_internal, _IO_getline_internal)
40853 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40854 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40855 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40856 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40857 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40858 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40859 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40860 with libc_hidden_ver, remove use of INTUSE.
40861 * libio/genops.c: Likewise.
40862 * libio/freopen.c: Likewise.
40863 * libio/freopen64.c: Likewise.
40864 * libio/iofclose.c: Likewise.
40865 * libio/iofdopen.c: Likewise.
40866 * libio/iofflush.c: Likewise.
40867 * libio/iofflush_u.c: Likewise.
40868 * libio/iofgets.c: Likewise.
40869 * libio/iofgets_u.c: Likewise.
40870 * libio/iofopen.c: Likewise.
40871 * libio/iofopncook.c: Likewise.
40872 * libio/iofread.c: Likewise.
40873 * libio/iofread_u.c: Likewise.
40874 * libio/ioftell.c: Likewise.
40875 * libio/iofwrite.c: Likewise.
40876 * libio/iogetline.c: Likewise.
40877 * libio/iogets.c: Likewise.
40878 * libio/iogetwline.c: Likewise.
40879 * libio/iopadn.c: Likewise.
40880 * libio/iopopen.c: Likewise.
40881 * libio/ioseekoff.c: Likewise.
40882 * libio/ioseekpos.c: Likewise.
40883 * libio/iosetbuffer.c: Likewise.
40884 * libio/iosetvbuf.c: Likewise.
40885 * libio/ioungetc.c: Likewise.
40886 * libio/ioungetwc.c: Likewise.
40887 * libio/iovdprintf.c: Likewise.
40888 * libio/iovsprintf.c: Likewise.
40889 * libio/iovsscanf.c: Likewise.
40890 * libio/memstream.c: Likewise.
40891 * libio/obprintf.c: Likewise.
40892 * libio/oldfileops.c: Likewise.
40893 * libio/oldiofclose.c: Likewise.
40894 * libio/oldiofdopen.c: Likewise.
40895 * libio/oldiofopen.c: Likewise.
40896 * libio/oldiopopen.c: Likewise.
40897 * libio/oldstdfiles.c: Likewise.
40898 * libio/putc.c: Likewise.
40899 * libio/setbuf.c: Likewise.
40900 * libio/setlinebuf.c: Likewise.
40901 * libio/stdfiles.c: Likewise.
40902 * libio/strops.c: Likewise.
40903 * libio/vasprintf.c: Likewise.
40904 * libio/vscanf.c: Likewise.
40905 * libio/vsnprintf.c: Likewise.
40906 * libio/vswprintf.c: Likewise.
40907 * libio/wfiledoalloc.c: Likewise.
40908 * libio/wfileops.c: Likewise.
40909 * libio/wgenops.c: Likewise.
40910 * libio/wmemstream.c: Likewise.
40911 * libio/wstrops.c: Likewise.
40912 * libio/__fpurge.c: Likewise.
40913 * libio/__fsetlocking.c: Likewise.
40914 * assert/assert.c: Likewise.
40915 * debug/fgets_chk.c: Likewise.
40916 * debug/fgets_u_chk.c: Likewise.
40917 * debug/fread_chk.c: Likewise.
40918 * debug/fread_u_chk.c: Likewise.
40919 * debug/gets_chk.c: Likewise.
40920 * debug/obprintf_chk.c: Likewise.
40921 * debug/vasprintf_chk.c: Likewise.
40922 * debug/vdprintf_chk.c: Likewise.
40923 * debug/vsnprintf_chk.c: Likewise.
40924 * debug/vsprintf_chk.c: Likewise.
40925 * malloc/mtrace.c: Likewise.
40926 * misc/error.c: Likewise.
40927 * misc/syslog.c: Likewise.
40928 * stdio-common/asprintf.c: Likewise.
40929 * stdio-common/fxprintf.c: Likewise.
40930 * stdio-common/getw.c: Likewise.
40931 * stdio-common/isoc99_fscanf.c: Likewise.
40932 * stdio-common/isoc99_scanf.c: Likewise.
40933 * stdio-common/isoc99_vfscanf.c: Likewise.
40934 * stdio-common/isoc99_vscanf.c: Likewise.
40935 * stdio-common/isoc99_vsscanf.c: Likewise.
40936 * stdio-common/printf-prs.c: Likewise.
40937 * stdio-common/printf_fp.c: Likewise.
40938 * stdio-common/printf_fphex.c: Likewise.
40939 * stdio-common/printf_size.c: Likewise.
40940 * stdio-common/putw.c: Likewise.
40941 * stdio-common/scanf.c: Likewise.
40942 * stdio-common/sprintf.c: Likewise.
40943 * stdio-common/tmpfile.c: Likewise.
40944 * stdio-common/vfprintf.c: Likewise.
40945 * stdio-common/vfscanf.c: Likewise.
40946 * stdlib/strfmon_l.c: Likewise.
40947 * sunrpc/openchild.c: Likewise.
40948 * sunrpc/xdr_stdio.c: Likewise.
40949 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40950 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40951
d6c33fda
RM
409522012-05-24 Roland McGrath <roland@hack.frob.com>
40953
c1487492
RM
40954 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40955
40956 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40957 in the third column, to generate for the shared library an IFUNC
40958 that uses _dl_vdso_vsym.
40959 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40960 * Makeconfig (object-suffixes-noshared): New variable.
40961
40962 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40963 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40964 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40965 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40966
d6c33fda
RM
40967 [BZ #14132]
40968 * include/sys/time.h (__gettimeofday): Remove macro.
40969 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40970 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40971 Remove INTDEF.
40972 (__gettimeofday): Add libc_hidden_def.
40973 (gettimeofday): Add libc_hidden_weak.
40974 * sysdeps/mach/gettimeofday.c: Likewise.
40975 * sysdeps/posix/gettimeofday.c: Likewise.
40976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40977 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40979 (__gettimeofday_internal): Remove strong_alias.
40980 (__gettimeofday): Add libc_hidden_def.
40981 (gettimeofday): Add libc_hidden_weak.
40982 * sysdeps/unix/syscalls.list (gettimeofday):
40983 Remove __gettimeofday_internal alias.
40984
b5a2bbe6
L
409852012-05-24 Daniel Jacobowitz <drow@false.org>
40986 H.J. Lu <hongjiu.lu@intel.com>
40987
40988 [BZ #12495]
40989 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40990 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40991 (largebin_index_32_big): New.
40992 (largebin_index): Use it for 16-byte alignment.
40993 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40994 correction with front_misalign.
40995
cfba4fda
L
409962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40997
7f907421
L
40998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41000 Likewise.
41001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41002 Likewise.
41003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41004 Likewise.
41005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41006 Likewise.
41007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41008 Likewise.
41009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41010 Likewise.
41011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41012 Likewise.
41013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41014 Likewise.
41015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41016 Likewise.
41017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41018 Likewise.
41019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41020 Likewise.
41021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41022 Likewise.
41023
cfba4fda
L
41024 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41025 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41026
80bad0cc
JM
410272012-05-24 Joseph Myers <joseph@codesourcery.com>
41028
7a25eb06
JM
41029 [BZ #10846]
41030 [BZ #14036]
41031 * math/libm-test.inc (exp_test): Add test from bug 14036.
41032 (pow_test): Add test from bug 10846.
41033
795405f9
JM
41034 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41035 and other flags.
41036 (special_function): Do not include flags in test name.
41037 (parse_args): Likewise.
41038 * sysdeps/i386/fpu/libm-test-ulps: Update.
41039 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41040 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41041 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41043
80bad0cc
JM
41044 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41045 exceptions.
41046 * math/libm-test.inc ("Philosophy"): Update comment about
41047 exception testing.
41048 (UNDERFLOW_EXCEPTION): New macro.
41049 (UNDERFLOW_EXCEPTION_OK): Likewise.
41050 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41051 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41052 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41053 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41054 (INVALID_EXCEPTION_OK): Update value.
41055 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41056 (OVERFLOW_EXCEPTION_OK): Likewise.
41057 (IGNORE_ZERO_INF_SIGN): Likewise.
41058 (test_exceptions): Handle underflow exceptions.
41059 (acos_test): Update for underflow exception expectations.
41060 (cexp_test): Likewise.
41061 (clog_test): Likewise.
41062 (clog10_test): Likewise.
41063 (csqrt_test): Likewise.
41064 (ctan_test): Likewise.
41065 (ctanh_test): Likewise.
41066 (exp_test): Likewise.
41067 (exp10_test): Likewise.
41068 (exp2_test): Likewise.
41069 (expm1_test): Likewise.
41070 (fma_test): Likewise.
41071 (j0_test): Likewise.
41072 (jn_test): Likewise.
41073 (nexttoward_test): Likewise.
41074 (pow_test): Likewise.
41075 (scalbn_test): Likewise.
41076 (scalbln_test): Likewise.
41077 (tan_test): Likewise.
41078 (y1_test): Likewise.
41079 * sysdeps/i386/fpu/libm-test-ulps: Update.
41080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41081
9e0e3d0b
DM
410822012-05-23 David S. Miller <davem@davemloft.net>
41083
41084 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41085 (__libc_sigaction): Remove unused local variables.
41086
ccd0a08f
L
410872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41088
41089 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41090
62bdf9a6
PE
410912012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41092
f8591f80
PE
41093 mktime: avoid signed integer overflow
41094 * time/mktime.c (__mktime_internal): Do not mishandle the case
41095 where diff == INT_MIN.
41096
94c7d826
PE
41097 mktime: simplify computation of average
41098 * time/mktime.c (ranged_convert): Use new time_t_avg function
41099 instead of rolling our own (probably-slower) code.
41100
ce73d683
PE
41101 mktime: do not assume signed right shift propagates sign bit
41102 * time/mktime.c (isdst_differ): New static function.
41103 (__mktime_internal): No need to normalize tm_isdst now.
41104 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41105 tm_isdst values.
41106
72a22e59
PE
41107 mktime: merge another wrapv change from gnulib
41108 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41109 from some compilers.
41110
68605433
PE
41111 mktime: remove incorrect attempt at unusual arithmetics
41112 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41113 The code didn't really work on such machines anyway.
41114 (TYPE_MINIMUM): Assume two's complement.
41115 (twos_complement_arithmetic): Verify that long_int and time_t
41116 are two's complement (or unsigned, in the latter case).
41117
03cf7fe3
PE
41118 mktime: check signed shifts on long_int and time_t, too
41119 * time/mktime.c (SHR): Check that shifts work as desired
41120 on the types long_int and time_t too, as SHR is used on
41121 such types.
41122
f04dfbc2
PE
41123 mktime: do not assume 'long' is wide enough
41124 * time/mktime.c (verify): Move decl up.
41125 (long_int): New type.
41126 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41127 to remove assumption in the code that 'long' is wide enough to
41128 store year values. This assumption is not true on x32 and on
41129 some non-glibc platforms.
41130
62bdf9a6
PE
41131 mktime: merge wrapv change from gnulib
41132 * time/mktime.c (WRAPV): New macro.
41133 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41134 (guess_time_tm, __mktime_internal): Do not assume that signed
41135 integer overflow wraps around; modern compilers generate code
41136 where this assumption is no longer valid.
41137
5e292e4f
L
411382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41139
41140 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41141 Replace "jmp L(pseudo_end)" with "ret".
41142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41143 Likewise.
41144
8caf8c87
AJ
411452012-05-23 Andreas Jaeger <aj@suse.de>
41146
41147 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41148 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41149
1a09dc56
AJ
411502012-05-23 Andreas Jaeger <aj@suse.de>
41151 Maximilian Attems <max@stro.at>
41152
41153 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41154 New macros.
41155
1c87aba0
L
411562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41157
41158 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41159 code so that pseudo_end is just ret and the stack pointer is
41160 correct also for static library in error case.
41161
40e45bd5
JM
411622012-05-23 Joseph Myers <joseph@codesourcery.com>
41163
c2670533
JM
41164 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41165 move to syscalls.list.
41166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41170
40e45bd5
JM
41171 * manual/install.texi (Running make install): Do not mention Linux
41172 kernel version for which pt_chown is not needed.
41173 (Linux): Do not mention problems with nscd with 2.0 kernels.
41174 * INSTALL: Regenerated.
41175
be08eda5
AJ
411762012-05-23 Andreas Jaeger <aj@suse.de>
41177
41178 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41179 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41180 macro.
41181 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41183 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41185 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41191 * sysdeps/unix/sysv/linux/bits/in.h
41192 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41193
a6a056bb
RM
411942012-05-22 Roland McGrath <roland@hack.frob.com>
41195
41196 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41197 (PREPARE_VERSION): Just use assert instead, it will be elided
41198 under [NDEBUG] anyway.
41199
c9009328
L
412002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41201
41202 * sysdeps/unix/sysv/linux/Makefile: Include
41203 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41204 (sysdep_routines): Remove sysctl.
c9009328
L
41205 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41206 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41207 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41208 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41209 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41210
73338355
AJ
412112012-05-22 Andreas Jaeger <aj@suse.de>
41212
41213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41214 that pseudo_end is just ret and the stack pointer is correct also
41215 for static library in error case.
41216
d44638b0
PP
412172012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41218
41219 [BZ #14122]
41220 * nss/nsswitch.c (defconfig_entries): New variable.
41221 (__nss_database_lookup): Don't leak defconfig entries.
41222 (nss_parse_service_list): Don't leak on error paths.
41223 (free_database_entries): New function.
41224 (free_defconfig): New function.
41225 (free_mem): Move common code to free_database_entries.
41226
31a39bd8
L
412272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41228
da0331a8
L
41229 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41230 Add arch_prctl.
41231 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41232
31a39bd8
L
41233 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41234 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41236 New macro.
41237 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41238 (INTERNAL_SYSCALL_TYPES): Likewise.
41239 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41240 (LOAD_REGS_TYPES_[1-6]): Likewise.
41241 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41242 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41243
45470df3
AZ
412442012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41245
41246 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41247 copysignl for GLIBC_2_0.
41248 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41249 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41251 logbl for GLIBC_2_0.
41252 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41253 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41254
98a61bcb
L
412552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41256
a4f6e481
L
41257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41258 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41259
f63d5db6
L
41260 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41261 Use "neg %eax".
41262
98a61bcb
L
41263 * time/mktime.c: Update copyright years.
41264
95770f14
PE
412652012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41266
6226efbd
PE
41267 mktime: merge comment-quoting-style change from gnulib
41268 * time/mktime.c: Quote 'like this' in comments.
41269 The GNU coding standards suggest that we no longer quote `like this',
41270 as "`" and "'" are typically rendered asymmetrically nowadays.
41271 The typical gnulib style is to quote 'like this' when quoting
41272 code, and "like this" when quoting English.
41273
b99e4f78
PE
41274 * time/mktime.c (compile-command): Add "-I.".
41275
643e01e6
PE
41276 mktime: merge mktime-internal.h change from gnulib
41277 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41278
2554247d
PE
41279 mktime: merge time_r change from gnulib
41280 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41281
826dd0ab
PE
41282 mktime: merge DEBUG change from gnulib
41283 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41284 case system <time.h> has a #define.
41285
bd83aabe
PE
41286 mktime: merge <sys/types.h> change from gnulib
41287 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41288 since <time.t> is now guaranteed to define time_t.
41289
95770f14
PE
41290 mktime: merge HAVE_CONFIG_H change from gnulib
41291 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41292
5e1a27a9
L
412932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41294
0e44a77e
L
41295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41296 Use "neg %eax".
41297
5e1a27a9
L
41298 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41299 __rlim_t cast.
41300 (struct rusage): Use anonymous union to pad each field to
41301 __syscall_slong_t.
41302
46259bec
DM
413032012-05-21 David S. Miller <davem@davemloft.net>
41304
41305 * Makefules (o-iterator): Remove .s cases.
41306 (compile-command.s): Delete.
41307 (COMPILE.s): Delete.
41308 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41309
59f0c22e
JM
413102012-05-21 Joseph Myers <joseph@codesourcery.com>
41311
41312 * configure.in (libc_cv_predef_stack_protector): Only consider
41313 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41314 * configure: Regenerated.
41315
20c07380
L
413162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41317
bbb3154b
L
41318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41319 New macro. Use R*LP on int and pointer.
41320 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41321 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41322 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41323 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41324
20c07380
L
41325 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41326 [__WORDSIZE_TIME64_COMPAT32] instead of
41327 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41328 (struct utmp): Likewise.
41329 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41330 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41331 Renamed to ...
41332 (__WORDSIZE_TIME64_COMPAT32): This.
41333 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41334 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41335 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41336 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41337 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41338 (__WORDSIZE_TIME64_COMPAT32): New macro.
41339
d8d1017e
AJ
413402012-05-21 Andreas Jaeger <aj@suse.de>
41341
41342 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41343 only if [SHARED]. Add prototype for __wcschr_ia32.
41344
6c7fb145
RM
413452012-05-21 Roland McGrath <roland@hack.frob.com>
41346
41347 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41348 of %rbp unmolested in the jmp_buf while mangling the low bits.
41349 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41350 unmolested high bits of %rbp while demangling the low bits.
41351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41352
66274218
AJ
413532012-05-21 Andreas Jaeger <aj@suse.de>
41354
07c58f8f
AJ
41355 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41356 * sunrpc/svc_simple.c: Use it for registerrpc.
41357 * sunrpc/xcrypt.c: Use it for passwd2des.
41358
66274218
AJ
41359 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41360
61f65140
L
413612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41362
41363 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41364 Don't define if [__SYSCALL_WORDSIZE != 32].
41365 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41366 New macro.
41367
5fefb436
AJ
413682012-05-21 Bruno Haible <bruno@clisp.org>
41369 Andreas Jaeger <aj@suse.de>
41370
41371 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41372 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41373 inptr and inend for must_buffer_ch.
41374 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41375 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41376 * stdio-common/Makefile (tests): Remove bug15.
41377 (bug15-ENV): Remove macro.
41378 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41379 anymore.
41380
d8e272ab
AJ
413812012-05-19 Andreas Jaeger <aj@suse.de>
41382 Roland McGrath <roland@hack.frob.com>
41383
41384 * manual/contrib.texi: Completely rewritten. It contains now an
41385 alphabetical list of contributors and their contributions.
41386
4a56a162
RH
413872012-05-21 Richard Henderson <rth@twiddle.net>
41388
41389 * misc/getauxval.c (__getauxval): Use unsigned long int.
41390 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41391 (getauxval): Use unsigned long int.
41392
d024d23c
L
413932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41394
41395 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41396
cbc00a03
RM
413972012-05-21 Roland McGrath <roland@hack.frob.com>
41398
41399 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41400 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41401 __alignof__ (long double).
41402
478143fa
AZ
414032012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41404
41405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41406
c7683a6d
RH
414072012-05-20 Richard Henderson <rth@twiddle.net>
41408
41409 * misc/getauxval.c: New file.
41410 * misc/sys/auxv.h: New file.
41411 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41412 (routines): Add getauxval.
41413 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41414 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41415 * elf/dl-sysdep.c (_dl_auxv): Remove.
41416 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41417 * elf/dl-support.c (_dl_auxv): New variable.
41418 (_dl_aux_init): Initialize it.
41419 * manual/startup.texi (Auxiliary Vector): New node.
41420 * sysdeps/generic/bits/hwcap.h: New file.
41421 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41422 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41423 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41424 * sysdeps/sparc/sysdep.h: ... here. Include it.
41425 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41428 Update.
c7683a6d
RH
41429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41437
a6f1845d
AZ
414382012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41439
41440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41441
cbcbe830
DM
414422012-05-19 David S. Miller <davem@davemloft.net>
41443
41444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41445
e0b16cc2
JM
414462012-05-19 Joseph Myers <joseph@codesourcery.com>
41447
41448 [BZ #14123]
41449 * math/s_ccosh.c: Include <float.h>
41450 (__ccosh): Avoid internal overflow calculating sinh and cosh
41451 values before multiplying by sin and cos values.
41452 * math/s_ccoshf.c: Likewise.
41453 * math/s_ccoshl.c: Likewise.
41454 * math/s_csin.c: Likewise.
41455 * math/s_csinf.c: Likewise.
41456 * math/s_csinl.c: Likewise.
41457 * math/s_csinh.c: Likewise.
41458 * math/s_csinhf.c: Likewise.
41459 * math/s_csinhl.c: Likewise.
41460 * math/libm-test.inc (ccos_test): Add more tests.
41461 (ccosh_test): Likewise.
41462 (csin_test): Likewise.
41463 (csinh_test): Likewise.
41464 * sysdeps/i386/fpu/libm-test-ulps: Update.
41465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41466
6ad13e08
L
414672012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41468
f66f0ce8
L
41469 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41470 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41471
6ad13e08
L
41472 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41473
b1d072a7
JM
414742012-05-19 Joseph Myers <joseph@codesourcery.com>
41475
41476 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41477 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41478 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41479 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41480 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41481 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41482 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41483 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41484 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41485 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41486 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41487 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41488 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41489 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41490 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41491 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41492 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41493 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41494 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41495 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41496 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41497 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41498 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41499 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41500 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41501 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41502 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41503 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41504 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41505 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41506 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41507
9eae47cb
AJ
415082012-05-18 Andreas Jaeger <aj@suse.de>
41509
41510 * csu/.gitignore: Delete.
41511
bb07f69f
L
415122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41513
41514 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41515 (timex): Use __syscall_slong_t.
41516
e6bdb741
AJ
415172012-05-18 Andreas Jaeger <aj@suse.de>
41518 Carlos O'Donell <carlos_odonell@mentor.com>
41519
41520 * manual/install.texi (Configuring and compiling): Update
41521 description about files modified in the source directory.
d6c33fda 41522 * INSTALL: Regenerated.
e6bdb741 41523
1b74487e
L
415242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41525
41526 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41527 value. Use "or" to set return value to -1.
41528 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41529 negate return value.
41530
a88b64b9
TMQMF
415312012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41532
57f41c40
AS
41533 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41534 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41535 failure if the compiler has Graphite support disabled.
41536 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41537 Likewise.
57f41c40
AS
41538 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41539 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41541 Likewise.
41542
3707636e
L
415432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41544
610b8622
L
41545 * sysdeps/x86_64/x32/_itoa.h: New file.
41546
7cd195df
L
41547 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41548 getdents system call only if kernel and user dirents have the
41549 same d_ino and d_off.
41550
94b07d20
L
41551 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41552 LLONG_MAX != LONG_MAX.
41553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41554 (_fitoa_word): Likewise.
41555
18298070
L
41556 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41557 years.
41558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41559 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41560 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41561
553c7ea4
L
41562 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41563 include <bits/wordsize.h>. Check __x86_64__ instead of
41564 __WORDSIZE.
41565 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41566 if __x86_64__ is defined. Use anonymous union on fpstate.
41567
3707636e
L
41568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41569 anonymous union.
41570
b53ef01a
AS
415712012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41572
37fb1dc0
AS
41573 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41574 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41575 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41576 Refer to _rtld_local_ro instead of _rtld_global_ro.
41577 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41578 Likewise.
41579 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41580 Likewise.
41581 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41582 Likewise.
41583 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41584 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41585 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41586
b53ef01a
AS
41587 * sysdeps/powerpc/powerpc32/dl-machine.c
41588 (__elf_machine_runtime_setup) [PROF]: Don't reference
41589 _dl_prof_resolve.
41590
7a185db2
AJ
415912012-05-18 Andreas Jaeger <aj@suse.de>
41592
41593 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41594 function only available for GCCs before 3.4 since GCC 3.4
41595 introduced a builtin.
41596 (lrint): Likewise.
41597 (llrintf): Likewise.
41598 (llrint): Likewise.
41599 (fmaxf): Likewise.
41600 (fmax): Likewise.
41601 (fminf): Likewise.
41602 (fmin): Likewise.
41603 (rint): Likewise.
41604 (rintf): Likewise.
41605 (nearbyint): Likewise.
41606 (nearbyintf): Likewise.
41607 (ceil): Likewise.
41608 (ceilf): Likewise.
41609 (floor): Likewise.
41610 (floorf): Likewise.
41611
3e5aef87
L
416122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41613
428bd707
L
41614 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41615 on both fields and cast pointer to __syscall_ulong_t.
41616
3e5aef87
L
41617 * bits/types.h (__fsword_t): New type.
41618 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41619 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41620 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41621 (__FSWORD_T_TYPE): Likewise.
41622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41623 (__FSWORD_T_TYPE): Likewise.
41624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41625 (__FSWORD_T_TYPE): Likewise.
41626 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41627 (__FSWORD_T_TYPE): Likewise.
41628 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41629 __SWORD_TYPE with __fsword_t.
41630 (statfs64): Likewise.
41631
1ba7c3dc
DM
416322012-05-17 David S. Miller <davem@davemloft.net>
41633
41634 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41635
59910343
AJ
416362012-05-17 Andreas Jaeger <aj@suse.de>
41637
41638 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41639 warning.
41640
2e4c1e9e
L
416412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41642
41643 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41644
de7f5ce7
AJ
416452012-05-17 Andreas Jaeger <aj@suse.de>
41646
41647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41648 when it is used.
41649
286abc3d
CM
416502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41651
41652 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41653
477cc68e
L
416542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41655
41656 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41657 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41658
1a0994f5
CD
416592012-05-17 Andreas Jaeger <aj@suse.de>
41660 Carlos O'Donell <carlos_odonell@mentor.com>
41661
41662 [BZ #14059]
41663 * sysdeps/x86_64/multiarch/init-arch.h
41664 (bit_YMM_Usable): Rename to...
41665 (bit_AVX_Usable): ... this.
41666 (bit_FMA4_Usable): New macro.
41667 (bit_XMM_state): New macro.
41668 (bit_YMM_state): New macro.
41669 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41670 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41671 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41672 (CPUID_OSXSAVE): New macro.
41673 (CPUID_AVX): New macro.
41674 (CPUID_FMA4): New macro.
41675 (index_YMM_Usable): Rename to...
41676 (index_AVX_Usable): ... this.
41677 (HAS_AVX): Use HAS_ARCH_FEATURE.
41678 (HAS_FMA4): Likewise.
41679 (HAS_YMM_USABLE): Remove.
41680 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41681 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41682 are present.
41683 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41684 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41685 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41686 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41687 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41688
0af797de
CM
416892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41690
41691 * math/libm-test.c: Support platforms without multiple rounding modes.
41692 * math/bug-nextafter.c: Support platforms without FP exceptions.
41693 * math/bug-nexttoward.c: Likewise.
41694 * math/test-fenv.c: Likewise.
41695 * math/test-misc.c: Likewise.
41696 * stdlib/bug-getcontext.c: Likewise.
41697
e39745ff
AJ
416982012-05-17 Andreas Jaeger <aj@suse.de>
41699
41700 * manual/examples/search.c (critter_cmp): Change signature to
41701 avoid warnings.
41702 * manual/string.texi (Collation Functions): Likewise.
41703
48970aba
L
417042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41705
41706 * bits/types.h: Fold copyright years.
41707 * bits/typesizes.h: Likewise.
41708 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41710 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41712 * time/time.h: Likewise.
41713
bedee953
PP
417142012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41715
41716 [BZ #208]
41717 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41718 in instead of returning them. Return void.
41719 (__libc_mallinfo): Accumulate over all arenas.
41720 (__malloc_stats): Adjust for change in int_mallinfo interface.
41721
61653dfb
RM
417222012-05-16 Roland McGrath <roland@hack.frob.com>
41723
30b99d79
RM
41724 [BZ #10375]
41725 * configure.in (NM): Add AC_CHECK_TOOL for it.
41726 (libc_extra_cflags): New substituted variable.
41727 Check for -fstack-protector being used implicitly.
41728 * configure: Regenerated.
41729 * config.make.in (config-extra-cflags): New variable,
41730 gets @libc_extra_cflags@.
41731 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41732
61653dfb
RM
41733 [BZ #10375]
41734 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41735 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41736 * configure: Regenerated.
41737 * config.make.in (CPPUNDEFS): New substituted variable.
41738 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41739 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41740 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41741
661768bb
L
417422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41743
41744 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41745 (mq_attr): Use __syscall_slong_t.
41746
d4261567
L
417472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41748
41749 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41750 Check __x86_64__ instead of __WORDSIZE.
41751 (_STAT_VER_LINUX): Likewise.
41752 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41753 __syscall_ulong_t and __syscall_slong_t.
41754 (stat64): Likewise.
41755
cf3ff365
L
417562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41757
41758 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41759
76cf3e4d
L
417602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41761
41762 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41763
a637753a
L
417642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41765
41766 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41767 __syscall_ulong_t.
41768
d5e05119
L
41769 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41770 include <bits/wordsize.h>. Check __x86_64__ instead of
41771 __WORDSIZE.
41772 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41773 defined.
41774 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41775
f62ee380
L
41776 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41777 include <bits/wordsize.h>. Check __x86_64__ instead of
41778 __WORDSIZE.
41779 (user_regs_struct): Use "__extension__ unsigned long long"
41780 instead of "unsigned long" if __x86_64__ is defined.
41781 (user): Likewise. Pad after pointer field if __ILP32__ is
41782 defined.
41783
4e124ced
JM
417842012-05-16 Joseph Myers <joseph@codesourcery.com>
41785
6a3951a0
JM
41786 * configure.in (makeinfo): Require version 4.5 or later. Allow
41787 versions 5 to 9.
41788 * configure: Regenerated.
41789 * manual/install.texi (texinfo): Increase version requirement to
41790 4.5 or later.
41791 * INSTALL: Regenerated.
41792
4e124ced
JM
41793 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41794
953ca31a
L
417952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41796
41797 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41798
617aca05
L
41799 * sysdeps/x86_64/x32/ffs.c: New file.
41800
5762f7ae
L
41801 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41802 __syscall_ulong_t.
41803 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41804 defined. Use __syscall_ulong_t.
41805 (shminfo): Use __syscall_ulong_t.
41806 (shm_info): Likewise.
41807
a26b6856
L
41808 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41809 __syscall_ulong_t.
41810
cb2b9ef7
L
41811 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41812 <bits/wordsize.h>.
41813 (msgqnum_t): Use __syscall_ulong_t.
41814 (msglen_t): Likewise.
41815 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41816 __syscall_ulong_t.
41817
34683bb0
L
41818 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41819 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41820
84a68786
L
41821 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41822
48baa5f1
L
41823 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41824 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41825
180be88b
L
41826 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41827 __syscall_slong_t.
41828
5e90c8ad
L
41829 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41830 include <bits/wordsize.h>. Check __x86_64__ instead of
41831 __WORDSIZE.
41832
23dfb58b
L
41833 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41834 "unsigned long long int" if __x86_64__ is defined.
41835 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41836
ce5d54b0
L
41837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41838 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41839 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41840
13dc9eac
L
41841 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41842 <stdint.h>.
41843 (GET_PC): Cast to uintptr_t first.
41844 (GET_FRAME): Likewise.
41845 (GET_STACK): Likewise.
41846
a7895d15
L
41847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41848 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41850 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41852 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41853 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41854 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41855 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41856 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41857 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41859 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41863 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41865 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41866 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41867 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41868 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41870 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41872 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41873 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41874 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41875 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41876
656416c9
AS
418772012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41878
5bd66283
AS
41879 * Makerules (+depfiles): Also collect depfiles from .oS in
41880 $(extra-objs).
41881 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41882 .oS, $(libnldbl-routines)).
41883
656416c9
AS
41884 * Makerules (native-compile-mkdep-flags): Define.
41885 * sunrpc/Makefile (extra-objs): Add $(addprefix
41886 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41887 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41888 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41889 calling $(make-target-directory).
41890
a46f2169
L
418912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41892
41893 * bits/types.h (__snseconds_t): Removed.
41894 * time/time.h (struct timespec): Replace __snseconds_t with
41895 __syscall_slong_t.
41896 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41897 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41898 Likewise.
41899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41900 (__SNSECONDS_T_TYPE): Likewise.
41901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41902 (__SNSECONDS_T_TYPE): Likewise.
41903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41904 (__SNSECONDS_T_TYPE): Likewise.
41905
6af6528b
L
419062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41907
41908 * sysdeps/mach/hurd/bits/typesizes.h
41909 (__SYSCALL_SLONG_TYPE): New macro.
41910 (__SYSCALL_ULONG_TYPE): Likewise.
41911
de986b56
L
419122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41913
41914 * bits/types.h (__syscall_slong_t): New type.
41915 (__syscall_ulong_t): Likewise.
41916
41917 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41918 (__SYSCALL_ULONG_TYPE): Likewise.
41919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41920 (__SYSCALL_SLONG_TYPE): Likewise.
41921 (__SYSCALL_ULONG_TYPE): Likewise.
41922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41923 (__SYSCALL_SLONG_TYPE): Likewise.
41924 (__SYSCALL_ULONG_TYPE): Likewise.
41925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41926 (__SYSCALL_SLONG_TYPE): Likewise.
41927 (__SYSCALL_ULONG_TYPE): Likewise.
41928
85736dc7
L
419292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41930
41931 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41932 Add sigaltstack-offsets.sym.
41933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41934 <sigaltstack-offsets.h>.
41935 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41936 longjmp_msg pointer.
41937 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41938 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41939 signal stack.
41940 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41941
cc03b296
JM
419422012-05-15 Joseph Myers <joseph@codesourcery.com>
41943
a9538892
JM
41944 * elf/stackguard-macros.h: Remove file.
41945 * sysdeps/generic/stackguard-macros.h: New file.
41946 * sysdeps/i386/stackguard-macros.h: Likewise.
41947 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41948 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41949 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41950 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41951 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41952 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41953 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41954 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41955 <elf/stackguard-macros.h>.
41956
cc03b296
JM
41957 [BZ #14109]
41958 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41959 __aligned__ in attribute.
41960 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41961 (gregset_t): Likewise.
41962
93171016
L
419632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41964
41965 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41966 * sysdeps/x86_64/64/Implies-after: Here. New file.
41967 * sysdeps/x86_64/x32/Implies-after: New file.
41968
d86813a0
L
419692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41970
41971 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41972 and access return value for _dl_profile_fixup. Use R10_LP to
41973 load frame size.
41974
2953ec75
L
419752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41976
41977 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41978
3b550e9e
L
419792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41980
41981 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41982 * sysdeps/x86_64/x32/sysdep.h: New file.
41983
eda41706
L
419842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41985
41986 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41987 * sysdeps/x86_64/setjmp.S: Likewise.
41988
9ea01d93
AZ
419892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41990
41991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41992 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41993 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41994 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41995 remove unused global constant.
41996
02a91938
CM
419972012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41998
41999 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42000 include of <not-cancel.h>.
42001
6540185f
RM
420022012-05-15 Roland McGrath <roland@hack.frob.com>
42003
42004 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42005
509072a0
AJ
420062012-05-15 Jeff Law <law@redhat.com>
42007 Andreas Jaeger <aj@suse.de>
42008
42009 [BZ #13594]
42010 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42011 out from...
42012 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42013 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42014 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42015 code changing __hst_map_handle.map.
42016
ba75122d
RM
420172012-05-15 Roland McGrath <roland@hack.frob.com>
42018
42019 * configure.in (sysnames): Look for Implies-before and Implies-after
42020 files.
42021 * configure: Regenerated.
42022
890d8bd8
L
420232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42024
42025 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42026 8-byte data alignment with LP_SIZE alignment.
42027
f6ee6623
L
420282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42029
42030 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42031 into R10_LP.
42032
ea2626f6
L
420332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42034
42035 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42036
085f715e
L
420372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42038
42039 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42040 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42041 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42042 Likewise.
42043 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42044
be8498fc
L
420452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42046
42047 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42048 (stackinfo_sub_sp): Likewise.
42049
70bc83b9
L
420502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42051
42052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42053 RAX_LP.
42054
9bc0b730
L
420552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42056
42057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42058 into R*_LP.
42059
6d2850e7
L
420602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42061
42062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42063 sizes into R*_LP.
42064
3cb84561
L
420652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42066
42067 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42068
54e2ed81
L
420692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42070
42071 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42072 into R11_LP and load __x86_64_shared_cache_size_half into
42073 R8_LP.
42074
8a17f349
L
420752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42076
42077 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42078 R8_LP.
42079
777b1eea
AZ
420802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42081
42082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42083 logb for POWER7.
42084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42085 logbf for POWER7.
42086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42087 logbl for POWER7.
42088 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42089 powerpc32/power7/fpu/s_logb.c via #include.
42090 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42091 powerpc32/power7/fpu/s_logbf.c via #include.
42092 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42093 powerpc32/power7/fpu/s_logbl.c via #include.
42094
d20d4ac2
JM
420952012-05-15 Joseph Myers <joseph@codesourcery.com>
42096
42097 * README.libm: Remove file.
42098
6cdef1ab
L
420992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42100
42101 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42102 count for x32. Use R*_LP and omit operand-size suffix.
42103
0b254d8f
L
421042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42105
42106 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42107 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42108 * sysdeps/x86_64/x32/shlib-versions: New file.
42109
ceb809dc
RM
421102012-05-14 Roland McGrath <roland@hack.frob.com>
42111
42112 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42113 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42114 Use _dl_fatal_printf instead.
42115
37f1abd4
JM
421162012-05-14 Joseph Myers <joseph@codesourcery.com>
42117
42118 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42119 set if not set by the user. Do not allow for being unset.
42120 * sysdeps/unix/sysv/linux/configure: Regenerated.
42121
11de3a33
L
421222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42123
42124 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42125 the `q' suffix from lea and replace .quad with ASM_ADDR.
42126
e02f153a
L
421272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42128
42129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42130 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42131 instead of $17.
42132 (PTR_DEMANGLE): Likewise.
42133
520ae0fd
L
421342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42135
42136 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42137 (LP_OP): Likewise.
42138 (ASM_ADDR): Likewise.
42139 (RAX_LP): Likewise.
42140 (RBP_LP): Likewise.
42141 (RBX_LP): Likewise.
42142 (RCX_LP): Likewise.
42143 (RDI_LP): Likewise.
42144 (RSI_LP): Likewise.
42145 (RSP_LP): Likewise.
42146 (R8_LP): Likewise.
42147 (R9_LP): Likewise.
42148 (R10_LP): Likewise.
42149 (R10_LP): Likewise.
42150 (R11_LP): Likewise.
42151 (R12_LP): Likewise.
42152 (R13_LP): Likewise.
42153 (R14_LP): Likewise.
42154 (R15_LP): Likewise.
42155
b985be81
L
421562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42157
42158 * sysdeps/x86_64/x32/dl-machine.h: New file.
42159
6a4888ff
AJ
421602012-05-14 Andreas Jaeger <aj@suse.de>
42161
42162 * manual/Makefile (subdir): Remove export of subdir.
42163 (all): Remove target.
42164 (.PHONY): Remove all from list.
42165 (mkinstalldirs): Remove.
42166 (.PHONY): Remove installdirs from list.
42167 ($(inst_infodir)/libc.info): Use make-target-directory.
42168 (installdirs): Remove.
42169 (subdir_%): Remove.
42170 (glibc-targets): Remove.
42171 (lib): Remove.
42172 (stubs): Remove.
42173 ($(objpfx)stubs ../po/manual.pot): Remove.
42174 ($(objpfx)stamp%): Remove.
42175 (make-target-directory): Remove.
42176 (subdir_install): Remove.
42177 (routines): Remove.
42178 (aux): Remove.
42179 (sources): Remove.
42180 (objects): Remove.
42181 (headers): Remove.
42182
42183 [BZ #13750]
42184 * manual/.gitignore: Remove, it's not needed anymore.
42185 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42186 all files in it.
42187 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42188 directory.
42189 (texis): Renamed to $(objpfx)texis.
42190 (texis-path): New, contains path to generated files.
42191 (chapters.%): Use texis-path for complete path, add extra argument
42192 libc-texinfo.sh.
42193 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42194 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42195 (summary,texi, stamp-summary): Use complete path of
42196 files. Generate files in build dir.
42197 (dir-add.texi): Build in build dir.
42198 (libm-err.texi,stamp-libm-err): Likewise.
42199 (version.texi, stamp-version): Likewise.
42200 (.%c.texi): Likewise.
42201 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42202 (mostlyclean): Remove target.
42203 (realclean): Remove target.
42204 (generated): Add new variable with contents from mostlyclean and
42205 realclean, remove entries duplicated in common-mostlyclean, add
42206 stamp-libm-err and stamp-version.
42207 (generated-dirs): Add libc directory.
42208 ($(inst_infodir)/libc.info): Install files from build dir.
42209
42210 * manual/install.texi (Configuring and compiling): Adjust since
42211 the info files are not part of the tar ball anymore.
42212
7ac77294
AJ
422132012-05-14 Andreas Jaeger <aj@suse.de>
42214
42215 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42216 variable.
42217
ffb7875d
JM
422182012-05-14 Joseph Myers <joseph@codesourcery.com>
42219
42220 [BZ #13717]
42221 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42222 to 2.2.0 where earlier.
42223 * sysdeps/unix/sysv/linux/configure: Regenerated.
42224 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42225 Remove conditional code.
42226 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42227 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42228 Remove conditional code.
42229 [!__NR_lchown]: Likewise.
42230 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42231 [__NR_lchown]: Likewise.
42232 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42233 comment referencing __ASSUME_LCHOWN_SYSCALL.
42234 * sysdeps/unix/sysv/linux/i386/sigaction.c
42235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42237 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42238 Remove conditional code.
42239 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42240 (__protocol_available): Remove #if 0 code.
42241 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42242 conditional code.
42243 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42244 * sysdeps/unix/sysv/linux/kernel-features.h
42245 (__ASSUME_GETCWD_SYSCALL): Don't define.
42246 (__ASSUME_REALTIME_SIGNALS): Likewise.
42247 (__ASSUME_PREAD_SYSCALL): Likewise.
42248 (__ASSUME_PWRITE_SYSCALL): Likewise.
42249 (__ASSUME_POLL_SYSCALL): Likewise.
42250 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42251 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42252 non-SPARC.
42253 (__ASSUME_SIOCGIFNAME): Don't define.
42254 (__ASSUME_MSG_NOSIGNAL): Likewise.
42255 (__ASSUME_SENDFILE): Define unconditionally.
42256 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42257 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42258 conditional code.
42259 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42260 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42261 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42262 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42263 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42264 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42265 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42267 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42273 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42279 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42282 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42285 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42290 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42291 Remove conditional code.
42292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42293 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42294 Remove conditional code.
42295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42296 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42297 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42298 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42299 Remove conditional code.
42300 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42301 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42302 Remove conditional code.
42303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42304 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42305 Remove conditional code.
42306 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42307 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42308 Remove conditional code.
42309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42310 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42311 Remove conditional code.
42312 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42313 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42314 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42315 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42316 * sysdeps/unix/sysv/linux/sigaction.c
42317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42319 * sysdeps/unix/sysv/linux/sigpending.c
42320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42322 * sysdeps/unix/sysv/linux/sigprocmask.c
42323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42325 * sysdeps/unix/sysv/linux/sigsuspend.c
42326 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42327 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42328 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42329 (__libc_missing_rt_sigs): Remove.
42330 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42331 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42332 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42333 Remove conditional code.
42334 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42335 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42336 return 1.
42337 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42338 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42339 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42340 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42341
1bfb7291
AJ
423422012-05-14 Andreas Jaeger <aj@suse.de>
42343
caae5a81
AJ
42344 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42345 it's not used in glibc.
42346 (__coshm1): Likewise.
42347 (__acosh1p): Likewise.
42348 (__sgn): Likewise.
42349
1bfb7291
AJ
42350 * manual/string.texi (Copying and Concatenation): Add missing
42351 variable in concat example.
42352 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42353
c044d724
L
423542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42355
144c5467 42356 [BZ #14103]
c044d724
L
42357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42358 __builtin_clzl with __builtin_clzll.
42359
2523c62b
L
423602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42361
42362 [BZ #14104]
42363 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42364 libc_freeres_ptr.
42365
d7bb4c42
LD
423662012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42367
42368 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42369 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42370 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42371 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42372
9dc4e1fb
MF
423732012-05-14 Mike Frysinger <vapier@gentoo.org>
42374
42375 * NEWS: Update ia64 info.
42376
c7df0112
AS
423772012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42378
42379 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42380 used as bcopy.
42381
dc70356c
TS
423822012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42383
42384 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42385 * sysdeps/unix/syscalls.list (dup3): Likewise.
42386 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42387 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42388
9fb1a21f
L
423892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42390
42391 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42392 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42393
4822a2a5
L
423942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42395
42396 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42397 thread pointer.
42398 (TLS_IE): Use mov/add instead of movq/addq to load thread
42399 pointer.
42400 (TLS_GD_PREFIX): New.
42401 (TLS_GD): Use it.
42402
842b81d6
DM
424032012-05-11 David S. Miller <davem@davemloft.net>
42404
42405 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42406 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42407 (_FPU_SETCW): Likewise.
42408
1cf463cd
L
424092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42410
42411 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42412 is 32-byte aligned.
42413
60cc4a18
AS
424142012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42415
42416 [BZ #11837]
42417 * iconvdata/gb18030.c: Update tables.
42418 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42419 characters specially.
42420 (BODY for TO_LOOP): Add encoding of missing ranges.
42421
febb44a4
TS
424222012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42423
42424 [BZ #13673]
42425 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42426 * sysdeps/mach/hurd/dup3.c: Likewise.
42427 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42428 * sysdeps/powerpc/memmove.c:: Likewise.
42429
0a10fb9e
L
424302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42431
42432 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42433 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42434
df8a552f
L
424352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42436
42437 * elf/elf.h (R_X86_64_RELATIVE64): New.
42438 (R_X86_64_NUM): Updated.
42439 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42440 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42441 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42442 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42443 tst-quad1pie tst-quad2pie
42444 (modules-names): Add tst-quadmod1 tst-quadmod2.
42445 ($(objpfx)tst-quad1): New dependency.
42446 ($(objpfx)tst-quad2): Likewise.
42447 ($(objpfx)tst-quad1pie): Likewise.
42448 ($(objpfx)tst-quad2pie): Likewise.
42449 * sysdeps/x86_64/tst-quad1.c: New file.
42450 * sysdeps/x86_64/tst-quad1pie.c: New file.
42451 * sysdeps/x86_64/tst-quad2.c: Likewise.
42452 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42453 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42454 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42455 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42456 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42457
f34d6f84
ST
424582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42459
f42d41d1
ST
42460 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42461 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42462 * streams/stropts.h (t_scalar_t): Define type.
42463
3c3571fc
ST
42464 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42465 (_PATH_PRESERVE): Set to "/var/lib".
42466 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42467
61f06bd3
ST
42468 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42469 instead of int.
42470
918d4d71
ST
42471 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42472 if __dir_mkfile succeeded.
42473
f34d6f84
ST
42474 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42475 checking for _hurd_dtablesize. Unlock it right after having
42476 finished _hurd_dtable allocation.
42477
10589b4a
TS
424782012-05-10 Thomas Schwinge <thomas@schwinge.name>
42479
674cdbc7
TS
42480 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42481 * sysdeps/mach/hurd/configure: Regenerated.
42482 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42483 special-casing to...
42484 * sysdeps/gnu/configure.in: ... this new file.
42485 * sysdeps/unix/sysv/linux/configure: Regenerated.
42486 * sysdeps/gnu/configure: New generated file.
42487
8e41b99f
TS
42488 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42489 for Linux: use nsec instead of usec, as well as:
42490 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42491 members of type struct timespec.
42492 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42493 New macros.
42494 (struct stat64): Likewise.
42495 (_STATBUF_ST_NSEC): New macro.
42496 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42497
10589b4a
TS
42498 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42499 __strtoul_internal rather than strtoul.
42500
63643c85
PT
425012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42502
42503 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42504 and reject them.
42505
3faebe6a
ST
425062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42507
42508 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42509 which preserves existing values.
42510 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42511
c6474b07
PT
425122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42513
42514 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42515 TIMEOUT values. Return EINVAL for NFDS values either negative or
42516 greater than FD_SETSIZE.
42517
1043890b
ST
425182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42519
42520 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42521 allocated, call __vm_protect to finish enabling the existing space, and
42522 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42523 allocate the remainder.
42524
37ed8b9b
PT
425252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42526
42527 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42528 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42529
db653660
ST
425302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42531
37ed8b9b
PT
42532 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42533 sysdeps/mach/hurd/readlink.c.
b29d4053 42534
db653660
ST
42535 * posix/tst-sysconf.c (posix_options): Only use
42536 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42537 _POSIX_SYNCHRONIZED_IO when they are defined
42538 * sysdeps/mach/hurd/bits/posix_opt.h:
42539 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42540 (_XOPEN_REALTIME): Undefine macro.
42541 (_XOPEN_REALTIME_THREADS): Undefine macro.
42542 (_XOPEN_SHM): Undefine macro.
42543 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42544 macro to -1.
42545 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42546 macro to -1.
42547 (_POSIX_ASYNC_IO): Undefine macro.
42548 (_POSIX_PRIORITIZED_IO): Undefine macro.
42549 (_POSIX_SPIN_LOCKS): Define macro to -1.
42550
ee16e894
ST
42551 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42552 SA_NODEFER, SA_RESETHAND.
42553 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42554 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42555 F_DUPFD_CLOEXEC.
42556
6103ae3b
TS
425572012-05-10 Thomas Schwinge <thomas@schwinge.name>
42558
42559 * elf/Makefile (pldd-modules): Define unconditionally.
42560
80b4e5f3
TS
425612012-05-10 Thomas Schwinge <thomas@schwinge.name>
42562
42563 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42564
edadcbd6
ST
425652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42566
42567 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42568 Return ENOENT when name is empty.
42569 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42570
80694780
TS
425712012-05-10 Thomas Schwinge <thomas@schwinge.name>
42572
1792c087
TS
42573 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42574
80694780
TS
42575 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42576
6b645f0d
ST
425772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42578
80694780
TS
42579 Fix mlock in all cases except non-readable pages.
42580 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42581 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42582
6b645f0d
ST
42583 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42584 (__mkdir): When path is `/', just fail with EEXIST.
42585 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42586
e468f8a3
TS
425872012-05-10 Thomas Schwinge <thomas@schwinge.name>
42588
42589 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42590 <sys/uio.h> (for writev).
42591 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42592 and <sys/param.h> (for MIN).
42593
a4186cff
PT
425942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42595
42596 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42597 REQUESTED_TIME. Properly set the remaining time and return EINTR
42598 if interrupted.
42599
510bbf14
TS
426002012-05-10 Thomas Schwinge <thomas@schwinge.name>
42601
42602 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42603 Depend on against $(link-rpcuserlibs).
42604
5d5722e8
ST
426052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42606
a4186cff
PT
42607 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42608 (__libc_stack_end): Do not use attribute_relro.
42609 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42610 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42611 to libthread-provided value.
a4186cff
PT
42612 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42613 attribute_relro.
5d5722e8 42614
37233df9
TS
426152012-05-10 Thomas Schwinge <thomas@schwinge.name>
42616
be971a2b
TS
42617 [BZ #3748]
42618 * bits/libc-lock.h (__libc_once_get): New macro.
42619 * sysdeps/mach/bits/libc-lock.h: Likewise.
42620 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42621 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42622 instead of using implementation details.
42623
37233df9
TS
42624 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42625 * libio/freopen.c: Likewise.
42626 * libio/freopen64.c: Likewise.
42627 * misc/syslog.c: Likewise.
42628 * nscd/connections.c: Likewise.
42629 * nscd/netgroupcache.c: Likewise.
42630 * sysdeps/posix/getcwd.c: Likewise.
42631
38de94a5
RM
426322012-05-10 Roland McGrath <roland@hack.frob.com>
42633
42634 * math/w_ilogbf.c: Add #include <limits.h>.
42635
67530489
ST
426362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42637
a4186cff 42638 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42639 path instead of returning without unlocking.
42640
67530489
ST
42641 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42642 immediate-write ioctls.
42643 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42644
5aa3a74a
TS
426452012-05-10 Thomas Schwinge <thomas@schwinge.name>
42646
18bad2ae
TS
42647 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42648 __builtin_frame_address instead of making assumptions about the
42649 location of the return address relative to DATA. Force early load of
42650 the return address.
42651 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42652 __builtin_frame_address.
42653
5aa3a74a
TS
42654 dup3 for GNU Hurd.
42655 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42656 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42657 implement dup3 and do some further code clean-ups.
42658 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42659 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42660
ecd0de9a
ST
426612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42662
cd9fa985
ST
42663 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42664
a4186cff
PT
42665 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42666 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42667 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42668 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42669 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42670 d->port.lock.
802ca5a5 42671
a4186cff
PT
42672 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42673 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42674 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42675
bcf55240
TS
426762012-05-10 Thomas Schwinge <thomas@schwinge.name>
42677
6960eb42
TS
42678 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42679 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42680 definitions.
42681
eb43375f
TS
42682 accept4 for GNU Hurd.
42683 * include/sys/socket.h (__libc_accept4): New prototype.
42684 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42685 to implement __libc_accept4.
42686 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42687 __libc_accept4.
42688 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42689
bcf55240
TS
42690 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42691 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42692 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42693 signal-defines.sym.
42694
6178c55b
ST
426952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42696
a4186cff 42697 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 42698
6f080c2f
TS
426992012-05-10 Thomas Schwinge <thomas@schwinge.name>
42700
42701 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42702 assertion on O_CLOEXEC flag.
42703 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42704 * hurd/intern-fd.c: Likewise.
42705 * hurd/port2fd.c: Likewise.
42706
bcfe3a54
ST
427072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42708
42709 [BZ #3906]
42710 * bits/in.h (IPV6_PKTINFO): Define new macro.
42711 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42712
89c9aa49
AZ
427132012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42714
42715 [BZ #13954]
42716 [BZ #13955]
42717 [BZ #13956]
42718 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42720 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42721 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42723 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42724 * math/libm-test.inc (logb_test) : Additional logb tests.
42725
021db4be
AJ
427262012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42727 Andreas Jaeger <aj@suse.de>
42728
42729 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42730 * configure: Regenerated.
42731 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42732 * config.make.in (link-obsolete-rpc): New substituted variable.
42733 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42734 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42735 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42736 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42737 so that libc.a contains the symbols.
42738 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42739 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42740 * sunrpc/auth_none.c: Likewise.
42741 * sunrpc/auth_unix.c: Likewise.
42742 * sunrpc/authdes_prot.c: Likewise.
42743 * sunrpc/authuxprot.c: Likewise.
42744 * sunrpc/clnt_gen.c: Likewise.
42745 * sunrpc/clnt_perr.c: Likewise.
42746 * sunrpc/clnt_raw.c: Likewise.
42747 * sunrpc/clnt_simp.c: Likewise.
42748 * sunrpc/clnt_tcp.c: Likewise.
42749 * sunrpc/clnt_udp.c: Likewise.
42750 * sunrpc/clnt_unix.c: Likewise.
42751 * sunrpc/des_crypt.c: Likewise.
42752 * sunrpc/des_soft.c: Likewise.
42753 * sunrpc/get_myaddr.c: Likewise.
42754 * sunrpc/key_call.c: Likewise.
42755 * sunrpc/key_prot.c: Likewise.
42756 * sunrpc/netname.c: Likewise.
42757 * sunrpc/pm_getmaps.c: Likewise.
42758 * sunrpc/pm_getport.c: Likewise.
42759 * sunrpc/pmap_clnt.c: Likewise.
42760 * sunrpc/pmap_prot.c: Likewise.
42761 * sunrpc/pmap_prot2.c: Likewise.
42762 * sunrpc/pmap_rmt.c: Likewise.
42763 * sunrpc/publickey.c: Likewise.
42764 * sunrpc/rpc_cmsg.c: Likewise.
42765 * sunrpc/rpc_common.c: Likewise.
42766 * sunrpc/rpc_dtable.c: Likewise.
42767 * sunrpc/rpc_prot.c: Likewise.
42768 * sunrpc/rpc_thread.c: Likewise.
42769 * sunrpc/rtime.c: Likewise.
42770 * sunrpc/svc.c: Likewise.
42771 * sunrpc/svc_auth.c: Likewise.
42772 * sunrpc/svc_raw.c: Likewise.
42773 * sunrpc/svc_run.c: Likewise.
42774 * sunrpc/svc_tcp.c: Likewise.
42775 * sunrpc/svc_udp.c: Likewise.
42776 * sunrpc/svc_unix.c: Likewise.
42777 * sunrpc/svcauth_des.c: Likewise.
42778 * sunrpc/xcrypt.c: Likewise.
42779 * sunrpc/xdr.c: Likewise.
42780 * sunrpc/xdr_array.c: Likewise.
42781 * sunrpc/xdr_float.c: Likewise.
42782 * sunrpc/xdr_intXX_t.c: Likewise.
42783 * sunrpc/xdr_mem.c: Likewise.
42784 * sunrpc/xdr_rec.c: Likewise.
42785 * sunrpc/xdr_ref.c: Likewise.
42786 * sunrpc/xdr_sizeof.c: Likewise.
42787 * sunrpc/xdr_stdio.c: Likewise.
42788
b5c086a2
RM
427892012-05-10 Roland McGrath <roland@hack.frob.com>
42790
42791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42792 change. Update copyright years.
42793
6d74dd09
JM
427942012-05-10 Joseph Myers <joseph@codesourcery.com>
42795
42796 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42797
28e72501
MK
427982012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42799 Joseph Myers <joseph@codesourcery.com>
42800 Paul Pluzhnikov <ppluzhnikov@google.com>
42801
42802 [BZ #14012]
42803 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42804 requiring rpcgen.
42805 [cross-compiling] (extra-libs): Likewise.
42806 [cross-compiling] (extra-libs-others): Likewise.
42807 [cross-compiling] (librpcsvc-routines): Likewise.
42808 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42809 [cross-compiling] (omit-deps): Likewise.
42810 (sunrpc-CPPFLAGS): New variable.
42811 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42812 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42813 (cross-rpcgen-objs): New variable.
42814 (extra-objs): Append $(cross-rpcgen-objs).
42815 ($(cross-rpcgen-objs)): New rule.
42816 ($(objpfx)cross-rpcgen): Likewise.
42817 (rpcgen-cmd): Define to use $(built-program-file). Expand
42818 comment.
42819 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42820 ($(objpfx)x%.stmp): Likewise.
42821 * sunrpc/proto.h [IS_IN_build] (_): Define.
42822 [IS_IN_build] (_libc_intl_domainname): Likewise.
42823
c8c59454
L
428242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42825
42826 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42827 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42828 and R_X86_64_TPOFF64.
42829
6f27cd16
JM
428302012-05-10 Joseph Myers <joseph@codesourcery.com>
42831
42832 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42833 sysdeps/unix/sysv/syscalls.list.
42834 (stime): Likewise.
42835 (utime): Likewise.
42836 * sysdeps/unix/sysv/syscalls.list: Remove file.
42837
02467e1c
PE
428382012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42839
42840 [BZ #3440]
42841 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42842 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42843 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42844 (__LC_IDENTIFICATION): Make these macros useful in #if
42845 expressions, as required by C99.
42846
da392631
AS
428472012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42848
42849 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42850 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42851 after this.
42852
8115f29b
L
428532012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42854
42855 * stdlib/longlong.h: Updated from GCC.
42856
bdd74070
AJ
428572012-05-09 Andreas Jaeger <aj@suse.de>
42858
edfe0dbe
AJ
42859 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42860 default is first entry.
42861 (run_mode): Set type.
42862 (main): Remove informal message about syslog.
42863 (options): Fix typo.
42864
bcfe3a54
ST
42865 [BZ #14053]
42866 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42867 to asm.
bcfe3a54
ST
42868 (lrint): Likewise.
42869 (llrintf): Likewise.
42870 (llrint): Likewise.
42871 (rint): Likewise.
42872 (rintf): Likewise.
42873 (nearbyint): Likewise.
42874 (nearbyintf): Likewise.
bdd74070 42875
91d8d69e
AJ
428762012-05-09 Andreas Jaeger <aj@suse.de>
42877 Pedro Alves <palves@redhat.com>
42878
42879 * nscd/nscd.c (run_mode): Use enum.
42880 (main): Cleanup coding style issue.
42881
bb90b80b
AJ
428822012-05-09 Alexandre Oliva <aoliva@redhat.com>
42883 Andreas Jaeger <aj@suse.de>
42884
bcfe3a54
ST
42885 * nscd/nscd.c (go_background): Replaced with...
42886 (run_mode): ... this.
bb90b80b 42887 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42888 (options): Add -F --foreground.
42889 (main): Implement it.
42890 (parse_opt): Parse it.
bb90b80b 42891
1a4b75a1
AJ
428922012-05-09 Andreas Jaeger <aj@suse.de>
42893
42894 [BZ #14083]
42895 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42896 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42897 -Wconversion warning.
42898 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42899 Likewise.
42900
b1cc2472
JM
429012012-05-09 Joseph Myers <joseph@codesourcery.com>
42902
42903 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42904 == 0.
42905 (LC_ALL): Use macro-int-constant.
42906 (LC_COLLATE): Likewise.
42907 (LC_CTYPE): Likewise.
42908 (LC_MESSAGES): Likewise.
42909 (LC_MONETARY): Likewise.
42910 (LC_NUMERIC): Likewise.
42911 (LC_TIME): Likewise.
42912 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42913 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42915 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42916 Specify type.
42917 [C99-based standards] (float_t): Expect type.
42918 [C99-based standards] (double_t): Expect type.
42919 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42920 type.
42921 [C99-based standards] (HUGE_VALL): Likewise.
42922 [C99-based standards] (INFINITY): Likewise.
42923 [C99-based standards] (NAN): Likewise.
42924 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42925 [C99-based standards] (FP_NAN): Likewise.
42926 [C99-based standards] (FP_NORMAL): Likewise.
42927 [C99-based standards] (FP_SUBNORMAL): Likewise.
42928 [C99-based standards] (FP_ZERO): Likewise.
42929 [C99-based standards] (FP_FAST_FMA): Use
42930 optional-macro-int-constant. Specify type. Require == 1.
42931 [C99-based standards] (FP_FAST_FMAF): Likewise.
42932 [C99-based standards] (FP_FAST_FMAL): Likewise.
42933 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42934 [C99-based standards] (FP_ILOGBNAN): Likewise.
42935 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42936 Specify type.
42937 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42938 [C99-based standards] (math_errhandling): Specify type.
42939 [ISO99 || ISO11] (signgam): Do not allow.
42940 [non-C99-based standards] (copysignf): Do not allow.
42941 [non-C99-based standards] (exp2f): Likewise.
42942 [non-C99-based standards] (log2f): Likewise.
42943 [non-C99-based standards] (modff): Allow.
42944 [non-C99-based standards] (erff): Do not allow.
42945 [non-C99-based standards] (erfcf): Likewise.
42946 [non-C99-based standards] (gammaf): Likewise.
42947 [non-C99-based standards] (hypotf): Likewise.
42948 [non-C99-based standards] (j0f): Likewise.
42949 [non-C99-based standards] (j1f): Likewise.
42950 [non-C99-based standards] (jnf): Likewise.
42951 [non-C99-based standards] (lgammaf): Likewise.
42952 [non-C99-based standards] (tgammaf): Likewise.
42953 [non-C99-based standards] (y0f): Likewise.
42954 [non-C99-based standards] (y1f): Likewise.
42955 [non-C99-based standards] (ynf): Likewise.
42956 [non-C99-based standards] (isnanf): Likewise.
42957 [non-C99-based standards] (acoshf): Likewise.
42958 [non-C99-based standards] (asinhf): Likewise.
42959 [non-C99-based standards] (atanhf): Likewise.
42960 [non-C99-based standards] (cbrtf): Likewise.
42961 [non-C99-based standards] (expm1f): Likewise.
42962 [non-C99-based standards] (ilogbf): Likewise.
42963 [non-C99-based standards] (log1pf): Likewise.
42964 [non-C99-based standards] (logbf): Likewise.
42965 [non-C99-based standards] (nextafterf): Likewise.
42966 [non-C99-based standards] (remainderf): Likewise.
42967 [non-C99-based standards] (rintf): Likewise.
42968 [non-C99-based standards] (scalbf): Likewise.
42969 [non-C99-based standards] (copysignl): Likewise.
42970 [non-C99-based standards] (exp2l): Likewise.
42971 [non-C99-based standards] (log2l): Likewise.
42972 [non-C99-based standards] (modfl): Allow.
42973 [non-C99-based standards] (erfl): Do not allow.
42974 [non-C99-based standards] (erfcl): Likewise.
42975 [non-C99-based standards] (gammal): Likewise.
42976 [non-C99-based standards] (hypotl): Likewise.
42977 [non-C99-based standards] (j0l): Likewise.
42978 [non-C99-based standards] (j1l): Likewise.
42979 [non-C99-based standards] (jnl): Likewise.
42980 [non-C99-based standards] (lgammal): Likewise.
42981 [non-C99-based standards] (tgammal): Likewise.
42982 [non-C99-based standards] (y0l): Likewise.
42983 [non-C99-based standards] (y1l): Likewise.
42984 [non-C99-based standards] (ynl): Likewise.
42985 [non-C99-based standards] (isnanl): Likewise.
42986 [non-C99-based standards] (acoshl): Likewise.
42987 [non-C99-based standards] (asinhl): Likewise.
42988 [non-C99-based standards] (atanhl): Likewise.
42989 [non-C99-based standards] (cbrtl): Likewise.
42990 [non-C99-based standards] (expm1l): Likewise.
42991 [non-C99-based standards] (ilogbl): Likewise.
42992 [non-C99-based standards] (log1pl): Likewise.
42993 [non-C99-based standards] (logbl): Likewise.
42994 [non-C99-based standards] (nextafterl): Likewise.
42995 [non-C99-based standards] (remainderl): Likewise.
42996 [non-C99-based standards] (rintl): Likewise.
42997 [non-C99-based standards] (scalbl): Likewise.
42998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42999 [non-C99-based standards] (FP_*): Do not allow.
43000 [C99-based standards] (FP_*): Change to
43001 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43002 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43003 allow.
43004 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43005 (SIG_ERR): Likewise.
43006 [X/Open-based standards] (SIG_HOLD): Likewise.
43007 (SIG_IGN): Likewise.
43008 (SIGABRT): Use macro-int-constant. Specify type. Require
43009 positive value.
43010 (SIGFPE): Likewise.
43011 (SIGILL): Likewise.
43012 (SIGINT): Likewise.
43013 (SIGSEGV): Likewise.
43014 (SIGTER): Likewise.
43015 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43016 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43017 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43018 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43019 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43020 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43021 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43022 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43023 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43024 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43025 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43026 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43027 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43028 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43029 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43030 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43031 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43032 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43033 [X/Open-based standards] (SIGTRAP): Likewise.
43034 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43035 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43036 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43037 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43038 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43039 allow.
43040
b9f1922d
IW
430412012-05-08 Ian Wienand <ianw@vmware.com>
43042
43043 [BZ #14080]
43044 * time/tzset.c (__tzset_parse_tz): Update default rules for
43045 daylight time changes in the Energy Policy Act of 2005.
43046
1db86e88
AJ
430472012-05-09 Andreas Jaeger <aj@suse.de>
43048
43049 [BZ #13983]
43050 * elf/ldconfig.c (parse_conf): Change string to make clear that
43051 ldconfig only issued a warning if ld.so.conf does not exist.
43052
dee4a4e3
DM
430532012-05-08 David S. Miller <davem@davemloft.net>
43054
ee0db190
DM
43055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43056 movxtod instead of popping the value on the stack.
43057
dee4a4e3
DM
43058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43059
6a43ec98
CD
430602012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43061
43062 * config.h.in: Add HAVE_ARM_PCS_VFP.
43063
05c2c961
RMG
430642012-05-08 Roland Mc Grath <roland@hack.frob.com>
43065
bcfe3a54
ST
43066 [BZ #13979]
43067 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43068 checking but the checks are disabled for any reason.
05c2c961 43069
4b30f61a
L
430702012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43071
43072 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43073 and ELF64_R_TYPE with ELFW(R_TYPE).
43074
eee2bc67
JM
430752012-05-08 Joseph Myers <joseph@codesourcery.com>
43076
7ea5391a
JM
43077 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43078 (ulimit): Likewise.
43079
eee2bc67
JM
43080 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43081 (settimeofday): Likewise.
43082
abb66a67
MF
430832012-05-08 Mike Frysinger <vapier@gentoo.org>
43084
43085 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43086 a struct th_u2 inside the union, and move tu_block/tu_code into
43087 a new th_u3 union of tu_block/tu_code inside of that. Move
43088 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43089 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43090 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43091 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43092 (th_stuff): Change to th_u1.tu_stuff.
43093 (th_data): Define.
43094 (th_msg): Change to th_u1.th_u2.tu_data.
43095
7f18b530
DM
430962012-05-07 David S. Miller <davem@davemloft.net>
43097
05760585
DM
43098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43099
7f18b530
DM
43100 [BZ #14074]
43101 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43102 (SETUP_PIC_REG): Use it.
43103 (SETUP_PIC_REG_LEAF): Use it.
43104
495fd99f
JM
431052012-05-07 Joseph Myers <joseph@codesourcery.com>
43106
43107 [BZ #13885]
43108 [BZ #13923]
43109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43110 USE_AS_EXPM1L.
43111 (EXPL_FINITE): Likewise.
43112 (FLDLOG): Likewise.
43113 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43114 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43115 e_expl.S.
43116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43117 USE_AS_EXPM1L.
43118 (EXPL_FINITE): Likewise.
43119 (FLDLOG): Likewise.
43120 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43121 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43122 e_expl.S.
43123 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43124 test of -max_value argument for long double.
43125 * sysdeps/i386/fpu/libm-test-ulps: Update.
43126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43127
6693d694
DM
431282012-05-06 David S. Miller <davem@davemloft.net>
43129
43130 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43131 quad soft-float symbols whose references which are compiler
43132 generated.
43133 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43134
6c23e11c
JM
431352012-05-06 Joseph Myers <joseph@codesourcery.com>
43136
d8b82cad
JM
43137 [BZ #13884]
43138 [BZ #13914]
43139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43140 USE_AS_EXP10L.
43141 (EXPL_FINITE): Likewise.
43142 (FLDLOG): Likewise.
43143 (c0): Likewise.
43144 (c1): Likewise.
43145 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43146 Adjust comments for base varying.
43147 (__expl_finite): Change alias to EXPL_FINITE.
43148 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43149 e_expl.S.
43150 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43151 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43152 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43153 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43154 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43155 USE_AS_EXP10L.
43156 (EXPL_FINITE): Likewise.
43157 (FLDLOG): Likewise.
43158 (c0): Likewise.
43159 (c1): Likewise.
43160 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43161 Adjust comments for base varying.
43162 (__expl_finite): Change alias to EXPL_FINITE.
43163 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43164 tests for bugs.
43165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43166
6c23e11c
JM
43167 [BZ #14064]
43168 * math/libm-test.inc (check_float_internal): Correct ulp
43169 calculation for subnormal expected results.
43170
29ba805c
AJ
431712012-05-06 Andreas Jaeger <aj@suse.de>
43172
43173 * Makeconfig (+math-flags): New, set to -frounding-math.
43174 (+cflags): Add +math-flags so that all of glibc gets compiled with
43175 it.
43176
43177 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43178
7b17aeda
JM
431792012-05-05 Joseph Myers <joseph@codesourcery.com>
43180
5779f134
JM
43181 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43182 Disable one test.
43183
41498f4d
JM
43184 [BZ #13787]
43185 [BZ #13922]
43186 [BZ #14036]
43187 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43188 (__ieee754_expl): Allow for and saturate large arguments.
43189 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43190 (u_threshold): Likewise.
43191 (__exp): Call __ieee754_exp before checking for overflow and
43192 underflow.
43193 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43194 (u_threshold): Likewise.
43195 (__expf): Call __ieee754_expf before checking for overflow and
43196 underflow.
43197 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43198 (u_threshold): Likewise.
43199 (__expl): Call __ieee754_expl before checking for overflow and
43200 underflow.
43201 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43202 (__ieee754_expl): Allow for and saturate large arguments.
43203 * math/libm-test.inc (exp_test): Add another test. Do not allow
43204 missing overflow exception on overflow.
43205 (expm1_test): Do not allow missing overflow exception on overflow.
43206
6698b8bf
JM
43207 * sysdeps/i386/fpu/e_expl.c: Move to ...
43208 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43209 rather than using inline asm.
43210 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43211 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43212 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43213
7b17aeda
JM
43214 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43215 (nice): Likewise.
43216 (poll): Likewise.
43217 (signal): Likewise.
43218 (time): Likewise.
43219 (times): Likewise.
43220
f7c85819
JM
432212012-05-04 Joseph Myers <joseph@codesourcery.com>
43222
43223 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43224 sysdeps/unix/common/syscalls.list.
43225 (fchmod): Likewise.
43226 (fchown): Likewise.
43227 (ftruncate): Likewise.
43228 (getrusage): Likewise.
43229 (gettimeofday): Likewise.
43230 (setpgid): Likewise.
43231 (setregid): Likewise.
43232 (setreuid): Likewise.
43233 (sigaction): Likewise.
43234 (truncate): Likewise.
43235 (vhangup): Likewise.
43236 * sysdeps/unix/common/syscalls.list: Remove file.
43237 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43238 * sysdeps/unix/sysv/linux/Implies: Likewise.
43239
336270d0
L
432402012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43241
43242 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43244 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43245 Moved to ...
43246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43247 Here.
43248 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43249 to ...
43250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43251 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43252 to ...
43253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43254 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43255 to ...
43256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43257 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43258 to ...
43259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43260 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43261 to ...
43262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43263 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43264 to ...
43265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43266 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43267 to ...
43268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43269 Here.
43270 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43271 to ...
43272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43273 Here.
43274 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43275 to ...
43276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43277 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43278 Moved to ...
43279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43280 Here.
43281 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43282 to ...
43283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43284
d128e450
JM
432852012-05-04 Joseph Myers <joseph@codesourcery.com>
43286
fa8ee516
JM
43287 * sysdeps/unix/common/bits/dirent.h: Remove file.
43288 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43289
d128e450
JM
43290 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43291 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43292 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43293 * sysdeps/unix/bsd/isatty.c: Likewise.
43294 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43295 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43296 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43297
ff8faaf0 432982012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43299
62881be4 43300 [BZ #13563]
31dc8730
AZ
43301 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43302 long double comparison inaccuracies.
43303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43305
6fef930c
AS
433062012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43307
43308 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43310
8f203e6c
JM
433112012-05-04 Joseph Myers <joseph@codesourcery.com>
43312
43313 [BZ #14049]
43314 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43315 nonzero digits before rounding a hex value.
43316 * stdlib/tst-strtod.c (tests): Add another test.
43317
5197d9c2
AK
433182012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43319
43320 * sysdeps/s390/fpu/libm-test-ulps: Update.
43321
f0c1dedf
AJ
433222012-05-03 Andreas Jaeger <aj@suse.de>
43323
43324 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43325 does not get optimized out.
43326 (malloc_opt_barrier): New.
43327
a65ef2ae 433282012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43329 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43330
2b942cb7 43331 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43332 intermediate file deletion.
2b942cb7 43333 (generated): Add .symlist files.
a65ef2ae 43334
54b71e02
JM
433352012-05-03 Joseph Myers <joseph@codesourcery.com>
43336
43337 [BZ #13775]
43338 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43339 Redirect under this condition.
43340 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43341 [__USE_GNU] (__dprintf_chk): Not under this condition.
43342 [__USE_GNU] (__vdprintf_chk): Likewise.
43343 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43344 under this condition.
43345 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43346 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43347 [__USE_XOPEN2K8] (vdprintf): Likewise.
43348 [__USE_GNU] (__dprintf_chk): Not under this condition.
43349 [__USE_GNU] (__vdprintf_chk): Likewise.
43350 [__USE_GNU] (dprintf): Likewise.
43351 [__USE_GNU] (vdprintf): Likewise.
43352
d3dfcc41
RM
433532012-05-03 Roland McGrath <roland@hack.frob.com>
43354
43355 * elf/Makefile (common-generated): Set this instead of generated for
43356 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43357 $(all-built-dso)-derived lists.
43358
7ac30cc5
AJ
433592012-05-03 Andreas Jaeger <aj@suse.de>
43360
0c51e550
AJ
43361 * sysdeps/i386/fpu/libm-test-ulps: Update.
43362
7ac30cc5
AJ
43363 * FAQ: Removed.
43364 * FAQ.in: Likewise.
43365 * scripts/gen-FAQ.pl: Likewise.
43366 * manual/install.texi (Installation): Point to online location of
43367 FAQ.
43368 * Makefile (files-for-dist): Remove FAQ.
43369 (FAQ): Remove.
43370
d4c2917f
AM
433712012-05-02 Allan McRae <allan@archlinux.org>
43372
43373 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43374 (LDFLAGS-reldepmod5.so): Likewise.
43375 (LDFLAGS-reldep6mod1.so): Likewise.
43376 (LDFLAGS-reldep6mod4.so): Likewise.
43377 (LDFLAGS-reldep8mod3.so): Likewise.
43378 (LDFLAGS-unload4mod1.so): Likewise.
43379 (LDFLAGS-unload4mod2.so): Likewise.
43380 (LDFLAGS-tst-initorder): Likewise.
43381 (LDFLAGS-tst-initordera2.so): Likewise.
43382 (LDFLAGS-tst-initordera3.so): Likewise.
43383 (LDFLAGS-tst-initordera4.so): Likewise.
43384 (LDFLAGS-tst-initorderb2.so): Likewise.
43385 (LDFLAGS-noload): Likewise.
43386 (LDFLAGS-next): Likewise.
43387 (LDFLAGS-order2mod1.so): Likewise.
43388 (LDFLAGS-order2mod2.so): Likewise.
43389 (LDFLAGS-tst-initorder2): Likewise.
43390 (LDFLAGS-tst-initorder2a.so): Likewise.
43391 (LDFLAGS-tst-initorder2b.so): Likewise.
43392 (LDFLAGS-tst-initorder2c.so): Likewise.
43393 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43394
d77f993f
DM
433952012-05-02 David S. Miller <davem@davemloft.net>
43396
43397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43398
171a70b4
PP
433992012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43400
43401 [BZ #14055]
43402 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43403
0be196ad
AJ
434042012-05-02 Andreas Jaeger <aj@suse.de>
43405
43406 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43407 since we manipulate rounding mode.
43408 (CPPFLAGS-test-idouble.c): Likewise.
43409 (CPPFLAGS-test-ifloat.c): Likewise.
43410 (CFLAGS-test-ldouble.c): Likewise.
43411 (CFLAGS-test-double.c): Likewise.
43412 (CFLAGS-test-float.c): Likewise.
43413 (CFLAGS-test-misc.c): Likewise.
43414 (CFLAGS-test-test-fenv.c): Likewise.
43415
4f9d04aa
AZ
434162012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43417
2b942cb7
RM
43418 [BZ #2550]
43419 [BZ #2570]
43420 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43421 comparisons to determine direction to adjust input.
4f9d04aa 43422
82a79e7d
RM
434232012-05-01 Roland McGrath <roland@hack.frob.com>
43424
f5a01ca9
RM
43425 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43426 output to the target.
43427
90fe4186
RM
43428 * scripts/localplt.awk: New file.
43429 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43430 (check-localplt-CFLAGS): Variable removed.
43431 ($(all-built-dso:=.jmprel)): New static pattern rule.
43432 (generated): Add those targets.
43433 (localplt-built-dso): New variable.
43434 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43435
43436 * elf/check-localplt.c: File removed.
43437
82397ed6
RM
43438 * scripts/check-execstack.awk: New file.
43439 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43440 (check-execstack-CFLAGS): Variable removed.
43441 ($(objpfx)check-execstack.h): Target removed.
43442 ($(objpfx)execstack-default): New target.
43443 (generated): Add that instead of check-execstack.h.
43444 ($(all-built-dso:=.phdr)): New static pattern rule.
43445 (generated): Add those targets.
43446 * elf/check-execstack.c: File removed.
43447
82a79e7d
RM
43448 * scripts/check-textrel.awk: New file.
43449 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43450 (check-textrel-CFLAGS): Variable removed.
43451 (all-built-dso): Use := to define.o
43452 ($(all-built-dso:=.dyn)): New static pattern rule.
43453 (generated): Add those targets.
43454 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43455 * config.make.in (READELF): New substituted variable.
43456 * elf/check-textrel.c: File removed.
43457
62fde54f 434582012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43459
615605c9
JM
43460 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43461 allow.
43462 * conform/data/ctype.h-data [C99-based standards] (isblank):
43463 Expect function.
43464 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43465 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43467 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43468 Specify type. Require positive value.
43469 (EILSEQ): Likewise.
43470 (ERANGE): Likewise.
43471 [ISO || POSIX] (EILSEQ): Do not expect.
43472 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43473 Specify type. Require positive value.
43474 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43475 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43476 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43477 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43478 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43479 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43480 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43481 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43482 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43483 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43484 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43485 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43486 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43487 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43488 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43489 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43490 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43491 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43492 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43493 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43494 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43495 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43496 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43497 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43498 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43499 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43500 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43501 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43502 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43503 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43504 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43505 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43506 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43507 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43508 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43509 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43510 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43511 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43512 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43513 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43514 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43515 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43516 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43517 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43518 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43519 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43520 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43521 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43522 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43523 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43524 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43525 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43526 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43527 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43528 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43529 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43530 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43531 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43532 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43533 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43534 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43535 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43536 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43537 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43538 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43539 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43540 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43541 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43542 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43543 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43544 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43545 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43546 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43547 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43548 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43549 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43550 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43551 Require >= 2.
43552 (FLT_ROUNDS): Expect as macro, not constant.
43553 (FLT_MANT_DIG): Use macro-int-constant.
43554 (DBL_MANT_DIG): Likewise.
43555 (LDBL_MANT_DIG): Likewise.
43556 (FLT_DIG): Likewise.
43557 (DBL_DIG): Likewise.
43558 (LDBL_DIG): Likewise.
43559 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43560 (DBL_MIN_EXP): Likewise.
43561 (LDBL_MIN_EXP): Likewise.
43562 (FLT_MAX_EXP): Use macro-int-constant.
43563 (DBL_MAX_EXP): Likewise.
43564 (LDBL_MAX_EXP): Likewise.
43565 (FLT_MAX_10_EXP): Likewise.
43566 (DBL_MAX_10_EXP): Likewise.
43567 (LDBL_MAX_10_EXP): Likewise.
43568 (FLT_MAX): Use macro-constant.
43569 (DBL_MAX): Likewise.
43570 (LDBL_MAX): Likewise.
43571 (FLT_EPSILON): Use macro-constant. Give upper bound.
43572 (DBL_EPSILON): Likewise.
43573 (LDBL_EPSILON): Likewise.
43574 (FLT_MIN): Likewise.
43575 (DBL_MIN): Likewise.
43576 (LDBL_MIN): Likewise.
43577 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43578 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43579 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43580 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43581 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43582 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43583 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43584 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43585 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43586 [ISO11] (FLT_TRUE_MIN): Likewise.
43587 [ISO11] (LDBL_TRUE_MIN): Likewise.
43588 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43589 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43590 (SCHAR_MIN): Use macro-int-constant. Specify type.
43591 (SCHAR_MAX): Likewise.
43592 (UCHAR_MAX): Likewise.
43593 (CHAR_MIN): Likewise.
43594 (CHAR_MAX): Likewise.
43595 (MB_LEN_MAX): Use macro-int-constant.
43596 (SHRT_MIN): Use macro-int-constant. Specify type.
43597 (SHRT_MAX): Likewise.
43598 (USHRT_MAX): Likewise.
43599 (INT_MAX): Likewise.
43600 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43601 bound negative.
43602 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43603 bound with "U".
43604 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43605 bound with "L".
43606 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43607 bound negative. Suffix upper bound with "L".
43608 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43609 bound with "UL".
43610 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43611 Specify type.
43612 [C99-based standards] (LLONG_MAX): Likewise.
43613 [C99-based standards] (ULLONG_MAX): Likewise.
43614 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43615 == 0.
43616 [ISO11] (max_align_t): Require type.
43617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43618
c9140a62
JM
43619 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43620 from $CFLAGS, without defining away __attribute__ calls.
43621 (checknamespace): Use $CFLAGS_namespace.
43622
9af0bf29
JM
43623 * conform/conformtest.pl (@keywords): Only include C99 keywords
43624 for standards based on C99 or C11.
43625
343222a2
JM
43626 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43627 Disable tests.
43628 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43629 UNIX98]: Likewise.
43630
661f8cf0
JM
43631 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43632 usability of symbols in #if.
43633
ee74b9cb
JM
43634 * conform/conformtest.pl: If macro or constant types start
43635 "promoted:", expect the symbol to be of the following type
43636 promoted by the integer promotions.
62fde54f 43637
aafc49b3
JM
43638 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43639 in one place. Also handle "macro-constant".
43640
fefdf574
JM
43641 * conform/conformtest.pl: Only accept expected macro values with
43642 "==". Parse all "macro" lines in one place.
43643 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43644
f2d922fe
JM
43645 * conform/conformtest.pl: Handle braced types on "constant" lines
43646 instead of handling "typed-constant".
43647 * conform/data/signal.h-data: Use "constant" instead of
43648 "typed-constant".
43649
d22956c9
JM
43650 * conform/conformtest.pl: Handle "optional-" at start of lines in
43651 one place rather than duplicating several cases. Handle each
43652 format of "macro" line with initial "optional-".
43653
028e2e38
JM
43654 * conform/conformtest.pl: Only accept expected constant or
43655 optional-constant values with "==". Parse all "constant" lines in
43656 one place. Parse all "optional-constant" lines in one place.
43657 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43658 * conform/data/fmtmsg.h-data: Likewise.
43659 * conform/data/netinet/in.h-data: Likewise.
43660 * conform/data/tar.h-data: Likewise.
43661 * conform/data/limits.h-data: Use "==" form on "constant" and
43662 "optional-constant" lines.
43663
1b8f2850
JM
43664 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43665 Use -std=c99 for XOPEN2K.
43666 (@knownproblems): Remove.
43667 (newtoken): Don't check %isknown.
43668
a05a144b
JM
43669 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43670 Do not expect macro.
43671 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43672 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43673 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43674 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43675 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43676 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43677 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43678 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43679 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43680 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43681 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43682 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43683 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43684 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43685 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43686 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43687 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43688 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43689 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43690 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43691 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43692 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43693 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43694 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43695 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43696 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43697 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43698 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43699 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43700 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43701 [XPG3] (acosh): Likewise.
43702 [XPG3] (asinh): Likewise.
43703 [XPG3] (atanh): Likewise.
43704 [XPG3] (cbrt): Likewise.
43705 [XPG3] (expm1): Likewise.
43706 [XPG3] (ilogb): Likewise.
43707 [XPG3] (log1p): Likewise.
43708 [XPG3] (logb): Likewise.
43709 [XPG3] (nextafter): Likewise.
43710 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43711 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43712 [XPG3] (remainder): Likewise.
43713 [XPG3] (rint): Likewise.
43714 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43715 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43716 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43717 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43718 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43719 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43720 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43721 [UNIX98 || XOPEN2K] (scalb): Expect.
43722 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43723 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43724 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43725 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43726 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43727 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43728 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43729 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43730 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43731 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43732 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43733 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43734 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43735 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43736 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43737 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43738 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43739 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43740 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43741 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43742 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43743 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43744 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43745 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43746 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43747 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43748 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43749 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43750 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43751 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43752 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43753 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43754 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43755 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43756 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43757 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43758 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43759 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43760 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43761 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43762 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43763 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43764 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43765 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43766 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43767 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43768 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43769 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43770 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43771 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43772 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43773 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43774 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43775 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43776 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43777 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43778 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43779 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43780 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43781 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43782 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43783 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43784 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43785 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43786 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43787 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43788 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43789 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43790 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43791 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43792 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43793 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43794 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43795 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43796 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43797 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43798 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43799 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43800 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43801 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43802 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43803 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43804 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43805 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43806 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43807 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43808 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43809 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43810 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43811 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43812 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43813 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43814 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43815 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43816 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43817 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43818 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43819 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43820 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43821 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43822 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43823 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43824 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43825 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43826 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43827 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43828 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43829 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43830 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43831 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43832 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43833 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43834 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43835 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43836 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43837 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43838 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43839 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43840 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43841 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43842 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43843 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43844 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43845 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43846 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43847 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43848 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43849 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43850 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43851 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43852 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43853 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43854 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43855 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43856 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43857 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43858 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43859
73c5ebe3
JM
43860 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43861 _XOPEN_SOURCE_EXTENDED for XPG4.
43862
39c33b6c
JM
43863 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43864
62fde54f
JM
43865 * Makeconfig (localtime): Remove variable.
43866 (inst_localtime-file): Likewise.
43867
0741d64c
AS
438682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43869
43870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43871 Update.
43872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43873 Update.
43874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43875 Update.
43876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43877 Update.
43878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43879 Update.
43880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43881 Update.
43882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43883 Update.
43884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43885 Update.
43886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43887 Update.
43888
7cb029ee
JM
438892012-05-01 Joseph Myers <joseph@codesourcery.com>
43890
43891 [BZ #2550]
43892 [BZ #2570]
43893 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43894 comparisons to determine direction to adjust input.
43895 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43896 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43897 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43898 Likewise.
43899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43900 Likewise.
43901 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43902 Likewise.
43903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43905 Likewise.
43906 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43907 Likewise.
43908 * math/libm-test.inc (nexttoward_test): Add more tests.
43909
412bd966
AS
439102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43911
43912 [BZ #14040]
43913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43914 in version GLIBC_2.1, not GLIBC_2.0.
43915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43916 Likewise.
43917
9568c0c2
JM
439182012-04-30 Joseph Myers <joseph@codesourcery.com>
43919
adfbc8ac
JM
43920 [BZ #13942]
43921 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43922 (1 - x) * (1 + x).
43923 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43924 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43925 * math/libm-test.inc (acos_test): Add more tests.
43926 (asin_test): Likewise.
43927 * sysdeps/i386/fpu/libm-test-ulps: Update.
43928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43929
5ba3cc69
JM
43930 [BZ #14034]
43931 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43932 of square root.
43933 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43934 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43935 * math/libm-test.inc (acos_test_tonearest): New function.
43936 (acos_test_towardzero): Likewise.
43937 (acos_test_downward): Likewise.
43938 (acos_test_upward): Likewise.
43939 (asin_test_tonearest): Likewise.
43940 (asin_test_towardzero): Likewise.
43941 (asin_test_downward): Likewise.
43942 (asin_test_upward): Likewise.
43943 (main): Call the new functions.
43944 * sysdeps/i386/fpu/libm-test-ulps: Update.
43945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43946
9568c0c2
JM
43947 [BZ #13884]
43948 [BZ #13924]
43949 * math/e_exp10.c: Include <float.h>.
43950 (__ieee754_exp10): Handle underflow here rather than multiplying
43951 large negative argument by M_LN10.
43952 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43953 of __ieee754_expf.
43954 * math/e_exp10l.c: Include <float.h>.
43955 (__ieee754_exp10l): Handle underflow here rather than multiplying
43956 large negative argument by M_LN10l.
43957 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43958 spurious overflow exception on underflow.
43959
5ac3ea17
MP
439602012-04-29 Marek Polacek <polacek@redhat.com>
43961
43962 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43963 (__fortify_function): New macro.
43964 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43965 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43966 __extern_always_inline.
43967 * libio/bits/stdio2.h: Likewise.
43968 * libio/bits/stdio.h: Likewise.
43969 * string/string.h: Likewise.
43970 * string/bits/string3.h: Likewise.
43971 * include/stdio.h: Likewise.
43972 * stdlib/bits/stdlib.h: Likewise.
43973 * stdlib/stdlib.h: Likewise.
43974 * rt/bits/mqueue2.h: Likewise.
43975 * rt/mqueue.h: Likewise.
43976 * posix/bits/unistd.h: Likewise.
43977 * posix/unistd.h: Likewise.
43978 * io/bits/poll2.h: Likewise.
43979 * io/bits/fcntl2.h: Likewise.
43980 * io/fcntl.h: Likewise.
43981 * io/sys/poll.h: Likewise.
43982 * misc/bits/syslog.h: Likewise.
43983 * misc/bits/syslog-ldbl.h: Likewise.
43984 * misc/sys/syslog.h: Likewise.
43985 * socket/bits/socket2.h: Likewise.
43986 * socket/sys/socket.h: Likewise.
43987 * debug/tst-chk1.c: Likewise.
43988 * wcsmbs/bits/wchar2.h: Likewise.
43989 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43990 * wcsmbs/wchar.h: Likewise.
43991
ecf0ebfb
AJ
439922012-04-29 Andreas Jaeger <aj@suse.de>
43993
43994 * Makerules (tests): Remove enable-check-abi protection.
43995 (check-abi-warn): Remove.
43996 (check-abi-%): Remove check-abi-warn usage.
43997
43998 * configure.in: Remove check-abi configure option.
43999 * configure: Regenerated.
44000 * config.make.in (enable-check-abi): Remove.
44001
6d5c57fa
AS
440022012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44003
24c5d07e 44004 [BZ #14033]
ded5180a
AS
44005 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44006 double functions to double *_finite functions.
44007
7e0d315d
AS
44008 [BZ #13941]
44009 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44010 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44011 LDBL_MIN_EXP.
44012 * stdio-common/Makefile (tests): Add tst-sprintf3.
44013 * stdio-common/tst-sprintf3.c: New file.
44014
6d5c57fa
AS
44015 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44016 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44017
0749ff8b
JM
440182012-04-28 Joseph Myers <joseph@codesourcery.com>
44019
44020 * conform/conformtest.pl: Remove duplicate typed-constant
44021 handling.
44022
8dbd5d7b
DM
440232012-04-28 David S. Miller <davem@davemloft.net>
44024
44025 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44026 (check-abi-%): Remove AWK script prerequisite and explicit
44027 abilist directory.
44028 (check-abi): Rewrite to just diff the symlist with the abilist.
44029 (config-tls, config-abi-config): Delete, no longer used.
44030 (update-abi-%): Remove AWK script and explicit abilist directory.
44031 (update-abi): Rewrite to simply compare and conditionally copy the
44032 symlist and the sysdep abilist file. Remove update-abi-config
44033 checks.
44034 * abilist/ld.abilist: Remove.
44035 * abilist/libBrokenLocale.abilist: Remove.
44036 * abilist/libanl.abilist: Remove.
44037 * abilist/libcrypt.abilist: Remove.
44038 * abilist/libdl.abilist: Remove.
44039 * abilist/librt.abilist: Remove.
44040 * abilist/libthread_db.abilist: Remove.
44041 * abilist/libutil.abilist: Remove.
44042 * scripts/extract-abilist.awk: Remove.
44043 * scripts/merge-abilist.awk: Remove.
44044 * sysdeps/generic/libcidn.abilist: New file.
44045 * sysdeps/generic/libnss_compat.abilist: New file.
44046 * sysdeps/generic/libnss_db.abilist: New file.
44047 * sysdeps/generic/libnss_dns.abilist: New file.
44048 * sysdeps/generic/libnss_files.abilist: New file.
44049 * sysdeps/generic/libnss_hesiod.abilist: New file.
44050 * sysdeps/generic/libnss_nis.abilist: New file.
44051 * sysdeps/generic/libnss_nisplus.abilist: New file.
44052 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44053 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44054 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44055 file.
44056 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44057 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44058 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44059 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44060 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44062 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44063 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44064 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44065 file.
44066 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44067 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44068 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44069 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44070 file.
44071 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44072 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44073 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44074 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44075 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44076 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44077 file.
44078 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44079 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44080 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44081 file.
44082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44084 New file.
44085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44086 New file.
44087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44088 New file.
44089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44090 New file.
44091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44092 New file.
44093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44094 New file.
44095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44096 New file.
44097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44098 New file.
44099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44100 New file.
44101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44102 New file.
44103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44104 New file.
44105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44106 New file.
44107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44108 New file.
44109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44110 file.
44111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44112 New file.
44113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44114 New file.
44115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44116 file.
44117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44118 New file.
44119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44120 New file.
44121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44122 file.
44123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44124 New file.
44125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44126 New file.
44127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44128 New file.
44129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44130 New file.
44131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44132 New file.
44133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44134 New file.
44135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44137 file.
44138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44139 New file.
44140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44141 file.
44142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44143 file.
44144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44145 file.
44146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44147 file.
44148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44149 file.
44150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44151 New file.
44152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44153 file.
44154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44155 file.
44156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44157 New file.
44158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44159 file.
44160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44162 file.
44163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44164 New file.
44165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44166 file.
44167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44168 file.
44169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44170 file.
44171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44172 file.
44173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44174 file.
44175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44176 New file.
44177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44178 file.
44179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44180 file.
44181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44182 New file.
44183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44184 file.
44185 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44186 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44187 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44188 file.
44189 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44190 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44191 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44192 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44193 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44194 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44195 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44196 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44197 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44198 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44201 file.
44202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44203 New file.
44204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44205 file.
44206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44207 file.
44208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44209 file.
44210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44211 file.
44212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44213 file.
44214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44215 New file.
44216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44217 New file.
44218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44219 file.
44220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44221 New file.
44222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44223 file.
44224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44226 file.
44227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44228 New file.
44229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44230 file.
44231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44232 file.
44233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44234 file.
44235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44236 file.
44237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44238 file.
44239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44240 New file.
44241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44242 New file.
44243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44244 file.
44245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44246 New file.
44247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44248 file.
44249
41d73a1b
JM
442502012-04-28 Joseph Myers <joseph@codesourcery.com>
44251
44252 * conform/conformtest.pl: Fix typo in handling typed-constant from
44253 allow-header.
44254
28aeeda4
JM
442552012-04-27 Joseph Myers <joseph@codesourcery.com>
44256
adae8f5e
JM
44257 * README: Cut down references to pre-2.6 Linux kernels and
44258 Linuxthreads. Update lists of configurations in libc and ports
44259 and sort alphabetically. Say "or newer" with Linux kernel version
44260 requirements.
44261
28aeeda4
JM
44262 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44263
a462cb63
RA
442642012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44265
44266 [BZ #887]
44267 * math/libm-test.inc (logb_test_downward): New test to expose
44268 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44269 rounding mode.
44270
6ad3493e
JM
442712012-04-27 Joseph Myers <joseph@codesourcery.com>
44272
44273 [BZ #14027]
44274 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44275 to be done.
44276 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44277 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44278
2ce4f015
JM
442792012-04-26 Joseph Myers <joseph@codesourcery.com>
44280
5aeb141a
JM
44281 * sysdeps/unix/i386/brk.S: Remove file.
44282 * sysdeps/unix/i386/dl-brk.S: Likewise.
44283 * sysdeps/unix/i386/pipe.S: Likewise.
44284 * sysdeps/unix/i386/sigreturn.S: Likewise.
44285 * sysdeps/unix/i386/syscall.S: Likewise.
44286 * sysdeps/unix/i386/vfork.S: Likewise.
44287 * sysdeps/unix/i386/wait.S: Likewise.
44288
7143acae
JM
44289 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44290 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44291
2ce4f015
JM
44292 * configure.in (arm*-none*): Do not allow without
44293 --enable-hacker-mode.
44294 (netbsd*): Remove case setting base_os.
44295 (386bsd*): Likewise.
44296 (freebsd*): Likewise.
44297 (bsdi*): Likewise.
44298 (osf*): Likewise.
44299 (sunos*): Likewise.
44300 (ultrix*): Likewise.
44301 (newsos*): Likewise.
44302 (dynix*): Likewise.
44303 (*bsd*): Likewise.
44304 (sysv*): Likewise.
44305 (isc*): Likewise.
44306 (esix*): Likewise.
44307 (sco*): Likewise.
44308 (minix*): Likewise.
44309 (irix4*): Likewise.
44310 (irix6*): Likewise.
44311 (solaris[2-9]*): Likewise.
44312 (none): Likewise.
44313 * configure: Regenerated.
44314
0ac229c8
AZ
443152012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44316
44317 [BZ #11521]
44318 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44319 overflow or cancellation in calculating denominator.
44320 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44321 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44322 down expression to avoid unexpected rounding in newer GCCs.
44323 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44324
33f244f4
DM
443252012-04-26 David S. Miller <davem@davemloft.net>
44326
44327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44328 long-double compat symbols.
44329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44342
cfa1f3e8
DM
443432012-04-25 David S. Miller <davem@davemloft.net>
44344
44345 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44346 HWCAP_* values only after the memory barriers have been defined.
44347 (atomic_full_barrier): Define.
44348 (atomic_read_barrier): Define.
44349 (atomic_write_barrier): Define.
44350
6e236b92
SP
443512012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44352
44353 * shlib-versions: Add libgcc_s version information.
44354 * sysdeps/generic/libgcc_s.h: Remove.
44355 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44356 libgcc_s.h.
44357 * sysdeps/gnu/unwind-resume.c: Likewise.
44358 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44359
aab39a09
DM
443602012-04-25 David S. Miller <davem@davemloft.net>
44361
44362 * sysdeps/unix/sparc/brk.S: Delete.
44363 * sysdeps/unix/sparc/dl-brk.S: Delete.
44364 * sysdeps/unix/sparc/pipe.S: Delete.
44365 * sysdeps/unix/sparc/sysdep.S: Delete.
44366 * sysdeps/unix/sparc/sysdep.h: Delete.
44367 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44368 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44369 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44370 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44371 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44372 (JUMPTARGET): Remove.
44373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44374 sysdeps/unix/sparc/sysdep.h
44375 (ENTRY, END): Remove.
44376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44377
a3cc4f48
JM
443782012-04-25 Joseph Myers <joseph@codesourcery.com>
44379
2ed8cda2
JM
44380 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44381 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44382 -DIS_IN_build.
44383
35d76d59
JM
44384 * timezone/README: Update upstream location and email address for
44385 tzcode and tzdata.
44386 * timezone/zdump.c: Update from tzcode 2012b.
44387 * timezone/zic.c: Likewise.
44388
a3cc4f48
JM
44389 * configure.in (libc_cv_as_needed): Remove test.
44390 * configure: Regenerated.
44391 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44392 conditional definition.
44393 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44394 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44395 * config.make.in (have-as-needed): Remove variable.
44396
ceab42c3
SP
443972012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44398 Paul Pluzhnikov <ppluzhnikov@google.com>
44399
44400 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44401 strings correctly.
44402
3ce2865f
CLT
444032012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44404
44405 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44406 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44407 * sysdeps/sh/strlen.S: Likewise.
44408
f37e0d68
JM
444092012-04-24 Joseph Myers <joseph@codesourcery.com>
44410
ae186e9a
JM
44411 * sysdeps/unix/fork.S: Remove file.
44412 * sysdeps/unix/i386/fork.S: Likewise.
44413 * sysdeps/unix/sparc/fork.S: Likewise.
44414
b96914af
JM
44415 * sysdeps/unix/system.c: Remove file.
44416 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44417
f37e0d68
JM
44418 * sysdeps/unix/getegid.S: Remove file.
44419 * sysdeps/unix/geteuid.S: Likewise.
44420
87ef29ca
RM
444212012-04-24 Roland McGrath <roland@hack.frob.com>
44422
83bcd236
RM
44423 * scripts/check-localplt.awk: New file.
44424 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44425 of diff.
44426 * scripts/data/localplt-generic.data: Add a comment.
44427
87ef29ca
RM
44428 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44429 NODE when __dir_mkfile failed.
44430 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44431 Reported by Ludovic Courtès <ludo@gnu.org>.
44432
e5a6e567
AJ
444332012-04-24 Andreas Jaeger <aj@suse.de>
44434
44435 * Makerules (common-clean): Also remove gen-as-const-headers
44436 files.
44437
c1820385
JM
444382012-04-24 Joseph Myers <joseph@codesourcery.com>
44439
44440 * Makerules (native-compile): Do not change working directory for
44441 build. Use $(OUTPUT_OPTION) in command.
44442 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44443
94e02fc4
AZ
444442012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44445
44446 [BZ #13886]
44447 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44448 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44449 * math/libm-test.inc (floor_test): Add more tests.
44450 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44451
3a533ca3
JM
444522012-04-24 Joseph Myers <joseph@codesourcery.com>
44453
940ab4b3
JM
44454 * sysdeps/unix/getdents.c: Remove file.
44455 * sysdeps/unix/sysv/getdents.c: Likewise.
44456 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44457
90e037bd
JM
44458 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44459 sysdeps/unix/mman/syscalls.list.
44460 (mmap): Likewise.
44461 (mprotect): Likewise.
44462 (msync): Likewise.
44463 (munmap): Likewise.
44464 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44465 * sysdeps/unix/mman/syscalls.list: Remove.
44466 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44467
3a533ca3
JM
44468 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44469 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44470 * configure: Regenerated.
44471 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44472 $(libgcc_s_suffix).
44473 * config.make.in (libgcc_s_suffix): Remove variable.
44474
1ad743de
JM
444752012-04-23 Joseph Myers <joseph@codesourcery.com>
44476
4ad451e2
JM
44477 * sysdeps/unix/sysv/gethostname.c: Move to ...
44478 * sysdeps/posix/gethostname.c: ... here.
44479
5e37ce39
JM
44480 * sysdeps/unix/execve.S: Remove file.
44481
1ad743de
JM
44482 * sysdeps/unix/_exit.S: Remove file.
44483
4e681b5b
AJ
444842012-04-23 Andreas Jaeger <aj@suse.de>
44485
44486 [BZ #13739]
44487 * manual/Makefile: Remove make dist support, there's no
44488 need for a stand-alone documentation tar ball.
44489 (TEXI2DVI): Define always, it's not in Makeconfig.
44490 (dist): Removed.
44491 (tar-it): Removed.
44492 (edition): Removed.
44493 (glibc-doc-$(edition).tar): Removed
44494 (%.Z): Removed.
44495 (%.gz): Removed.
44496 (%.uu): Removed.
44497 (ETAGS): Remove, it's in Makeconfig.
44498 (move-if-change): Remove, it's in Makeconfig.
44499
38686a03 445002012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44501
44502 [BZ #13970]
44503 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44504 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44505 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44506 (strtod_l, strtof_l, strtold_l): Remove __wur.
44507 It is not necessarily an error to ignore strtol's return value.
44508 One can reliably look at the stored endptr to decide whether
44509 the number had valid syntax.
44510
7c0616fa
AJ
445112012-04-21 Andreas Jaeger <aj@suse.de>
44512
803cb6b7 44513 [BZ #13739]
7c0616fa
AJ
44514 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44515
b0fe253f
JM
445162012-04-21 Joseph Myers <joseph@codesourcery.com>
44517
44518 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44519 * sysdeps/unix/sysv/Versions: Remove file.
44520
8280f22d
MT
445212012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44522
44523 [BZ #13927]
44524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44525
75ce411f 445262012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44527
44528 [BZ #7064]
44529 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44530 version from __vm86.
44531
097d59fa
JM
445322012-04-20 Joseph Myers <joseph@codesourcery.com>
44533
a90f3bcb
JM
44534 * sysdeps/unix/common/lxstat.c: Remove file.
44535 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44536
edc7ea78
JM
44537 * sysdeps/unix/sysv/Makefile: Remove file.
44538
cb78c221
JM
44539 * sysdeps/unix/sysv/direct.h: Remove file.
44540
efa6a45f
JM
44541 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44542 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44543 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44544 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44545 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44546 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44547 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44548
9c9f2d0c
JM
44549 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44550
4541c83b
JM
44551 * sysdeps/unix/xmknod.c: Remove file.
44552 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44553
f5d153a0
JM
44554 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44555
aa746595
JM
44556 * sysdeps/unix/sysv/i386/time.S: Remove file.
44557
cce5905e
JM
44558 * sysdeps/unix/fxstat.c: Remove file.
44559 * sysdeps/unix/xstat.c: Likewise.
44560 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44561
37fa3841
JM
44562 * sysdeps/unix/sysv/sigaction.c: Remove file.
44563
ff1962a3
JM
44564 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44565 (sysdep_headers): Remove variable.
44566 [termio.h not in sysdep_headers] (generated): Likewise.
44567 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44568 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44569 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44570 * sysdeps/unix/sysv/tcflow.c: Likewise.
44571 * sysdeps/unix/sysv/tcflush.c: Likewise.
44572 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44573 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44574 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44575 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44576 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44577
e7740d31
JM
44578 * sysdeps/unix/siglist.c: Remove file.
44579
ee06f18b
JM
44580 * sysdeps/unix/getppid.S: Remove file.
44581
097d59fa
JM
44582 * sysdeps/unix/mkdir.c: Remove file.
44583 * sysdeps/unix/rmdir.c: Likewise.
44584
ff3d51ec
AS
445852012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44586
44587 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44588 ERR_MAX value.
44589 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44590 errlist-compat value.
44591
50f81fd7
DM
445922012-04-18 David S. Miller <davem@davemloft.net>
44593
44594 * sysdeps/generic/memcopy.h (reg_char): Delete.
44595 * debug/strcat_chk.c: Use char, not reg_char.
44596 * debug/strcpy_chk.c: Likewise.
44597 * debug/strncat_chk.c: Likewise.
44598 * debug/strncpy_chk.c: Likewise.
44599 * string/memchr.c: Likewise.
44600 * string/memrchr.c: Likewise.
44601 * string/rawmemchr.c: Likewise.
44602 * string/strcat.c: Likewise.
44603 * string/strchr.c: Likewise.
44604 * string/strchrnul.c: Likewise.
44605 * string/strcmp.c: Likewise.
44606 * string/strcpy.c: Likewise.
44607 * string/strncat.c: Likewise.
44608 * string/strncmp.c: Likewise.
44609 * string/strncpy.c: Likewise.
44610
8ff41c46
WS
446112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44612
44613 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44614 __builtin_memcopy is called when src and dest ranges are known to not
44615 overlap.
44616
6b652f46
WS
446172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44618
44619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44620 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44621 fwd_align_merge macro call.
44622 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44623 bwd_align_merge macro call.
44624 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44625
b282631e
WS
446262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44627
44628 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44629 bwd_align_merge macros.
44630 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44631 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44633
95aa737c
DM
446342012-04-18 David S. Miller <davem@davemloft.net>
44635
44636 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44637
7a99a614
AJ
446382012-04-18 Andreas Jaeger <aj@suse.de>
44639
44640 [BZ# 6794]
44641 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44642 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44643 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44644
44645 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44646 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44647 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44648
44649 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44650 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44651 Adjust for changed ldbl-128 files.
44652
44653 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44654 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44656
e5270c23
DM
446572012-04-17 David S. Miller <davem@davemloft.net>
44658
44659 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44660
fb5e92c9
AS
446612012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44662
44663 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44664 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44665 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44666 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44667 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44668 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44669
76da7265
AZ
446702012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44671
44672 [BZ #6794]
44673 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44674 * math/libm-test.inc: Add ilogb errno and exception tests.
44675 * math/w_ilogb.c: New file: ilogb wrapper.
44676 * math/w_ilogbf.c: New file: ilogbf wrapper.
44677 * math/w_ilogbl.c: New file: ilogbl wrapper.
44678 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44679 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44680 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44681 exception being thrown with 0.0 as argument.
44682 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44683 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44684 exception being thrown with 0.0 as argument.
44685 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44686 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44687 exception being thrown with 0.0 as argument.
44688 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44689 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44690 exception being thrown with 0.0 as argument.
44691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44692 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44694 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44695 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44697 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44698 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44699 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44700
0396e69d
PB
447012012-04-17 Petr Baudis <pasky@ucw.cz>
44702
44703 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44704 with altivec.
44705
750b5926
MP
447062012-04-16 Marek Polacek <polacek@redhat.com>
44707
44708 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44709
751728a1
MP
447102012-04-16 Marek Polacek <polacek@redhat.com>
44711
44712 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44713 operands of fdivp instruction.
44714
34a27407
L
447152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44716
44717 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44718 * elf/tst-auditmod3b.c: Likewise.
44719 * elf/tst-auditmod4b.c: Likewise.
44720 * elf/tst-auditmod5b.c: Likewise.
44721 * elf/tst-auditmod6b.c: Likewise.
44722 * elf/tst-auditmod6c.c: Likewise.
44723 * elf/tst-auditmod7b.c: Likewise.
44724 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44725 * sysdeps/x86_64/preconfigure.in: Likewise.
44726 * sysdeps/x86_64/preconfigure: Regenerated.
44727
7e73e17d
L
447282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44729
44730 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44731 __ILP32__.
44732
c7a6ab72
AB
447332012-04-13 Antoine Balestrat <merkil33@gmail.com>
44734
44735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44736 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44737
a9e8e0e0
CL
447382012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44739
44740 [BZ #13973]
44741 * locale/iso-639.def: Fix gl language name. Spotted by
44742 Yaron Shahrabani.
44743
ec98af7d
RM
447442012-04-12 Roland McGrath <roland@hack.frob.com>
44745
44746 [BZ #2074]
44747 * libio/libio.h (__io_write_fn): Update comment.
44748
247c3ede
PB
447492012-04-12 Petr Baudis <pasky@ucw.cz>
44750
44751 [BZ #2074]
44752 * stdio.texi (Hook Functions): The user provided writer function
44753 is not allowed to return -1.
44754
55939d6d
DM
447552012-04-11 David S. Miller <davem@davemloft.net>
44756
44757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44758
90020f5a
MF
447592012-04-11 Mike Frysinger <vapier@gentoo.org>
44760
44761 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44762 Add a leading slash to rtkaio.
44763
288f9098
JM
447642012-04-11 Jim Meyering <meyering@redhat.com>
44765
90020f5a
MF
44766 [BZ #11959]
44767 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44768 It is not necessarily an error to ignore fwrite's return
44769 value. One can reliably use ferror to test for errors after
44770 the fact.
288f9098 44771
4be2b570
L
447722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44773
44774 * bits/types.h (__snseconds_t): New type.
44775 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44776
44777 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44779 (__SNSECONDS_T_TYPE): Likewise.
44780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44781 (__SNSECONDS_T_TYPE): Likewise.
44782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44783 (__SNSECONDS_T_TYPE): Likewise.
44784
288f9098 447852012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44786
44787 [BZ #2636]
44788 * manual/time.texi (Processor Time): Return type of times is
44789 elapsed real time since an arbitrary point in the past.
44790 (CPU Time): Move CLK_TCK from here...
44791 (Processor Time): ...to here. Correct description.
44792 * manual/conf.texi (Constants for Sysconf): Correct description of
44793 _SC_CLK_TCK.
44794
d7dd4413
DM
447952012-04-10 David S. Miller <davem@davemloft.net>
44796
44797 [BZ #13967]
44798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44799 where the is a gap between DT_REL(A) and DT_JMPREL.
44800
b46068fc
L
448012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44802
44803 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44804 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44805 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44806
73d65cc3
SP
448072012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44808
44809 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44810 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44811 (dl_main): Handle --inhibit-cache.
44812 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44813 _dl_inhibit_cache.
44814 * elf/dl-load.c (_dl_map_object): Use it.
44815 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44816
bcc8d661
JM
448172012-04-09 Joseph Myers <joseph@codesourcery.com>
44818
8f9a2fae
JM
44819 [BZ #13872]
44820 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44821 (__ieee754_powl): Saturate large exponents rather than testing for
44822 overflow of y*log2(x).
44823 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44824 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44825 exceptions.
44826
bcc8d661
JM
44827 [BZ #11521]
44828 * math/s_ctan.c: Include <float.h>.
44829 (__ctan): Avoid internal overflow or cancellation in calculating
44830 denominator.
44831 * math/s_ctanf.c: Likewise.
44832 * math/s_ctanl.c: Likewise.
44833 * math/s_ctanh.c: Likewise.
44834 * math/s_ctanhf.c: Likewise.
44835 * math/s_ctanhl.c: Likewise.
44836 * math/libm-test.inc (ctan_test): Add more tests.
44837 (ctanh_test): Likewise.
44838 * sysdeps/i386/fpu/libm-test-ulps: Update.
44839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44840
823fbbb4
AJ
448412012-04-09 Andreas Jaeger <aj@suse.de>
44842
03879793
AJ
44843 [BZ #6894]
44844 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44845 is an optional BSD extension.
44846
823fbbb4
AJ
44847 [BZ #10254]
44848 * manual/stdio.texi (Opening Streams): Document additional fopen
44849 parameters.
44850
8de131cb
RM
448512012-04-09 Roland McGrath <roland@hack.frob.com>
44852
44853 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44854 %eax without telling the compiler.
44855
c0ed9d7d
CD
448562012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44857
44858 [BZ # 13963]
44859 * manual/install.texi: Use sourceware.org.
44860
c483f6b4
JM
448612012-04-09 Joseph Myers <joseph@codesourcery.com>
44862
d7dd9453
JM
44863 [BZ #13873]
44864 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44865 (__ieee754_pow): Generate overflow and underflow using huge*huge
44866 and tiny*tiny rather than just returning constant infinity or zero
44867 for large exponents.
44868 * math/libm-test.inc (pow_test): Require overflow exceptions for
44869 applicable cases of large exponents.
44870
c483f6b4
JM
44871 [BZ #706]
44872 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44873 (__ieee754_pow): Use iterative multiplication algorithm only for
44874 integer exponents with absolute value below 1024. Check for odd
44875 integer exponents when using algorithm for real exponents.
44876 * math/libm-test.inc (pow_test): Add more tests.
44877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44878
d2de7579
JM
448792012-04-08 Joseph Myers <joseph@codesourcery.com>
44880
44881 [BZ #13705]
44882 * math/libm-test.inc (exp_test): Do not allow overflow exception
44883 on underflow test.
44884
f77f1232
AJ
448852012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44886
44887 [BZ #13705]
44888 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44889 instead of __kernel_standard_f.
44890
3884932b
MF
448912012-04-08 Mike Frysinger <vapier@gentoo.org>
44892
44893 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44894 * sysdeps/x86_64/memset_chk.S: Likewise.
44895
54472e9c
AJ
448962012-04-08 Andreas Jaeger <aj@suse.de>
44897
6ab0fbfc
AJ
44898 [BZ #10153]
44899 * manual/startup.texi (Environment Access): Describe return value
44900 for putenv and setenv.
44901
61efba8c
AJ
44902 [BZ #6895]
44903 * manual/filesys.texi (Directory Entries): Add description for
44904 DT_LNK.
44905
95c3f29a
AJ
44906 [BZ #6890]
44907 * manual/filesys.texi (Directory Entries): Clarify that it's file
44908 system not operating system in the description of DT_UNKNOWN.
44909
54472e9c
AJ
44910 [BZ #6578]
44911 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44912
624254b1
SC
449132012-04-08 Stephen Compall <s11@member.fsf.org>
44914
44915 [BZ #6649]
44916 * manual/llio.texi (Opening and Closing Files): Add cross
44917 reference to explain mode argument.
44918
1e4920e0
MF
449192012-04-07 Mike Frysinger <vapier@gentoo.org>
44920
44921 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44922 * sysdeps/x86_64/memset_chk.S: Likewise.
44923
5ed848f3
DM
449242012-04-07 David S. Miller <davem@davemloft.net>
44925
44926 * elf/elf.h (R_SPARC_WDISP10): Define.
44927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44928 R_SPARC_SIZE32.
44929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44930 R_SPARC_SIZE64 and R_SPARC_H34.
44931
96154cd8
CD
449322012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44933
44934 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44935 conditions and remove no longer applicable assertion.
44936
9904dc47
L
449372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44938
44939 * bits/byteswap.h: Include <features.h>.
44940 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44941 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44942
f8887d0a
L
449432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44944
44945 * bits/byteswap.h (__bswap_16): Removed.
44946 Include <bits/byteswap-16.h> to get __bswap_16.
44947 * sysdeps/i386/bits/byteswap.h: Likewise.
44948 * sysdeps/s390/bits/byteswap.h: Likewise.
44949 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44950 * bits/byteswap-16.h: New file.
44951 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44952 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44953 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44954 * string/Makefile (headers): Add bits/byteswap-16.h.
44955
62470f60
PP
449562012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44957
44958 [BZ #13895]
44959 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44960 extra indirection.
44961 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44962 * nss/tst-nss-static.c: New.
44963
4dad7bab
RM
449642012-04-06 Robert Millan <rmh@gnu.org>
44965
44966 [BZ #6486]
44967 * manual/llio.texi (File Position Primitive): lseek
44968 refers to WHENCE when it really means OFFSET.
44969
e9142a17
AJ
449702012-04-06 Andreas Jaeger <aj@suse.de>
44971
2c040eff
AJ
44972 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44973 strncmp declarations.
44974
e9142a17
AJ
44975 * abilist/libc.abilist: Add __poll and __ppoll.
44976
ff9f1c5f
DM
449772012-04-05 David S. Miller <davem@davemloft.net>
44978
dcd2ae90
DM
44979 * scripts/check-local-headers.sh: Accept a host triplet in the
44980 path matched by the exclude regexp.
44981
993eb054
DM
44982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44983 definition.
44984 * sysdeps/powerpc/powerpc32/dl-machine.h
44985 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44986 * sysdeps/s390/s390-32/dl-machine.h
44987 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44988 * sysdeps/sparc/sparc32/dl-machine.h
44989 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44990 * sysdeps/sparc/sparc64/dl-machine.h
44991 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44992
ff9f1c5f
DM
44993 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44994 lazy binding.
48e2e132 44995 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44996 undefined symbol errors.
44997
48e2e132 44998 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44999 DT_NEEDED entries.
45000
e80d6f94
MM
450012012-04-05 Michael Matz <matz@suse.de>
45002
45003 [BZ #13592]
45004 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45005
349fa79f
AJ
450062012-04-05 Andreas Jaeger <aj@suse.de>
45007
45008 [BZ #13908]
45009 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45010 comment.
45011
f402708f
KK
450122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45013
45014 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45015 which ROUND is no valid rounding mode.
45016
2ecccfc9
KK
450172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45018
45019 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45020 read again.
45021 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45022
8a53f50f
KK
450232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45024
45025 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45026 an exception using FPU order intentionally.
45027
450282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45029
45030 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45031 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45032 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45033 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45034
d653abb7
SJ
450352012-04-05 Simon Josefsson <simon@josefsson.org>
45036
45037 [BZ #12340]
45038 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45039 EINVAL when BUFLEN is too smal.
45040
c3b1bf7d
TS
450412012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45042
45043 [BZ #13553]
45044 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45045 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45046
b1aa60f3
AJ
450472012-04-03 Andreas Jaeger <aj@suse.de>
45048
c3b1bf7d 45049 [BZ #13938]
67f60a26
AJ
45050 * manual/setjmp.texi (System V contexts): Fix sentence.
45051
b1aa60f3
AJ
45052 [BZ #13926]
45053 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45054 New macro for this case.
45055 [!__GNUC__] (__bswap_64): New inline function for this case.
45056 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45057 * bits/byteswap.h: Likewise.
45058 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45059 ull, guard with __GLIBC_HAVE_LONG_LONG.
45060
45061 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45062 __GLIBC_HAVE_LONG_LONG.
45063
45064 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45065 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45066
39c59c35
TMQMF
450672012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45068
45069 [BZ #13691]
45070 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45071 inptr and inend, rather than using last_ch.
45072
135ffda8
DM
450732012-04-02 David S. Miller <davem@davemloft.net>
45074
45075 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45076 * stdio-common/printf-parse.h (read_int): Change return type to
45077 'int', return -1 on INT_MAX overflow.
45078 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45079 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45080 overflows INT_MAX. Check for overflow of in-format-string precision
45081 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45082 SIZE_MAX not INT_MAX for integer overflow test.
45083 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45084 skip the construct in the format string but do not record anything.
45085 * stdio-common/bug22.c: Adjust to test both width/prevision
45086 INT_MAX overflow as well as total length INT_MAX overflow. Check
45087 explicitly for proper errno values.
45088
228c019e
TS
450892012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45090
302cadd3
TS
45091 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45092 CHAR_MAX.
45093 * string/test-strcmp.c [! WIDE]: Likewise.
45094 * time/tst-mktime2.c: Likewise for INT_MAX.
45095 * string/test-string.h: #include <sys/param.h> for MIN.
45096
228c019e
TS
45097 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45098 * sysdeps/i386/init-first.c (init): Likewise.
45099 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45100 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45101 * sysdeps/sh/init-first.c (init): Likewise.
45102
cfa633f5
UD
451032012-04-01 Ulrich Drepper <drepper@gmail.com>
45104
45105 * po/ru.po: Update from translation team.
d1635ef8 45106 * po/vi.po: Likewise.
cfa633f5 45107
6cd0a5ea
SP
451082012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45109
45110 * resolv/nss_dns/dns-host.c: Merge copyright years.
45111
4b43400f
LD
451122012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45113
45114 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45115 Optimize memcpy with prefetch if
45116 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45117 src, dst pointers have unequal 16 byte alignments.
45118
48c41d04
SP
451192012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45120
45121 [BZ #13928]
45122 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45123 from a CNAME entry and return the minimum ttl for the query.
45124 (gaih_getanswer_slice): Likewise.
45125
b8dc394d
JL
451262012-03-30 Jeff Law <law@redhat.com>
45127
45128 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45129 due to long keys.
45130 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45131 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45132
2f5a5ed0
JL
45133 * resolv/nss_dns/dns-host.c: Update copyright year.
45134
1d39e359
UD
451352012-03-30 Ulrich Drepper <drepper@gmail.com>
45136
c030f70c 45137 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45138 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45139
1d39e359
UD
45140 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45141 comments for sendmmsg.
45142
451432012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45144
45145 [BZ #13691]
45146 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45147 with only 1 character between 0x0041 and 0x01b0.
45148 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45149 * wcsmbs/tst-mbsnrtowcs.c: New file.
45150
20fde227
DM
451512012-03-29 David S. Miller <davem@davemloft.net>
45152
45153 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45154 small copies by hand.
45155
984a4237
JL
451562012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45157
45158 [BZ #13761]
57f41c40
AS
45159 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45160 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45161 group memberships.
984a4237 45162
18c9d62b
DM
451632012-03-28 David S. Miller <davem@davemloft.net>
45164
88d85d4f
DM
45165 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45166 that branches into memcpy.
45167 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45170 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45172 bits.
45173 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45174 implementation too.
45175 * sysdeps/sparc/mempcpy.S: New file.
45176
e5aa83e1
DM
45177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45178 the IFUNC routine in the libc case.
45179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45180
88570753
DM
45181 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45182 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45183 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45184 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45185 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45186 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45187 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45188 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45189
249d7567
DM
45190 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45191 loop to 256 bytes instead of 64 bytes and fix test signedness.
45192
18c9d62b
DM
45193 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45194 * sysdeps/sparc/sparc32/Makefile: rather than here...
45195 * sysdeps/sparc/sparc64/Makefile: and here.
45196
05f3d1f6
UD
451972012-03-28 Ulrich Drepper <drepper@gmail.com>
45198
45199 * malloc/mallocbug.c: Avoid warnings about unused variables.
45200
86ae07a8
JL
452012012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45202
45203 [BZ #13760]
45204 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45205 in the right place. Discard and retry query if response is
45206 larger than input buffer size.
45207
41bf21a1
JM
452082012-03-28 Joseph Myers <joseph@codesourcery.com>
45209
d6270972
JM
45210 [BZ #369]
45211 [BZ #2678]
45212 [BZ #3866]
45213 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45214 x for large integer exponent.
45215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45217 sign of result as needed afterwards.
45218 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45219 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45220 result for underflowing pow the same as for overflow.
45221 (__kernel_standard_l): Handle powl overflow and underflow here
45222 rather than calling __kernel_standard.
45223 * math/libm-test.inc (pow_test): Add more tests.
45224
414fca03 45225 [BZ #3868]
41bf21a1
JM
45226 [BZ #13879]
45227 [BZ #13910]
45228 [BZ #13911]
45229 [BZ #13912]
45230 [BZ #13913]
45231 [BZ #13915]
45232 [BZ #13916]
45233 [BZ #13917]
45234 [BZ #13918]
45235 [BZ #13919]
45236 [BZ #13920]
45237 [BZ #13921]
45238 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45239 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45240 (__kernel_standard_l): New function.
45241 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45242 __kernel_standard.
45243 * math/w_acosl.c (__acosl): Likewise.
45244 * math/w_asinl.c (__asinl): Likewise.
45245 * math/w_atan2l.c (__atan2l): Likewise.
45246 * math/w_atanhl.c (__atanhl): Likewise.
45247 * math/w_coshl.c (__coshl): Likewise.
45248 * math/w_exp10l.c (__exp10l): Likewise.
45249 * math/w_exp2l.c (__exp2l): Likewise.
45250 * math/w_fmodl.c (__fmodl): Likewise.
45251 * math/w_hypotl.c (__hypotl): Likewise.
45252 * math/w_j0l.c (__j0l, __y0l): Likewise.
45253 * math/w_j1l.c (__j1l, __y1l): Likewise.
45254 * math/w_jnl.c (__jnl, __ynl): Likewise.
45255 * math/w_lgammal.c (__lgammal): Likewise.
45256 * math/w_log10l.c (__log10l): Likewise.
45257 * math/w_log2l.c (__log2l): Likewise.
45258 * math/w_logl.c (__logl): Likewise.
45259 * math/w_powl.c (__powl): Likewise.
45260 * math/w_remainderl.c (__remainderl): Likewise.
45261 * math/w_scalbl.c (sysv_scalbl): Likewise.
45262 * math/w_sinhl.c (__sinhl): Likewise.
45263 * math/w_sqrtl.c (__sqrtl): Likewise.
45264 * math/w_tgammal.c (__tgammal): Likewise.
45265 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45266 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45267 * math/libm-test.inc (acos_test): Add more tests.
45268 (acosh_test): Likewise.
45269 (asin_test): Likewise.
45270 (atanh_test): Likewise.
45271 (exp_test): Likewise.
45272 (exp10_test): Likewise.
45273 (exp2_test): Likewise.
45274 (expm1_test): Likewise.
45275 (lgamma_test): Likewise.
45276 (log_test): Likewise.
45277 (log10_test): Likewise.
45278 (log1p_test): Likewise.
45279 (log2_test): Likewise.
45280 (pow_test): Do not allow some spurious overflow exceptions.
45281 (sqrt_test): Add more tests.
45282 (tgamma_test): Likewise.
45283 (y0_test): Likewise.
45284 (y1_test): Likewise.
45285 (yn_test): Likewise.
45286
dd62fda6
AB
452872012-03-27 Anton Blanchard <anton@samba.org>
45288
45289 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45290 MAP_HUGETLB.
45291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45292 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45294
1e3cdfda
AJ
452952012-03-27 David S. Miller <davem@davemloft.net>
45296
b855ab85
DM
45297 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45298
1e3cdfda
AJ
45299 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45300 have-as-vis3 check.
45301
453022012-03-27 Andreas Jaeger <aj@suse.de>
45303
45304 * sysdeps/x86_64/elf/configure.in: Moved to ...
45305 * sysdeps/x86_64/configure.in: ... here.
45306 * sysdeps/x86_64/elf/start.S: Moved to ...
45307 * sysdeps/x86_64/start.S: ... here.
45308 * sysdeps/x86_64/elf/configure: Delete.
45309
45310 * sysdeps/x86_64/configure.in: Merge contents from
45311 sysdeps/i386/configure.in (without i686 check).
45312
45313 * sysdeps/i386/elf/Versions: Merge into ...
45314 * sysdeps/i386/Versions: ... this.
45315 * sysdeps/i386/elf/Versions: Delete file.
45316 * sysdeps/i386/elf/start.S: Moved to ...
45317 * sysdeps/i386/start.S: ...here.
45318 * sysdeps/i386/elf/configure.in: Merge into...
45319 * sysdeps/i386/configure.in: ...here.
45320 * sysdeps/i386/elf/configure.in: Delete file.
45321 * sysdeps/i386/elf/configure: Delete file.
45322
45323 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45324 * debug/backtracesyms.c: ... here.
45325 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45326 * debug/backtracesymsfd.c: ... here.
45327 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45328 * sysdeps/generic/ifunc-sel.h: ... here.
45329
45330 * sysdeps/unix/i386/start.c: Delete file.
45331 * sysdeps/unix/sparc/start.c: Delete file.
45332 * sysdeps/unix/start.c: Delete file.
45333
45334 * sysdeps/sh/elf/configure.in: Moved to ...
45335 * sysdeps/sh/configure.in: ... here.
45336 * sysdeps/sh/elf/start.S: Moved to ...
45337 * sysdeps/sh/start.S: ... here.
45338 * sysdeps/sh/elf/configure: Delete file.
45339
45340 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45341 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45342 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45343 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45344 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45345 * sysdeps/powerpc/powerpc64/start.S: here.
45346 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45347 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45348 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45349 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45350 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45351
45352 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45353 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45354 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45355 * sysdeps/powerpc/powerpc32/start.S: ... here.
45356 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45357 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45358 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45359
45360 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45361 * sysdeps/powerpc/ifunc-sel.h: ... here.
45362 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45363 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45364
45365 * sysdeps/sparc/elf/configure.in: Moved to ...
45366 * sysdeps/sparc/configure.in: ... here.
45367 * sysdeps/sparc/elf/configure: Delete file.
45368 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45369 * sysdeps/sparc/sparc32/start.S: ... here.
45370 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45371 * sysdeps/sparc/sparc64/start.S: ... here.
45372 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45373 * sysdeps/sparc/sparc32/Makefile: ... this.
45374 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45375 * sysdeps/sparc/sparc64/Makefile: ... this.
45376
45377 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45378 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45379 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45380 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45381 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45382 * sysdeps/s390/s390-32/setjmp.S: ... here.
45383 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45384 * sysdeps/s390/s390-32/configure.in: ... here.
45385 * sysdeps/s390/s390-32/elf/configure: Delete file.
45386 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45387 * sysdeps/s390/s390-32/start.S: ... here.
45388
45389 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45390 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45391 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45392 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45393 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45394 * sysdeps/s390/s390-64/setjmp.S: ... here.
45395 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45396 * sysdeps/s390/s390-64/configure.in: ... here
45397 * sysdeps/s390/s390-64/elf/configure: Delete file.
45398 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45399 * sysdeps/s390/s390-64/start.S: ... here.
45400 * sysdeps/s390/s390-64/elf/configure: Delete.
45401
45402 * configure.in: Remove support for elf directories in sysdeps.
45403
45404 * configure: Regenerated.
45405 * sysdeps/i386/configure: Regenerated.
45406 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45407 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45408 * sysdeps/s390/s390-32/configure: Regenerated.
45409 * sysdeps/s390/s390-64/configure: Regenerated.
45410 * sysdeps/sh/configure: Regenerated.
45411 * sysdeps/sparc/configure: Regenerated.
45412 * sysdeps/x86_64/configure: Regenerated.
45413
a3f61311
AS
454142012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45415
c876e002
AS
45416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45417
a3f61311
AS
45418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45419 denormal result into account.
45420
ac4c54f0
RM
454212012-03-25 Roland McGrath <roland@hack.frob.com>
45422
45423 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45424 Reported by Allan McRae <allan@archlinux.org>.
45425
6a9b9c02
JL
454262012-03-23 Jeff Law <law@redhat.com>
45427
45428 * nss/getnssent.c (__nss_getent): Fix typo.
45429
4c42a0c1
DM
454302012-03-23 David S. Miller <davem@davemloft.net>
45431
45432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45433
1532c7ac
L
454342012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45435
45436 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45437 to pad to uint64_t for each field.
45438 (dl_tls_index): Replace unsigned long with uint64_t.
45439
3ff42526
PP
454402012-03-23 Daniel Jacobowitz <dmj@google.com>
45441 Paul Pluzhnikov <ppluzhnikov@google.com>
45442
45443 [BZ #6528]
45444 * grp/Makefile (otherlibs): Don't set it.
45445 * inet/Makefile (otherlibs): Likewise.
45446 * login/Makefile (otherlibs): Likewise.
45447 * nscd/Makefile (otherlibs): Likewise.
45448 * posix/Makefile (otherlibs): Likewise.
45449 * pwd/Makefile (otherlibs): Likewise.
45450 * rt/Makefile (otherlibs): Likewise.
45451 * sunrpc/Makefile (otherlibs): Likewise.
45452 * nss/Makefile (otherlibs): Likewise.
45453 Add libnss_files to routines and static-only-routines.
45454 ($(objpfx)getent): Remove rule.
45455 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45456 static-only-routines.
45457
7c69cd14
JM
454582012-03-22 Joseph Myers <joseph@codesourcery.com>
45459
45460 [BZ #13892]
45461 * math/s_cexp.c: Include <float.h>.
45462 (__cexp): Handle exp result overflowing not necessarily
45463 overflowing both real and imaginary parts of result.
45464 * math/s_cexpf.c: Likewise.
45465 * math/s_cexpl.c: Likewise.
45466 * math/libm-test.inc (cexp_test): Add more tests.
45467 * sysdeps/i386/fpu/libm-test-ulps: Update.
45468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45469
81b035fe
L
454702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45471
45472 * include/link.h (ELFW): New macro.
45473 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45474 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45475
1da7940c
L
454762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45477
45478 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45479 with uint64_t.
45480
b749dbb9
L
454812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45482
45483 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45484 declaration.
45485 (struct La_x32_retval): Likewise.
45486
2ff87f3f
L
454872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45488
45489 * sysdeps/x86_64/preconfigure.in: New file.
45490 * sysdeps/x86_64/preconfigure: New generated file.
45491
c0df8e69
JM
454922012-03-22 Joseph Myers <joseph@codesourcery.com>
45493
48e44791
JM
45494 [BZ #13824]
45495 * math/e_exp2l.c: Include <float.h>.
45496 (__ieee754_exp2l): Handle overflow and underflow cases
45497 separately. Only pass fractional part of argument to
45498 __ieee754_expl.
45499 * math/libm-test.inc (exp2_test): Add more tests.
45500
c0df8e69
JM
45501 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45502 negating x to take absolute value.
45503 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45504 Likewise.
45505 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45506 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45507 Likewise.
45508 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45509 computing low part if x was negated.
45510 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45511
c8e43ba7
L
455122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45513
45514 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45515 la_x32_gnu_pltexit.
45516 (pltexit): Cast int_retval to ptrdiff_t.
45517 * elf/tst-auditmod3b.c: Likewise.
45518 * elf/tst-auditmod4b.c: Likewise.
45519 * elf/tst-auditmod5b.c: Likewise.
45520 * elf/tst-auditmod6b.c: Likewise.
45521 * elf/tst-auditmod6c.c: Likewise.
45522 * elf/tst-auditmod7b.c: Likewise.
45523
45524 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45525 and x32_gnu_pltexit.
45526
45527 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45528 __ELF_NATIVE_CLASS.
45529 (La_x32_regs): New macro.
45530 (La_x32_retval): Likewise.
45531 (la_x32_gnu_pltenter): New function prototype.
45532 (la_x32_gnu_pltexit): Likewise.
45533
7998fa78
AS
455342012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45535
dcb33988
AS
45536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45537 exponent.
45538
233fc563
AS
45539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45540
7998fa78
AS
45541 * configure.in (libc_cv_cc_nofma): Check for option to disable
45542 generation of FMA instructions.
45543 * configure: Regenerate.
45544 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45545 * sysdeps/ieee754/dbl-64/Makefile: New file.
45546 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45547 Remove brandred-fma4.
45548 (CFLAGS-brandred-fma4.c): Remove.
45549 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45550 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45551 define.
45552 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45553 define.
45554
8e95c99a
L
455552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45556
45557 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45558 LLONG_MAX != LONG_MAX.
45559 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45560 (_fitoa_word): Likewise.
45561 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45562 LLONG_MAX != LONG_MAX.
45563 * stdio-common/_itowa.h: Include <_itoa.h>.
45564 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45565 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45566 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45567 only if not defined.
45568 (_ITOA_WORD_TYPE): Likewise.
45569 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45570 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45571
6f4db457
DM
455722012-03-21 David S. Miller <davem@davemloft.net>
45573
45574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45575
7785fe5a
L
455762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45577
45578 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45579 of x86_64 when setting libc_cv_slibdir, libdir and
45580 libc_cv_localedir.
45581 * sysdeps/unix/sysv/linux/configure: Regenerated.
45582
4535cd55
JM
455832012-03-21 Joseph Myers <joseph@codesourcery.com>
45584
45585 * manual/lang.texi (Old Varargs): Remove section.
45586 (How Variadic): Update menu.
45587 (va_start): Do not mention varargs.h.
45588
17228132
TS
455892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45590 Joseph Myers <joseph@codesourcery.com>
45591
45592 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45593 link test.
45594 * configure: Regenerated.
45595
8149f976
TS
455962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45597
05f3d1f6
UD
45598 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45599 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45600 conformtest.pl
8149f976 45601
1a4ac776
JM
456022012-03-21 Joseph Myers <joseph@codesourcery.com>
45603
be22ce65
JM
45604 * NOTES: Remove.
45605 * Makefile (files-for-dist): Remove NOTES.
45606 (NOTES): Remove rule.
45607 * README: Don't refer to NOTES.
45608 * manual/creature.texi: Don't include macros.texi.
45609 * manual/intro.texi (creature.texi): Remove comment referring to
45610 NOTES.
45611
40b601fb
JM
45612 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45613 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45614 * configure: Regenerated.
45615 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45616 LIBC_TRY_CC_OPTION.
45617 (libc_cv_as_i686): Likewise.
45618 (libc_cv_cc_avx): Likewise.
45619 (libc_cv_cc_sse2avx): Likewise.
45620 (libc_cv_cc_fma4): Likewise.
45621 (libc_cv_cc_novzeroupper): Likewise.
45622 * sysdeps/i386/configure: Regenerated.
45623
1a4ac776
JM
45624 [BZ #13883]
45625 * sysdeps/i386/fpu/s_cexp.S: Remove.
45626 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45627 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45628 * math/libm-test.inc (cexp_test): Add more tests.
45629 * sysdeps/i386/fpu/libm-test-ulps: Update.
45630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45631
a458e7fe
AM
456322012-03-21 Allan McRae <allan@archlinux.org>
45633
45634 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45635
0cb7efc5
JM
456362012-03-21 Joseph Myers <joseph@codesourcery.com>
45637
45638 [BZ #13871]
45639 * math/w_exp2.c: Do not include <float.h>.
45640 (o_threshold, u_threshold): Remove.
45641 (__exp2): Calculate result before checking finiteness and calling
45642 __kernel_standard.
45643 * math/w_exp2f.c: Likewise.
45644 * math/w_exp2l.c: Likewise.
45645 * math/libm-test.inc (exp2_test): Require overflow exception for
45646 1e6 input.
2460d3aa
JM
45647
45648 [BZ #3866]
45649 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45650 range of signed 64-bit integers before using fistpll. Remove
45651 checks for whether integers fit in mantissa bits.
45652 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45653 the range of signed 32-bit integers before using fistpl. Remove
45654 checks for whether integers fit in mantissa bits.
45655 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45656 (__ieee754_powl): Test for y outside the range of signed 64-bit
45657 integers before using fistpll. Reduce 64-bit values to 63-bit
45658 ones as needed.
45659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45660 divide-by-zero is raised for zero to large negative powers.
45661 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45662 (__ieee754_powl): Test for y outside the range of signed 64-bit
45663 integers before using fistpll. Reduce 64-bit values to 63-bit
45664 ones as needed.
45665 * math/libm-test.inc (pow_test): Add more tests.
45666
eb96ffb0
L
456672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45668
45669 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45670 <stdio-common/_itoa.h>.
45671 * debug/segfault.c: Likewise.
45672 * elf/dl-cache.c: Likewise.
45673 * elf/dl-minimal.c: Likewise.
45674 * elf/dl-misc.c: Likewise.
45675 * elf/dl-sysdep.c: Likewise.
45676 * elf/dl-version.c: Likewise.
45677 * elf/rtld.c: Likewise.
45678 * hurd/hurdsock.c: Likewise.
45679 * hurd/lookup-retry.c: Likewise.
45680 * malloc/malloc.c: Likewise.
45681 * malloc/mtrace.c: Likewise.
45682 * nscd/nscd_getgr_r.c: Likewise.
45683 * nscd/nscd_getpw_r.c: Likewise.
45684 * nscd/nscd_getserv_r.c: Likewise.
45685 * posix/getopt_init.c: Likewise.
45686 * posix/wordexp.c: Likewise.
45687 * stdio-common/_itoa.c: Likewise.
45688 * stdio-common/printf_fphex.c: Likewise.
45689 * stdio-common/vfprintf.c: Likewise.
45690 * string/_strerror.c: Likewise.
45691 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45692 * sysdeps/i386/i686/hp-timing.h: Likewise.
45693 * sysdeps/mach/_strerror.c: Likewise.
45694 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45695 * sysdeps/mach/hurd/sethostid.c: Likewise.
45696 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45697 * sysdeps/mach/xpg-strerror.c: Likewise.
45698 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45699 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45700 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45701 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45702 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45703 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45704 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45705 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45706 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45707 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45708 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45709 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45710 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45711 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45712 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45713 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45714 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45715 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45716 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45717 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45718 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45719
45720 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45721
45722 * stdio-common/_itoa.h: Moved to ...
45723 * sysdeps/generic/_itoa.h: Here.
45724
45725 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45726
45727 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45728 instead of "_itoa.h" and "_itowa.h".
45729 * stdio-common/vfprintf.: Likewise.
45730
d1af992d
L
457312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45732
45733 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45734 <bits/wordsize.h>.
45735 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45736 (__signbit): Likwise.
45737 (llrintf): Likwise.
45738 (llrint): Likwise.
45739
114883e0
L
457402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45741
45742 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45743 __WORDSIZE != 64.
45744
c135cc1b
JM
457452012-03-20 Joseph Myers <joseph@codesourcery.com>
45746
45747 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45748 OVERFLOW_EXCEPTION_OK.
45749 * math/libm-test.inc ("Philosophy"): Update comment about
45750 exception testing.
45751 (OVERFLOW_EXCEPTION): Define.
45752 (OVERFLOW_EXCEPTION_OK): Likewise.
45753 (INVALID_EXCEPTION_OK): Renumber.
45754 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45755 (IGNORE_ZERO_INF_SIGN): Likewise.
45756 (test_exceptions): Handle FE_OVERFLOW.
45757 (exp10_test): Expect overflow exceptions.
45758 (exp2_test): Likewise.
45759 (expm1_test): Likewise.
45760 (nextafter_test): Likewise.
45761 (pow_test): Likewise.
45762 (scalbn_test): Likewise.
45763 (scalbln_test): Likewise.
45764
95443d88
L
457652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45766
45767 * sysdeps/x86_64/bits/atomic.h
45768 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45769 64bit integer.
45770 (atomic_exchange_acq): Likewise.
45771 (__arch_exchange_and_add_body): Likewise.
45772 (__arch_add_body): Likewise.
45773 (atomic_add_negative): Likewise.
45774 (atomic_add_zero): Likewise.
45775
490df6c4
L
457762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45777
c2722551 45778 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45779 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45780
5e52b189
L
457812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45782
45783 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45784 Check __x86_64__ instead of __WORDSIZE.
45785
a9879d4c
L
457862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45787
45788 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45789
5df98260
DM
457902012-03-19 David S. Miller <davem@davemloft.net>
45791
e1497744
DM
45792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45793
5df98260
DM
45794 * sysdeps/sparc/fpu/fenv_private.h: New file.
45795 * sysdeps/sparc/fpu/math_private.h: Use it.
45796 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45797 Remove.
57f41c40 45798 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45799 (libc_feholdexcept_setroundl): Remove.
45800 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45801 Remove.
45802 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45803 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45804
b4c35121
L
458052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45806
45807 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45808 int64_t instead of long int.
45809 (INSERT_WORDS64): Likwise.
45810
56965fd7
L
458112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45812
45813 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45814 _Unwind_GetCFA return to _Unwind_Ptr first.
45815
83d1aec8
JM
458162012-03-19 Joseph Myers <joseph@codesourcery.com>
45817
1897ad44
JM
45818 [BZ #13629]
45819 * math/s_clog.c: Include <float.h>.
45820 (__clog): Scale large or subnormal inputs.
45821 * math/s_clogf.c: Likewise.
45822 * math/s_clogl.c: Likewise.
45823 * math/s_clog10.c: Include <float.h>.
45824 (M_LOG10_2): Define.
45825 (__clog10): Scale large or subnormal inputs.
45826 * math/s_clog10f.c: Likewise.
45827 * math/s_clog10l.c: Likewise.
45828 * math/libm-test.inc (clog_test): Add more tests.
45829 (clog10_test): Likewise.
45830 * sysdeps/i386/fpu/libm-test-ulps: Update.
45831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45832
7726d6a9
JM
45833 [BZ #11451]
45834 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45835 x and y.
45836 * math/libm-test.inc (atan2_test): Add another test.
45837
83d1aec8
JM
45838 * Makerules (common-objdir-compile): Remove.
45839 * sysdeps/unix/Makefile (config-generated): Do not add
45840 $(unix-generated) to variable.
45841 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45842 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45843 Remove rule.
45844 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45845 Likewise.
45846 [generic bits/local_lim.h] (before-compile): Do not append to
45847 variable.
45848 [generic bits/local_lim.h] (common-generated): Likewise.
45849 [generic sys/param.h] (before-compile): Do not append to variable.
45850 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45851 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45852 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45853 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45854 include.
45855 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45856 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45857 [generic sys/param.h] ($(addprefix
45858 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45859 [generic sys/param.h] (common-generated): Do not append to
45860 variable.
45861 [generic sys/param.h] (sysdep_headers): Likewise.
45862 [generic bits/errno.h] (before-compile): Do not append to
45863 variable.
45864 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45865 rule.
45866 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45867 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45868 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45869 [generic bits/errno.h] (common-generated): Do not append to
45870 variable.
45871 [generic bits/ioctls.h] (before-compile): Do not append to
45872 variable.
45873 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45874 rule.
45875 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45876 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45877 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45878 rule.
45879 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45880 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45881 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45882 [generic bits/ioctls.h] (common-generated): Do not append to
45883 variable.
45884 [generic sys/syscall.h] (syscall.h): Remove variable.
45885 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45886 rule.
45887 [generic sys/syscall.h] (before-compile): Do not append to
45888 variable.
45889 [generic sys/syscall.h] (common-generated): Likewise.
45890 * sysdeps/unix/errnos-tmpl.c: Remove file.
45891 * sysdeps/unix/errnos.awk: Likewise.
45892 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45893 * sysdeps/unix/ioctls.awk: Likewise.
45894 * sysdeps/unix/mk-local_lim.c: Likewise.
45895 * sysdeps/unix/snarf-ioctls: Likewise.
45896
4851a949
RH
458972012-03-19 Richard Henderson <rth@twiddle.net>
45898
bd37f2ee
RH
45899 * sysdeps/i386/fpu/fenv_private.h: New file.
45900 * sysdeps/i386/fpu/math_private.h: Use it.
45901 (math_opt_barrier, math_force_eval): Remove.
45902 (libc_feholdexcept_setround_53bit): Remove.
45903 (libc_feupdateenv_53bit): Remove.
45904 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45905 (math_opt_barrier, math_force_eval): Remove.
45906 (libc_feholdexcept): Remove.
45907 (libc_feholdexcept_setround): Remove.
45908 (libc_fetestexcept, libc_fesetenv): Remove.
45909 (libc_feupdateenv_test): Remove.
45910 (libc_feupdateenv, libc_feholdsetround): Remove.
45911 (libc_feresetround): Remove.
45912
d0adc922
RH
45913 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45914 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45915
0fe0f1f8
RH
45916 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45917 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45918 (libc_feupdateenv_testl): New.
45919 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45920 (libc_feupdateenv_testf): New.
45921 (libc_feupdateenv): Use libc_feupdateenv_test.
45922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45924
eb92c487
RH
45925 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45926 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45927 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45928 (libc_feresetround_noex): New.
45929 (libc_feresetround_noexf): New.
45930 (libc_feresetround_noexl): New.
45931 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45932 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45933 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45934 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45935 SET_RESTORE_ROUND.
45936 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45937 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45938 (__cos): Likewise.
45939 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45940 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45941 SET_RESTORE_ROUND_NOEX.
45942 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45943 SET_RESTORE_ROUND_NOEXF.
45944 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45945 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45946 (libc_feholdsetroundf): New.
45947 (libc_feresetround, libc_feresetroundf): New.
45948
7d2e8012
RH
45949 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45950 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45951 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45952
b4dabbb4
RH
45953 * sysdeps/generic/math_private.h: Include <fenv.h>.
45954 (default_libc_feholdexcept): New.
45955 (default_libc_feholdexcept_setround): New.
45956 (default_libc_fesetenv, default_libc_feupdateenv): New.
45957 (libc_feholdexcept): Only define if undefined.
45958 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45959 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45960 (libc_feholdexcept_setroundl): Likewise.
45961 (libc_feholdexcept_setround_53bit): Likewise.
45962 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45963 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45964 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45965 (libc_feupdateenv_53bit): Likewise.
45966 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45967 (libc_feholdexcept): Convert from macro to inline function.
45968 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45969 (libc_fesetenv, libc_feupdateenv): Likewise.
45970
4851a949
RH
45971 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45972 not previously defined.
45973 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45974 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45975 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45976 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45977 * sysdeps/ieee754/flt-32/math_private.h: New file.
45978 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45979 math_private.h below SET_FLOAT_WORD.
45980 (__isnan, __isinf_ns, __finite): Remove.
45981 (__isnanf, __isinf_nsf, __finitef): Remove.
45982
e79d442e
AS
459832012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45984
45985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45986
90b80344
DM
459872012-03-17 David S. Miller <davem@davemloft.net>
45988
45989 [BZ #6471]
45990 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45991 for 2.16.
45992
edc21804
DM
459932012-03-16 David S. Miller <davem@davemloft.net>
45994
77e927af
DM
45995 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45996 warnings.
45997
374976dd
DM
45998 [BZ #6471]
45999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46000 properly.
46001 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46002 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46003 sysdep_routines when subdir is sysvipc.
46004 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46005 __getshmlba helper.
46006
edc21804
DM
46007 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46008
473c3ef3
L
460092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46010
46011 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46012 [__LP64__].
46013
eb0f39b6
L
460142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46015
46016 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46017 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46018 (__lround): Renamed to ...
46019 (__llround): This. Replace long int with long long int.
46020 Define lround functions as aliases of llround functions.
46021 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46022
6b6cd74b
L
460232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46024
46025 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46026 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46027 adresses to uintptr_t. Replace "long int" and "unsigned long
46028 int" with "greg_t" on va_arg.
46029
f1a77b01
L
460302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46031
46032 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46033 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46034
46035 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46036 Move e_machine check before EI_CLASS check. Handle x32
46037 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46038 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46039 SKIP_EM_IA_64 and include
46040 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46041
46042 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46043 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46044 (add_system_dir): New macro.
46045
46046 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46047 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46048
11b90b9f
JM
460492012-03-16 Joseph Myers <joseph@codesourcery.com>
46050
c36e1d23
JM
46051 [BZ #2551]
46052 [BZ #2552]
46053 [BZ #2553]
46054 [BZ #2554]
46055 [BZ #2562]
46056 [BZ #2563]
46057 [BZ #2565]
46058 [BZ #2566]
46059 [BZ #2576]
46060 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46061 (y0): Likewise.
46062 * math/w_j0f.c (j0f): Likewise.
46063 (y0f): Likewise.
46064 * math/w_j0l.c (__j0l): Likewise.
46065 (__y0l): Likewise.
46066 * math/w_j1.c (j1): Likewise.
46067 (y1): Likewise.
46068 * math/w_j1f.c (j1f): Likewise.
46069 (y1f): Likewise.
46070 * math/w_j1l.c (__j1l): Likewise.
46071 (__y1l): Likewise.
46072 * math/w_jn.c (jn): Likewise.
46073 (yn): Likewise.
46074 * math/w_jnf.c (jnf): Likewise.
46075 (ynf): Likewise.
46076 * math/w_jnl.c (__jnl): Likewise.
46077 (__ynl): Likewise.
46078 * math/libm-test.inc (j0_test): Add more tests.
46079 (j1_test): Likewise.
46080 (jn_test): Likewise. Add trailing semicolon to existing test.
46081 (y0_test): Likewise.
46082 (y1_test): Likewise.
46083 * sysdeps/i386/fpu/libm-test-ulps: Update.
46084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46085
11b90b9f
JM
46086 [BZ #13851]
46087 [BZ #13854]
46088 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46089 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46090 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46091 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46092 (__tanl): Set errno for infinite argument.
46093 * sysdeps/i386/fpu/mptan.c: Remove.
46094 * sysdeps/i386/fpu/s_tan.S: Likewise.
46095 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46096 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46097 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46098 * math/libm-test.inc (tan_test): Add more tests and enable more
46099 tests for double and long double.
46100 * sysdeps/i386/fpu/libm-test-ulps: Update.
46101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46102
6a1bd2a1
JK
461032012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46104
46105 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46106 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46107
10a803e0
RM
461082012-03-16 Roland McGrath <roland@hack.frob.com>
46109
46110 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46111 * configure.in: Use it for both main tree and add-ons.
46112 * configure: Regenerated.
46113
f196c7f7
L
461142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46115
46116 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46117
8848d99d
JM
461182012-03-16 Joseph Myers <joseph@codesourcery.com>
46119
96cbe7f4
JM
46120 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46121 in comment.
46122
8848d99d
JM
46123 [BZ #13851]
46124 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46125 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46126 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46129 infinite argument.
46130 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46132 != 0 for prec == 2.
46133 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46134 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46135 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46136 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46137 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46138 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46139 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46140 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46141 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46142 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46143 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46144 * math/libm-test.inc (cos_test): Add more tests and enable more
46145 tests for long double.
46146 (sin_test): Likewise.
46147 (sincos_test): Likewise.
46148 * sysdeps/i386/fpu/libm-test-ulps: Update.
46149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46150
dd7f4703
DM
461512012-03-16 David S. Miller <davem@davemloft.net>
46152
46153 * sysdeps/sparc/fpu/math_private.h: New file.
46154
006f1daa
DM
461552012-03-15 David S. Miller <davem@davemloft.net>
46156
c0c83bc8
DM
46157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46158 file.
e6a62e18 46159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46161 file.
e6a62e18
DM
46162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46168 sysdep routines.
46169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46170
88cb87d9
DM
46171 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46172 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46173
006f1daa 46174 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46176 sparc-ifunc.h
006f1daa 46177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46179 Likewise.
46180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46181 Likewise.
006f1daa
DM
46182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46186 Likewise.
006f1daa
DM
46187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46192 Likewise.
46193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46194 Likewise.
006f1daa
DM
46195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46218 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46219
11e0098e
AS
462202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46221
46222 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46223 scaling.
46224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46225
e85b09d0
AJ
462262012-03-15 Andreas Jaeger <aj@suse.de>
46227
46228 [BZ #13852]
46229 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46230 ieee754/flt-32 implementation for sin, cos and sincos.
46231 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46232 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46233 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46234 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46235 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46236 ieee754/flt-32 implementation for tan.
46237
46238 * math/libm-test.inc (cos_test): Enable some large input tests for
46239 float as well
46240 (sin_test): Likewise.
46241 (sincos_test): Likewise.
46242 (tan_test): Add tests for large input.
46243
46244 * sysdeps/i386/fpu/libm-test-ulps: Update.
46245
81c64153
AJ
462462012-03-15 Andreas Jaeger <aj@suse.de>
46247
46248 [BZ #13658]
46249 * math/libm-test.inc (cos_test): Add more test cases.
46250 (sin_test): Likewise.
46251 (sincos_test): Likewise.
46252
7bbfa5c6
AJ
462532012-03-15 Andreas Jaeger <aj@suse.de>
46254
46255 [BZ #13837]
46256 * math/libm-test.inc (cos_test): Add a test case for large input
46257 value.
46258 (sin_test): Likewise.
46259 (sincos_test): Likewise.
46260
57f41c40
AS
462612012-03-15 Andreas Jaeger <aj@suse.de>
46262 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46263
46264 [BZ #13658]
0671f479 46265 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46266 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46267 * sysdeps/i386/fpu/branred.c: Likewise.
46268 * sysdeps/i386/fpu/dosincos.c: Likewise.
46269 * sysdeps/i386/fpu/mpa.c: Likewise.
46270 * sysdeps/i386/fpu/s_cos.S: Likewise.
46271 * sysdeps/i386/fpu/s_sin.S: Likewise.
46272 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46273 * sysdeps/i386/fpu/sincos32.c: Likewise.
46274
46275 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46276 Define.
46277 (libc_feupdateenv_53bit): Define.
46278 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46279 Define.
46280 (libc_feupdateenv_53bit): Define.
46281
46282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46283 53 bit (without extend i386 double precision).
46284
46285 * math/libm-test.inc (sincos_test): Add tests for large input.
46286 (sin): Likewise.
46287 (cos): Likewise.
46288
46289 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46290
9cad04ea
AS
462912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46292
46293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46294
f7062b9a
DM
462952012-03-15 David S. Miller <davem@davemloft.net>
46296
46297 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46298 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46299 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46300 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46313 file.
f7062b9a 46314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46316 file.
f7062b9a 46317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46319 file.
f7062b9a 46320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46322 file.
f7062b9a
DM
46323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46325 fmin/fmax sysdep routines.
46326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46327
7bd951ff
DM
463282012-03-14 David S. Miller <davem@davemloft.net>
46329
559398ab
DM
46330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46337 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46353 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46359 routines.
46360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46361 file.
559398ab 46362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46364 file.
559398ab 46365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46367 file.
559398ab 46368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46370 file.
559398ab 46371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46373 file.
559398ab 46374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46376 file.
46377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46378 file.
46379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46380 file.
46381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46382 file.
46383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46384 New file.
46385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46386 file.
46387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46388 file.
559398ab 46389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46391 file.
559398ab 46392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46394 file.
559398ab 46395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46397 file.
559398ab 46398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46400 VIS3 routines.
559398ab
DM
46401
46402 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46403 New file.
46404
5a1c1e32
DM
46405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46406
eae47a36
DM
46407 * sysdeps/sparc/configure.in: New file.
46408 * sysdeps/sparc/configure: Generate.
46409 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46410 * configure: Regenerate.
46411 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46412 * config.make.in (have-as-vis3): New.
46413 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46414 available use -Av9d instead of -Av9a.
46415 * sysdeps/sparc/sparc64/Makefile: Likewise.
46416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46418 New file.
46419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46420 file.
46421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46422 New file.
46423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46424 file.
eae47a36
DM
46425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46429 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46430
c0c83bc8
DM
46431 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46432 fzeros/fnegs to load 0x80000000 into a float register instead of
46433 using the stack.
7bd951ff
DM
46434 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46435
bd951ccb
JM
464362012-03-14 Joseph Myers <joseph@codesourcery.com>
46437
46438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46439 bits/syscall.h.
46440 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46441 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46442 ($(inst_includedir)/bits/syscall.h): Remove rule.
46443 ($(objpfx)bits/syscall.d): Include instead of
46444 $(objpfx)syscall-list.d.
46445 (generated): Change syscall-list.h and syscall-list.d to
46446 bits/syscall.h and bits/syscall.d.
46447
bb4e6db2
RM
464482012-03-14 Roland McGrath <roland@hack.frob.com>
46449
46450 [BZ #13846]
46451 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46452
aa4a2ae1
JM
464532012-03-14 Joseph Myers <joseph@codesourcery.com>
46454
e456826d
JM
46455 [BZ #13841]
46456 * math/s_csqrt.c: Include <float.h>.
46457 (__csqrt): Scale large or subnormal inputs.
46458 * math/s_csqrtf.c: Likewise.
46459 * math/s_csqrtl.c: Likewise.
46460 * math/libm-test.inc (csqrt_test): Add more tests.
46461 * sysdeps/i386/fpu/libm-test-ulps: Update.
46462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46463
aa4a2ae1
JM
46464 [BZ #13840]
46465 * math/libm-test.inc (hypot_test): Add more tests.
46466
7c10fd35
DM
464672012-03-13 David S. Miller <davem@davemloft.net>
46468
46469 [BZ #13840]
46470 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46471 double-precision for the calculation instead of scaling.
46472
f453b98b
JM
464732012-03-13 Joseph Myers <joseph@codesourcery.com>
46474
46475 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46476 manipulate bits before adding and subtracting TWO52[sx].
46477 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46478 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46479 Likewise.
46480 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46481
09a3453f
DM
464822012-03-13 David S. Miller <davem@davemloft.net>
46483
8e59da90
DM
46484 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46485 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46486 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46487 rtld-global-offsets.h
46488 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46489
2a8ab7f2
DM
46490 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46491 large parameters.
46492
10f62770
DM
46493 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46494
5f0bdb18
DM
46495 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46496 'err' in the ifdef scope in which it is actually used.
46497
09a3453f
DM
46498 * nss/nss_db/db-init.c: Include string.h
46499
b4b2eb5e
DM
465002012-03-12 David S. Miller <davem@davemloft.net>
46501
98bb2f1c
DM
46502 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46503 masking out of the most significant byte of random value used.
46504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46505 Fix coding style in previous change.
46506
b4b2eb5e
DM
46507 * sysdeps/unix/sysv/linux/kernel-features.h
46508 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46509 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46510 expression.
46511 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46512 later.
46513
6e226b09
DM
465142012-03-11 David S. Miller <davem@davemloft.net>
46515
a1bcbd40
DM
46516 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46517 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46519 for 'resultvar' otherwise things get truncated on 64-bit.
46520
cb9d6174
DM
46521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46522 Fix masking out of the most significant byte of random value used.
46523
6e226b09
DM
46524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46525
058c132d
AS
465262012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46527
46528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46529
2d2cd515
DM
465302012-03-09 David S. Miller <davem@davemloft.net>
46531
46532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46533 variables with appropriate CPP guards.
57f41c40
AS
46534 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46535 from the frame pointer, not the stack pointer. Correct layout
46536 comments. Fix test on resulting framesize and the management of
46537 the outregs buffer for pltexit. Preserve floating point return
46538 values across _dl_call_pltexit call.
2d2cd515
DM
46539 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46540 framesize and the management of the outregs buffer for pltexit.
46541 Preserve floating point return values across _dl_call_pltexit
46542 call.
57f41c40
AS
46543 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46544 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46545 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46546 (print_exit): Fix format string for return register value.
46547
9a07f9d0
JM
465482012-03-10 Joseph Myers <joseph@codesourcery.com>
46549
46550 * sunrpc/Makefile (others): Add rpcgen.
46551 ($(objpfx)rpcgen): Remove special build rule and dependency on
46552 libc.
46553 * sunrpc/rpcgen.c: New file.
46554
547b5e30
PE
465552012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46556
c524201a
PE
46557 [BZ #13673]
46558 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46559 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46560 * sysdeps/i386/crti.S: Likewise.
46561 * sysdeps/i386/crtn.S: Likewise.
46562 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46563 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46564 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46565 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46566 * sysdeps/sh/crti.S: Likewise.
46567 * sysdeps/sh/crtn.S: Likewise.
46568 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46569
7b6235f2
PE
46570 [BZ #13673]
46571 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46572 with URL.
46573 * locale/programs/locfile-kw.gperf: Likewise.
46574 * locale/programs/charmap-kw.h: Regenerated.
46575 * locale/programs/locfile-kw.h: Likewise.
46576
547b5e30
PE
46577 [BZ #13673]
46578 * intl/plural.y: Replace FSF snail mail address with URL.
46579 * intl/plural.c: Regenerated.
46580
5f0a5dae
RH
465812012-03-09 Richard Henderson <rth@twiddle.net>
46582
46583 * include/math_private.h: Remove file.
46584 * math/math_private.h: Move file ...
46585 * sysdeps/generic/math_private.h: ... here.
46586
b8c03620
RH
46587 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46588 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46589 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46590
4e234f5d 46591 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46592 and <math_private.h>.
46593 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46594 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46595 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46596 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46597 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46598 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46599 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46600 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46601 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46604 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46606 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46608 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46609 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46610 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46611 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46612 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46613 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46617 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46618 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46623 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46625 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46626 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46627 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46630 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46631 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46633 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46634 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46635 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46636 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46637 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46638 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46639 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46640 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46641 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46642 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46643 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46644 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46645 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46647 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46648 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46650 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46651 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46652 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46653 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46654 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46656 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46657 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46658 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46659 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46660 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46661 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46662 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46663 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46664 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46665 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46666 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46667 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46672 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46673 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46674 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46675 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46676 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46677 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46680 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46681 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46682 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46683 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46684 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46686 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46687 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46688 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46689 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46690 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46691 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46692 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46693 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46694 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46695 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46696 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46697 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46698 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46699 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46700 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46701 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46703 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46704 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46705 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46706 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46707 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46708 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46709 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46710 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46712 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46713 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46714 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46715 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46716 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46717 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46718 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46719 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46720 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46721 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46722 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46723 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46724 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46725 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46726 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46727 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46728 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46729 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46730 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46731 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46732 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46733 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46734 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46735 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46736 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46737 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46738 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46739 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46740 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46741 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46742 * sysdeps/ieee754/k_standard.c: Likewise.
46743 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46744 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46745 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46746 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46747 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46748 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46749 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46750 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46751 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46752 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46753 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46754 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46755 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46756 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46757 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46758 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46759 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46760 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46761 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46762 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46763 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46764 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46765 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46766 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46767 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46769 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46770 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46771 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46772 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46773 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46774 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46775 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46776 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46777 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46778 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46779 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46780 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46781 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46782 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46783 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46784 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46785 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46786 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46789 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46790 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46791 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46792 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46793 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46794 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46795 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46796 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46799 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46800 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46801 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46802 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46803 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46804 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46805 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46806 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46807 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46809 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46810 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46811 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46812 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46813 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46815 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46816 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46817 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46819 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46820 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46821 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46822 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46823 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46825 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46826 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46827 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46828 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46829 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46830 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46831 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46832 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46833 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46834 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46835 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46836 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46837 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46840 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46841 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46842 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46844 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46848 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46849 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46850 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46852 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46853 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46854 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46855 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46857 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46858 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46859 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46860 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46861 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46862 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46863 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46864 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46865 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46866 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46867 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46868 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46869 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46870 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46871 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46872 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46873 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46874 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46875 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46876 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46877 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46878 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46879 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46880 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46881 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46882 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46883 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46884 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46885 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46886 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46887 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46888 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46889 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46890 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46891 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46892 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46893 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46894 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46895 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46896 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46897 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46898 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46899 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46900 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46901 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46902 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46903 * sysdeps/ieee754/s_lib_version.c: Likewise.
46904 * sysdeps/ieee754/s_matherr.c: Likewise.
46905 * sysdeps/ieee754/s_signgam.c: Likewise.
46906 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46907 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46908 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46909 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46910 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46911 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46912 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46913 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46914 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46915 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46916 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46917 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46918 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46919 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46920 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46921 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46922 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46923 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46924 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46927
1991fa03
JM
469282012-03-09 Joseph Myers <joseph@codesourcery.com>
46929
46930 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46931 * sunrpc/rpc_main.c: Likewise.
46932 * sunrpc/rpc_svcout.c: Likewise.
46933
60d6f5a6
DM
469342012-03-09 David S. Miller <davem@davemloft.net>
46935
46936 * include/math_private.h: New file.
46937
4962050e
JM
469382012-03-09 Joseph Myers <joseph@codesourcery.com>
46939
02a6f887
JM
46940 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46941 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46942 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46943 from <bits/socket_type.h>.
46944 (enum __socket_type): Don't define here.
46945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46947 bits/socket_type.h.
46948
c6e013c1
JM
46949 [BZ #13566]
46950 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46951 checking __USE_GNU.
46952
4962050e
JM
46953 * Makerules ($(inst_includedir)/%.h): New rule.
46954 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46955 (install-others): Remove variable setting.
46956 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46957
38842f45
RH
469582012-03-08 Richard Henderson <rth@twiddle.net>
46959
67bb6da6
RH
46960 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46961 from macro to inline function; merge with the
46962 !__LIBC_INTERNAL_MATH_INLINES version.
46963 (__ieee754_sqrtf): Likewise.
46964
15194b4b
RH
46965 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46966 to inline function.
46967 (__rintf, __floor, __floorf): Likewise.
46968
64e21ede
RH
46969 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46970 macro to inline function.
46971 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46972
38842f45
RH
46973 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46974 not <math/math_private.h>.
46975
c64bf5fe
DM
469762012-03-08 David S. Miller <davem@davemloft.net>
46977
46978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46979 copyright year.
46980 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46981
82d86f28
TS
469822012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46983
46984 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46985 normalization.
46986 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46987 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46988
aea5d727
UD
469892012-03-08 Ulrich Drepper <drepper@gmail.com>
46990
46991 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46992 be defined individually, they must be defined as a block. Define
46993 S for printing a string instead of hidint the different by using a
46994 macro for adding the 'l'.
46995 * stdio-common/tst-fphex-wide.c: Adjust.
46996
70bca0a3
MP
469972012-03-07 Marek Polacek <polacek@redhat.com>
46998
46999 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47000
65b81130
MP
470012012-03-08 Marek Polacek <polacek@redhat.com>
47002
47003 [BZ #13806]
47004 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47005 * stdio-common/tst-fphex.c: Define a few macros to make the
47006 test reusable. Use them.
47007 * stdio-common/tst-fphex-wide.c: New file.
47008
07037eeb
JM
470092012-03-08 Joseph Myers <joseph@codesourcery.com>
47010
a7a93d50
JM
47011 [BZ #6911]
47012 * manual/macros.texi (gnusystems): New macro.
47013 (nongnusystems): Likewise.
47014 (gnulinuxhurdsystems): Likewise.
47015 (gnuhurdsystems): Likewise..
47016 (gnulinuxsystems): Likewise.
47017 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47018 variants of the GNU system, not "GNU system".
47019 * manual/conf.texi: Likewise.
47020 * manual/errno.texi: Likewise. Update example of errno macro
47021 expansion.
47022 * manual/filesys.texi: Likewise.
47023 (getumask): Document as specific to GNU/Hurd.
47024 * manual/install.texi: Likewise. Reword some references to
47025 GNU/Linux.
47026 * manual/intro.texi: Likewise.
47027 * manual/io.texi: Likewise.
47028 (File Name Portability): Detail which constraints are inapplicable
47029 to all GNU systems and which are only inapplicable to GNU/Hurd.
47030 * manual/job.texi: Likewise.
47031 * manual/llio.texi: Likewise.
47032 (O_NOCTTY): Document as present on GNU/Linux.
47033 * manual/maint.texi: Likewise.
47034 * manual/memory.texi: Likewise.
47035 * manual/pattern.texi: Likewise.
47036 * manual/pipe.texi: Likewise.
47037 * manual/process.texi: Likewise.
47038 * manual/resource.texi: Likewise.
47039 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47040 child on GNU/Hurd.
47041 * manual/setjmp.texi: Likewise.
47042 * manual/signal.texi: Likewise.
47043 * manual/startup.texi: Likewise.
47044 * manual/stdio.texi: Likewise.
47045 * manual/terminal.texi: Likewise.
47046 (ONLCR): Document as POSIX.
47047 (OXTABS): Document availability on GNU/Linux as XTABS.
47048 (ONOEOT): Document availability separately from other bits.
47049 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47050 * manual/time.texi: Likewise.
47051 * manual/users.texi: Likewise.
47052 * INSTALL: Regenerated.
47053 * sysdeps/gnu/errlist.c: Regenerated.
47054
07037eeb
JM
47055 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47056 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47057 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47058 puts.
47059 * configure: Regenerated.
47060
d1d3431a
JM
470612012-03-07 Joseph Myers <joseph@codesourcery.com>
47062
af6a1e37
JM
47063 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47064 default includes instead of AC_HEADER_CHECK.
47065 * sysdeps/i386/configure: Regenerated.
47066
d1d3431a
JM
47067 [BZ #10716]
47068 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47069 * math/s_cacoshf.c (__cacoshf): Likewise.
47070 * math/s_cacoshl.c (__cacoshl): Likewise.
47071 * math/s_casinh.c (__casinh): Set signs of result from argument.
47072 * math/s_casinhf.c (__casinhf): Likewise.
47073 * math/s_casinhl.c (__casinhl): Likewise.
47074 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47075 (casinh_test): Add more tests.
47076 * sysdeps/i386/fpu/libm-test-ulps: Update.
47077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47078
482ff4da
UD
470792012-03-07 Ulrich Drepper <drepper@gmail.com>
47080
872fda05
UD
47081 * po/zh_TW.po: Update from translation team.
47082
a4300c7a
UD
47083 * login/Makefile (distribute): Remove variable.
47084 * catgets/Makefile: Likewise.
47085 * mach/Makefile: Likewise.
47086 * malloc/Makefile: Likewise.
47087 * misc/Makefile: Likewise.
47088 * iconv/Makefile: Likewise.
47089 * nscd/Makefile: Likewise.
47090 * hurd/Makefile: Likewise.
47091 * manual/Makefile: Likewise.
47092 * locale/Makefile: Likewise.
47093 * intl/Makefile: Likewise.
47094 * conform/Makefile: Likewise.
47095 * nss/Makefile: Likewise.
47096 * time/Makefile: Likewise.
47097 * soft-fp/Makefile: Likewise.
47098 * dirent/Makefile: Likewise.
47099 * gmon/Makefile: Likewise.
47100 * po/Makefile: Likewise.
47101 * rt/Makefile: Likewise.
47102 * socket/Makefile: Likewise.
47103 * math/Makefile: Likewise.
47104 * signal/Makefile: Likewise.
47105 * debug/Makefile: Likewise.
47106 * elf/Makefile: Likewise.
47107 * timezone/Makefile: Likewise.
47108 * stdlib/Makefile: Likewise.
47109 * iconvdata/Makefile: Likewise.
47110 * sunrpc/Makefile: Likewise.
47111 * io/Makefile: Likewise.
47112 * argp/Makefile: Likewise.
47113 * inet/Makefile: Likewise.
47114 * hesiod/Makefile: Likewise.
47115 * grp/Makefile: Likewise.
47116 * csu/Makefile: Likewise.
47117 * wctype/Makefile: Likewise.
47118 * crypt/Makefile: Likewise.
47119 * libio/Makefile: Likewise.
47120 * string/Makefile: Likewise.
47121 * nis/Makefile: Likewise.
47122 * resolv/Makefile: Likewise.
47123 * stdio-common/Makefile: Likewise.
47124 * wcsmbs/Makefile: Likewise.
47125 * dlfcn/Makefile: Likewise.
47126 * posix/Makefile: Likewise.
47127
3b7c4e74 47128 [BZ #6959]
482ff4da
UD
47129 * timezone/Makefile: Don't install timezone files, just the programs
47130 and scripts.
47131
f72ed77d
UD
471322012-03-06 Ulrich Drepper <drepper@gmail.com>
47133
a000466f
UD
47134 * nss/databases.def: Add missing gshadow entry.
47135
f72ed77d
UD
47136 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47137
a53b7a4e
MP
471382012-03-06 Marek Polacek <polacek@redhat.com>
47139
47140 [BZ #13726]
47141 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47142 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47143 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47144 * stdio-common/tst-long-dbl-fphex.c: New file.
47145
e9258400
DM
471462012-03-06 David S. Miller <davem@davemloft.net>
47147
47148 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47149 (set_obp_int): New function.
47150 (get_obp_int): New function.
47151 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47152 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47153 Avoid unused variable warnings on 'val' and use builtin_expect.
47154 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47155 __builtin_expect.
e9258400
DM
47156 (INLINE_CLONE_SYSCALL): Likewise.
47157
3bd2c723
DM
471582012-03-05 David S. Miller <davem@davemloft.net>
47159
47160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47161
bbb78d03
AS
471622012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47163
884c5db4
AS
47164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47165
bbb78d03
AS
47166 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47167 only for |x| >= 40.
47168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47169
1c9f702a 471702012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47171
47172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47173 Replace gettimeofday with __vdso_gettimeofday.
47174
7be16f82
RM
47175 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47176 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47177 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47178
47179 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47180 time with __vdso_time.
47181
ed58a00f
JM
471822012-03-05 Joseph Myers <joseph@codesourcery.com>
47183
47184 * manual/lang.texi (size_t): Note types to which size_t may be
47185 equivalent with the GNU C Library, but do not describe when
47186 differences between them are significant.
47187
30ee4ced
AJ
471882012-03-05 Andreas Jaeger <aj@suse.de>
47189
47190 * sysdeps/i386/fpu/libm-test-ulps: Update.
47191
b7cd39e8
JM
471922012-03-05 Joseph Myers <joseph@codesourcery.com>
47193
47194 [BZ #3976]
47195 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47196 (__ieee754_pow): Save and restore rounding mode and use
47197 round-to-nearest for main computations.
47198 * math/libm-test.inc (pow_test_tonearest): New function.
47199 (pow_test_towardzero): Likewise.
47200 (pow_test_downward): Likewise.
47201 (pow_test_upward): Likewise.
47202 (main): Call the new functions.
47203 * sysdeps/i386/fpu/libm-test-ulps: Update.
47204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47205
47206 [BZ #3976]
47207 * math/libm-test.inc (cosh_test_tonearest): New function.
47208 (cosh_test_towardzero): Likewise.
47209 (cosh_test_downward): Likewise.
47210 (cosh_test_upward): Likewise.
47211 (sinh_test_tonearest): Likewise.
47212 (sinh_test_towardzero): Likewise.
47213 (sinh_test_downward): Likewise.
47214 (sinh_test_upward): Likewise.
47215 (main): Call the new functions.
47216 * sysdeps/i386/fpu/libm-test-ulps: Update.
47217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47218
6c6a98c9
TV
472192012-03-05 Tom de Vries <tom@codesourcery.com>
47220
47221 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47222 default stack guard is set in last bytes.
47223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47224
21bb2d2e 472252012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47226
21bb2d2e 47227 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47228
21bb2d2e
AJ
47229 [BZ #13656]
47230 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47231 possibly allocate from heap instead of stack.
47232 * stdio-common/bug-vfprintf-nargs.c: New file.
47233 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47234
c6922934
AS
472352012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47236
47237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47238
bc957d53
MP
472392012-03-03 Marek Polacek <polacek@redhat.com>
47240
47241 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47242 * math/math_private.h: Likewise.
47243 * stdlib/tst-strtod.c: Likewise.
47244 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47245 * sysdeps/x86_64/bits/atomic.h: Likewise.
47246
6358490d
DM
472472012-03-02 David S. Miller <davem@davemloft.net>
47248
47249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47253 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47254 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47255 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47256 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47257
01ae168d
RM
472582012-03-02 Roland McGrath <roland@hack.frob.com>
47259
d9a17c07
RM
47260 [BZ #13792]
47261 * manual/examples/README: New file, says the example source files
47262 can be used under GPL>=2.
47263 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47264 line containing just "*/".
47265 * manual/examples/add.c: Add copyright header (GPL>=2).
47266 * manual/examples/argp-ex1.c: Likewise.
47267 * manual/examples/argp-ex2.c: Likewise.
47268 * manual/examples/argp-ex3.c: Likewise.
47269 * manual/examples/argp-ex4.c: Likewise.
47270 * manual/examples/atexit.c: Likewise.
47271 * manual/examples/db.c: Likewise.
47272 * manual/examples/dir.c: Likewise.
47273 * manual/examples/dir2.c: Likewise.
47274 * manual/examples/execinfo.c: Likewise.
47275 * manual/examples/filecli.c: Likewise.
47276 * manual/examples/filesrv.c: Likewise.
47277 * manual/examples/fmtmsgexpl.c: Likewise.
47278 * manual/examples/genpass.c: Likewise.
47279 * manual/examples/inetcli.c: Likewise.
47280 * manual/examples/inetsrv.c: Likewise.
47281 * manual/examples/isockad.c: Likewise.
47282 * manual/examples/longopt.c: Likewise.
47283 * manual/examples/memopen.c: Likewise.
47284 * manual/examples/memstrm.c: Likewise.
47285 * manual/examples/mkfsock.c: Likewise.
47286 * manual/examples/mkisock.c: Likewise.
47287 * manual/examples/mygetpass.c: Likewise.
47288 * manual/examples/pipe.c: Likewise.
47289 * manual/examples/popen.c: Likewise.
47290 * manual/examples/rprintf.c: Likewise.
47291 * manual/examples/search.c: Likewise.
47292 * manual/examples/select.c: Likewise.
47293 * manual/examples/setjmp.c: Likewise.
47294 * manual/examples/sigh1.c: Likewise.
47295 * manual/examples/sigusr.c: Likewise.
47296 * manual/examples/stpcpy.c: Likewise.
47297 * manual/examples/strdupa.c: Likewise.
47298 * manual/examples/strftim.c: Likewise.
47299 * manual/examples/strncat.c: Likewise.
47300 * manual/examples/subopt.c: Likewise.
47301 * manual/examples/swapcontext.c: Likewise.
47302 * manual/examples/termios.c: Likewise.
47303 * manual/examples/testopt.c: Likewise.
47304 * manual/examples/testpass.c: Likewise.
47305 * manual/examples/timeval_subtract.c: Likewise.
47306
01ae168d
RM
47307 [BZ #13792]
47308 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47309 function to ...
47310 * manual/timeval_subtract.c.texi: ... here, new file.
47311
49efa33d
DM
473122012-03-02 David S. Miller <davem@davemloft.net>
47313
47314 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47315
28afd92d
JM
473162012-03-02 Joseph Myers <joseph@codesourcery.com>
47317
804360ed
JM
47318 [BZ #3976]
47319 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47320 (__sin): Save and restore rounding mode and use round-to-nearest
47321 for all computations.
47322 (__cos): Save and restore rounding mode and use round-to-nearest
47323 for all computations.
47324 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47325 <fenv.h>.
47326 (tan): Save and restore rounding mode and use round-to-nearest for
47327 all computations.
47328 * math/libm-test.inc (cos_test_tonearest): New function.
47329 (cos_test_towardzero): Likewise.
47330 (cos_test_downward): Likewise.
47331 (cos_test_upward): Likewise.
47332 (sin_test_tonearest): Likewise.
47333 (sin_test_towardzero): Likewise.
47334 (sin_test_downward): Likewise.
47335 (sin_test_upward): Likewise.
47336 (tan_test_tonearest): Likewise.
47337 (tan_test_towardzero): Likewise.
47338 (tan_test_downward): Likewise.
47339 (tan_test_upward): Likewise.
47340 (main): Call the new functions.
47341 * sysdeps/i386/fpu/libm-test-ulps: Update.
47342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47343
a6d06d7b
JM
47344 [BZ #10135]
47345 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47346 small n, then large n, before computing and testing k+n.
47347 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47349 Likewise.
47350 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47351 Likewise.
47352 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47353 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47358 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47359 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47360 * math/libm-test.inc (scalbn_test): Add more tests.
47361 (scalbln_test): Likewise.
47362
07e12bb3
JM
47363 * manual/filesys.texi (mode_t): Describe constraints on size and
47364 signedness, not exact equivalence to a particular type.
47365 (ino_t): Likewise.
47366 (ino64_t): Likewise.
47367 (dev_t): Likewise.
47368 (nlink_t): Likewise.
47369 (blkcnt_t): Likewise.
47370 (blkcnt64_t): Likewise.
47371 * manual/llio.texi (off_t): Likewise.
47372
28afd92d
JM
47373 [BZ #3976]
47374 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47375 (__ieee754_exp): Save and restore rounding mode and use
47376 round-to-nearest for all computations.
47377 * math/libm-test.inc (exp_test_tonearest): New function.
47378 (exp_test_towardzero): Likewise.
47379 (exp_test_downward): Likewise.
47380 (exp_test_upward): Likewise.
47381 (main): Call the new functions.
47382 * sysdeps/i386/fpu/libm-test-ulps: Update.
47383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47384
b1eeb65d
CD
473852012-03-01 Chris Demetriou <cgd@google.com>
47386
47387 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47388 have predictable order.
47389
53362a4b
DM
473902012-03-01 David S. Miller <davem@davemloft.net>
47391
3c969083
DM
47392 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47393
759707de
DM
47394 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47395 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47396 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47397 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47398
dfdb8ff2
DM
47399 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47400 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47401 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47403 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47404 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47405 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47406 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47407 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47408
ead89f96
DM
47409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47410
7f66bd07
DM
47411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47412 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47413 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47414
53362a4b
DM
47415 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47416 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47417 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47418 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47419 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47421 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47422 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47423 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47424 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47425 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47428 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47429 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47431 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47432 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47433 * sysdeps/sparc/elf/configure: Regenerated.
47434
7b1902cb
JM
474352012-03-01 Joseph Myers <joseph@codesourcery.com>
47436
bec039bc
JM
47437 * configure.in (AS, LD): Require binutils 2.20 or later.
47438 * configure: Regenerated.
47439 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47440 as required minimum version.
47441 * INSTALL: Regenerated.
47442
7b1902cb
JM
47443 [BZ #2541]
47444 [BZ #4108]
47445 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47446 before squaring exponent.
47447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47448 bottom long double and 27 bits of top long double before squaring
47449 exponent.
47450 * math/libm-test.inc (erfc_test): Add more tests.
47451 * sysdeps/i386/fpu/libm-test-ulps: Update.
47452 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47454
f775c276
KT
474552012-03-01 Kai Tietz <ktietz@redhat.com>
47456
47457 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47458 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47459 containing bit-fields.
47460 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47461 * soft-fp/single.h (_FP_UNION_S): Likewise.
47462 * soft-fp/double.h (_FP_UNION_D): Likewise.
47463
5b8a4d4a
JM
474642012-02-29 Joseph Myers <joseph@codesourcery.com>
47465
0bab47b6
JM
47466 [BZ #13786]
47467 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47468 not include ../strcmp.S.
47469 [USE_AS_STRNCASECMP_L]: Likewise.
47470 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47471 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47472 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47473 (__strncasecmp_l_ia32): Define as alias to
47474 __strncasecmp_l_nonascii.
47475
0fcad3e2
JM
47476 [BZ #5794]
47477 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47478 * sysdeps/i386/fpu/libm-test-ulps: Update.
47479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47480
5b8a4d4a
JM
47481 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47483
8fdceb2e
JL
474842012-02-29 Jeff Law <law@redhat.com>
47485
47486 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47487 out of bounds read.
47488
1f393a11
MP
474892012-02-29 Marek Polacek <polacek@redhat.com>
47490
47491 [BZ #13706]
47492 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47493 * elf/Makefile: Add rules to run tst-unused-dep.out.
47494
8847f037
DM
474952012-02-28 David S. Miller <davem@davemloft.net>
47496
47497 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47498 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47501 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47502 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47503
169d7f11
JM
475042012-02-29 Joseph Myers <joseph@codesourcery.com>
47505
47506 * math/libm-test.inc (llround_test): Move one test from
47507 lround_test. Use TEST_f_L in moved test.
47508 (lround_test): Move misplaced test to llround_test. Add testcase
47509 from bug 2561.
47510
39adf059
UD
475112012-02-28 Ulrich Drepper <drepper@gmail.com>
47512
47513 * sysdeps/x86_64/fpu/e_expf.S: New file.
47514 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47515
71b5d1c5
SB
475162012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47517
47518 [BZ #13637]
47519 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47520 of remain_len that may cause incomplete multi-byte character and
47521 false match.
47522 * posix/bug-regex33.c: New file.
47523 * posix/Makefile (tests): Add bug-regex33.
47524
1f77f049
JM
475252012-02-28 Joseph Myers <joseph@codesourcery.com>
47526
47527 * manual/macros.texi: New file.
47528 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47529 * manual/libc.texinfo: Include macros.texi.
47530 * manual/creatute.texi: Likewise.
47531 * manual/install.texi: Likewise.
47532 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47533 @glibcadj{} in references to the GNU C Library.
47534 * manual/charset.texi: Likewise.
47535 * manual/conf.texi: Likewise.
47536 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47537 when not using those macros.
47538 * manual/creature.texi: Likewise.
47539 * manual/crypt.texi: Likewise.
47540 * manual/errno.texi: Likewise.
47541 * manual/filesys.texi: Likewise.
47542 * manual/header.texi: Likewise.
47543 * manual/install.texi: Likewise.
47544 * manual/intro.texi: Likewise.
47545 * manual/io.texi: Likewise.
47546 * manual/job.texi: Likewise.
47547 * manual/lang.texi: Likewise.
47548 * manual/libc.texiinfo: Likewise.
47549 * manual/llio.texi: Likewise.
47550 * manual/locale.texi: Likewise.
47551 * manual/maint.texi: Likewise.
47552 * manual/math.texi: Likewise.
47553 * manual/memory.texi: Likewise.
47554 * manual/message.texi: Likewise.
47555 * manual/nss.texi: Likewise.
47556 * manual/pattern.texi: Likewise.
47557 * manual/process.texi: Likewise.
47558 * manual/resource.texi: Likewise.
47559 * manual/search.texi: Likewise.
47560 * manual/setjmp.texi: Likewise.
47561 * manual/signal.texi: Likewise.
47562 * manual/socket.texi: Likewise.
47563 * manual/startup.texi: Likewise.
47564 * manual/stdio.texi: Likewise.
47565 * manual/string.texi: Likewise.
47566 * manual/sysinfo.texi: Likewise.
47567 * manual/syslog.texi: Likewise.
47568 * manual/terminal.texi: Likewise.
47569 * manual/time.texi: Likewise.
47570 * manual/users.texi: Likewise.
47571 * INSTALL: Regenerated.
47572 * NOTES: Regenerated.
d40c5d54 47573 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47574
450bf206
AS
475752012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47576
47577 * include/dirent.h: Include <dirstream.h> before
47578 <dirent/dirent.h>.
47579
741a235b
DM
475802012-02-28 David S. Miller <davem@davemloft.net>
47581
47582 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47583 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47584 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47585 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47586
d6b5aa58
DM
475872012-02-27 David S. Miller <davem@davemloft.net>
47588
1aff59a3
DM
47589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47591 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47592 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47593
d6b5aa58
DM
47594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47595 frame pointer instead of stack pointer relative arg slot.
47596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47597 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47598 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47599
433f48bf
CD
476002012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47601
47602 [BZ #3992]
47603 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47604
d674b76d
DM
476052012-02-27 David S. Miller <davem@davemloft.net>
47606
47607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47611 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47612 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47613 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47614 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47615
0e7727f7
JM
476162012-02-27 Joseph Myers <joseph@codesourcery.com>
47617
47618 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47619 later. Allow versions 5-9.
43be4ca2 47620 * configure: Regenerated.
0e7727f7
JM
47621 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47622 required minimum version and 4.6 as recommended version. Do not
47623 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47624 * INSTALL: Regenerated.
0e7727f7 47625
a78bc654
DM
476262012-02-27 David S. Miller <davem@davemloft.net>
47627
428d5830
DM
47628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47632 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47633 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47634 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47635 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47636
a78bc654
DM
47637 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47638 manipulate bits before adding and subtracting TWO112[sx].
47639 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47640
4579f81c
RM
476412012-02-27 Roland McGrath <roland@hack.frob.com>
47642
36c8acb4
RM
47643 [BZ #13775]
47644 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47645 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47646 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47647 being in POSIX, because they are in 1003.1-2008.
47648
84ad622b
RM
47649 * rt/tst-aio.c: Include <fcntl.h>.
47650 * rt/tst-aio7.c: Likewise.
47651 * rt/tst-aio64.c: Likewise.
47652
4579f81c
RM
47653 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47654
abd923db
JM
476552012-02-27 Joseph Myers <joseph@codesourcery.com>
47656
47657 * manual/install.texi (--with-headers): Describe headers as
47658 interface headers, not private headers.
47659 (Specific advice for GNU/Linux systems): Describe use of headers
47660 from "make headers_install", not private headers from older
47661 kernels.
43be4ca2 47662 * INSTALL: Regenerated.
abd923db
JM
47663 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47664 Change to 2.6.19.
47665 * sysdeps/unix/sysv/linux/configure: Regenerated.
47666
6664049b
JM
47667 * manual/llio.texi (fclean): Remove documentation.
47668
bb8b6697
JM
47669 * manual/Makefile (libc-texi-generated): New variable. Include
47670 version.texi.
47671 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47672 $(libc-texi-generated), not duplicated list of files.
47673 (version.texi, stamp-version): New rules.
47674 (realclean): Remove $(libc-texi-generated), not individual files
47675 from that list. Do not remove dir-add.texinfo.
47676 * manual/libc.texinfo: Comment out uses of edition numbers and
47677 references to printed manual. Remove last-updated dates.
47678 (EDITION): Comment out.
47679 (ISBN): Likewise.
47680 (VERSION, UPDATED): Remove.
47681 (version.texi): Include.
47682
12e5c3b9
AS
476832012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47684
47685 * sysdeps/posix/spawni.c: Include <signal.h>.
47686 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47687 * sysdeps/pthread/aio_fsync.c: Likewise.
47688
4efeffc1 476892012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47690
ba63ba08
UD
47691 * conform/Makefile (tests): Run only when not cross-compiling and
47692 when fast-check is not defined.
47693
d94a4670
UD
47694 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47695 * conform/data/limits.h-data: Fixes for POSIX2008.
47696 * conform/run-conformtest.sh: Run all tests.
47697 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47698 headers.
47699 * include/bits/dlfcn.h: Likewise.
47700 * include/langinfo.h: Likewise.
47701 * include/monetary.h: Likewise.
47702 * include/sys/poll.h: Likewise.
47703
47704 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47705 for __USE_GNU.
47706 * posix/spawn.h: Define __need_sigset_t.
47707 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47708 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47709 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47710 to get sigevent_t only.
47711 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47712 only for __USE_GNU.
47713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47714 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47715 process_vm_writev only for __USE_GNU.
47716 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47717
47718 * conform/Makefile: For now ignore errors from run-conformtest.
47719 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47720 POSIX to avoid namespace pollution. Don't prepend headers.
47721 * conform/data/aio.h-data: Fixes for POSIX testing.
47722 * conform/data/fcntl.h-data: Likewise.
47723 * conform/data/glob.h-data: Likewise.
47724 * conform/data/grp.h-data: Likewise.
47725 * conform/data/pthread.h-data: Likewise.
47726 * conform/data/pwd.h-data: Likewise.
47727 * conform/data/signal.h-data: Likewise.
47728 * conform/data/spawn.h-data: Likewise.
47729 * conform/data/stdio.h-data: Likewise.
47730 * conform/data/stdlib.h-data: Likewise.
47731 * conform/data/stropts.h-data: Likewise.
47732 * conform/data/sys/mman.h-data: Likewise.
47733 * conform/data/sys/stat.h-data: Likewise.
47734 * conform/data/sys/types.h-data: Likewise.
47735 * conform/data/sys/wait.h-data: Likewise.
47736 * conform/data/time.h-data: Likewise.
47737 * conform/data/unistd.h-data: Likewise.
47738 * conform/data/utime.h-data: Likewise.
47739
47740 * io/sys/stat.h: fchmod was always in POSIX.
47741 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47742 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47743 * rt/aio.h: Define __need_timespec before including <time.h>.
47744 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47745 struct. Add forward declaration of pthread_attr_t and use it in
47746 sigevent.
47747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47749 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47750 always remove CLK_TCK definition.
47751
c20105c3
AS
477522012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47753
47754 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47755
7a270350
UD
477562012-02-25 Ulrich Drepper <drepper@gmail.com>
47757
31341567
UD
47758 * conform/run-conformtest.sh: New file.
47759 * conform/Makefile: Run run-conformtest for tests.
47760 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47761 support.
47762
47763 * conform/data/uchar.h-data: New file.
47764 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47765 * conform/data/arpa/inet.h-data: Likewise.
47766 * conform/data/assert.h-data: Likewise.
47767 * conform/data/complex.h-data: Likewise.
47768 * conform/data/cpio.h-data: Likewise.
47769 * conform/data/ctype.h-data: Likewise.
47770 * conform/data/dirent.h-data: Likewise.
47771 * conform/data/dlfcn.h-data: Likewise.
47772 * conform/data/errno.h-data: Likewise.
47773 * conform/data/fcntl.h-data: Likewise.
47774 * conform/data/float.h-data: Likewise.
47775 * conform/data/fmtmsg.h-data: Likewise.
47776 * conform/data/fnmatch.h-data: Likewise.
47777 * conform/data/ftw.h-data: Likewise.
47778 * conform/data/glob.h-data: Likewise.
47779 * conform/data/grp.h-data: Likewise.
47780 * conform/data/iconv.h-data: Likewise.
47781 * conform/data/inttypes.h-data: Likewise.
47782 * conform/data/langinfo.h-data: Likewise.
47783 * conform/data/libgen.h-data: Likewise.
47784 * conform/data/limits.h-data: Likewise.
47785 * conform/data/locale.h-data: Likewise.
47786 * conform/data/math.h-data: Likewise.
47787 * conform/data/monetary.h-data: Likewise.
47788 * conform/data/mqueue.h-data: Likewise.
47789 * conform/data/ndbm.h-data: Likewise.
47790 * conform/data/net/if.h-data: Likewise.
47791 * conform/data/netdb.h-data: Likewise.
47792 * conform/data/netinet/in.h-data: Likewise.
47793 * conform/data/nl_types.h-data: Likewise.
47794 * conform/data/poll.h-data: Likewise.
47795 * conform/data/pthread.h-data: Likewise.
47796 * conform/data/pwd.h-data: Likewise.
47797 * conform/data/regex.h-data: Likewise.
47798 * conform/data/sched.h-data: Likewise.
47799 * conform/data/search.h-data: Likewise.
47800 * conform/data/semaphore.h-data: Likewise.
47801 * conform/data/setjmp.h-data: Likewise.
47802 * conform/data/signal.h-data: Likewise.
47803 * conform/data/spawn.h-data: Likewise.
47804 * conform/data/stdarg.h-data: Likewise.
47805 * conform/data/stdio.h-data: Likewise.
47806 * conform/data/stdlib.h-data: Likewise.
47807 * conform/data/string.h-data: Likewise.
47808 * conform/data/strings.h-data: Likewise.
47809 * conform/data/stropts.h-data: Likewise.
47810 * conform/data/sys/ipc.h-data: Likewise.
47811 * conform/data/sys/mman.h-data: Likewise.
47812 * conform/data/sys/msg.h-data: Likewise.
47813 * conform/data/sys/resource.h-data: Likewise.
47814 * conform/data/sys/select.h-data: Likewise.
47815 * conform/data/sys/sem.h-data: Likewise.
47816 * conform/data/sys/shm.h-data: Likewise.
47817 * conform/data/sys/socket.h-data: Likewise.
47818 * conform/data/sys/stat.h-data: Likewise.
47819 * conform/data/sys/statvfs.h-data: Likewise.
47820 * conform/data/sys/time.h-data: Likewise.
47821 * conform/data/sys/timeb.h-data: Likewise.
47822 * conform/data/sys/times.h-data: Likewise.
47823 * conform/data/sys/types.h-data: Likewise.
47824 * conform/data/sys/uio.h-data: Likewise.
47825 * conform/data/sys/un.h-data: Likewise.
47826 * conform/data/sys/utsname.h-data: Likewise.
47827 * conform/data/sys/wait.h-data: Likewise.
47828 * conform/data/syslog.h-data: Likewise.
47829 * conform/data/tar.h-data: Likewise.
47830 * conform/data/termios.h-data: Likewise.
47831 * conform/data/utime.h-data: Likewise.
47832 * conform/data/utmpx.h-data: Likewise.
47833 * conform/data/varargs.h-data: Likewise.
47834 * conform/data/wchar.h-data: Likewise.
47835 * conform/data/wctype.h-data: Likewise.
47836 * conform/data/wordexp.h-data: Likewise.
47837
47838 * include/stropts.h: New file.
47839 * include/uchar.h: New file.
47840 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47841 * include/assert.h: Likewise.
47842 * include/ctype.h: Likewise.
47843 * include/dirent.h: Likewise.
47844 * include/dlfcn.h: Likewise.
47845 * include/fcntl.h: Likewise.
47846 * include/fnmatch.h: Likewise.
47847 * include/glob.h: Likewise.
47848 * include/grp.h: Likewise.
47849 * include/libio.h: Likewise.
47850 * include/locale.h: Likewise.
47851 * include/math.h: Likewise.
47852 * include/net/if.h: Likewise.
47853 * include/netdb.h: Likewise.
47854 * include/netinet/in.h: Likewise.
47855 * include/pthread.h: Likewise.
47856 * include/pwd.h: Likewise.
47857 * include/regex.h: Likewise.
47858 * include/sched.h: Likewise.
47859 * include/search.h: Likewise.
47860 * include/setjmp.h: Likewise.
47861 * include/signal.h: Likewise.
47862 * include/stdio.h: Likewise.
47863 * include/stdlib.h: Likewise.
47864 * include/string.h: Likewise.
47865 * include/sys/cdefs.h: Likewise.
47866 * include/sys/mman.h: Likewise.
47867 * include/sys/msg.h: Likewise.
47868 * include/sys/resource.h: Likewise.
47869 * include/sys/select.h: Likewise.
47870 * include/sys/socket.h: Likewise.
47871 * include/sys/stat.h: Likewise.
47872 * include/sys/statvfs.h: Likewise.
47873 * include/sys/time.h: Likewise.
47874 * include/sys/times.h: Likewise.
47875 * include/sys/uio.h: Likewise.
47876 * include/sys/utsname.h: Likewise.
47877 * include/sys/wait.h: Likewise.
47878 * include/termios.h: Likewise.
47879 * include/time.h: Likewise.
47880 * include/ulimit.h: Likewise.
47881 * include/unistd.h: Likewise.
47882 * include/utime.h: Likewise.
47883 * include/wchar.h: Likewise.
47884 * include/wctype.h: Likewise.
47885 * include/wordexp.h: Likewise.
47886
47887 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47888
7a270350
UD
47889 * time/time.h: TIME_UTC must be a macro.
47890 Make timespec_get available for ISO C11 only as well.
47891
7724defc
UD
478922012-02-24 Ulrich Drepper <drepper@gmail.com>
47893
47894 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47895 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47896
6b1d1d46
JM
478972012-02-24 Joseph Myers <joseph@codesourcery.com>
47898
47899 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47900
0f8bbd69
JM
479012012-02-24 Joseph Myers <joseph@codesourcery.com>
47902
47903 * manual/texinfo.tex: Update to version 2012-01-19.16.
47904
66ab80bc
JM
479052012-02-24 Joseph Myers <joseph@codesourcery.com>
47906
47907 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47908
74981cc5
RM
479092012-02-24 Roland McGrath <roland@hack.frob.com>
47910
ee968201
RM
47911 [BZ #13738]
47912 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47913 * manual/fdl-1.3.texi: New file.
47914 * manual/fdl-1.1.texi: File removed.
47915
74981cc5
RM
47916 [BZ #13738]
47917 * manual/libc.texinfo (FDL_VERSION): New @set.
47918 Use it for mention of FDL in cover text.
47919 (Documentation License): Use it in @include file name.
47920
7bb764bc
JM
479212012-02-22 Joseph Myers <joseph@codesourcery.com>
47922 Roland McGrath <roland@hack.frob.com>
47923
47924 [BZ #5461]
57f41c40
AS
47925 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47926 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47927 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47928 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47929 name.
47930 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47931
6cbeae47
JM
479322012-02-22 Joseph Myers <joseph@codesourcery.com>
47933
47934 [BZ #2547]
47935 [BZ #11365]
47936 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47937 manipulate bits before adding and subtracting TWO23[sx].
47938 * math/libm-test.inc (nearbyint_test): Add more tests.
47939
fe45ce09
JM
479402012-02-22 Joseph Myers <joseph@codesourcery.com>
47941
47942 [BZ #2548]
47943 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47944 bits before adding and subtracting TWO23[sx].
47945 * math/libm-test.inc (rint_test): Add more tests.
47946 (rint_test_tonearest): Likewise.
47947 (rint_test_towardzero): Likewise.
47948 (rint_test_downward): Likewise.
47949 (rint_test_upward: Likewise.
47950
ff3b3d82
JM
479512012-02-22 Joseph Myers <joseph@codesourcery.com>
47952
47953 [BZ #10110]
47954 * include/stdc-predef.h: New file. Extracted from features.h.
47955 * include/features.h: Include stdc-predef.h.
47956 * Makefile (headers): Add stdc-predef.h.
47957 * CONFORMANCE (Compiler limitations): Update.
47958
ef0aab35
JM
479592012-02-22 Joseph Myers <joseph@codesourcery.com>
47960
47961 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47962
58639409
DM
479632012-02-21 David S. Miller <davem@davemloft.net>
47964
47965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47966 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47967
c0e70b25
DM
479682012-02-20 David S. Miller <davem@davemloft.net>
47969
47970 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47971 using a normal save/restore sequence, rather than allocating a
47972 dummy stack frame just to store a frame pointer and restore.
47973 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47974
fb06851d
JM
479752012-02-21 Joseph Myers <joseph@codesourcery.com>
47976
47977 * manual/install.texi: Fix stray word in line-wrapped comment.
47978
7a8b71c3
DM
479792012-02-20 David S. Miller <davem@davemloft.net>
47980
d510c123
DM
47981 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47982 both binutils and gcc support GOTDATA.
47983
0722d7c2
DM
47984 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47985 "rd %pc" in the PIC register setup sequences.
47986
3d2b3019
DM
47987 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47988 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47989 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47990 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47991 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47992 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47993 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47996 (SYSCALL_ERROR_HANDLER): Likewise.
47997 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47998 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48000 (SYSCALL_ERROR_HANDLER): Likewise.
48001
c80098a9
DM
48002 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48003 (HAVE_GCC_GOTDATA): New.
48004 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48005 relocation support in both binutils and gcc.
48006 * sysdeps/sparc/elf/configure: Regenerate.
48007
3a2545a0
DM
48008 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48009 * sysdeps/sparc/sparc32/elf/configure: Delete.
48010 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48011 * sysdeps/sparc/sparc64/elf/configure: Delete.
48012 * sysdeps/sparc/elf/configure.in: New file.
48013 * sysdeps/sparc/elf/configure: Generate.
48014
7a8b71c3
DM
48015 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48016 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48017 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48018 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48019 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48020
f1e86fca
JM
480212012-02-21 Joseph Myers <joseph@codesourcery.com>
48022
48023 * manual/install.texi: Do not mention specific glibc version
48024 numbers.
48025 * manual/libc.texinfo (VERSION, UPDATED): Update.
48026 (@copying): Use @copyright{} and range of years.
48027
0e7dfaef
JM
480282012-02-21 Joseph Myers <joseph@codesourcery.com>
48029
48030 [BZ #13695]
48031 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48032 [crti.S not in sysdirs] (generated): Do not append.
48033 [crti.S not in sysdirs] (omit-deps): Likewise.
48034 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48035 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48036 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48037 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48038 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48039 Likewise.
48040 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48041 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48042 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48043 * csu/defs.awk: Remove file.
48044 * sysdeps/generic/initfini.c: Likewise.
48045 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48046 variable.
48047 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48048 Likewise.
48049
599af3ca
JM
480502012-02-20 Joseph Myers <joseph@codesourcery.com>
48051
48052 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48053 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48054 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48057 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48058 <bits/epoll.h>.
48059 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48060 (__EPOLL_PACKED): Define to empty if not defined by
48061 <bits/epoll.h>.
48062 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48064 bits/epoll.h.
48065
0e499750
JM
480662012-02-20 Joseph Myers <joseph@codesourcery.com>
48067
48068 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48069 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48070 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48071 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48072 <bits/timerfd.h>.
48073 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48075 bits/timerfd.h.
48076
5ad91f6e
JM
480772012-02-20 Joseph Myers <joseph@codesourcery.com>
48078
48079 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48080 in C locale.
48081 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48082 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48083 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48085
06b99b02
AJ
480862012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48087
48088 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48089 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48090
7638c0fd
AS
480912012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48092
48093 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48094 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48095 defined.
48096 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48097 Likewise.
48098 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48099 entry for 2.16.
48100
92221550
AJ
481012012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48102
48103 * math/w_acos.c: Use non-signaling floating-point comparisons.
48104 * math/w_acosf.c: Likewise.
48105 * math/w_acosh.c: Likewise.
48106 * math/w_acoshf.c: Likewise.
48107 * math/w_acoshl.c: Likewise.
48108 * math/w_acosl.c: Likewise.
48109 * math/w_asin.c: Likewise.
48110 * math/w_asinf.c: Likewise.
48111 * math/w_asinl.c: Likewise.
48112 * math/w_atanh.c: Likewise.
48113 * math/w_atanhf.c: Likewise.
48114 * math/w_atanhl.c: Likewise.
48115 * math/w_exp2.c: Likewise.
48116 * math/w_exp2f.c: Likewise.
48117 * math/w_exp2l.c: Likewise.
48118 * math/w_j0.c: Likewise.
48119 * math/w_j0f.c: Likewise.
48120 * math/w_j0l.c: Likewise.
48121 * math/w_j1.c: Likewise.
48122 * math/w_j1f.c: Likewise.
48123 * math/w_j1l.c: Likewise.
48124 * math/w_jn.c: Likewise.
48125 * math/w_jnf.c: Likewise.
48126 * math/w_log.c: Likewise.
48127 * math/w_log10.c: Likewise.
48128 * math/w_log10f.c: Likewise.
48129 * math/w_log10l.c: Likewise.
48130 * math/w_log2.c: Likewise.
48131 * math/w_log2f.c: Likewise.
48132 * math/w_log2l.c: Likewise.
48133 * math/w_logf.c: Likewise.
48134 * math/w_logl.c: Likewise.
48135 * math/w_sqrt.c: Likewise.
48136 * math/w_sqrtf.c: Likewise.
48137 * math/w_sqrtl.c: Likewise.
48138 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48140 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48141 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48142 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48143
ebaf36eb
JM
481442012-02-19 Joseph Myers <joseph@codesourcery.com>
48145
48146 [BZ #9739]
48147 * manual/string.texi (strnlen): Use correct parameter name in
48148 equivalent expression.
48149
71c254a6
JM
481502012-02-19 Joseph Myers <joseph@codesourcery.com>
48151
48152 [BZ #11174]
48153 * manual/users.texi (seteuid): Consistently use neweuid for
48154 argument name.
48155
16d2c631
JM
481562012-02-19 Joseph Myers <joseph@codesourcery.com>
48157
48158 [BZ #13704]
48159 * manual/nss.texi (Services in the NSS configuration): Correct
48160 list of services in example configuration file.
48161
cd837b09
NB
481622012-02-19 Nick Bowler <nbowler@draconx.ca>
48163
48164 [BZ #11322]
48165 * manual/arith.texi: Remove statements about negative zero
48166 behaving identically to zero.
48167
02c4bbad
JM
481682012-02-18 Joseph Myers <joseph@codesourcery.com>
48169
48170 [BZ #5993]
48171 * manual/install.texi: Do not document upgrading from libc5.
48172
366842e7
JM
481732012-02-18 Joseph Myers <joseph@codesourcery.com>
48174
48175 [BZ #4596]
48176 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48177
dd54084d
DM
481782012-02-18 David S. Miller <davem@davemloft.net>
48179
48180 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48181 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48182 %o7 across the call.
48183 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48184 instead.
48185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48186 SETUP_PIC_REG_LEAF.
48187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48188 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48189 * sysdeps/sparc/crtn.S: Likewise.
48190
2bcc53a3
UD
481912012-02-17 Ulrich Drepper <drepper@gmail.com>
48192
48193 * aout/Makefile: Remove.
48194
09c093b5
RK
481952012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48196
48197 [BZ #13058]
48198 * manual/examples/argp-ex1.c (main): Format definition in GNU
48199 style.
48200 * manual/examples/argp-ex2.c (main): Likewise.
48201 * manual/examples/argp-ex3.c (main): Likewise.
48202 * manual/examples/argp-ex4.c (main): Likewise.
48203 * manual/examples/longopt.c (main): Use new-style prototype
48204 definition.
48205 * manual/examples/strncat.c (main): Specify return type and use
48206 (void) for arguments.
48207 * manual/examples/subopt.c (main): Use char **argv argument.
48208
2ee633a2
JM
482092012-02-17 Joseph Myers <joseph@codesourcery.com>
48210
48211 [BZ #5077]
48212 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48213 rounding modes.
48214
0520adde
FB
482152012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48216
48217 [BZ #6907]
48218 * manual/string.texi (strchr): Change when strchrnul is
48219 recommended.
48220
3f4081cd
DGM
482212012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48222
48223 [BZ #174]
48224 * manual/locale.texi (setlocale): Document LOCPATH.
48225
d1b10e78
JM
482262012-02-17 Joseph Myers <joseph@codesourcery.com>
48227
48228 [BZ #10210]
48229 * manual/process.texi (execle): Move @dots{} before last argument.
48230
79c6869c
PB
482312012-02-17 Paul Bolle <pebolle@tiscali.nl>
48232
48233 [BZ #12047]
48234 * manual/charset.texi (Generic Charset Conversion): Fix typo
48235 (LC_TYPE -> LC_CTYPE).
48236
cc6e48bc
NB
482372012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48238
48239 [BZ #5805]
48240 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48241 (scalbnf): Likewise.
48242 (scalbnl): Likewise.
48243 (scalbln): Likewise.
48244 (scalblnf): Likewise.
48245 (scalblnl): Likewise.
48246 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48247 (vwarnx): Likewise.
48248 (verr): Likewise.
48249 (verrx): Likewise.
48250 * manual/filesys.texi (telldir): Use braces around return type.
48251 * manual/llio.texi (mmap): Add space after comma.
48252 (mmap64): Likewise.
48253 * manual/math.texi (jn): Use @var{} on parameter names.
48254 (jnf): Likewise.
48255 (jnl): Likewise.
48256 (yn): Likewise.
48257 (ynf): Likewise.
48258 (ynl): Likewise.
48259 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48260 line.
48261 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48262 "...".
48263 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48264 (sched_get_priority_max): Likewise.
48265 * manual/signal.texi (sigvec): Add space after comma.
48266 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48267 names.
48268 (if_indextoname): Likewise.
48269 (if_freenameindex): Likewise.
48270 (sendto): Use ',' instead of '.' in prototype.
48271 * manual/startup.texi (syscall): Use @dots{} instead of literal
48272 "...".
48273 * manual/stdio.texi (__fpending): Separate initial words of
48274 paragraph from @deftypefun line.
48275 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48276 "...".
48277 (vsyslog): Use @var{} on parameter names.
48278 * manual/terminal.texi (stty): Use @var{} on parameter names.
48279 * manual/users.texi (getutmp): Use @var{} on parameter names.
48280 (getutmpx): Likewise.
48281
5b23062f
JM
482822012-02-17 Joseph Myers <joseph@codesourcery.com>
48283
48284 [BZ #6884]
48285 * manual/stdio.texi (fopen): Fix typos in description of
48286 ",ccs=STRING".
48287
8dee4833
AJ
482882012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48289
48290 [BZ #4026]
48291 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48292 get clock_id definition.
48293
9078ce93
TS
482942012-02-17 Thomas Schwinge <thomas@schwinge.name>
48295
48296 [BZ #4822]
48297 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48298 (madvise): Cast every argument to void on its own.
48299
3835c55f
JM
483002012-02-17 Joseph Myers <joseph@codesourcery.com>
48301
48302 [BZ #9902]
48303 * manual/startup.texi (Exit Status): Fix typo.
48304
35c47e37
JM
483052012-02-17 Joseph Myers <joseph@codesourcery.com>
48306
48307 [BZ #10140]
48308 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48309 * manual/examples/argp-ex2.c: Likewise.
48310 * manual/examples/argp-ex3.c: Likewise.
48311
e3b69ca7
RH
483122012-02-16 Richard Henderson <rth@redhat.com>
48313
48314 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48315 * sysdeps/s390/s390-32/initfini.c: Remove.
48316 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48317 * sysdeps/s390/s390-64/initfini.c: Remove.
48318
df83af67
KK
483192012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48320
48321 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48322 compiler output for sysdeps/generic/initfini.c.
48323 * sysdeps/sh/elf/initfini.c: Remove file.
48324
f63f3380
DM
483252012-02-16 David S. Miller <davem@davemloft.net>
48326
fb59b3a4
DM
48327 [BZ #11494]
48328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48329
f63f3380
DM
48330 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48331 * sysdeps/sparc/crti.S: New file.
48332 * sysdeps/sparc/crtn.S: New file.
48333 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48334 * sysdeps/sparc/sparc64/Makefile: Likewise.
48335
df6a4a4a
MF
483362012-02-15 Mike Frysinger <vapier@gentoo.org>
48337
6dd8f3dc 48338 [BZ #3335]
df6a4a4a
MF
48339 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48340
1cac7236
RM
483412012-02-15 Roland McGrath <roland@hack.frob.com>
48342
d2c736f8
RM
48343 [BZ #4822]
48344 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48345
1cac7236
RM
48346 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48347 (write, read, close): Likewise.
48348 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48349
8e475601
JM
483502012-02-15 Joseph Myers <joseph@codesourcery.com>
48351
48352 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48353 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48354 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48355 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48356 <bits/signalfd.h>.
48357 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48359 bits/signalfd.h.
48360
ed656b40
MP
483612012-02-14 Marek Polacek <polacek@redhat.com>
48362
48363 * sysdeps/x86_64/crti.S: New file.
48364 * sysdeps/x86_64/crtn.S: New file.
48365 * sysdeps/x86_64/elf/initfini.c: Remove file.
48366
2a979d3a
JM
483672012-02-13 Joseph Myers <joseph@codesourcery.com>
48368
48369 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48370 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48371 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48372 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48373 <bits/inotify.h>.
48374 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48376 bits/inotify.h.
48377
2a418ac3
JM
483782012-02-13 Joseph Myers <joseph@codesourcery.com>
48379
48380 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48381 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48382 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48383 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48384 <bits/eventfd.h>.
48385 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48387 bits/eventfd.h.
48388
fb779be7
TS
483892012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48390
e19e83c5
RM
48391 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48392 __feraiseexcept instead of feraiseexcept.
7c35ffed 48393
fb779be7
TS
48394 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48395 nanosleep invocations.
48396 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48397 strings, and add error checking for a nanosleep invocations.
48398
59ba27a6
PE
483992012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48400
48401 Replace FSF snail mail address with URLs, as per GNU coding standards.
48402 Most of the snail mail addresses were wrong anyway, and omitting
48403 them makes the source code easier to maintain. Almost all of the
48404 changes are to license notices and to locale LC_IDENTIFICATION
48405 addresses, except for this one:
48406 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48407 not its snail mail address.
48408
57b957eb
RH
484092012-02-09 Richard Henderson <rth@twiddle.net>
48410
af850b1c
RH
48411 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48412 of kernel-features.h.
48413
57b957eb
RH
48414 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48415
6b73181a
MP
484162012-02-08 Marek Polacek <polacek@redhat.com>
48417
48418 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48419 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48420 * sysdeps/gnu/_G_config.h: Likewise.
48421 * sysdeps/generic/_G_config.h: Likewise.
48422
26ecc33a
AS
484232012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48424
6c6dbc63
AS
48425 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48426 tests.
48427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48428
e216c012
AS
48429 * sysdeps/powerpc/powerpc32/crti.S: New file.
48430 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48431 * sysdeps/powerpc/powerpc64/crti.S: New file.
48432 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48433
26ecc33a
AS
48434 * Makeconfig (have-initfini): Don't set.
48435 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48436 * configure.in (nopic_initfini): Don't substitute.
48437 * config.h.in (HAVE_INITFINI): Don't #undef.
48438 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48439 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48440
3add8e13
JM
484412012-02-08 Joseph Myers <joseph@codesourcery.com>
48442
48443 Support crti.S and crtn.S provided directly by architectures.
48444 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48445 [crti.S in sysdirs] (omit-deps): Likewise.
48446 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48447 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48448 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48449 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48450 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48451 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48452 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48453 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48454 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48455 compiler output for sysdeps/generic/initfini.c.
48456 * sysdeps/i386/elf/Makefile: Remove file.
48457 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48458
a22f12b4
MP
484592012-02-07 Marek Polacek <polacek@redhat.com>
48460
48461 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48462 * sysdeps/gnu/_G_config.h: Likewise.
48463 * sysdeps/mach/hurd/_G_config.h: Likewise.
48464
148cf100
MP
484652012-02-07 Marek Polacek <polacek@redhat.com>
48466
48467 * math/Makefile (tests): Add tst-CMPLX2.
48468 * math/tst-CMPLX2.c: New file.
48469
cfdc0dd7
AS
484702012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48471
84ba42c4
AS
48472 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48473
cfdc0dd7
AS
48474 * math/libm-test.inc (jn_test): Add missing L suffix.
48475
622c86f4
MP
484762012-02-06 Marek Polacek <polacek@redhat.com>
48477
48478 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48479 * sysdeps/i386/fpu/e_powf.S: Likewise.
48480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48481 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48482 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48483 * sysdeps/i386/fpu/e_pow.S: Likewise.
48484 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48485 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48486 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48487 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48488 * sysdeps/i386/fpu/e_log2.S: Likewise.
48489 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48490 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48491 * sysdeps/i386/fpu/e_powl.S: Likewise.
48492 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48493 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48494 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48495 * sysdeps/i386/fpu/e_logl.S: Likewise.
48496 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48497 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48498 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48499 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48500 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48501 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48502 * sysdeps/i386/fpu/e_log.S: Likewise.
48503 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48504 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48505 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48506 * sysdeps/i386/fpu/e_logf.S: Likewise.
48507 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48508 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48509 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48510 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48511 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48512 * sysdeps/i386/fpu/e_log10.S: Likewise.
48513 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48514 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48515 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48516 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48517 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48518 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48519 * sysdeps/i386/asm-syntax.h: Likewise.
48520 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48521 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48522 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48523 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48524 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48525 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48526 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48527 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48529 * sysdeps/powerpc/sysdep.h: Likewise.
48530 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48531 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48532
d4a54ac6
JM
485332012-02-06 Joseph Myers <joseph@codesourcery.com>
48534
48535 [BZ #411]
48536 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48537
314054ea
JM
485382012-02-06 Joseph Myers <joseph@codesourcery.com>
48539
48540 * sysdeps/i386/sysdep.h: Include <features.h>.
48541 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48542 version.
48543
d8e0ca50
JM
485442012-02-05 Joseph Myers <joseph@codesourcery.com>
48545
48546 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48547 Define.
48548 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48549 LOAD_PIC_REG_STR.
48550
b1da7dd9
JM
485512012-02-03 Joseph Myers <joseph@codesourcery.com>
48552
48553 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48554 (SETUP_PIC_REG): Use GET_PC_THUNK.
48555 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48556 macro.
48557
9a1d9254
JM
485582012-02-03 Joseph Myers <joseph@codesourcery.com>
48559
48560 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48561 for non-PIC compilation.
48562 (SETUP_PIC_REG): Add .p2align directive.
48563 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48564 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48565 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48566 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48567 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48568 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48569 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48570 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48571 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48572 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48573 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48574 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48575 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48576 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48577 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48578 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48579 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48580 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48581 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48582 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48583 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48584 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48585 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48586 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48588 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48591 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48592 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48593 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48594 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48595 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48596 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48597 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48598 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48599 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48600 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48601 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48602 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48603 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48604
65dc3b75
JM
486052012-02-03 Joseph Myers <joseph@codesourcery.com>
48606
48607 * math/tst-CMPLX.c: Include <stdio.h>.
48608
d55bf177
JM
486092012-01-31 Joseph Myers <joseph@codesourcery.com>
48610
48611 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48612 float.
48613 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48614 * sysdeps/sparc/bits/mathdef.h: Likewise.
48615
69db4f8f
MP
486162012-01-31 Marek Polacek <polacek@redhat.com>
48617
48618 * libio/libio.h: Don't define _PARAMS.
48619 * locale/programs/config.h: Don't define PARAMS.
48620 * stdlib/strtol_l.c: Likewise.
48621 (__strtol_l): Remove PARAMS from the prototype.
48622
41b81892
UD
486232012-01-31 Ulrich Drepper <drepper@gmail.com>
48624
3b49edc0
UD
48625 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48626 names. Just use the correct names. Remove unnecessary wrapper
48627 functions.
48628 * malloc/arena.c: Likewise.
48629 * malloc/hooks.c: Likewise.
48630
41b81892
UD
48631 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48632 ARENA_TEST says not to. Simplify test for creation of a new arena.
48633 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48634
27a25b6e
UD
486352012-01-30 Ulrich Drepper <drepper@gmail.com>
48636
48637 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48638 into tail calls.
48639 (update_get_addr): New function.
48640 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48641 GET_ADDR_MODULE parameter.
48642
c8a89e7d
JM
486432012-01-30 Joseph Myers <joseph@codesourcery.com>
48644
48645 * crypt/cert.c: Remove __STDC__ conditionals.
48646 * crypt/crypt-entry.c: Likewise.
48647 * crypt/crypt_util.c: Likewise.
48648 * libio/filedoalloc.c: Likewise.
48649 * libio/fileops.c: Likewise.
48650 * libio/genops.c: Likewise.
48651 * libio/iofclose.c: Likewise.
48652 * libio/iofdopen.c: Likewise.
48653 * libio/iofopen.c: Likewise.
48654 * libio/iofopen64.c: Likewise.
48655 * libio/iogetdelim.c: Likewise.
48656 * libio/iopopen.c: Likewise.
48657 * libio/obprintf.c: Likewise.
48658 * libio/oldfileops.c: Likewise.
48659 * libio/oldiofclose.c: Likewise.
48660 * libio/oldiofdopen.c: Likewise.
48661 * libio/oldiofopen.c: Likewise.
48662 * libio/oldiopopen.c: Likewise.
48663 * libio/wfiledoalloc.c: Likewise.
48664 * libio/wgenops.c: Likewise.
48665 * locale/programs/xmalloc.c: Likewise.
48666 * misc/syslog.c: Likewise.
48667 * stdio-common/xbug.c: Likewise.
48668 * string/memchr.c: Likewise.
48669 * string/memcmp.c: Likewise.
48670 * string/memrchr.c: Likewise.
48671 * string/rawmemchr.c: Likewise.
48672 * sysdeps/posix/getcwd.c: Likewise.
48673 * time/strftime_l.c: Likewise.
48674
3b100462
JM
486752012-01-30 Joseph Myers <joseph@codesourcery.com>
48676
48677 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48678 * config.make.in (config-cflags-sse2avx): Define.
48679 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48680 Fix typo.
48681
607998af
CM
486822012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48683
48684 * scripts/config.guess: Update from upstream config git repository.
48685 * scripts/config.sub: Likewise.
48686
3601428f
CM
486872012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48688
3ac8b282
CM
48689 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48690 (EM_NUM): Update.
48691 (R_TILEPRO_*, R_TILEGX_*): New macros.
48692
e034841e
CM
48693 * scripts/firstversions.awk: Fix bug in version range handling.
48694
540d7568
CM
48695 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48696
3601428f
CM
48697 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48698
463de862
CM
48699 * include/sys/epoll.h: New file.
48700 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48701 libc_hidden_def.
48702
73139a76
UD
487032012-01-28 Ulrich Drepper <drepper@gmail.com>
48704
96bc5b45
UD
48705 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48706 Avoid unnecessary __WORDSIZE == 64 test.
48707 (fmaxf): Use VEX format if possible.
48708 (fmax): Likewise.
48709 (fminf): Likewise.
48710 (fmin): Likewise.
48711
56f6f6a2
UD
48712 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48713 * math/math_private.h: Remove libc_fegetround* and
48714 libc_fesetround*.
48715 * sysdeps/i386/configure.in: Check for -msse2avx.
48716 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48717 also if SSE2AVX is defined.
48718 Remove libc_fegetround* and libc_fesetround*.
48719 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48720 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48721 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48722 of HAS_YMM_USABLE.
48723 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48724 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48725 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48726 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48728
73139a76
UD
48729 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48730
d73f93a4
AZ
487312012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48732
48733 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48734 size is not set.
48735 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48736
6ee65ed6
UD
487372012-01-27 Ulrich Drepper <drepper@gmail.com>
48738
48739 [BZ #13618]
48740 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48741 relocation.
48742 * Makeconfig (libm): Define.
48743 * elf/Makefile: Add rules to build and run tst-relsort1.
48744 * elf/tst-relsort1.c: New file.
48745 * elf/tst-relsort1mod1.c: New file.
48746 * elf/tst-relsort1mod2.c: New file.
48747
8db21882
JM
487482012-01-27 Joseph Myers <joseph@codesourcery.com>
48749
48750 * math/s_ldexp.c: Remove __STDC__ conditionals.
48751 * math/s_ldexpf.c: Likewise.
48752 * math/s_ldexpl.c: Likewise.
48753 * math/s_nextafter.c: Likewise.
48754 * math/s_nexttowardf.c: Likewise.
48755 * math/s_significand.c: Likewise.
48756 * math/s_significandf.c: Likewise.
48757 * math/s_significandl.c: Likewise.
48758 * math/w_jnl.c: Likewise.
48759 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48760 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48761 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48762 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48763 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48764 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48765 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48766 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48767 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48768 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48769 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48771 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48772 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48773 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48774 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48775 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48776 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48778 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48779 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48780 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48781 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48782 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48783 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48784 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48785 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48786 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48787 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48788 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48789 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48790 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48791 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48792 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48793 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48794 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48795 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48796 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48797 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48798 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48799 * sysdeps/ieee754/k_standard.c: Likewise.
48800 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48801 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48802 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48803 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48804 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48805 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48807 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48808 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48809 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48810 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48811 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48812 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48813 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48814 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48818 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48819 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48820 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48821 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48822 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48823 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48824 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48825 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48829 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48830 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48831 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48832 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48833 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48835 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48836 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48837 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48839 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48840 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48842 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48843 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48844 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48845 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48848 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48849 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48850 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48851 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48852 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48853 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48854 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48855 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48856 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48857 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48858 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48859 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48860 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48861 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48862 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48863 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48864 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48865 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48866 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48867 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48868 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48869 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48870 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48871 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48872 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48873 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48874 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48875 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48876 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48877 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48878 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48879 * sysdeps/ieee754/s_matherr.c: Likewise.
48880 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48881 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48883 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48884
965a54a4
JM
488852012-01-26 Joseph Myers <joseph@codesourcery.com>
48886
48887 * crypt/md5.h: Remove __STDC__ conditionals.
48888 * libio/libioP.h: Likewise.
48889 * locale/programs/config.h: Likewise.
48890 * sysdeps/generic/sysdep.h: Likewise.
48891 * sysdeps/i386/asm-syntax.h: Likewise.
48892 * sysdeps/s390/asm-syntax.h: Likewise.
48893 * sysdeps/unix/sysdep.h: Likewise.
48894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48896
7071ad79
JM
488972012-01-26 Joseph Myers <joseph@codesourcery.com>
48898
48899 * libio/libio.h: Remove __STDC__ conditionals.
48900 * malloc/obstack.h: Likewise.
48901 * math/complex.h: Likewise.
48902 * math/math.h: Likewise.
48903 * sysdeps/generic/_G_config.h: Likewise.
48904 * sysdeps/gnu/_G_config.h: Likewise.
48905 * sysdeps/mach/hurd/_G_config.h: Likewise.
48906 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48907 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48908 * sysdeps/sparc/bits/mathdef.h: Likewise.
48909
afc5ed09
UD
489102012-01-26 Ulrich Drepper <drepper@gmail.com>
48911
48912 [BZ #13583]
48913 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48914 Clean up HAS_* macros.
afc5ed09 48915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48916 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48917 possible.
48918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48919 HAS_AVX.
48920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48921 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48922 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48923 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48924 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48925
bdb6de1d
JM
489262012-01-25 Joseph Myers <joseph@codesourcery.com>
48927
48928 * elf/tst-unique3.cc (gets): Remove declaration.
48929 * elf/tst-unique3lib.cc (gets): Likewise.
48930 * elf/tst-unique3lib2.cc (gets): Likewise.
48931 * elf/tst-unique4.cc (gets): Likewise.
48932
b15549e6
UD
489332012-01-24 Ulrich Drepper <drepper@gmail.com>
48934
48935 * include/stdio.h: Add C++ protection. Add gets declarations and
48936 definitions.
48937 * debug/tst-chk1.c: Don't declare gets here.
48938 * stdio-common/tst-gets.c: Likewise.
48939
a037381f
JM
489402012-01-24 Joseph Myers <joseph@codesourcery.com>
48941
48942 * posix/glob: Remove directory.
48943
f1d4aa75
JM
489442012-01-24 Joseph Myers <joseph@codesourcery.com>
48945
48946 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48947
81c0c964
PT
489482012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48949
48950 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48951 of the non-standard EPFNOSUPPORT.
48952
0ea698ae
ST
489532011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48954
48955 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48956 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48957 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48958
d220b117
UD
489592012-01-21 Ulrich Drepper <drepper@gmail.com>
48960
48961 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48962
3e1aa84e
UD
489632012-01-20 Ulrich Drepper <drepper@gmail.com>
48964
48965 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48966 transient errors.
48967 * nscd/grpcache.c (cache_addgr): Likewise.
48968 * nscd/hstcache.c (cache_addhst): Likewise.
48969 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48970 * nscd/pwdcache.c (cache_addpw): Likewise.
48971 * nscd/servicescache.c (cache_addserv): Likewise.
48972
400aa020
UD
489732012-01-16 Ulrich Drepper <drepper@gmail.com>
48974
d77e7869
UD
48975 * malloc/malloc.c: Various cleanups.
48976 * malloc/hooks.c: Likewise.
48977
400aa020
UD
48978 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48979 * stdlib/bug-fmtmsg1.c: New file.
48980
48981 * stdlib/fmtmsg.c (init): Add missing unlock.
48982 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48983
e0a309cf
MP
489842012-01-12 Marek Polacek <polacek@redhat.com>
48985
48986 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48987 and _GNU_SOURCE.
48988
929d11c7
WS
489892012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48990
48991 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48992 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48993 macro to ensure uniqueness of label name.
48994 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48995 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48996
41d0e869
UD
489972012-01-11 Ulrich Drepper <drepper@gmail.com>
48998
0cc5ed3b
UD
48999 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49000
41d0e869
UD
49001 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49002 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49003 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49004 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49005
a47a831a
UD
490062012-01-10 Ulrich Drepper <drepper@gmail.com>
49007
daa891c0
UD
49008 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49009
49010 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49011 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49012 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49013
e58ef0f2
UD
49014 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49015
a47a831a 49016 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49017 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49018 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49020
49021 * math/bits/math-finite.h: Add ldexp support.
49022
a0bfc9c7
MP
490232012-01-10 Marek Polacek <polacek@redhat.com>
49024
49025 * locale/programs/localedef.h (show_archive_content): Add noreturn
49026 attribute.
49027
d6e97a1d
UD
490282012-01-09 Ulrich Drepper <drepper@gmail.com>
49029
49030 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49031
d5835c26
UD
490322012-01-08 Ulrich Drepper <drepper@gmail.com>
49033
e5f484c6
UD
49034 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49035
d5835c26
UD
49036 * io/Makefile (headers): Add bits/poll2.h.
49037
d1f741e9
WS
490382011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49039
49040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49041 typo #include statement.
49042
ec09c1c4
UD
490432012-01-08 Ulrich Drepper <drepper@gmail.com>
49044
49045 * include/sys/cdefs.h: Define __attribute_alloc_size.
49046 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49047 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49048 * elf/pldd.c: Likewise.
49049 * iconv/iconv_charmap.c: Likewise.
49050 * iconv/iconvconfig.c: Likewise.
49051 * iconv/strtab.c: Likewise.
49052 * locale/programs/locale.c: Likewise.
49053 * locale/programs/localedef.h: Likewise.
49054 * locale/programs/simple-hash.c: Likewise.
49055 * nscd/nscd.h: Likewise.
49056 * nss/makedb.c: Likewise.
49057 * sysdeps/generic/ldconfig.h: Likewise.
49058 * locale/programs/localedef.c: Remove xmalloc prototype.
49059 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49060
20b38e03
PP
490612012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49062
49063 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49064 appropriate.
49065
a0da5fe1
UD
490662012-01-08 Ulrich Drepper <drepper@gmail.com>
49067
1d5a644a 49068 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49069 * math/tst-CMPLX.c: New file.
1d5a644a 49070
8784a6db
UD
49071 * math/complex.h (CMPLXL): Fix typo.
49072
d9a216c0
UD
49073 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49074 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49075 GLIBC_2.16.
49076 * debug/tst-chk1.c: Add poll and ppoll tests.
49077 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49078 * include/sys/poll.h: Add hidden proto for ppoll.
49079 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49080 * sysdeps/mach/hurd/ppoll.c: Likewise.
49081 * io/ppoll.c: Likewise.
49082 * debug/poll_chk.c: New file.
49083 * debug/ppoll_chk.c: New file.
49084 * include/bits/poll2.h: New file.
49085 * io/bits/poll2.h: New file.
49086
ac097f5c
UD
49087 [BZ #1350]
49088 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49089
2119dcfa
UD
49090 * configure.in: static is always set to yes. Remove.
49091 * config.make.in: Don't set build-static.
49092 * Makeconfig: Remove use of build-static.
49093 * dlfcn/Makefile: Likewise.
49094 * elf/Makefile: Likewise.
49095 * math/Makefile: Likewise.
49096 * misc/Makefile: Likewise.
49097 * nptl/Makefile: Likewise.
49098 * sysdeps/mach/hurd/Makefile: Likewise.
49099
121766a9
UD
49100 * configure.in: PWD_P is not used anymore.
49101 * config.make.in: Remove PWD_P entry.
49102
51a1d39c 49103 * configure.in: Remove last remnants of RANLIB.
8720d066 49104 No need to check for signed size_t anymore.
215f4bdc
UD
49105 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49106 and IA-64.
3857022a 49107 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49108 * aclocal.m4: Likewise.
49109
d3ed7225
UD
49110 * wcsmbs/mbrtoc16.c: Implement using towc function.
49111 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49112 * wcsmbs/wcsmbsload.c: Likewise.
49113 * iconv/gconv_simple.c: Likewise.
49114 * iconv/gconv_int.h: Likewise.
49115 * iconv/gconv_builtin.h: Likewise.
49116 * iconv/iconv_prog.c: Remove CHAR16 handling.
49117
49118 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49119
49120 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49121
a0da5fe1
UD
49122 * configure.in: Remove --with-elf and --enable-bounded options.
49123 Dont set base_machine for ia64. More non-ELF conditions removed.
49124 Remove testing and setting of leading underscore information.
49125 * config.make.in (build-bounded): Set to no.
49126 * config.h.in: Remove NO_UNDERSCORES entry.
49127 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49128 them.
49129 * csu/start.c: Remove !NO_UNDERSCORE code.
49130 * locale/localeinfo.h: Likewise.
49131 * sysdeps/generic/machine-gmon.h: Likewise.
49132 * sysdeps/generic/sysdep.h: Likewise.
49133 * sysdeps/i386/sysdep.h: Likewise.
49134 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49135 * sysdeps/mach/sysdep.h: Likewise.
49136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49138 * sysdeps/sh/sysdep.h: Likewise.
49139 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49140 * sysdeps/unix/i386/sysdep.S: Likewise.
49141 * sysdeps/unix/sparc/start.c: Likewise.
49142 * sysdeps/unix/sparc/sysdep.S: Likewise.
49143 * sysdeps/unix/sparc/sysdep.h: Likewise.
49144 * sysdeps/unix/start.c: Likewise.
49145 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49146 * sysdeps/x86_64/sysdep.h: Likewise.
49147
df78418a
UD
491482012-01-07 Ulrich Drepper <drepper@gmail.com>
49149
a784e502
UD
49150 [BZ #13553]
49151 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49152 for non-gcc.
49153 * argp/argp-fmtstream.h: Use const instead __const.
49154 * argp/argp.h: Likewise.
49155 * assert/assert.h: Likewise.
49156 * bits/fenv.h: Likewise.
49157 * bits/sched.h: Likewise.
49158 * bits/sigset.h: Likewise.
49159 * bits/sigthread.h: Likewise.
49160 * catgets/nl_types.h: Likewise.
49161 * conform/data/pthread.h-data: Likewise.
49162 * crypt/crypt-private.h: Likewise.
49163 * crypt/crypt.h: Likewise.
49164 * crypt/crypt_util.c: Likewise.
49165 * ctype/ctype.h: Likewise.
49166 * debug/execinfo.h: Likewise.
49167 * debug/mbsnrtowcs_chk.c: Likewise.
49168 * debug/mbsrtowcs_chk.c: Likewise.
49169 * debug/wcsnrtombs_chk.c: Likewise.
49170 * debug/wcsrtombs_chk.c: Likewise.
49171 * debug/wcstombs_chk.c: Likewise.
49172 * dirent/dirent.h: Likewise.
49173 * dlfcn/dlfcn.h: Likewise.
49174 * elf/neededtest4.c: Likewise.
49175 * grp/grp.h: Likewise.
49176 * gshadow/gshadow.h: Likewise.
49177 * iconv/gconv.h: Likewise.
49178 * iconv/gconv_int.h: Likewise.
49179 * iconv/gconv_simple.c: Likewise.
49180 * iconv/iconv.h: Likewise.
49181 * iconv/loop.c: Likewise.
49182 * iconv/skeleton.c: Likewise.
49183 * include/aio.h: Likewise.
49184 * include/aliases.h: Likewise.
49185 * include/argz.h: Likewise.
49186 * include/arpa/inet.h: Likewise.
49187 * include/assert.h: Likewise.
49188 * include/dirent.h: Likewise.
49189 * include/dlfcn.h: Likewise.
49190 * include/execinfo.h: Likewise.
49191 * include/fcntl.h: Likewise.
49192 * include/fenv.h: Likewise.
49193 * include/glob.h: Likewise.
49194 * include/grp.h: Likewise.
49195 * include/libintl.h: Likewise.
49196 * include/mntent.h: Likewise.
49197 * include/netdb.h: Likewise.
49198 * include/pwd.h: Likewise.
49199 * include/rpc/netdb.h: Likewise.
49200 * include/sched.h: Likewise.
49201 * include/search.h: Likewise.
49202 * include/shadow.h: Likewise.
49203 * include/signal.h: Likewise.
49204 * include/stdio.h: Likewise.
49205 * include/stdlib.h: Likewise.
49206 * include/string.h: Likewise.
49207 * include/sys/socket.h: Likewise.
49208 * include/sys/stat.h: Likewise.
49209 * include/sys/statfs.h: Likewise.
49210 * include/sys/statvfs.h: Likewise.
49211 * include/sys/syslog.h: Likewise.
49212 * include/sys/time.h: Likewise.
49213 * include/sys/uio.h: Likewise.
49214 * include/time.h: Likewise.
49215 * include/unistd.h: Likewise.
49216 * include/utmp.h: Likewise.
49217 * include/wchar.h: Likewise.
49218 * include/wctype.h: Likewise.
49219 * inet/aliases.h: Likewise.
49220 * inet/arpa/inet.h: Likewise.
49221 * inet/netinet/ether.h: Likewise.
49222 * inet/netinet/in.h: Likewise.
49223 * intl/libintl.h: Likewise.
49224 * io/bits/fcntl2.h: Likewise.
49225 * io/fcntl.h: Likewise.
49226 * io/ftw.h: Likewise.
49227 * io/sys/poll.h: Likewise.
49228 * io/sys/stat.h: Likewise.
49229 * io/sys/statfs.h: Likewise.
49230 * io/sys/statvfs.h: Likewise.
49231 * io/utime.h: Likewise.
49232 * libio/bits/stdio.h: Likewise.
49233 * libio/bits/stdio2.h: Likewise.
49234 * libio/libio.h: Likewise.
49235 * libio/libioP.h: Likewise.
49236 * libio/stdio.h: Likewise.
49237 * locale/lc-ctype.c: Likewise.
49238 * locale/locale.h: Likewise.
49239 * login/utmp.h: Likewise.
49240 * malloc/arena.c: Likewise.
49241 * malloc/malloc.c: Likewise.
49242 * malloc/malloc.h: Likewise.
49243 * malloc/mcheck.c: Likewise.
49244 * malloc/mtrace.c: Likewise.
49245 * math/bits/mathcalls.h: Likewise.
49246 * math/fenv.h: Likewise.
49247 * math/math_private.h: Likewise.
49248 * misc/bits/error.h: Likewise.
49249 * misc/bits/syslog.h: Likewise.
49250 * misc/err.h: Likewise.
49251 * misc/error.h: Likewise.
49252 * misc/fstab.h: Likewise.
49253 * misc/mntent.h: Likewise.
49254 * misc/regexp.h: Likewise.
49255 * misc/search.h: Likewise.
49256 * misc/sgtty.h: Likewise.
49257 * misc/sys/mman.h: Likewise.
49258 * misc/sys/syslog.h: Likewise.
49259 * misc/sys/uio.h: Likewise.
49260 * misc/sys/xattr.h: Likewise.
49261 * misc/ttyent.h: Likewise.
49262 * nis/rpcsvc/ypclnt.h: Likewise.
49263 * nss/nss.h: Likewise.
49264 * posix/bits/unistd.h: Likewise.
49265 * posix/fnmatch.h: Likewise.
49266 * posix/glob.h: Likewise.
49267 * posix/sched.h: Likewise.
49268 * posix/spawn.h: Likewise.
49269 * posix/sys/wait.h: Likewise.
49270 * posix/unistd.h: Likewise.
49271 * posix/wordexp.h: Likewise.
49272 * pwd/pwd.h: Likewise.
49273 * resolv/netdb.h: Likewise.
49274 * resource/sys/resource.h: Likewise.
49275 * rt/aio.h: Likewise.
49276 * rt/bits/mqueue2.h: Likewise.
49277 * rt/mqueue.h: Likewise.
49278 * shadow/shadow.h: Likewise.
49279 * signal/signal.h: Likewise.
49280 * socket/send.c: Likewise.
49281 * socket/sendto.c: Likewise.
49282 * socket/sys/socket.h: Likewise.
49283 * stdio-common/printf.h: Likewise.
49284 * stdlib/bits/stdlib.h: Likewise.
49285 * stdlib/fmtmsg.h: Likewise.
49286 * stdlib/monetary.h: Likewise.
49287 * stdlib/stdlib.h: Likewise.
49288 * stdlib/ucontext.h: Likewise.
49289 * streams/stropts.h: Likewise.
49290 * string/argz.h: Likewise.
49291 * string/bits/string2.h: Likewise.
49292 * string/string.h: Likewise.
49293 * string/strings.h: Likewise.
49294 * sunrpc/rpc/auth.h: Likewise.
49295 * sunrpc/rpc/auth_des.h: Likewise.
49296 * sunrpc/rpc/clnt.h: Likewise.
49297 * sunrpc/rpc/netdb.h: Likewise.
49298 * sunrpc/rpc/pmap_clnt.h: Likewise.
49299 * sunrpc/rpc/xdr.h: Likewise.
49300 * sysdeps/generic/inttypes.h: Likewise.
49301 * sysdeps/generic/net/if.h: Likewise.
49302 * sysdeps/generic/sys/swap.h: Likewise.
49303 * sysdeps/gnu/net/if.h: Likewise.
49304 * sysdeps/gnu/utmpx.h: Likewise.
49305 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49306 * sysdeps/i386/i486/bits/string.h: Likewise.
49307 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49308 * sysdeps/s390/bits/string.h: Likewise.
49309 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49310 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49311 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49312 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49313 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49314 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49315 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49316 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49317 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49318 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49319 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49320 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49321 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49322 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49323 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49324 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49325 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49326 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49327 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49330 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49331 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49332 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49333 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49334 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49335 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49336 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49337 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49338 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49339 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49340 * sysvipc/sys/ipc.h: Likewise.
49341 * sysvipc/sys/msg.h: Likewise.
49342 * sysvipc/sys/sem.h: Likewise.
49343 * sysvipc/sys/shm.h: Likewise.
49344 * termios/termios.h: Likewise.
49345 * time/sys/time.h: Likewise.
49346 * time/time.h: Likewise.
49347 * wcsmbs/bits/wchar2.h: Likewise.
49348 * wcsmbs/uchar.h: Likewise.
49349 * wcsmbs/wchar.h: Likewise.
49350 * wctype/wctype.h: Likewise.
49351
0269750c
UD
49352 [BZ #13551]
49353 * Makeconfig: Remove all but ELF support including AIX support.
49354 * Makerules: Likewise.
49355 * config.h.in: Likewise.
49356 * config.make.in: Likewise.
49357 * configure: Likewise.
49358 * configure.in: Likewise.
49359 * csu/Makefile: Likewise.
49360 * csu/version.c: Likewise.
49361 * debug/Makefile: Likewise.
49362 * dlfcn/Makefile: Likewise.
49363 * elf/Makefile: Likewise.
49364 * extra-lib.mk: Likewise.
49365 * iconv/Makefile: Likewise.
49366 * include/libc-symbols.h: Likewise.
49367 * include/shlib-compat.h: Likewise.
49368 * resolv/Makefile: Likewise.
49369 * resolv/res_libc.c: Likewise.
49370 * rt/Makefile: Likewise.
49371 * sysdeps/i386/asm-syntax.h: Likewise.
49372 * sysdeps/i386/sysdep.h: Likewise.
49373 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49374 * sysdeps/mach/sysdep.h: Likewise.
49375 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49376 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49377 * sysdeps/s390/asm-syntax.h: Likewise.
49378 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49380 * sysdeps/sh/sysdep.h: Likewise.
49381 * sysdeps/unix/sparc/sysdep.h: Likewise.
49382 * sysdeps/wordsize-32/divdi3.c: Likewise.
49383 * sysdeps/x86_64/sysdep.h: Likewise.
49384
00bbd29b
UD
49385 * argp/Versions: Remove _argp_unlock_xxx.
49386
49387 [BZ #13559]
49388 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49389 * abilist/libBrokenLocale.abilist: Likewise.
49390 * abilist/libanl.abilist: Likewise.
49391 * abilist/libc.abilist: Likewise.
49392 * abilist/libcrypt.abilist: Likewise.
49393 * abilist/libdl.abilist: Likewise.
49394 * abilist/libm.abilist: Likewise.
49395 * abilist/libnsl.abilist: Likewise.
49396 * abilist/libpthread.abilist: Likewise.
49397 * abilist/libresolv.abilist: Likewise.
49398 * abilist/librt.abilist: Likewise.
49399 * abilist/libthread_db.abilist: Likewise.
49400 * abilist/libutil.abilist: Likewise.
49401 * abilist/libnss_db.abilist: New file.
49402
49403 * scripts/abilist.awk: Add support for indirect functions.
49404
a2693a0e
UD
49405 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49406
3f05895f
UD
49407 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49408
ecb6fb48
UD
49409 * shlib-versions: Remove entries for ports architectures.
49410
664f8cb9
UD
49411 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49412 files in ports.
49413 * elf/stackguard-macros.h: Remove support for IA-64.
49414 * elf/tst-auditmod1.c: Likewise.
49415 * sysdeps/generic/ldsodefs.h: Likewise.
49416
7ae81d88
UD
49417 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49418 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49419 configure files.
49420
bdeba135
UD
49421 [BZ #13552]
49422 * configure.in: Remove --enable-omitfp support.
49423 * FAQ.in: Adjust.
49424 * config.make.in: Likewise.
49425 * Makeconfig: Likewise.
49426 * manual/install.texi: Likewise.
49427
d75a0a62
UD
49428 In case anyone cares, the IA-64 architecture could move to ports.
49429 * sysdeps/ia64/*: Removed.
49430 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49431 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49432
dcc9756b
UD
49433 [BZ #13555]
49434 * configure.in: Remove entries for unsupported architectures.
49435
d3761ebc 49436 [BZ #13533]
9954432e
UD
49437 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49438 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49439 routines.
49440 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49441 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49442 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49443 fall back to using wcrtomb.
49444 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49445 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49446 renaming.
49447 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49448 * wcsmbs/tst-c16c32-1.c: New file.
49449
49450 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49451 local variable.
49452
c3a87236
UD
49453 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49454
28926a1b
UD
49455 * elf/tst-unique3.cc: Add explicit declaration of gets.
49456 * elf/tst-unique3lib.cc: Likewise.
49457 * elf/tst-unique3lib2.cc: Likewise.
49458 * elf/tst-unique4.cc: Likewise.
49459
df78418a
UD
49460 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49461
8ecd6b2a
JM
494622012-01-06 Joseph Myers <joseph@codesourcery.com>
49463
49464 [BZ #13566]
49465 * assert/assert.h (static_assert): Don't define for C++.
49466 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49467 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49468
9f115170
UD
494692012-01-03 Ulrich Drepper <drepper@gmail.com>
49470
5e0d0300
UD
49471 * iconv/loop.c (single loop): Fix assertion in storing of
49472 remaining bytes.
49473
9f115170
UD
49474 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49475
81fb02b0
UD
494762012-01-01 Ulrich Drepper <drepper@gmail.com>
49477
49478 * posix/getconf.c: Update copyright year.
49479 * nss/getent.c: Likewise.
a316c1f6 49480 * nss/makedb.c: Likewise.
81fb02b0
UD
49481 * iconv/iconvconfig.c: Likewise.
49482 * iconv/iconv_prog.c: Likewise.
49483 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49484 * elf/pldd.c: Likewise.
49485 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49486 * catgets/gencat.c: Likewise.
49487 * csu/version.c: Likewise.
49488 * elf/ldd.bash.in: Likewise.
49489 * elf/sprof.c (print_version): Likewise.
49490 * locale/programs/locale.c: Likewise.
49491 * locale/programs/localedef.c: Likewise.
a316c1f6 49492 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49493 * nscd/nscd.c (print_version): Likewise.
49494 * debug/xtrace.sh: Likewise.
49495 * malloc/memusage.sh: Likewise.
49496 * malloc/mtrace.pl: Likewise.
49497 * debug/catchsegv.sh: Likewise.
49498
2ba92745
JJ
494992011-12-30 Jakub Jelinek <jakub@redhat.com>
49500
49501 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49502 pure attribute.
49503
dadebdae
UD
495042011-12-24 Ulrich Drepper <drepper@gmail.com>
49505
d3761ebc 49506 [BZ #13533]
db6af3eb
UD
49507 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49508 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49509 transformations.
49510 * iconv/gconv_int.h: Likewise.
49511 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49512 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49513 from libc for GLIBC_2.16.
49514 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49515 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49516 * wcsmbs/uchar.h: Really define mbstate_t.
49517 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49518 * wcsmbs/c16rtomb.c: New file.
49519 * wcsmbs/mbrtoc16.c: New file.
49520 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49521 for C/POSIX locale.
49522 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49523 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49524
dadebdae
UD
49525 * wcsmbs/wchar.h: Add missing __restrict.
49526
67371b56
UD
495272011-12-23 Ulrich Drepper <drepper@gmail.com>
49528
74033a25
UD
49529 [BZ #13532]
49530 * time/Makefile (routines): Add timespec_get.
49531 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49532 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49533 timespec for ISO C11.
49534 * time/timespec_get.c: New file.
49535 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49536 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49537
380d7e87
UD
49538 [BZ #13531]
49539 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49540 * stdlib/stdlib.h: Declare aligned_alloc.
49541 * Versions.def: Add GLIBC_2.16 for libc.
49542 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49543
4e9e7a35
UD
49544 [BZ 13527]
49545 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49546 ISO C11.
49547
380d7e87 49548 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49549 code.
49550
03a71829
UD
49551 [BZ #13528]
49552 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49553
839e283e
UD
49554 [BZ #13529]
49555 * assert/assert.h (static_assert): Define.
49556
ce5294e2 49557 * version.h: Update for 2.16 development version.
90fa7312 49558
8d44e150 49559 [BZ #13526]
d7809905
UD
49560 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49561 _ISOC11_SOURCE.
49562
c0da14cd
UD
49563 * version.h (RELEASE): Bump for 2.15 release.
49564 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49565
530a3249
MP
49566 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49567 Patch by Marek Polacek <mpolacek@redhat.com>.
49568
67371b56
UD
49569 * bits/byteswap.h: Protect long long constants with __extension__.
49570 * sysdeps/i386/bits/byteswap.h: Likewise.
49571 * sysdeps/ia64/bits/byteswap.h: Likewise.
49572 * sysdeps/s390/bits/byteswap.h: Likewise.
49573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49574
15db4de1
LD
495752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49576
49577 [BZ #13540]
bbe315ea
LD
49578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49579 destination buffer.
15db4de1
LD
49580 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49581
2b2596b1
MP
495822011-12-23 Marek Polacek <polacek@redhat.com>
49583
49584 * elf/dl-addr.c (determine_info): Add inline keyword.
49585 * elf/tst-auditmod4b.c (check_avx): Likewise.
49586 * elf/tst-auditmod6b.c (check_avx): Likewise.
49587 * elf/tst-auditmod6c.c (check_avx): Likewise.
49588 * elf/tst-auditmod7b.c (check_avx): Likewise.
49589
70c6c246
UD
495902011-12-23 Ulrich Drepper <drepper@gmail.com>
49591
49592 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49593 !__SSE_MATH__.
49594
c044cf14
LD
495952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49596
15db4de1 49597 [BZ #13540]
c044cf14
LD
49598 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49599 processing for last bytes.
49600
6b13d9d9
BH
496012011-08-06 Bruno Haible <bruno@clisp.org>
49602
d455f537
BH
49603 [BZ #13061]
49604 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49605 U+0385, not to U+1FEE.
49606
6b13d9d9
BH
49607 [BZ #13062]
49608 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49609 entry for U+00A5 U+0301.
49610
db910efd
UD
496112011-12-22 Ulrich Drepper <drepper@gmail.com>
49612
27deeafc
UD
49613 [BZ #13166]
49614 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49615 buffer for the output is too small.
49616
aed9d171
UD
49617 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49618 optimization.
49619
db910efd
UD
49620 [BZ #13185]
49621 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49622 SSE flags if possible.
49623
2bd779ae
LD
496242011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49625
e7f9dac3 49626 [BZ #13540]
2bd779ae
LD
49627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49628 processing for last bytes.
49629
154bfc16
JM
496302011-12-22 Joseph Myers <joseph@codesourcery.com>
49631
49632 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49633 (syscall-list-default-options, syscall-list-default-condition)
49634 (syscall-list-includes): Define.
49635 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49636 list of ABIs and options and #if conditions for each ABI. Do not
49637 handle common syscalls between ABIs specially.
49638 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49639 Remove.
49640 (syscall-list-variants, syscall-list-32bit-options)
49641 (syscall-list-32bit-condition, syscall-list-64bit-options)
49642 (syscall-list-64bit-condition): Define.
49643 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49644 (syscall-list-variants, syscall-list-32bit-options)
49645 (syscall-list-32bit-condition, syscall-list-64bit-options)
49646 (syscall-list-64bit-condition): Define.
49647 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49648 Remove.
49649 (syscall-list-variants, syscall-list-32bit-options)
49650 (syscall-list-32bit-condition, syscall-list-64bit-options)
49651 (syscall-list-64bit-condition): Define.
49652 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49653 Remove.
49654 (syscall-list-variants, syscall-list-32bit-options)
49655 (syscall-list-32bit-condition, syscall-list-64bit-options)
49656 (syscall-list-64bit-condition): Define.
49657
21eaf3a5
UD
496582011-12-22 Ulrich Drepper <drepper@gmail.com>
49659
16c6f992
UD
49660 * locale/iso-639.def: Add brx entry.
49661
41043168
UD
49662 [BZ #13328]
49663 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49664 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49665
21eaf3a5
UD
49666 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49667 __feraiseexcept_renamed.
49668
e3a851a2
UD
496692011-12-21 Ulrich Drepper <drepper@gmail.com>
49670
4920765e
UD
49671 [BZ #13538]
49672 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49673 EPOLLET with unsigned values.
49674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49675 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49676
e3a851a2
UD
49677 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49678 to large cancellation.
49679 * math/s_cacoshf.c: Likewise.
49680 * math/s_cacoshl.c: Likewise.
49681
b27e24b8
RK
496822011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49683
49684 [BZ #13305]
aebefeee 49685 [BZ #12786]
b27e24b8
RK
49686 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49687 * math/s_cacoshf.c: Likewise.
49688 * math/s_cacoshl.c: Likewise.
49689
ee190f67
UD
496902011-12-21 Ulrich Drepper <drepper@gmail.com>
49691
49692 [BZ #13439]
49693 * iconv/gconv.h: Define __GCONV_SWAP.
49694 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49695 * iconvdata/utf-16.c: Likewise.
49696 * iconvdata/utf-32.c: Likewise.
49697
707f25df
AS
496982011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49699
49700 [BZ #13524]
49701 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49702 numerator after shifting it by one limb.
49703
d2daaa1e
RÁE
497042011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49705
49706 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49707 under [__USE_EXTERN_INLINES].
49708
a4647e72
UD
497092011-12-17 Ulrich Drepper <drepper@gmail.com>
49710
49711 [BZ #13446]
49712 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49713
f0b264f1
AZ
497142011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49715
49716 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49717 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49718 optimized code.
49719 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49720 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49721 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49722 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49723 for strncasecmp/strncasecmp_l compilation.
49724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49725 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49726
8ef4f244
MP
497272011-12-08 Marek Polacek <mpolacek@redhat.com>
49728
49729 [BZ #13484]
49730 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49731 of __asm__.
49732
97ac2654
UD
497332011-12-17 Ulrich Drepper <drepper@gmail.com>
49734
49735 [BZ #13506]
49736 * time/tzfile.c (__tzfile_read): Check values from file header.
49737
91d2a845
WS
497382011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49739
49740 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49741 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49742 * powerpc/powerpc32/dl-start.S: Likewise.
49743 * powerpc/powerpc32/elf/start.S: Likewise.
49744 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49745 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49746 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49747 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49748 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49749 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49750 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49751 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49752 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49753 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49754 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49755 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49756 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49757 * powerpc/powerpc32/memset.S: Likewise.
49758 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49759 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49760 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49761 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49762 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49763 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49764 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49765 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49766 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49767 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49768 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49769 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49770 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49771
a1267ba1
AZ
497722011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49773
49774 * math/libm-test.inc: Added more nearbyint tests.
49775 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49777 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49778 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49779
ad8ac1bd
RL
497802011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49781
49782 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49783 FD_CLOEXEC.
49784
1d3e4b61
UD
497852011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49786
49787 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49788 Add wcscpy-ssse3 wcscpy-c.
49789 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49790 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49791 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49792 * sysdeps/x86_64/wcschr.S: New file.
49793 * sysdeps/x86_64/wcsrchr.S: New file.
49794 * string/test-strcmp.c: Remove checking of wcscmp function for
49795 wrong alignments.
49796 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49797 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49798 wcsrchr-sse2 wcsrchr-c.
49799 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49800 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49801 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49802 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49803 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49804 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49805 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49806 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49807 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49808 * wcsmbc/wcschr.c (WCSCHR): New macro.
49809
5b330a2d
UD
498102011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49811
49812 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49813 * wcsmbs/test-wcsrchr.c: New file.
49814 * string/test-strrchr.c: Add wcsrchr support.
49815 (WIDE): New macro.
49816 * wcsmbs/test-wcscpy.c: New file.
49817 * string/test-strcpy.c: Add wcscpy support.
49818 (WIDE): New macro.
26428b7c 49819
f039c043
UD
498202011-12-10 Ulrich Drepper <drepper@gmail.com>
49821
49822 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49823 the inner loop.
49824
850fb039
AS
498252011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49826
49827 [BZ #13472]
49828 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49829
4efbd5cb
UD
498302011-12-04 Ulrich Drepper <drepper@gmail.com>
49831
52ff5dd0 49832 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49833 Minor optimizations.
52ff5dd0 49834
4efbd5cb
UD
49835 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49836 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49837 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49838
8a426e12
UD
498392011-12-03 Ulrich Drepper <drepper@gmail.com>
49840
aff2453d
UD
49841 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49842 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49843 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49844 for gcc to avoid warnings.
49845 * inet/Makefile (tests): Add tst-checks.
49846 * inet/tst-checks.c: New file.
49847
49848 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49849 warning.
49850
49851 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49852 __wmemcmp_sse2.
49853
49854 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49855 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49856
8a426e12
UD
49857 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49858
9bea3473
UD
498592011-12-02 Ulrich Drepper <drepper@gmail.com>
49860
3a965496
UD
49861 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49862 problem.
49863
9bea3473
UD
49864 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49865
f101631b
UD
498662011-11-29 Joseph Myers <joseph@codesourcery.com>
49867
49868 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49869 conditional on GCC version.
49870 (__arch_compare_and_exchange_val_8_acq)
49871 (__arch_compare_and_exchange_val_16_acq)
49872 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49873 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49874 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49875
a98275aa
UD
498762011-12-02 Joseph Myers <joseph@codesourcery.com>
49877
49878 * sysdeps/sh/backtrace.c: New file.
49879
d4cc29a2
AS
498802011-12-02 Andreas Schwab <schwab@redhat.com>
49881
49882 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49883 parenthesis.
49884
6257af2d
AS
498852011-12-01 Andreas Schwab <schwab@redhat.com>
49886
49887 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49888 falling back to utime.
49889
b5f44c1a
AS
498902011-11-30 Andreas Schwab <schwab@redhat.com>
49891
49892 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49893 expectations for float.
49894
f3a6cc0a
AS
498952011-11-29 Andreas Schwab <schwab@redhat.com>
49896
49897 * locale/weight.h (findidx): Add parameter len.
49898 * locale/weightwc.h (findidx): Likewise.
49899 * posix/fnmatch_loop.c (FCT): Adjust caller.
49900 * posix/regcomp.c (build_equiv_class): Likewise.
49901 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49902 * posix/regexec.c (check_node_accept_bytes): Likewise.
49903 * string/strcoll_l.c (STRCOLL): Likewise.
49904 * string/strxfrm_l.c (STRXFRM): Likewise.
49905
9d65ea3a
UD
499062011-11-17 Ulrich Drepper <drepper@gmail.com>
49907
49908 * Makefile.in: Remove CVSOPT handling.
49909 * configure.in: Remove use of AC_REVISION.
49910 * iconvdata/Makefile (distribute): No need to filter out CVS.
49911 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49912 handling.
49913
5583a086
AS
499142011-11-16 Andreas Schwab <schwab@redhat.com>
49915
49916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49917 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49918 [USE_AS_STRNCASECMP_L]: Likewise.
49919 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49920 NO_TLS_DIRECT_SEG_REFS.
49921 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49922 Fix argument offsets for non-PIC.
49923 [USE_AS_STRNCASECMP_L]: Likewise.
49924 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49925 NO_TLS_DIRECT_SEG_REFS.
49926
d62a8200
UD
499272011-11-15 Ulrich Drepper <drepper@gmail.com>
49928
9d65ea3a 49929 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49930 O_CLOEXEC.
49931 * locale/loadlocale.c (_nl_load_locale): Likewise.
49932
09f93bd3
AS
499332011-11-15 Andreas Schwab <schwab@redhat.com>
49934
446514f9
AS
49935 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49936 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49937 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49938 (SYSCALL_GETTIME): Set errno on error.
49939
09f93bd3
AS
49940 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49941 count references to noai6ai_cached.
49942
312be3f9
UD
499432011-11-15 Ulrich Drepper <drepper@gmail.com>
49944
49945 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49946
49947 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49948 FD_CLOEXEC for /proc/self/maps.
49949
49950 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49951 FD_CLOEXEC for /proc/meminfo.
49952
49953 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49954 gai.conf.
49955
49956 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49957 FD_CLOEXEC for given file.
49958
49959 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49960
49961 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49962 FD_CLOEXEC for /etc/hosts.
49963 (_gethtent): Likewise.
49964
49965 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49966
49967 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49968 cancellation and set FD_CLOEXEC for /etc/netgroup.
49969
49970 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49971 reading /etc/publickey.
49972
49973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49974 allow cancellation when reading /etc/group.
49975
49976 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49977 cancellation.
49978 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49979
49980 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49981 when using data file.
49982
49983 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49984
49985 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49986 (write_nis_obj): Use "c" and "e" in fopen.
49987
49988 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49989
49990 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49991
49992 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49993
49994 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49995
49996 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49997 locale.alias.
49998
49999 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50000
50001 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50002
50003 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50004
50005 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50006 file parsing and set FD_CLOEXEC.
50007
82af0fa8
UD
500082011-11-14 Ulrich Drepper <drepper@gmail.com>
50009
50010 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50011
a5fb313c
AS
500122011-11-14 Andreas Schwab <schwab@redhat.com>
50013
50014 * malloc/arena.c (arena_get2): Don't call reused_arena when
50015 _int_new_arena failed.
50016
6abf3465
UD
500172011-11-14 Ulrich Drepper <drepper@gmail.com>
50018
50019 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50020 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50021 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50022 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50023 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50025 to compile strcasecmp and strncasecmp.
50026 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50027 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50028
50029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50030
76e3966e
UD
500312011-11-13 Ulrich Drepper <drepper@gmail.com>
50032
50033 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50034 locale-defines.sym to gen-as-const-headers.
50035 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50036 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50038 to compile strcasecmp and strncasecmp.
50039 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50040 strcasecmp_l and strncasecmp_l.
50041 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50042 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50043 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50044 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50045 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50046 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50047 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50048 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50049 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50050 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50051 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50052
ab26144e
UD
500532011-11-12 Ulrich Drepper <drepper@gmail.com>
50054
7edb22ef
UD
50055 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50056 result of SYSDEP_GETTIME_CPU to retval.
50057 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50058 parameter list to macro. Remove trailing semicolon. Adjust users.
50059
9694fc44
UD
50060 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50061 variable.
50062
8ad89ef8
UD
50063 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50064 mantissa words.
50065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50066
0c822ef9
UD
50067 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50068 from unused variable.
50069
874e0564
UD
50070 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50071 DWARF definitions.
50072 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50073 for assembling.
50074
3a2edc79
UD
50075 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50076 over namespaces.
50077
f3c2577f
UD
50078 * sunrpc/rpc_prot.c (rejected): Fix case value.
50079
294ce126
UD
50080 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50081 unsigned long long int to avoid warnings in shift.
50082
5e2b63c6
UD
50083 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50084 of use of trans.
50085 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50086 variable tmp.
50087
e7f4b08e
UD
50088 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50089 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50090 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50091
ab26144e
UD
50092 * nis/nis_table.c (nis_list): Use variable of correct type for
50093 result of __follow_path call.
50094
8a6d5255
AZ
500952011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50096
50097 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50098 of math functions ceil, trunc, floor, round, and sqrt, when
50099 avaliable on the platform.
50100 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50101 name clash.
50102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50104 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50105
aaddc98c
MP
501062011-10-30 Marek Polacek <mpolacek@redhat.com>
50107
50108 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50109 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50110
95b7042b
RM
501112011-11-11 Roland McGrath <roland@hack.frob.com>
50112
50113 * include/unistd.h: Fix __readlink return type.
50114 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50115
57769839
UD
501162011-11-11 Ulrich Drepper <drepper@gmail.com>
50117
50118 * stdlib/ucontext.h: Undo last change for makecontext.
50119
edc5984d
AS
501202011-11-11 Andreas Schwab <schwab@redhat.com>
50121
98591e58
AS
50122 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50123
edc5984d
AS
50124 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50125 * setjmp/setjmp.h: Mark functions as non-leaf.
50126 * setjmp/bits/setjmp2.h: Likewise.
50127 * stdlib/ucontext.h: Likewise.
50128
77cdc054
AS
501292011-11-10 Andreas Schwab <schwab@redhat.com>
50130
50131 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50132 (reused_arena): Don't check arena limit.
50133 (arena_get2): Atomically check arena limit.
50134
fe72eebd
UD
501352011-11-08 Ulrich Drepper <drepper@gmail.com>
50136
5f078c32
UD
50137 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50138 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50139
fe72eebd
UD
50140 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50141 instructions.
50142
ae1bc2fa
AS
501432011-11-07 Andreas Schwab <schwab@redhat.com>
50144
7583a88d
AS
50145 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50146 handler when locking.
50147
ae1bc2fa
AS
50148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50149 Fix size of allocated buffer.
50150
10fb0bfa
AS
501512011-11-04 Andreas Schwab <schwab@redhat.com>
50152
998832a4
AS
50153 [BZ #10103]
50154 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50155 declarations for long double functions.
50156 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50157
10fb0bfa
AS
50158 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50159
3d7ba52b
AS
501602011-11-03 Andreas Schwab <schwab@redhat.com>
50161
a9ae54a1
AS
50162 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50163 installed.
50164
3d7ba52b
AS
50165 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50166 is disabled.
50167
bc8db248
ST
501682011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50169
50170 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50171
45b96dd6
AS
501722011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50173
647776f6
AS
50174 * include/alloca.h (stackinfo_alloca_round): Define.
50175 (extend_alloca): Use it.
50176 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50177 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50178 here.
50179
d91a8b93
AS
50180 * scripts/check-local-headers.sh: Ignore libaudit.h.
50181
45b96dd6
AS
50182 * nscd/Makefile (extra-objs): Make recursively expanded.
50183
432d41ce
UD
501842011-11-01 Ulrich Drepper <drepper@gmail.com>
50185
34372fc6
UD
50186 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50187 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50188
fadb59f8
UD
50189 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50190 * posix/tst-rfc3484-2.c: Likewise.
50191 * posix/tst-rfc3484-3.c: Likewise.
50192
78239589
UD
50193 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50194 process_vm_writev.
50195 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50196 process_vm_writev.
50197 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50198 process_vm_writev from libc using GLIBC_2.15 version.
50199
432d41ce
UD
50200 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50201
02f9c6cf
PP
502022011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50203
50204 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50205 stack usage.
50206
3a2c0242
UD
502072011-10-31 Ulrich Drepper <drepper@gmail.com>
50208
f4ec4833
UD
50209 [BZ #13367]
50210 * nss/getent.c (initgroups_keys): Show error message in case no group
50211 names are given.
50212
3a2c0242
UD
50213 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50214 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50215 __bump_nl_timestamp.
50216 * nscd/connections (nscd_init): When host database is served open
50217 netlink socket and request notification about configuration changes.
50218 (main_loop_poll): Track netlink file descriptor and bump timestamp
50219 in case data becomes available.
50220 (main_loop_epoll): Likewise.
50221 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50222 (database_pers_head): Add extra_data fileds.
50223 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50224 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50225 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50226 Adjust caller.
50227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50228 in6ai data, call __free_in6ai.
50229 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50230 Add -DHAVE_NETLINK.
50231 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50232 interface information. Reuse previous data if netlink timestamp
50233 is not changed.
50234 (__bump_nl_timestamp): New function.
50235 (__free_in6ai): New function.
50236
636064eb
UD
502372011-10-30 Ulrich Drepper <drepper@gmail.com>
50238
50239 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50240 close_not_cancel_no_status here.
50241 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50242
9beb2334
UD
502432011-10-29 Ulrich Drepper <drepper@gmail.com>
50244
6ef76f3b
UD
50245 [BZ #13276]
50246 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50247 return value.
50248
0ffc4f3e 50249 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50250 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50251 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50252
cb95113e
UD
502532011-07-03 Andreas Jaeger <aj@suse.de>
50254
50255 [BZ #10709]
50256 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50257 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50258 * math/libm-test.inc (sin_test): Add test case.
50259
a1b560ff
UD
502602011-10-29 Ulrich Drepper <drepper@gmail.com>
50261
c9aaface
UD
50262 [BZ #13337]
50263 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50264 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50265
d272e7f1
UD
50266 * elf/chroot_canon.c (chroot_canon): Cleanups.
50267
1bc33071
UD
50268 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50269
1760874d
TJ
50270 [BZ #13335]
50271 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50272 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50273
51d91b18
UD
50274 * string/test-strchr.c: Make usable for strchrnul testing.
50275 * string/test-strchrnul.c: New file.
50276 * string/Makefile (strop-tests): Add strchrnul.
50277
a1b560ff 50278 * po/it.po: Update from translation team.
b611fb81 50279 * po/es.po: Likewise.
a1b560ff 50280
a5b81e1f
UD
502812011-10-28 Ulrich Drepper <drepper@gmail.com>
50282
fd52bc6d
UD
50283 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50284 the three constants needed as parameters. Drop the others.
50285 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50286 __m128i_strloadu_tolower.
52e4b9eb
UD
50287 Create and initialize variable zero and use it in all the places
50288 where _mm_setzero_si128 was used.
fd52bc6d 50289
a5b81e1f
UD
50290 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50291 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50292 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50294 anymore.
50295 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50296 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50297 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50298 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50299 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50300 __mpranred, __mptan.
50301 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50302 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50303 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50304 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50305 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50306 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50307 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50308 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50309 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50310
b4343346
AS
503112011-10-28 Andreas Schwab <schwab@redhat.com>
50312
0c92d8a8
AS
50313 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50314 redefine if SHARED.
50315 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50316
b4343346
AS
50317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50318 wide char related routines to wcsmbs subdir.
50319
3871f58f
AS
503202011-10-27 Andreas Schwab <schwab@redhat.com>
50321
50322 [BZ #13344]
50323 * misc/sys/cdefs.h (__THROWNL): Define.
50324 * posix/unistd.h: Use __THREADNL instead of __THREAD
50325 for memory synchronization functions.
50326
94d44d9f
RM
503272011-10-26 Roland McGrath <roland@hack.frob.com>
50328
21b64b15 50329 [BZ #13349]
94d44d9f
RM
50330 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50331 doesn't exist.
50332 * manual/stdio.texi (Obstack Streams): Node removed.
50333
f6ce9294
AS
503342011-10-26 Andreas Schwab <schwab@redhat.com>
50335
80479147
AS
50336 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50337 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50338 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50339
f6ce9294
AS
50340 * math/math_private.h (math_force_eval): Allow non-addressable
50341 arguments.
50342 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50343
618280a1
UD
503442011-10-25 Ulrich Drepper <drepper@gmail.com>
50345
e0016b11
UD
50346 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50347 file is not needed.
50348
50349 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50351 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50352 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50353 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50354 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50356 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50357 Add AVX variants.
50358 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50359 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50360 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50361 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50362 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50363 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50364 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50365 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50366 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50367 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50368 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50369 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50370 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50371 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50372 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50373 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50374 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50375 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50376 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50377
50378 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50379 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50380
618280a1
UD
50381 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50382 place. Use VEX encoding when compiling for AVX.
50383
37822576
AS
503842011-10-25 Andreas Schwab <schwab@redhat.com>
50385
1f1e1947
AS
50386 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50387 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50388
37822576
AS
50389 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50390
31ea014d
UD
503912011-10-25 Ulrich Drepper <drepper@gmail.com>
50392
d7826aa1 50393 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50394 useless if() expression.
d7826aa1
UD
50395 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50396 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50397 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50398 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50399 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50400 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50401 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50402 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50403 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50405 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50406 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50407 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50408 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50409 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50410 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50411 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50412 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50413 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50414
31ea014d
UD
50415 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50416
16437fec
AS
504172011-10-25 Andreas Schwab <schwab@redhat.com>
50418
50419 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50420 condition.
50421 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50422
31d3cc00
UD
504232011-10-25 Ulrich Drepper <drepper@gmail.com>
50424
50425 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50426 .text section. Avoid duplicate constants.
50427 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50429 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50435 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50436 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50437 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50438 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50439 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50440 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50441 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50442 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50443 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50444 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50445 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50446 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50447 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50448 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50449 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50450 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50451 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50452 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50453 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50454 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50455 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50456 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50457 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50458 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50459 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50460 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50461 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50462 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50463 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50465 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50466 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50467 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50468 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50469 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50470 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50471 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50472
58985aa9
UD
504732011-10-24 Ulrich Drepper <drepper@gmail.com>
50474
202c9deb
UD
50475 * sysdeps/x86_64/dla.h: Move to ...
50476 * sysdeps/x86_64/fpu/dla.h: ...here.
50477 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50478 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50479
af968f62
UD
50480 * config.make.in: Add have-mfma4 entry.
50481 * configure.in: Substitute libc_cv_cc_fma4.
50482 * math/Makefile (dbl-only-routines): Add sincostab.
50483 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50484 Use __sincostab not sincos.
50485 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50486 name is a macro.
50487 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50491 using __copysign.
50492 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50493 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50494 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50495 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50496 and __inv.
50497 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50498 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50499 __copysign.
50500 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50501 define aliases when function name is a macro.
50502 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50503 sysdeps/ieee754/dbl-64/sincos.tbl.
50504 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50505 fma4-enabled routines.
50506 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50507 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50508 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50509 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50510 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50511 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50513 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50514 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50515 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50516 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50517 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50518 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50519 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50520 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50521 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50522 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50523 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50524 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50525 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50526 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50527 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50528 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50529 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50530 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50531 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50533 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50534 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50535 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50536
58985aa9
UD
50537 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50538 rename.
50539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50546 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50547
a201fbcf
AS
505482011-10-24 Andreas Schwab <schwab@redhat.com>
50549
50550 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50551
fc2ee42a
LD
505522011-10-23 Ulrich Drepper <drepper@gmail.com>
50553
bb3129bd
UD
50554 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50555
0275fff8
UD
50556 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50557 prediction.
50558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50559
2fa2ae85
UD
50560 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50561 Remove unused variable magic_bits.
50562 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50563
fc2ee42a
LD
50564 * string/strnlen.c: Define and use STRNLEN macro.
50565 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50566 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50567 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50568 * wcsmbs/wcslen.c: Define and use WCSLEN.
50569 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50570 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50571 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50572 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50573 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50574 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50575 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50576
ce7dd29f
LD
505772011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50578
50579 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50580 strnlen-sse2-no-bsf.
50581 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50583 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50584 Add strnlen support.
50585 (USE_AS_STRNLEN): New macro.
50586 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50587 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50588 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50589 * sysdeps/x86_64/wcslen.S: New file.
50590
979c70a3
MZ
505912011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50592
50593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50594 XMM-moves are used for copying on small sizes.
50595
2d09f82f
LD
505962011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50597
50598 * wcsmbs/Makefile (strop-tests): Add wcschr.
50599 * wcsmbs/test-wcschr.c: New file.
50600 * string/test-strchr.c: Update.
50601 Add wcschr support.
50602 (WIDE): New macro.
50603
619fccca
LD
506042011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50605
2d09f82f 50606 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50607 * wcsmbs/test-wcslen.c: New file.
50608 * string/test-strlen.c: Update.
50609 Add wcslen support.
50610 (WIDE): New macro.
50611
09f699ea
UD
506122011-10-23 Ulrich Drepper <drepper@gmail.com>
50613
50614 * po/it.po: Update from translation team.
50615
95584d3b
LD
506162011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50617
50618 * sysdeps/x86_64/wcscmp.S: Update.
50619 Fix wrong comparison semantics.
50620 wcscmp shall use signed comparison not unsigned.
50621 Don't use substraction to avoid overflow bug.
50622 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50623 * wcsmbc/wcscmp.c: Likewise.
50624 * string/test-strcmp.c: Likewise.
50625 Add new tests to check cases with negative values.
50626
c8b3296b
UD
506272011-10-23 Ulrich Drepper <drepper@gmail.com>
50628
50629 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50630 * sysdeps/x86_64/dla.h: ...here. New file.
50631 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50636 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50637 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50639 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50640
246ad57a
AS
506412011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50642
50643 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50644 __ynl_finite aliases.
50645
a1a87169
UD
506462011-10-22 Ulrich Drepper <drepper@gmail.com>
50647
0d355eb7
UD
50648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50649
a1a87169
UD
50650 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50651 define DLA_FMA.
50652 [DLA_FMA] (EMULV): Use DLA_FMA.
50653 [DLA_FMA] (MUL12): Use EMULV.
50654 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50655 that are not needed.
50656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50663
ee2aafe0
AS
506642011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50665
50666 * math/s_nan.c: Undef __nan.
50667 * math/s_nanf.c: Undef __nanf.
50668 * math/s_nanl.c: Undef __nanl.
50669 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50670 "math_private.h".
50671
bc62c2fb
UD
506722011-10-22 Ulrich Drepper <drepper@gmail.com>
50673
77425c63
UD
50674 * math/s_catan.c: Add branch predictions.
50675 * math/s_catanf.c: Likewise.
50676 * math/s_catanh.c: Likewise.
50677 * math/s_catanhf.c: Likewise.
50678 * math/s_catanhl.c: Likewise.
50679 * math/s_catanl.c: Likewise.
50680 * math/s_cexp.c: Likewise.
50681 * math/s_cexpf.c: Likewise.
50682 * math/s_cexpl.c: Likewise.
50683 * math/s_clog.c: Likewise.
50684 * math/s_clog10.c: Likewise.
50685 * math/s_clog10f.c: Likewise.
50686 * math/s_clog10l.c: Likewise.
50687 * math/s_clogf.c: Likewise.
50688 * math/s_clogl.c: Likewise.
50689 * math/s_csqrt.c: Likewise.
50690 * math/s_csqrtf.c: Likewise.
50691 * math/s_csqrtl.c: Likewise.
50692 * math/s_ctanf.c: Likewise.
50693 * math/s_ctanh.c: Likewise.
50694 * math/s_ctanhf.c: Likewise.
50695 * math/s_ctanhl.c: Likewise.
50696 * math/s_ctanl.c: Likewise.
50697
bc62c2fb
UD
50698 * math/math_private.h: Define __nan, __nanf, __nanl.
50699 * math/s_cacosh.c: Include <math_private.h>.
50700 * math/s_cacoshl.c: Likewise.
50701 * math/s_casinh.c: Likewise.
50702 * math/s_casinhf.c: Likewise.
50703 * math/s_casinhl.c: Likewise.
50704 * math/s_ccos.c: Rely entire on ccosh.
50705 * math/s_ccosf.c: Rely entire on ccoshf.
50706 * math/s_ccosl.c: Rely entirely on ccoshl.
50707 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50708 Remove tests for FE_INVALID.
50709 * math/s_ccoshf.c: Likewise.
50710 * math/s_ccoshl.c: Likewise.
50711 * math/s_csin.c: Likewise.
50712 * math/s_csinf.c: Likewise.
50713 * math/s_csinh.c Likewise.
50714 * math/s_csinhf.c: Likewise.
50715 * math/s_csinhl.c: Likewise.
50716 * math/s_csinl.c: Likewise.
50717 * math/s_ctan.c: Likewise.
50718 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50719 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50720 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50721
8ec250a4
UD
507222011-10-21 Ulrich Drepper <drepper@gmail.com>
50723
c196fed8
UD
50724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50725 compilation problems.
50726
8ec250a4
UD
50727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50728 __builtin_expect.
50729
8d4f46c6
UD
507302011-10-20 Ulrich Drepper <drepper@gmail.com>
50731
ed72b654
UD
50732 * sysdeps/i386/configure.in: Test for -mfma4 option.
50733 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50734 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50735 COMMON_CPUID_INDEX_80000001.
50736 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50737 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50738 use it if FMA3 is not supported.
50739 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50740
8d4f46c6
UD
50741 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50742 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50743
d45c60c2
AS
507442011-10-20 Andreas Schwab <schwab@redhat.com>
50745
50746 [BZ #12892]
50747 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50748 it would create a cycle with a link time dependency.
50749
d9a4d2ab
UD
507502011-10-19 Ulrich Drepper <drepper@gmail.com>
50751
855d1560
UD
50752 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50753 instruction.
50754 * string/Makefile (strop-tests): Add rawmemchr.
50755 * string/test-rawmemchr.c: New file.
50756
d9a4d2ab
UD
50757 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50759 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50760 when compiling str{,n}casecmp and when AVX is available. Hook up
50761 new optimized code in initializers.
50762
8f3b1ffe
AS
507632011-10-19 Andreas Schwab <schwab@redhat.com>
50764
50765 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50766 __feraiseexcept instead of feraiseexcept.
50767
d38f1dba
UD
507682011-10-18 Ulrich Drepper <drepper@gmail.com>
50769
d9a8d0ab
UD
50770 * math/math_private.h: Define defaults for libc_fetestexcept and
50771 libc_feupdateenv.
50772 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50773 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50775 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50776 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50777 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50778 libc_fetestexcept and libc_feupdateenv.
50779
4855e3dd
UD
50780 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50781 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50782 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50783 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50784 libc_feholdexcept_setround.
50785
581d30e3
UD
50786 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50787 Add s_nearbyint-c and s_nearbyintf-c.
50788 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50789 nearbyintf inlines.
50790 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50791 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50792 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50793 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50794
d38f1dba
UD
50795 * math/math_private.h: Define defaults for libc_fegetround,
50796 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50797 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50798 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50799 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50800 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50801 standard functions.
50802 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50803 Remove comments and hacks for old compiler versions.
50804 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50805 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50806 libc_feholdexceptl.
50807
caa6c9d8
AS
508082011-10-18 Andreas Schwab <schwab@redhat.com>
50809
50810 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50811 (__feraiseexcept_renamed): Add __NTH.
50812 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50813 namespace violations.
50814
97c066e6
UD
508152011-10-17 Ulrich Drepper <drepper@gmail.com>
50816
99ce7b04
UD
50817 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50818
1004d182
UD
50819 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50820
228a984d
UD
50821 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50822 recently added interfaces.
50823 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50824
c8553a6a
UD
50825 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50826 about macro parameter expansion.
50827
ed22dcf6
UD
50828 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50829 __NO_MATH_INLINES is defined. Cleanups.
50830
50831 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50832 and __floorf is target has SSE4.1.
50833 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50834 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50835 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50836 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50837
b171c137
UD
50838 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50839 name.
50840 (floorf): Likewise.
50841
97c066e6
UD
50842 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50843
629f62ef
AS
508442011-10-17 Andreas Schwab <schwab@redhat.com>
50845
49a43d80
AS
50846 * misc/sys/cdefs.h: Fix last change.
50847
629f62ef
AS
50848 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50849 database lookup.
50850
e453f6cd
UD
508512011-10-16 Ulrich Drepper <drepper@gmail.com>
50852
aa78043a
UD
50853 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50854
ad0f5cad
UD
50855 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50856 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50857 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50858 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50860 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50861 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50862 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50863 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50864 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50865 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50866 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50867 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50868 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50869 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50870 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50871 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50872 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50873 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50874 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50875 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50876 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50877
50878 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50879 ceil, ceilf, floor, floorf.
50880
50881 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50882 Perform IRELATIVE relocations last.
50883
e453f6cd
UD
50884 * elf/do-rel.h: Add another parameter nrelative, replacing the
50885 local variable with the same name. Change name of the function
50886 to end in Rel or Rela (uppercase).
50887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50888 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50889 elf_dynamic_do_##reloc function.
50890
fd5bdc09
UD
508912011-10-15 Ulrich Drepper <drepper@gmail.com>
50892
79b195b5
UD
50893 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50894 is sufficient, at least on modern CPUs.
50895
d4a28569
UD
50896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50897
b61099b5
UD
50898 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50899 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50900
bcf01e6d
UD
50901 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50902 __expl_finite.
50903 * math/bits/math-finite.h: Add entries for exp.
50904 * math/e_expl.c: Add __*_finite alias.
50905 * sysdeps/i386/fpu/e_exp.S: Likewise.
50906 * sysdeps/i386/fpu/e_expf.S: Likewise.
50907 * sysdeps/i386/fpu/e_expl.c: Likewise.
50908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50909 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50910 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50912 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50913 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50914 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50915
ba1a0d59
UD
50916 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50917 is sufficient, at least on modern CPUs.
50918
fd5bdc09
UD
50919 * ctype/ctype-info.c (__ctype_init): Define.
50920 * include/ctype.h (__ctype_init): Declare.
50921 (__ctype_b_loc): The variable is always initialized.
50922 (__ctype_toupper_loc): Likewise.
50923 (__ctype_tolower_loc): Likewise.
50924 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50925 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50926
7872cfb0
AS
509272011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50928
b468825a
AS
50929 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50930
7872cfb0
AS
50931 * configure.in: Also look in $cxxmachine/include for C++ system
50932 headers.
50933
be13f7bf
LD
509342011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50935
50936 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50937 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50938 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50939 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50941 (USE_AS_WMEMCMP): New macro.
50942 Fixing indents.
50943 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50944 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50945 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50946 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50948 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50949 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50950 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50951 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50952 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50953 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50954 (USE_AS_WMEMCMP): New macro.
50955 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50956 * sysdeps/string/test-memcmp.c: Update.
50957 Fix simple_wmemcmp.
50958 Add new tests.
50959 * wcsmbs/wmemcmp.c: Update.
50960 (WMEMCMP): New macro.
50961 Fix overflow bug.
50962
556a2007
AJ
509632011-10-12 Andreas Jaeger <aj@suse.de>
50964
50965 [BZ #13268]
50966 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50967
538faaa7
UD
509682011-10-15 Ulrich Drepper <drepper@gmail.com>
50969
ab6737ff
UD
50970 * libio/iofwide.c (do_length): Avoid warning.
50971
538faaa7
UD
50972 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50973
396a21b1
UD
509742011-10-14 Ulrich Drepper <drepper@gmail.com>
50975
cdf2901f
UD
50976 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50977
38ad40ce
UD
50978 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50979 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50980 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50981 * sysdeps/i386/i686/fpu/e_log.S: New file.
50982 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50983 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50984
396a21b1
UD
50985 * ctype/ctype.h: Add support for inlined isXXX functions when
50986 compiling C++ code.
50987
6b1f68c9
AS
509882011-10-14 Andreas Schwab <schwab@redhat.com>
50989
349290c0
AS
50990 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50991
6b1f68c9
AS
50992 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50993
f2282d42
RM
509942011-10-13 Roland McGrath <roland@hack.frob.com>
50995
50996 [BZ #13291]
50997 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50998
5298ffa8
AS
509992011-10-13 Andreas Schwab <schwab@redhat.com>
51000
714fad23
AS
51001 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51002 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51003 feraiseexcept.
51004
81dcc7fb
AS
51005 * sysdeps/x86_64/memrchr.S: Check for zero size.
51006
5298ffa8
AS
51007 * string/stratcliff.c: Add memrchr tests.
51008
951fbcec
LD
510092011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51010
51011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51012 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51013 rawmemchr-sse2 rawmemchr-sse2-bsf.
51014 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51015 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51016 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51017 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51018 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51019 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51020 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51021 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51022 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51023 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51024 * string/memrchr.c (MEMRCHR): New macro.
51025
0ac5ae23
UD
510262011-10-12 Ulrich Drepper <drepper@gmail.com>
51027
51028 Add integration with gcc's -ffinite-math-only and optimize wrapper
51029 functions in libm.
51030 * Versions.def: Define GLIBC_2.15 version for libm.
51031 * math/Makefile (headers): Add bits/math-finite.h.
51032 * math/bits/math-finite.h: New file.
51033 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51034 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51035 * math/e_acoshl.c: Add __*_finite alias.
51036 * math/e_acosl.c: Likewise.
51037 * math/e_asinl.c: Likewise.
51038 * math/e_atan2l.c: Likewise.
51039 * math/e_atanhl.c: Likewise.
51040 * math/e_coshl.c: Likewise.
51041 * math/e_exp10.c: Likewise.
51042 * math/e_exp10f.c: Likewise.
51043 * math/e_exp10l.c: Likewise.
51044 * math/e_exp2l.c: Likewise.
51045 * math/e_fmodl.c: Likewise.
51046 * math/e_gammal_r.c: Likewise.
51047 * math/e_hypotl.c: Likewise.
51048 * math/e_j0l.c: Likewise.
51049 * math/e_j1l.c: Likewise.
51050 * math/e_jnl.c: Likewise.
51051 * math/e_lgammal_r.c: Likewise.
51052 * math/e_log10l.c: Likewise.
51053 * math/e_log2l.c: Likewise.
51054 * math/e_logl.c: Likewise.
51055 * math/e_powl.c: Likewise.
51056 * math/e_sinhl.c: Likewise.
51057 * math/e_sqrtl.c: Likewise.
51058 * math/e_scalb.c: Completely rewritten and optimized.
51059 * math/e_scalbf.c: Likewise.
51060 * math/e_scalbl.c: Likewise.
51061 * math/w_acos.c: Likewise.
51062 * math/w_acosf.c: Likewise.
51063 * math/w_acosl.c: Likewise.
51064 * math/w_acosh.c: Likewise.
51065 * math/w_acoshf.c: Likewise.
51066 * math/w_acoshl.c: Likewise.
51067 * math/w_asin.c: Likewise.
51068 * math/w_asinf.c: Likewise.
51069 * math/w_asinl.c: Likewise.
51070 * math/w_atan2.c: Likewise.
51071 * math/w_atan2f.c: Likewise.
51072 * math/w_atan2l.c: Likewise.
51073 * math/w_atanh.c: Likewise.
51074 * math/w_atanhf.c: Likewise.
51075 * math/w_atanhl.c: Likewise.
51076 * math/w_exp10.c: Likewise.
51077 * math/w_exp10f.c: Likewise.
51078 * math/w_exp10l.c: Likewise.
51079 * math/w_fmod.c: Likewise.
51080 * math/w_fmodf.c: Likewise.
51081 * math/w_fmodl.c: Likewise.
51082 * math/w_j0.c: Likewise.
51083 * math/w_j0f.c: Likewise.
51084 * math/w_j0l.c: Likewise.
51085 * math/w_j1.c: Likewise.
51086 * math/w_j1f.c: Likewise.
51087 * math/w_j1l.c: Likewise.
51088 * math/w_jn.c: Likewise.
51089 * math/w_jnf.c: Likewise.
51090 * math/w_log.c: Likewise.
51091 * math/w_logf.c: Likewise.
51092 * math/w_logl.c: Likewise.
51093 * math/w_log10.c: Likewise.
51094 * math/w_log10f.c: Likewise.
51095 * math/w_log10l.c: Likewise.
51096 * math/w_log2.c: Likewise.
51097 * math/w_log2f.c: Likewise.
51098 * math/w_log2l.c: Likewise.
51099 * math/w_pow.c: Likewise.
51100 * math/w_powf.c: Likewise.
51101 * math/w_powl.c: Likewise.
51102 * math/w_remainder.c: Likewise.
51103 * math/w_remainderf.c: Likewise.
51104 * math/w_remainderl.c: Likewise.
51105 * math/w_scalb.c: Likewise.
51106 * math/w_scalbf.c: Likewise.
51107 * math/w_scalbl.c: Likewise.
51108 * math/w_sqrt.c: Likewise.
51109 * math/w_sqrtf.c: Likewise.
51110 * math/w_sqrtl.c: Likewise.
51111 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51112 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51113 used.
51114 * math/math_private.h: Declare __kernel_standard_f.
51115 * math/w_cosh.c: Remove cruft and optimize a bit.
51116 * math/w_coshf.c: Likewise.
51117 * math/w_coshl.c: Likewise.
51118 * math/w_exp2.c: Likewise.
51119 * math/w_exp2f.c: Likewise.
51120 * math/w_exp2l.c: Likewise.
51121 * math/w_hypot.c: Likewise.
51122 * math/w_hypotf.c: Likewise.
51123 * math/w_hypotl.c: Likewise.
51124 * math/w_lgamma.c: Likewise.
51125 * math/w_lgamma_r.c: Likewise.
51126 * math/w_lgammaf.c: Likewise.
51127 * math/w_lgammaf_r.c: Likewise.
51128 * math/w_lgammal.c: Likewise.
51129 * math/w_lgammal_r.c: Likewise.
51130 * math/w_sinh.c: Likewise.
51131 * math/w_sinhf.c: Likewise.
51132 * math/w_sinhl.c: Likewise.
51133 * math/w_tgamma.c: Likewise.
51134 * math/w_tgammaf.c: Likewise.
51135 * math/w_tgammal.c: Likewise.
51136 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51137 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51138 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51139 Minor optimizations. Pretty printing. Remove cruft.
51140 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51141 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51142 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51143 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51144 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51145 * sysdeps/i386/fpu/e_asin.S: Likewise.
51146 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51147 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51148 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51149 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51150 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51151 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51152 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51153 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51154 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51155 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51156 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51157 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51158 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51159 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51160 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51161 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51162 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51163 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51164 * sysdeps/i386/fpu/e_log.S: Likewise.
51165 * sysdeps/i386/fpu/e_log10.S: Likewise.
51166 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51167 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51168 * sysdeps/i386/fpu/e_log2.S: Likewise.
51169 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51170 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51171 * sysdeps/i386/fpu/e_logf.S: Likewise.
51172 * sysdeps/i386/fpu/e_logl.S: Likewise.
51173 * sysdeps/i386/fpu/e_pow.S: Likewise.
51174 * sysdeps/i386/fpu/e_powf.S: Likewise.
51175 * sysdeps/i386/fpu/e_powl.S: Likewise.
51176 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51177 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51178 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51179 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51180 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51181 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51182 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51183 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51184 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51185 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51186 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51188 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51189 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51190 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51191 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51192 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51193 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51194 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51195 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51196 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51198 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51199 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51201 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51202 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51203 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51205 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51206 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51207 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51208 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51209 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51210 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51211 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51212 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51213 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51214 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51215 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51216 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51217 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51218 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51219 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51220 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51221 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51222 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51223 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51224 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51225 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51226 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51227 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51228 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51229 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51230 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51231 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51232 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51233 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51234 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51235 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51236 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51237 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51238 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51239 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51240 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51241 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51242 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51243 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51244 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51245 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51250 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51251 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51253 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51254 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51255 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51256 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51257 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51259 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51262 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51264 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51265 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51266 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51267 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51269 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51270 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51271 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51272 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51273 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51274 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51276 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51277 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51278 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51279 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51280 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51281 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51282 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51283 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51284 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51285 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51286 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51287 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51288 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51289 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51290 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51291 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51292 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51293 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51294 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51295 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51296 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51297 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51298 (__isnanf): Likewise.
51299 (__isinf_ns): Likewise.
51300 (__isinf_nsf): Likewise.
51301 (__finite): Likewise.
51302 (__finitef): Likewise.
51303 (__ieee754_sqrt): Define as macro.
51304 (__ieee754_sqrtf): Define as macro.
51305 (__ieee754_sqrtl): Define as macro.
51306 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51307 inlined copy.
51308 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51309 __FINITE_MATH_ONLY__ consistent.
51310 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51311
12cc2fcd
AS
513122011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51313
a843a204
AS
51314 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51315 of rawmemchr.
51316
12cc2fcd
AS
51317 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51318
c853acd5
UD
513192011-10-09 Ulrich Drepper <drepper@gmail.com>
51320
51321 * po/ja.po: Update from translation team.
51322
c658d255
RM
513232011-10-08 Roland McGrath <roland@hack.frob.com>
51324
110946e4
RM
51325 * locale/programs/locarchive.c (prepare_address_space): New function.
51326 (create_archive, enlarge_archive, open_archive): Use it.
51327
50604220
RM
51328 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51329 inside [SHARED], where it is used.
51330
c658d255
RM
51331 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51332
51333 * nss/getent.c (netgroup_keys): Remove unused variable.
51334 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51335
6a621eb7
UD
513362011-10-08 Ulrich Drepper <drepper@gmail.com>
51337
7edb55ce
UD
51338 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51339 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51341 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51342 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51343 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51344 * math/Makefile (libm-calls): Add s_isinf_ns.
51345 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51346 * math/multc3.c: Likewise.
51347 * math/s_casin.c: Likewise.
51348 * math/s_casinf.c: Likewise.
51349 * math/s_casinl.c: Likewise.
51350 * math/s_ccos.c: Likewise.
51351 * math/s_ccosf.c: Likewise.
51352 * math/s_ccosl.c: Likewise.
51353 * math/s_ctan.c: Likewise.
51354 * math/s_ctanf.c: Likewise.
51355 * math/s_ctanh.c: Likewise.
51356 * math/s_ctanhf.c: Likewise.
51357 * math/s_ctanhl.c: Likewise.
51358 * math/s_ctanl.c: Likewise.
51359 * math/w_fmod.c: Likewise.
51360 * math/w_fmodf.c: Likewise.
51361 * math/w_fmodl.c: Likewise.
51362 * math/w_remainder.c: Likewise.
51363 * math/w_remainderf.c: Likewise.
51364 * math/w_remainderl.c: Likewise.
51365 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51366 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51367 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51369 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51370 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51371 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51372 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51373
187da0ae
UD
51374 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51375 of the number.
51376 * stdio-common/printf_fphex.c: Likewise.
51377 * stdio-common/printf_size.c: Likewise.
51378
9277c064
UD
51379 * math/e_exp10.c: Include math_private.h using <...> not "...".
51380 * math/e_exp10f.c: Likewise.
51381 * math/e_exp10l.c: Likewise.
51382 * math/e_exp2l.c: Likewise.
51383 * math/e_j0l.c: Likewise.
51384 * math/e_j1l.c: Likewise.
51385 * math/e_jnl.c: Likewise.
51386 * math/e_lgammal_r.c: Likewise.
51387 * math/e_rem_pio2l.c: Likewise.
51388 * math/e_scalb.c: Likewise.
51389 * math/e_scalbf.c: Likewise.
51390 * math/e_scalbl.c: Likewise.
51391 * math/k_cosl.c: Likewise.
51392 * math/k_sinl.c: Likewise.
51393 * math/k_tanl.c: Likewise.
51394 * math/s_cacoshf.c: Likewise.
51395 * math/s_catan.c: Likewise.
51396 * math/s_catanf.c: Likewise.
51397 * math/s_catanh.c: Likewise.
51398 * math/s_catanhf.c: Likewise.
51399 * math/s_catanhl.c: Likewise.
51400 * math/s_catanl.c: Likewise.
51401 * math/s_ccosh.c: Likewise.
51402 * math/s_ccoshf.c: Likewise.
51403 * math/s_ccoshl.c: Likewise.
51404 * math/s_cexp.c: Likewise.
51405 * math/s_cexpf.c: Likewise.
51406 * math/s_cexpl.c: Likewise.
51407 * math/s_clog.c: Likewise.
51408 * math/s_clog10.c: Likewise.
51409 * math/s_clog10f.c: Likewise.
51410 * math/s_clog10l.c: Likewise.
51411 * math/s_clogf.c: Likewise.
51412 * math/s_clogl.c: Likewise.
51413 * math/s_csin.c: Likewise.
51414 * math/s_csinf.c: Likewise.
51415 * math/s_csinh.c: Likewise.
51416 * math/s_csinhf.c: Likewise.
51417 * math/s_csinhl.c: Likewise.
51418 * math/s_csinl.c: Likewise.
51419 * math/s_csqrt.c: Likewise.
51420 * math/s_csqrtf.c: Likewise.
51421 * math/s_csqrtl.c: Likewise.
51422 * math/s_ctan.c: Likewise.
51423 * math/s_ctanf.c: Likewise.
51424 * math/s_ctanh.c: Likewise.
51425 * math/s_ctanhf.c: Likewise.
51426 * math/s_ctanhl.c: Likewise.
51427 * math/s_ctanl.c: Likewise.
51428 * math/s_ldexp.c: Likewise.
51429 * math/s_ldexpf.c: Likewise.
51430 * math/s_ldexpl.c: Likewise.
51431 * math/s_significand.c: Likewise.
51432 * math/s_significandf.c: Likewise.
51433 * math/s_significandl.c: Likewise.
51434 * math/w_acos.c: Likewise.
51435 * math/w_acosf.c: Likewise.
51436 * math/w_acosh.c: Likewise.
51437 * math/w_acoshf.c: Likewise.
51438 * math/w_acoshl.c: Likewise.
51439 * math/w_acosl.c: Likewise.
51440 * math/w_asin.c: Likewise.
51441 * math/w_asinf.c: Likewise.
51442 * math/w_asinl.c: Likewise.
51443 * math/w_atan2.c: Likewise.
51444 * math/w_atan2f.c: Likewise.
51445 * math/w_atan2l.c: Likewise.
51446 * math/w_atanh.c: Likewise.
51447 * math/w_atanhf.c: Likewise.
51448 * math/w_atanhl.c: Likewise.
51449 * math/w_cosh.c: Likewise.
51450 * math/w_coshf.c: Likewise.
51451 * math/w_coshl.c: Likewise.
51452 * math/w_dremf.c: Likewise.
51453 * math/w_exp10.c: Likewise.
51454 * math/w_exp10f.c: Likewise.
51455 * math/w_exp10l.c: Likewise.
51456 * math/w_exp2.c: Likewise.
51457 * math/w_exp2f.c: Likewise.
51458 * math/w_fmod.c: Likewise.
51459 * math/w_fmodf.c: Likewise.
51460 * math/w_fmodl.c: Likewise.
51461 * math/w_hypot.c: Likewise.
51462 * math/w_hypotf.c: Likewise.
51463 * math/w_hypotl.c: Likewise.
51464 * math/w_j0.c: Likewise.
51465 * math/w_j0f.c: Likewise.
51466 * math/w_j0l.c: Likewise.
51467 * math/w_j1.c: Likewise.
51468 * math/w_j1f.c: Likewise.
51469 * math/w_j1l.c: Likewise.
51470 * math/w_jn.c: Likewise.
51471 * math/w_jnf.c: Likewise.
51472 * math/w_jnl.c: Likewise.
51473 * math/w_lgamma.c: Likewise.
51474 * math/w_lgamma_r.c: Likewise.
51475 * math/w_lgammaf.c: Likewise.
51476 * math/w_lgammaf_r.c: Likewise.
51477 * math/w_lgammal.c: Likewise.
51478 * math/w_lgammal_r.c: Likewise.
51479 * math/w_log.c: Likewise.
51480 * math/w_log10.c: Likewise.
51481 * math/w_log10f.c: Likewise.
51482 * math/w_log10l.c: Likewise.
51483 * math/w_log2.c: Likewise.
51484 * math/w_log2f.c: Likewise.
51485 * math/w_log2l.c: Likewise.
51486 * math/w_logf.c: Likewise.
51487 * math/w_logl.c: Likewise.
51488 * math/w_pow.c: Likewise.
51489 * math/w_powf.c: Likewise.
51490 * math/w_powl.c: Likewise.
51491 * math/w_remainder.c: Likewise.
51492 * math/w_remainderf.c: Likewise.
51493 * math/w_remainderl.c: Likewise.
51494 * math/w_scalb.c: Likewise.
51495 * math/w_scalbf.c: Likewise.
51496 * math/w_scalbl.c: Likewise.
51497 * math/w_sinh.c: Likewise.
51498 * math/w_sinhf.c: Likewise.
51499 * math/w_sinhl.c: Likewise.
51500 * math/w_sqrt.c: Likewise.
51501 * math/w_sqrtf.c: Likewise.
51502 * math/w_sqrtl.c: Likewise.
51503 * math/w_tgamma.c: Likewise.
51504 * math/w_tgammaf.c: Likewise.
51505 * math/w_tgammal.c: Likewise.
51506
6a621eb7
UD
51507 * po/ja.po: Update from translation team.
51508
bf582445
AJ
515092011-09-29 Andreas Jaeger <aj@suse.de>
51510
f9efbf3a
AJ
51511 [BZ #13179]
51512 * sunrpc/netname.c (netname2host): Fix logic.
51513
bf582445
AJ
51514 [BZ #6779]
51515 [BZ #6783]
51516 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51517 correctly.
51518 * math/w_remainder.c (__remainder): Likewise.
51519 * math/w_remainderf.c (__remainderf): Likewise.
51520 * math/libm-test.inc (remainder_test): Add test cases.
51521
48693bea
AK
515222011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51523
51524 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51525 sdiv_qrnnd.
51526
42622229
LD
515272011-10-07 Ulrich Drepper <drepper@gmail.com>
51528
51529 * string/test-memcmp.c: Avoid unncessary #defines.
51530 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51531
093ecf92
LD
515322011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51533
51534 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51535 Use new sse2 version for core i3 - i7 as it's faster
51536 than sse42 version.
51537 (bit_Prefer_PMINUB_for_stringop): New.
51538 * sysdeps/x86_64/rawmemchr.S: Update.
51539 Replace with faster SSE2 version.
51540 * sysdeps/x86_64/memrchr.S: New file.
51541 * sysdeps/x86_64/memchr.S: Update.
51542 Replace with faster SSE2 version.
51543
fde56e5c
MP
515442011-09-12 Marek Polacek <mpolacek@redhat.com>
51545
51546 * elf/dl-load.c (lose): Add cast to avoid warning.
51547
21fd49a9
UD
515482011-10-07 Ulrich Drepper <drepper@gmail.com>
51549
5a06e643
UD
51550 * po/ca.po: Update from translation team.
51551
684ae515
UD
51552 * inet/getnetgrent_r.c: Hook up nscd.
51553 * nscd/Makefile (routines): Add nscd_netgroup.
51554 (nscd-modules): Add netgroupcache.
51555 (CFLAGS-netgroupcache.c): Define.
51556 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51557 (cache_search): Add const to second parameter.
51558 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51559 INNETGR.
51560 (dbs): Add netgrdb entry.
51561 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51562 (verify_persistent_db): Handle netgrdb.
51563 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51564 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51565 GETFDNETGR.
51566 (netgroup_response_header): Define.
51567 (innetgroup_response_header): Define.
51568 (datahead): Add netgroup_response_header and innetgroup_response_header
51569 elements.
51570 * nscd/nscd.conf: Add entries for netgroup cache.
51571 * nscd/nscd.h (dbtype): Add netgrdb.
51572 (_PATH_NSCD_NETGROUP_DB): Define.
51573 (netgroup_iov_disabled): Declare.
51574 (xmalloc, xcalloc, xrealloc): Move declarations here.
51575 (cache_search): Adjust prototype.
51576 Add netgroup-related prototypes.
51577 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51578 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51579 (__nscd_innetgr): Declare.
51580 * nscd/selinux.c (perms): Use access_vector_t as element type and
51581 add netgroup-related initializers.
51582 * nscd/netgroupcache.c: New file.
51583 * nscd/nscd_netgroup.c: New file.
51584 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51585 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51586 For four parameters use innetgr.
51587 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51588 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51589 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51590 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51591
21fd49a9
UD
51592 * nscd/connections.c (register_traced_file): Don't register file
51593 for disabled databases.
51594
054c0457
UD
515952011-10-06 Ulrich Drepper <drepper@gmail.com>
51596
32b63198
UD
51597 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51598
054c0457
UD
51599 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51600 from tree and freeing node.
51601
64031225
JO
516022011-09-25 Jiri Olsa <jolsa@redhat.com>
51603
51604 * nss/nsswitch.c (__nss_database_lookup): Handle
51605 nss_parse_service_list out of memory case.
51606
0490345c
JO
516072011-09-15 Jiri Olsa <jolsa@redhat.com>
51608
51609 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51610 out of memory case.
51611
3a62d00d
AS
516122011-10-04 Andreas Schwab <schwab@redhat.com>
51613
51614 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51615 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51616 pass it down.
51617 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51618 elf_machine_rela, elf_machine_lazy_rel.
51619 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51620 (ELF_DYNAMIC_DO_REL): Likewise.
51621 (ELF_DYNAMIC_DO_RELA): Likewise.
51622 (ELF_DYNAMIC_RELOCATE): Likewise.
51623 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51624 to ELF_DYNAMIC_DO_REL.
51625 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51626 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51627 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51628 elf_machine_rela.
51629 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51630 skip_ifunc, don't call ifunc function if non-zero.
51631 (elf_machine_rela): Likewise.
51632 (elf_machine_lazy_rel): Likewise.
51633 (elf_machine_lazy_rela): Likewise.
51634 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51635 (elf_machine_lazy_rel): Likewise.
51636 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51637 Likewise.
51638 (elf_machine_lazy_rel): Likewise.
51639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51640 Likewise.
51641 (elf_machine_lazy_rel): Likewise.
51642 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51643 (elf_machine_lazy_rel): Likewise.
51644 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51645 (elf_machine_lazy_rel): Likewise.
51646 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51647 (elf_machine_lazy_rel): Likewise.
51648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51649 (elf_machine_lazy_rel): Likewise.
51650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51651 (elf_machine_lazy_rel): Likewise.
51652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51653 (elf_machine_lazy_rel): Likewise.
51654
68577918
UD
516552011-09-28 Ulrich Drepper <drepper@gmail.com>
51656
51657 * nss/nss_files/files-init.c (_nss_files_init): Use static
51658 initialization for all the *_traced_file variables.
51659
68822d74
AS
516602011-09-28 Andreas Schwab <schwab@redhat.com>
51661
51662 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51663
2056100b
RM
516642011-09-27 Roland McGrath <roland@hack.frob.com>
51665
51666 [BZ #13226]
51667 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51668
32c76b63
AS
516692011-09-27 Andreas Schwab <schwab@redhat.com>
51670
51671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51672 Reread the line before reparsing it.
51673
bf972c9d
AS
516742011-09-26 Andreas Schwab <schwab@redhat.com>
51675
51676 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51677
e057a1b5
JM
516782011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51679 Maxim Kuvyrkov <maxim@codesourcery.com>
51680 Joseph Myers <joseph@codesourcery.com>
51681
51682 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51683 if needed for __stack_chk_guard.
51684
bc7e1c36
RM
516852011-09-19 Roland McGrath <roland@hack.frob.com>
51686
ecb1482f
RM
51687 * sysdeps/posix/spawni.c (script_execute): Always define it.
51688 It will be optimized away if unused.
51689 (maybe_script_execute): New function.
51690 (__spawni): Call it.
51691
bc7e1c36
RM
51692 * Makerules: Don't include tls.make.
51693 (config-tls): Always set to thread.
51694 * tls.make.c: File removed.
51695
1c3b002b
MF
516962011-09-19 Mike Frysinger <vapier@gentoo.org>
51697
51698 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51699 * config.make.in (CPPFLAGS-config): New substituted variable.
51700
2840865d
UD
517012011-09-15 Ulrich Drepper <drepper@gmail.com>
51702
88738eb6
UD
51703 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51704
cbf645a6 51705 [BZ #13192]
2840865d
UD
51706 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51707 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51708
b402e91a
RM
517092011-09-15 Roland McGrath <roland@hack.frob.com>
51710
51711 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51712 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51713 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51714 (CALL_FAIL): Likewise.
51715 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51716 (CALL_FAIL): Macro removed.
51717 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51718
4c1a1f71
UD
517192011-09-15 Ulrich Drepper <drepper@gmail.com>
51720
51721 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51722 for __FINITE_MATH_ONLY__ == 1.
51723
edc121be
AS
517242011-09-15 Andreas Schwab <schwab@redhat.com>
51725
51726 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51727 __ieee754_sqrt instead of sqrt.
51728 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51729 __ieee754_sqrtf instead of sqrtf.
51730 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51731 __floorf instead of floorf.
51732 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51733 __floorf, __truncf instead of floorf, truncf.
51734
cd205654
UD
517352011-09-14 Ulrich Drepper <drepper@gmail.com>
51736
ee4d0315
UD
51737 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51738
cd205654
UD
51739 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51740 __extern_always_inline.
51741 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51742 32-bit.
51743
48b67d71
AS
517442011-09-14 Andreas Schwab <schwab@redhat.com>
51745
51746 * elf/rtld.c (dl_main): Also relocate in dependency order when
51747 doing symbol dependency testing.
51748
1ae12c75
AS
517492011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51750
51751 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51752 Always define `refsym'.
51753
995a80df
AS
517542011-09-13 Andreas Schwab <schwab@redhat.com>
51755
e529793b
AS
51756 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51757 (__FD_ELT): Renamed from __FDELT.
51758 * misc/bits/select2.h (__FD_ELT): Likewise.
51759 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51760 __FD_MASK instead of __FDELT, __FDMASK.
51761 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51762 Likewise.
51763 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51764 Likewise.
51765
52d4fef8
AS
51766 * elf/Makefile (gen-ldd): Fix pattern.
51767
995a80df
AS
51768 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51769 (init_tls): Likewise.
51770
8682f8b0
UD
517712011-09-12 Ulrich Drepper <drepper@gmail.com>
51772
51773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51774
de82006d
AS
517752011-09-12 Andreas Schwab <schwab@redhat.com>
51776
a7c8e6a1
AS
51777 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51778 `struct cmsghdr *' instead of `void *'.
51779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51780 Likewise.
51781
0f31fe77
AS
517822011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51783
51784 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51785 if non-absolute.
51786 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51787 ldd_rewrite_script.
0f31fe77 51788
32b4c839
UD
517892011-09-11 Ulrich Drepper <drepper@gmail.com>
51790
83cd1420
UD
51791 * configure.in: Remove --with-tls option.
51792 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51793 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51794 out in case it is missing.
51795 * sysdeps/ia64/elf/configure.in: Likewise.
51796 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51797 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51798 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51799 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51800 * sysdeps/sh/elf/configure.in: Likewise.
51801 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51802 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51803 * sysdeps/x86_64/elf/configure.in: Likewise.
51804 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51805 * sysdeps/mach/hurd/tls.h: Likewise.
51806
633f745d
UD
51807 [BZ #13067]
51808 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51809
f318beb8
UD
51810 [BZ #13090]
51811 * configure.in: Fix use of AC_INIT.
51812
32b4c839
UD
51813 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51814
3ce1f295
UD
518152011-09-10 Ulrich Drepper <drepper@gmail.com>
51816
bb016596
UD
51817 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51818 __set_errno.
8e58439c
UD
51819 * malloc/hooks.c: Likewise.
51820
aebae053 51821 [BZ #11929]
02d46fc4
UD
51822 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51823 variables statically.
51824 (narenas): Initialize.
51825 (list_lock): Initialize.
bb016596
UD
51826 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51827 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51828 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51829 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51830 Add initializers to main_arena and mp_.
51831 (malloc_state): Remove pagesize member. Change all users to use
51832 GLRO(dl_pagesize).
51833
51834 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51835 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51836 is always initialized.
51837
22a89187
UD
51838 * malloc/malloc.c: Removed unused configurations and dead code.
51839 * malloc/arena.c: Likewise.
51840 * malloc/hooks.c: Likewise.
02d46fc4 51841 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51842
d063d164
UD
51843 * include/tls.h: Removed. USE___THREAD must always be defined.
51844 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51845 * elf/dl-libc.c: Likewise.
51846 * elf/dl-tsd.c: Likewise.
51847 * include/errno.h: Likewise.
51848 * include/netdb.h: Likewise.
51849 * include/resolv.h: Likewise.
51850 * inet/herrno-loc.c: Likewise.
51851 * inet/herrno.c: Likewise.
51852 * malloc/arena.c: Likewise.
51853 * malloc/hooks.c: Likewise.
51854 * malloc/malloc.c: Likewise.
51855 * resolv/res-state.c: Likewise.
51856 * resolv/res_libc.c: Likewise.
51857 * sysdeps/i386/dl-machine.h: Likewise.
51858 * sysdeps/ia64/dl-machine.h: Likewise.
51859 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51860 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51861 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51862 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51863 * sysdeps/sh/dl-machine.h: Likewise.
51864 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51865 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51866 * sysdeps/unix/i386/sysdep.S: Likewise.
51867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51868 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51870 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51873 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51875 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51877 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51878 * sysdeps/x86_64/dl-machine.h: Likewise.
51879 * tls.make.c: Likewise.
51880
3ce1f295
UD
51881 * configure.in: Remove --with-__thread option. Make tests for
51882 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51883 tls_model attribute fail if no support is available. Remove
51884 USE_IN_LIBIO.
51885 * Makeconfig: Adjust for dropped configure option. All features are
51886 now mandatory.
51887 * Makerules: Likewise.
51888 * Versions.def: Likewise.
51889 * argp/argp-fmtstream.c: Likewise.
51890 * argp/argp-fmtstream.h: Likewise.
51891 * argp/argp-help.c: Likewise.
51892 * assert/assert.c: Likewise.
51893 * config.h.in: Likewise.
51894 * config.make.in: Likewise.
51895 * configure: Likewise.
51896 * configure.in: Likewise.
51897 * csu/Versions: Likewise.
51898 * csu/init.c: Likewise.
51899 * elf/tst-audit2.c: Likewise.
51900 * elf/tst-tls10.c: Likewise.
51901 * elf/tst-tls10.h: Likewise.
51902 * elf/tst-tls11.c: Likewise.
51903 * elf/tst-tls12.c: Likewise.
51904 * elf/tst-tls14.c: Likewise.
51905 * elf/tst-tlsmod11.c: Likewise.
51906 * elf/tst-tlsmod12.c: Likewise.
51907 * elf/tst-tlsmod13.c: Likewise.
51908 * elf/tst-tlsmod13a.c: Likewise.
51909 * elf/tst-tlsmod14a.c: Likewise.
51910 * elf/tst-tlsmod15b.c: Likewise.
51911 * elf/tst-tlsmod16a.c: Likewise.
51912 * elf/tst-tlsmod16b.c: Likewise.
51913 * elf/tst-tlsmod7.c: Likewise.
51914 * elf/tst-tlsmod8.c: Likewise.
51915 * elf/tst-tlsmod9.c: Likewise.
51916 * gmon/gmon.c: Likewise.
51917 * grp/fgetgrent_r.c: Likewise.
51918 * grp/putgrent.c: Likewise.
51919 * hurd/fopenport.c: Likewise.
51920 * include/libc-symbols.h: Likewise.
51921 * include/tls.h: Likewise.
51922 * intl/gettextP.h: Likewise.
51923 * intl/loadinfo.h: Likewise.
51924 * locale/global-locale.c: Likewise.
51925 * locale/localeinfo.h: Likewise.
51926 * mach/devstream.c: Likewise.
51927 * malloc/arena.c: Likewise.
51928 * malloc/set-freeres.c: Likewise.
51929 * misc/err.c: Likewise.
51930 * misc/getttyent.c: Likewise.
51931 * misc/mntent_r.c: Likewise.
51932 * posix/getopt.c: Likewise.
51933 * posix/wordexp.c: Likewise.
51934 * pwd/fgetpwent_r.c: Likewise.
51935 * resolv/Versions: Likewise.
51936 * resolv/res_hconf.c: Likewise.
51937 * shadow/fgetspent_r.c: Likewise.
51938 * shadow/putspent.c: Likewise.
51939 * stdio-common/printf_fphex.c: Likewise.
51940 * stdio-common/tmpfile.c: Likewise.
51941 * stdlib/abort.c: Likewise.
51942 * stdlib/fmtmsg.c: Likewise.
51943 * sunrpc/auth_unix.c: Likewise.
51944 * sunrpc/clnt_perr.c: Likewise.
51945 * sunrpc/clnt_tcp.c: Likewise.
51946 * sunrpc/clnt_udp.c: Likewise.
51947 * sunrpc/clnt_unix.c: Likewise.
51948 * sunrpc/openchild.c: Likewise.
51949 * sunrpc/svc_simple.c: Likewise.
51950 * sunrpc/svc_tcp.c: Likewise.
51951 * sunrpc/svc_udp.c: Likewise.
51952 * sunrpc/svc_unix.c: Likewise.
51953 * sunrpc/xdr.c: Likewise.
51954 * sunrpc/xdr_array.c: Likewise.
51955 * sunrpc/xdr_rec.c: Likewise.
51956 * sunrpc/xdr_ref.c: Likewise.
51957 * sunrpc/xdr_stdio.c: Likewise.
51958
1248c1c4
PB
519592011-09-09 Ulrich Drepper <drepper@gmail.com>
51960
51961 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51962
519632011-07-03 Andreas Jaeger <aj@suse.de>
51964
51965 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51966 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51967 regenerate with gen-libm-tests.pl.
51968
519692010-05-12 Petr Baudis <pasky@suse.cz>
51970
51971 [BZ #11589]
51972 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51973 around j0() zero points by switching to j1().
51974 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51975 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51976 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51977 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51978
f22e1074
UD
519792011-09-09 Ulrich Drepper <drepper@gmail.com>
51980
f19009c1
UD
51981 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51982 instead of 0.
51983 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51984 instead of 0.
f19009c1
UD
51985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51986 Patch in part by Pavel Roskin <proski@gnu.org>.
51987
3f8cc204
UD
51988 [BZ #13138]
51989 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51990 realloc.
51991 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51992 Free memory block if necessary.
51993
f22e1074
UD
51994 [BZ #12847]
51995 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51996 be NULL. Don't lock in this case.
51997
0a2349f9
RM
519982011-09-09 Roland McGrath <roland@hack.frob.com>
51999
52000 * elf/elf.h (ELFOSABI_GNU): New macro.
52001 (ELFOSABI_LINUX): Define to that.
52002
f3cdd467
DZ
520032011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52004
52005 * string/strncat.c (strncat): Undef the symbol in case it has been
52006 defined in bits/string.h.
52007
74718d13
UD
520082011-09-09 Ulrich Drepper <drepper@gmail.com>
52009
633e9e0f
UD
52010 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52011
0a2349f9 52012 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52013 link map.
52014
f9924780
AJ
520152011-08-17 Andreas Jaeger <aj@suse.de>
52016
52017 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52018
7f5517aa
PP
520192011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52020 Ian Lance Taylor <iant@google.com>
52021
52022 * math/libm-test.inc (lround_test): New testcase.
52023 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52024
762011fe
UD
520252011-09-08 Ulrich Drepper <drepper@gmail.com>
52026
92963737
UD
52027 * Makefile: Remove support for automatic cvs check-ins.
52028 * Makerules: Likewise.
52029 * config.make.in: Likewise.
52030 * configure.in: Likewise.
52031 * intl/Makefile: Likewise.
52032 * locale/Makefile: Likewise.
52033 * po/Makefile: Likewise.
52034 * posix/Makefile: Likewise.
52035 * sysdeps/gnu/Makefile: Likewise.
52036 * sysdeps/mach/hurd/Makefile: Likewise.
52037 * sysdeps/sparc/sparc32/Makefile: Likewise.
52038
b0727fd8
JS
52039 [BZ #13118]
52040 * posix/Makefile (bug-regex32-ENV): Define.
52041 Patch by John Stanley <jpsinthemix@verizon.net>.
52042
a0f33f99
UD
52043 * misc/Makefile (headers): Add bits/select2.h.
52044 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52045 * misc/bits/select2.h: New file.
52046 * include/bits/select2.h: New file.
52047 * debug/Makefile (routines): Add fdelt_chk.
52048 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52049 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52050 FD_ISSET.
52051 * debug/fdelt_chk.c: New file.
52052
762011fe
UD
52053 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52054 * wcsmbs/test-wmemcmp.c: Likewise.
52055 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52056 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52057
520582011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52059
52060 * string/Makefile (strop-tests): Add memcmp.
52061 * string/test-wmemcmp.c: New file.
52062 * string/test-memcmp.c: Add wmemcmp support.
52063
7f513ec8
RM
520642011-09-08 Roland McGrath <roland@hack.frob.com>
52065
0442afb4
RM
52066 [BZ #13153]
52067 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52068 2011-07-19 change.
52069
7f513ec8
RM
52070 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52071 garbage value in a __mach_port_mod_refs call in the cases of the
52072 task-self and thread-self ports.
52073
a12b2239
ST
520742011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52075
52076 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52077
610f9ab4
AS
520782011-09-08 Andreas Schwab <schwab@redhat.com>
52079
7f513ec8 52080 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52081
48882a1a
LD
520822011-09-07 Ulrich Drepper <drepper@gmail.com>
52083
b49865be
UD
52084 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52085
fdc86bc9
UD
52086 * elf/dl-libc.c (dlerror_run): Pass back error code from
52087 dl_catch_error.
52088
c966526a
UD
52089 [BZ #13123]
52090 * elf/dl-load.c (lose): Free l_origin if it is valid.
52091
48882a1a
LD
52092 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52093 names.
52094 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52095 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52096 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52097 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52098 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52099 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52100
77a2a8b4
AZ
521012011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52102
52103 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52104 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52105 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52106 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52107 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52108 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52109 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52110 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52111 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52112 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52113
24f579d8
AM
521142011-08-15 Alan Modra <amodra@gmail.com>
52115
52116 [BZ #13092]
52117 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52118 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52119 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52120 ppc_mcount to static-only-routines.
52121 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52122 __mcount_internal.
52123 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52124 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52125
3d4837df
UD
521262011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52127
52128 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52129 for finite and infinity parameters.
52130
22700377
WS
521312011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52132
52133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52134 and add nop instructions for throughput optimization.
52135 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52136
5025581e
WS
521372011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52138
52139 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52140 aligned copy for power7 with vector-scalar instructions.
52141 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52142
08a300c9
L
521432011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52144
52145 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52146 AVX check.
52147
59178ef9
AS
521482011-09-07 Andreas Schwab <schwab@redhat.com>
52149
52150 [BZ #13144]
52151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52152 last change.
52153
e38ba7ab
UD
521542011-09-07 Ulrich Drepper <drepper@gmail.com>
52155
52156 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52157 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52158 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52159 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52160 clock_gettime.
52161
d53a73ac
UD
521622011-09-06 Ulrich Drepper <drepper@gmail.com>
52163
fc8bffcc
UD
52164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52165 Forgot to demangle the pointer.
52166
ceaa0c5d
UD
52167 * sysdeps/i386/sysdep.h: Define atom_text_section.
52168 * sysdeps/x86_64/sysdep.h: Likewise.
52169 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52170 section with atom_text_section.
52171 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52172 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52173 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52174 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52175 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52176
a77d3c17
UD
52177 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52178 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52179 already be defined. Change to take two parameters and don't assign
52180 result to variable. Adjust all users.
52181 Define INTERNAL_GETTIME if not already defined.
52182 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52183 call.
52184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52185 HAVE_CLOCK_GETTIME_VSYSCALL.
52186 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52187
d53a73ac
UD
52188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52189 gettimeofday vsyscall, just use time.
52190
a8f84144
AS
521912011-09-06 Andreas Schwab <schwab@redhat.com>
52192
52193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52194 <errno.h>.
52195
ef606249
UD
521962011-09-06 Ulrich Drepper <drepper@gmail.com>
52197
52198 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52199 syscall on x86-64.
52200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52201 syscall.
52202 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52204 syscall if possible.
52205
6585cb60
UD
522062011-09-05 Ulrich Drepper <drepper@gmail.com>
52207
52208 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52209 e_ident. Don't pass to find_mapsXX.
52210 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52211
a5f524e4
LD
522122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52213
52214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52215 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52216 * sysdeps/x86_64/multiarch/strchr.S: Update.
52217 Check bit_slow_BSF bit.
52218 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52219 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52220 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52221
554881ef
UD
522222011-09-05 Ulrich Drepper <drepper@gmail.com>
52223
d96de963
UD
52224 [BZ #13134]
52225 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52226 before glibc 2.15.
52227 (tryshell): Define.
52228 (__spawni): Change last parameter to be flag. Test
52229 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52230 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52231 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52232 * posix/spawni.c: Likewise.
52233 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52234 * posix/spawnp.c: Likewise. Change normal version to use
52235 SPAWN_XFLAGS_USE_PATH.
52236 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52237 SPAWN_XFLAGS_TRY_SHELL.
52238
d48e5868
UD
52239 [BZ #13150]
52240 * posix/glob.h: Remove gcc 1.x support.
52241
554881ef
UD
52242 [BZ #13068]
52243 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52244
693fb948
LD
522452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52246
52247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52248 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52249 strrchr-sse2-bsf
52250 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52251 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52252 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52253 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52254 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52255 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52256
1b48c537
UD
522572011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52258
49d42c37
UD
52259 * sysdeps/x86_64/wcscmp.S: New file.
52260
1b48c537
UD
52261 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52262 wcscmp-c wcscmp-sse2
52263 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52264 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52265 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52266 * wcsmbs/wcscmp.c: Allow renaming.
52267
15c95c5d
DM
522682011-09-05 David S. Miller <davem@davemloft.net>
52269
52270 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52271 stack slot, rather than the struct return pointer slot.
52272 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52273 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52275 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52276
2f0ad8f3
UD
522772011-09-05 Ulrich Drepper <drepper@gmail.com>
52278
d88ae418
UD
52279 * po/ja.po: Update from translation team.
52280
2f0ad8f3
UD
52281 [BZ #13144]
52282 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52283 kernel in 64-bit binaries.
52284
5f4318d1
DM
522852011-09-01 David S. Miller <davem@davemloft.net>
52286
52287 * elf/elf.h (HWCAP_SPARC_*): Move to..
52288 * sysdeps/sparc/sysdep.h: this new file and add new values.
52289 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52290 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52291 _DL_HWCAP_COUNT to 24.
52292 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52293 entries.
52294 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52295 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52296 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52297 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52298 instead of magic constants.
52299 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52300
3ba57516
DM
523012011-08-31 David S. Miller <davem@davemloft.net>
52302
52303 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52305 Reimplement to do errno handling inline.
52306 (SYSCALL_ERROR_HANDLER): New macro.
52307 (__SYSCALL_STRING): Do not do errno handling in asm.
52308 (__CLONE_SYSCALL_STRING): Delete.
52309 (__INTERNAL_SYSCALL_STRING): Delete.
52310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52311 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52312 (PSEUDO): Reimplement to do errno handling inline.
52313 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52314 (SYSCALL_ERROR_HANDLER): New macro.
52315 (__SYSCALL_STRING): Do not do errno handling in asm.
52316 (__CLONE_SYSCALL_STRING): Delete.
52317 (__INTERNAL_SYSCALL_STRING): Delete.
52318 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52319 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52320 i386.
52321 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52322 (inline_syscall*): Add 'err' argument.
52323 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52324 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52325 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52326 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52327
52328 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52329 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52330
2bc17433
AS
523312011-08-30 Andreas Schwab <schwab@redhat.com>
52332
52333 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52334
fbeb5f4d
JO
523352011-08-29 Jiri Olsa <jolsa@redhat.com>
52336
52337 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52338 directive.
52339
ad69cc26
DM
523402011-08-24 David S. Miller <davem@davemloft.net>
52341
52342 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52343
39dd69df
AS
523442011-08-24 Andreas Schwab <schwab@redhat.com>
52345
52346 * elf/Makefile: Add rules to build and run unload8 test.
52347 * elf/unload8.c: New file.
52348 * elf/unload8mod1.c: New file.
52349 * elf/unload8mod1x.c: New file.
52350 * elf/unload8mod2.c: New file.
52351 * elf/unload8mod3.c: New file.
52352
52353 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52354 it wasn't used.
52355
2c0b250a
DM
523562011-08-23 David S. Miller <davem@davemloft.net>
52357
52358 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52359 subtract stack bias.
52360 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52361 %sp not %fp in calculations.
52362 (_JMPBUF_UNWINDS_ADJ): Likewise.
52363
22044b48
DM
52364 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52365 (aio_suspend): Call it to force an exception region around the
52366 AIO_MISC_WAIT() invocation.
52367
2cae4995
AS
523682011-08-23 Andreas Schwab <schwab@redhat.com>
52369
52370 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52371 backslash.
52372
873a772e
AJ
523732011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52374
52375 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52376 protection macro.
52377 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52378 and <dl-machine.h>.
52379 (Elf64_FuncDesc): Remove.
52380
25ad0df1
DM
523812011-08-22 David S. Miller <davem@davemloft.net>
52382
52383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52384 sigaltstack check, add missing cfi directives.
52385 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52386 missing cfi directives, and sigaltstack handling.
52387
e888bcbe
AS
523882011-08-16 Andreas Schwab <schwab@redhat.com>
52389
52390 [BZ #11724]
52391 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52392 object is seen twice.
52393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52394
52395 * elf/Makefile (distribute): Add tst-initorder2.c.
52396 (tests): Add tst-initorder2.
52397 (modules-names): Add tst-initorder2a tst-initorder2b
52398 tst-initorder2c tst-initorder2d. Add rules to build them.
52399 ($(objpfx)tst-initorder2.out): New rule.
52400 * elf/tst-initorder2.c: New file.
52401 * elf/tst-initorder2.exp: New file.
52402
87162f46
AS
524032011-08-22 Andreas Schwab <schwab@redhat.com>
52404
70538b7f
AS
52405 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52406
f55ffe58
AS
52407 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52408 dependencies back to end of function.
52409
87162f46
AS
52410 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52411 $(elfobjdir)/ld.so.
52412
91b392a4
UD
524132011-08-21 Ulrich Drepper <drepper@gmail.com>
52414
52415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52416 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52418 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52419 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52420 of __vdso_gettimeofday.
52421 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52422 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52423 attribute_hidden.
52424 (_libc_vdso_platform_setup): Remove initialization of
52425 __vdso_gettimeofday and __vdso_time.
52426
5c43483f
UD
524272011-08-20 Ulrich Drepper <drepper@gmail.com>
52428
775a77e7
UD
52429 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52430 and fgetc_unlocked.
52431 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52432 getc_unlocked.
89f447ed 52433
49c74ba9
UD
52434 * elf/dl-open.c (add_to_global): Report additions to the global scope
52435 for LD_DEBUG=scopes.
52436 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52437 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52438
5c43483f
UD
52439 [BZ #13114]
52440 * stdio-common/Makefile (tests): Add bug24.
52441 * stdio-common/bug24.c: New file.
52442
a101b025
AJ
524432011-08-19 Andreas Jaeger <aj@suse.de>
52444
52445 [BZ #13114]
52446 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52447 non-existant file when using close-on-exec mode.
52448
c88f1766
UD
524492011-08-20 Ulrich Drepper <drepper@gmail.com>
52450
0276a718
UD
52451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52452 the very first instruction.
52453
c88f1766
UD
52454 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52455 the CFI state in the end.
52456 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52457 inclusion of dl-trampoline.h.
52458 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52459
51ccffa0
AS
524602011-08-19 Andreas Schwab <schwab@redhat.com>
52461
94d7165f
AS
52462 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52463 expectations for long double.
52464
51ccffa0
AS
52465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52466 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52467
fd708658 524682011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52469
52470 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52471 artificual limit depends upon the system page size.
52472
44f0a71e
UD
524732011-08-17 Ulrich Drepper <drepper@gmail.com>
52474
52475 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52476 * resolv/Makefile: Define CFLAGS-libresolv.
52477
8de79a24
AS
524782011-08-17 Andreas Schwab <schwab@redhat.com>
52479
52480 * nss/makedb.c (compute_tables): Make variables used in nested
52481 function static.
52482
27724598
UD
524832011-08-17 Ulrich Drepper <drepper@gmail.com>
52484
c5305d88
UD
52485 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52486 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52487 if buffer was too small.
52488
27724598
UD
52489 * elf/pldd.c (main): Attach to all threads in the process.
52490 Rewrite /proc handling to use *at functions.
52491
076fe015
UD
524922011-08-16 Ulrich Drepper <drepper@gmail.com>
52493
174baab3
UD
52494 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52495 specifies first scope to show.
52496 (dl_open_worker): Update callers. Move printing scope of new
52497 object to before the relocation.
44f0a71e 52498 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52499 * sysdeps/generic/ldsodefs.h: Update declaration.
52500
076fe015
UD
52501 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52502 string for the scope number.
52503
a60df2c3
UD
525042011-08-14 Ulrich Drepper <drepper@gmail.com>
52505
52506 * nscd/servicescache.c (cache_addserv): Make sure written is always
52507 initialized.
52508
5e4287d1
RM
525092011-08-14 Roland McGrath <roland@hack.frob.com>
52510
85ae0589
RM
52511 * sysdeps/i386/i486/bits/atomic.h
52512 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52513 statement expression, so as to suppress "set but not used" warning.
52514 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52515
69f63097
RM
52516 * string/strncat.c (STRNCAT): Use prototype definition.
52517
675456ef
RM
52518 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52519 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52520 -Iprograms here.
52521 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52522 (localedef-modules): Add localedef.
52523 (locale-modules): Add locale.
52524
5e4287d1
RM
52525 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52526 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52527 to avoid a warning.
52528
9c96ff23
DM
525292011-08-14 David S. Miller <davem@davemloft.net>
52530
52531 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52532 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52533
f9ddf089
UD
525342011-08-13 Ulrich Drepper <drepper@gmail.com>
52535
44f0a71e 52536 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52537 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52538 * elf/rtld.c (dl_main): Set l_name of vDSO.
52539 Call _dl_show_scope when DL_DEBUG_SCOPES.
52540 (process_dl_debug): Recognize scopes flag and also set it for all.
52541 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52542 Declare _dl_show_scope.
52543
1dc27704
UD
52544 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52545 (do_dlopen): Pass caller_dlopen to dl_open.
52546 (__libc_dlopen_mode): Initialize caller_dlopen.
52547
f9ddf089
UD
52548 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52549 of libc. Make tolower call locale-independent. Optimize a bit by
52550 using isdigit instead of isalnum.
52551 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52552
9ac533d3
UD
525532011-08-12 Ulrich Drepper <drepper@gmail.com>
52554
52555 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52556 was a dependency or dynamically loaded.
52557
89edf2e9
UD
525582011-08-11 Ulrich Drepper <drepper@gmail.com>
52559
8e999d29
UD
52560 * intl/l10nflist.c: Allow architecture-specific pop function.
52561 * sysdeps/x86_64/l10nflist.c: New file.
52562
89edf2e9
UD
52563 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52564 classification.
52565
14d96785
AS
525662011-08-10 Andreas Schwab <schwab@redhat.com>
52567
52568 * include/dirent.h: Add libc_hidden_proto for scandirat and
52569 scandirat64. Don't declare __scandirat64.
52570 * dirent/scandirat.c: Add libc_hidden_def.
52571 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52572 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52573
6761ac04
DM
525742011-08-10 David S. Miller <davem@davemloft.net>
52575
52576 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52577 enum.
52578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52581
c55fbd1e
UD
525822011-08-09 Ulrich Drepper <drepper@gmail.com>
52583
52584 * Versions.def [libc]: Add GLIBC_2.15.
52585 * dirent/Makefile (routines): Add scandirat and scandirat64.
52586 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52587 GLIBC_2.15.
52588 * dirent/dirent.h: Declare scandirat and scandirat64.
52589 * dirent/scandirat.c: New file.
52590 * dirent/scandirat64.c: New file.
52591 * sysdeps/wordsize-64/scandirat.c: New file.
52592 * sysdeps/wordsize-64/scandirat64.c: New file.
52593 * dirent/opendir.c: Define opendirat.
52594 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52595 using scandirat.
52596 * dirent/scandir64.c: Adjust for scandir.c change.
52597 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52598 __scandirat64, and __scandir_cancel_handler.
52599 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52600 additional parameter and use openat instead of open (outside of ld.so).
52601 Add new __opendir as wrapper around __opendirat.
52602 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52603 here without requiring old scandirat implementation.
52604
879165f2
UD
526052011-08-08 Ulrich Drepper <drepper@gmail.com>
52606
52607 * dirent/scandir.c (cancel_handler): Renamed to
52608 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52609 defined. Adjust users.
52610 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52611 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52612
cb7e923b
UD
526132011-08-04 Ulrich Drepper <drepper@gmail.com>
52614
16292edd
UD
52615 * string/test-string.h (IMPL): Use __STRING to expand name and then
52616 stringify it.
52617
cb7e923b
UD
52618 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52619 of cleanups.
52620
cff82933
LD
526212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52622
52623 * string/Makefile: Update.
52624 (strop-tests): Append strncat.
52625 * string/test-wcscmp.c: New file.
52626 New comprehensive test for wcscmp.
52627 * string/test-strcmp.c: Update.
52628 (WIDE): New define.
52629
9be9bfcc
AS
526302011-07-22 Andreas Schwab <schwab@redhat.com>
52631
52632 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52633 line.
52634
2e96f1c7
AS
526352011-07-26 Andreas Schwab <schwab@redhat.com>
52636
52637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52638 encoding to ACE if AI_IDN.
52639
85188888
JJ
526402011-08-01 Jakub Jelinek <jakub@redhat.com>
52641
52642 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52643 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52644
5fa16e9b
LD
526452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52646
52647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52648 Fix overflow bug in strncat.
52649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52650
52651 * string/test-strncat.c: Update.
52652 Add new tests for checking overflow bugs.
52653
526542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52655
52656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52657 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52658 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52659 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52660 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52661 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52662 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52663 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52664 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52665
52666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52667 (USE_AS_STRCAT): Define.
52668 Add strcat and strncat support.
52669 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52670
8c1a459f
AS
526712011-07-25 Andreas Schwab <schwab@redhat.com>
52672
52673 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52674 __n bigger than INT_MAX+1.
52675 (__strncmp_g): Likewise.
52676
bba33c28
UD
526772011-07-23 Ulrich Drepper <drepper@gmail.com>
52678
798be72d
UD
52679 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52680 * libio/stido.h: Likewise.
52681
8accd4dc
UD
52682 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52683 (AF_NFC): Define.
52684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52685 (AF_NFC): Define.
52686
cbff0d96
UD
52687 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52688 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52690 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52691 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52692
9191c04a
UD
52693 [BZ #13021]
52694 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52695 installed.
52696
bba33c28
UD
52697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52698 typo.
52699 (_dl_x86_64_save_sse): Likewise.
52700
90f139dd
UD
527012011-07-22 Ulrich Drepper <drepper@gmail.com>
52702
1aae088a
UD
52703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52704 OSXSAVE.
52705 (_dl_x86_64_save_sse): Likewise.
52706
8e2045f5
UD
52707 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52708
90f139dd
UD
52709 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52710
1d002f25
AS
527112011-07-21 Andreas Schwab <schwab@redhat.com>
52712
52713 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52714 change.
52715 (_dl_x86_64_save_sse): Use correct AVX check.
52716
21137f89
UD
527172011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52718
52719 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52720 bug in strncpy/strncat.
52721 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52722
a65c0b7a
UD
527232011-07-21 Ulrich Drepper <drepper@gmail.com>
52724
52725 * string/tester.c (test_strcat): Add tests for different alignments
52726 of source and destination.
52727 (test_strncat): Likewise.
52728
6986b98a
UD
527292011-07-20 Ulrich Drepper <drepper@gmail.com>
52730
90bb2039
UD
52731 [BZ #12852]
52732 * posix/glob.c (glob): Check passed in values before using them in
52733 expressions to avoid some overflows.
52734 (glob_in_dir): Likewise.
52735
5644ef54
UD
52736 [BZ #13007]
52737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52738 check for AVX enablement so that we don't crash with old kernels and
52739 new hardware.
52740 * elf/tst-audit4.c: Add same checks here.
52741 * elf/tst-audit6.c: Likewise.
52742
52743 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52744
bfc9dc9b
AS
527452011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52746
52747 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52748
702e64bb
UD
527492011-07-20 Ulrich Drepper <drepper@gmail.com>
52750
52751 * po/cs.po: Update from translation team.
52752 * po/bg.po: Likewise.
52753
295e904f
MP
527542011-07-12 Marek Polacek <mpolacek@redhat.com>
52755
52756 * misc/sys/cdefs.h: Add support for const attribute.
52757 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52758 to gnu_dev_{major,minor,makedev} functions.
52759
3ff94596
MP
527602011-07-20 Marek Polacek <mpolacek@redhat.com>
52761
52762 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52763
28b59fca
AS
527642011-07-20 Andreas Schwab <schwab@redhat.com>
52765
52766 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52767 strlen results.
52768
19df733e
AK
527692011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52770
52771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52772 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52773 register in order to avoid conflicts with the soft frame pointer
52774 being held in r11 when necessary.
52775 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52776 (INTERNAL_VSYSCALL_NCS): Likewise.
52777
c8835729
MP
527782011-07-14 Marek Polacek <mpolacek@redhat.com>
52779
52780 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52781 * elf/dl-fini.c (_dl_fini): Adjust caller.
52782 * elf/dl-close.c (_dl_close_worker): Likewise.
52783 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52784
b902330c
MP
527852011-07-15 Marek Polacek <mpolacek@redhat.com>
52786
8991e135
MP
52787 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52788 "aux_cache->nlibs < 0".
52789
b902330c
MP
52790 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52791 in the reload-count case.
52792
99710781
LD
527932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52794
52795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52796 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52797 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52798 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52799 * sysdeps/x86_64/multiarch/strcat.S: New file.
52800 * sysdeps/x86_64/multiarch/strncat.S: New file.
52801 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52802 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52803 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52804 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52806 (USE_AS_STRCAT): Define.
52807 Add strcat and strncat support.
52808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52809 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52810 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52811 * string/strncat.c: Update.
52812 (USE_AS_STRNCAT): Define.
52813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52814 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52815 and i7.
52816 * sysdeps/x86_64/multiarch/init-arch.h
52817 (bit_Prefer_PMINUB_for_stringop): New.
52818 (index_Prefer_PMINUB_for_stringop): Likewise.
52819 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52820 bit_Prefer_PMINUB_for_stringop.
52821
7dc6bd90
UD
528222011-07-19 Ulrich Drepper <drepper@gmail.com>
52823
52824 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52825 buffer64.
52826 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52827 of casting of buffer.
52828 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52829 buffer32 and buffer64.
52830 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52831 writes instead of casting of buffer.
52832 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52833 buffer32.
52834 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52835 casting of buffer.
52836
e0e72284
AS
528372011-07-19 Andreas Schwab <schwab@redhat.com>
52838
52839 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52840
feb1eb0b
UD
528412011-07-19 Ulrich Drepper <drepper@gmail.com>
52842
52843 * nscd/nscd.c (termination_handler): Don't do anything for a database
52844 if it has not yet been initialized.
52845
298711ff
UD
528462011-07-18 Ulrich Drepper <drepper@gmail.com>
52847
52848 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52849
528502011-07-15 Marek Polacek <mpolacek@redhat.com>
52851
52852 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52853
f9d68389
UD
528542011-07-18 Ulrich Drepper <drepper@gmail.com>
52855
52856 * po/nl.po: Update from translation team.
52857 * po/sv.po: Likewise.
52858
db290cf5
RM
528592011-07-16 Roland McGrath <roland@hack.frob.com>
52860
52861 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52862 now disallowed by GCC.
5c550700 52863
fd5e21c7
RM
52864 * configure.in (use-default-link): Default to yes if a test -shared
52865 link meets our qualifications.
52866 * configure: Regenerated.
52867
5c550700
RM
52868 * config.make.in (output-format): New variable.
52869 * configure.in: Check for ld --print-output-format support.
52870 * configure: Regenerated.
52871 * Makerules ($(common-objpfx)format.lds)
52872 [$(output-format) != unknown]: Just use $(output-format),
52873 instead of the linker-script munging.
52874
9fa2c032
RM
528752011-07-14 Roland McGrath <roland@hack.frob.com>
52876
a6928d51
RM
52877 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52878 of $(common-objpfx)shlib.lds.
52879 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52880
661607b3
RM
52881 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52882 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52883
9fa2c032
RM
52884 * configure.in (-z relro check): Adjust test code to add a large
52885 writable data section after it.
52886 * configure: Regenerated.
52887
defe9061
RM
528882011-07-11 Roland McGrath <roland@hack.frob.com>
52889
52890 * configure.in (-z relro check): Fix test code to make the variable
52891 truly const.
52892 * configure: Regenerated.
52893
319b9ad4
UD
528942011-07-11 Ulrich Drepper <drepper@gmail.com>
52895
52896 * nscd/nscd.h (struct traced_file): Define.
52897 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52898 elements. Add traced_files.
52899 (inotify_fd): Declare.
52900 (register_traced_file): Declare.
52901 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52902 (inotify_fd): Export.
52903 (resolv_conf_descr): Remove.
52904 (nscd_init): Move inotify descriptor creation to main.
52905 Don't register files for notification here.
52906 (register_traced_file): New function.
52907 (invalidate_cache): Don't use reset_res to determine whether to call
52908 res_init, go through the list of registered files.
52909 (main_loop_poll): The inotify descriptors are now stored in the
52910 structures for the traced files.
52911 (main_loop_epoll): Likewise
52912 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52913 to __nss_disable_nscd.
52914 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52915 for a database anymore. Check the records for all the registered
52916 files instead.
52917 * nss/Makefile (libnss_files-routines): Add files-init.
52918 (libnss_db-routines): Add db-init.
52919 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52920 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52921 * nss/nss_db/db-init.c: New file.
52922 * nss/nss_files/files-init.c: New file.
52923 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52924 __nss_lookup_function.
52925 (__nss_lookup_function): Call nss_load_library.
52926 (nss_load_all_libraries): New function.
52927 (__nss_disable_nscd): Take parameter with callback function for files
52928 to register. Set is_nscd. Load all the DSOs for the NSS modules
52929 used for the cached services.
52930 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52931 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52932 options for features to all the files in nscd.
52933
52934 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52935
23bee3e8
RM
529362011-07-10 Roland McGrath <roland@hack.frob.com>
52937
52938 * csu/elf-init.c (__libc_csu_init): Comment typo.
52939
46a5b7f0
UD
529402011-07-09 Ulrich Drepper <drepper@gmail.com>
52941
52942 * po/pl.po: Update from translation team.
52943 * po/ja.po: Likewise.
52944 * po/ru.po: Likewise.
52945 * po/ko.po: Likewise.
52946 * po/fr.po: Likewise.
52947
d30cf5bb
RM
529482011-07-09 Roland McGrath <roland@hack.frob.com>
52949
113ddea4
RM
52950 * configure.in (.ctors/.dtors header and trailer check):
52951 Use an empirical test on a built program.
52952 * configure: Regenerated.
52953
574920b4
RM
52954 * configure.in (-z relro check): Use an empirical test on a built DSO.
52955 Detect, but do not require, on ia64.
52956 * configure: Regenerated.
52957
d30cf5bb
RM
52958 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52959 Update tests that use readelf to use $READELF instead.
52960 * configure: Regenerated.
52961
8538fdb3
UD
529622011-07-08 Ulrich Drepper <drepper@gmail.com>
52963
52964 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52965 if the result is not used.
52966
04d08991
AJ
529672011-07-05 Andreas Jaeger <aj@suse.de>
52968
52969 [BZ#9696]
52970 * stdlib/tst-strtod.c: Add testcase.
52971
de283087
AD
529722011-07-07 Ulrich Drepper <drepper@gmail.com>
52973
4e5f31c8 52974 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52975 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52976 The latter has a higher limit. Take additional parameter to pass to
52977 the new function.
52978 (__pathconf): Pass file to __statfs_link_max.
52979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52980 __statfs_link_max.
52981 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52982 __statfs_link_max.
52983
de283087
AD
52984 [BZ #12868]
52985 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52986 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52987 Handle Lustre.
52988 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52989 (__statfs_filesize_max): Likewise.
52990 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52991
c75fa153
AJ
529922011-07-05 Andreas Jaeger <aj@suse.de>
52993
52994 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52995
1a544854
UD
529962011-07-06 Marek Polacek <mpolacek@redhat.com>
52997
52998 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52999 `status' variable.
53000 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53001 Likewise.
53002
6f0eec67
UD
530032011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53004
53005 * Makefile (strop-tests): Add strncat.
53006 * string/test-strncat.c: New file.
53007
aae30307
UD
530082011-06-30 Marek Polacek <mpolacek@redhat.com>
53009
53010 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53011
c0cfb5eb
UD
530122011-06-21 Andreas Jaeger <aj@suse.de>
53013
53014 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53015 Copy rule from iconvdata/Makefile.
53016
01636b21
UD
530172011-07-06 Ulrich Drepper <drepper@gmail.com>
53018
53019 [BZ #12922]
53020 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53021 but no long options are defined, just return 'W'.
53022
9895c8bc
UD
530232011-06-22 Marek Polacek <mpolacek@redhat.com>
53024
53025 [BZ #9696]
53026 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53027
5d4cf042
UD
530282011-07-06 Ulrich Drepper <drepper@gmail.com>
53029
53030 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53031 netgroups to read.
960e5535 53032 (innetgr): Likewise.
5d4cf042 53033
751eb97e
RM
530342011-07-05 Roland McGrath <roland@hack.frob.com>
53035
53036 * config.make.in (install_root): Default to $(DESTDIR).
53037
f15f1e45
UD
530382011-07-05 Ulrich Drepper <drepper@gmail.com>
53039
53040 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53041
4e34ac6a
RM
530422011-07-02 Roland McGrath <roland@hack.frob.com>
53043
5e9b6af4
RM
53044 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53045
84f9ea0f
RM
53046 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53047 containing directory rather than embedding absolute directory names.
53048
ea5ee9f7
RM
53049 * scripts/check-local-headers.sh: Rewritten using awk.
53050 Match by word, not by line. Print error messages for matches.
53051 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53052
1b74661a
RM
53053 * Makerules [shlib-lds-flags empty]:
53054 ($(common-objpfx)libc_pic.opts): New target.
53055 ($(common-objpfx)libc_pic.os.clean): New target.
53056 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53057
53058 * config.make.in (OBJCOPY): New variable.
53059 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53060 * configure: Regenerated.
53061
f781ef40
RM
53062 * config.make.in (use-default-link): New variable.
53063 * configure.in (use_default_link): Grok --with-default-link to set it.
53064 * configure: Regenerated.
53065 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53066 (shlib-lds, shlib-lds-flags): Define to empty.
53067
2d4fa81e
RM
53068 * Makerules (shlib-lds): New variable.
53069 (shlib-lds-flags): New variable.
53070 (build-shlib, build-moduile, build-module-asneeded): Use it.
53071 ($(common-objpfx)libc.so): Use $(shlib-lds).
53072 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53073 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53074
31fffa6b
RM
53075 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53076 DT_FLAGS/DT_FLAGS_1 with zero flags.
53077
4e34ac6a
RM
53078 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53079 linker script munging.
53080
fcfc776b
UD
530812011-07-02 Ulrich Drepper <drepper@gmail.com>
53082
53083 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53084 as 128-bit value.
53085 * crypt/sha512.c (sha512_process_block): Perform total addition using
53086 128-bit if possible.
53087 (__sha512_finish_ctx): Likewise.
53088 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53089 as 64-bit value.
53090 * crypt/sha256.c (SWAP64): Define.
53091 (sha256_process_block): Perform total addition using 64-bit if
53092 possible.
53093 (__sha256_finish_ctx): Likewise.
53094
99231d9a
UD
530952011-07-01 Ulrich Drepper <drepper@gmail.com>
53096
53097 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53098 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53099 * nscd/hstcache.c (cache_addhst): Likewise.
53100 * nscd/grpcache.c (cache_addgr): Likewise.
53101 * nscd/aicache.c (addhstaiX): Likewise
53102 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53103
445b4a53
TK
531042011-07-01 Thorsten Kukuk <kukuk@suse.de>
53105
53106 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53107 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53108 * nscd/hstcache.c (cache_addhst): Likewise.
53109 * nscd/grpcache.c (cache_addgr): Likewise.
53110 * nscd/aicache.c (addhstaiX): Likewise
53111
6d4d8e8e
AS
531122011-07-01 Andreas Schwab <schwab@redhat.com>
53113
53114 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53115 domain only when needed.
53116
89f654c5
AS
531172011-06-30 Andreas Schwab <schwab@redhat.com>
53118
53119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53120 is always restored.
53121
cf3b23ff
UD
531222011-06-29 Ulrich Drepper <drepper@gmail.com>
53123
53124 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53125 are re-adding the entry.
53126 * nscd/servicescache.c (cache_addserv): Likewise.
53127
751626f9
AJ
531282011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53129
53130 * sysdeps/generic/dl-irel.h: fix protection against multiple
53131 inclusions.
53132 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53133
9113ea1f
UD
531342011-06-28 Ulrich Drepper <drepper@gmail.com>
53135
5c0b8d90
UD
53136 [BZ #12935]
53137 * malloc/memusage.sh: Fix quoting in message.
53138 * debug/xtrace.sh: Likewise.
53139
9113ea1f
UD
53140 * configure.in: Remove support for --experimental-malloc option, make
53141 it the default.
53142 * config.make.in: Likewise.
53143 * malloc/Makefile: Likewise.
53144
a4172181
AS
531452011-06-27 Andreas Schwab <schwab@redhat.com>
53146
53147 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53148 two-byte characters.
53149
78a7eee7
RM
531502011-06-27 Roland McGrath <roland@hack.frob.com>
53151
62bede13
RM
53152 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53153 AC_CACHE_CHECK invocation.
53154 * configure: Regenerated.
53155
78a7eee7
RM
53156 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53157
5ce33a62
UD
531582011-06-27 Ulrich Drepper <drepper@gmail.com>
53159
034807a9
UD
53160 [BZ #12350]
53161 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53162 bit from old_res_options.
53163
4902da17
UD
53164 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53165
5ce33a62
UD
53166 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53167 value type for setfct.
53168
c2344f56
L
531692011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53170
53171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53172 __gettimeofday instead of gettimeofday.
53173
68468076
UD
531742011-06-26 Ulrich Drepper <drepper@gmail.com>
53175
53176 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53177
acb0d739
L
531782011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53179
53180 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53181
53182 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53183 info.
53184
8912479f
L
531852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53186
53187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53188 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53189 strcpy-sse2-unaligned strncpy-sse2-unaligned
53190 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53191 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53192 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53193 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53194 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53195 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53197 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53198 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53199 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53200 (STRCPY): Support SSE2 and SSSE3 versions.
53201
d5495a11
UD
532022011-06-24 Ulrich Drepper <drepper@gmail.com>
53203
53204 [BZ #12874]
53205 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53206 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53207 kernels which artificially limit size of requests.
53208
0b1cbaae
L
532092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53210
53211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53212 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53213 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53214 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53215 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53216 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53217 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53218 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53220 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53221 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53222 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53223 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53224 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53225 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53227 Enable unaligned load optimization for Intel Core i3, i5 and i7
53228 processors.
53229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53230 Define.
53231 (index_Fast_Unaligned_Load): Define.
53232 (HAS_FAST_UNALIGNED_LOAD): Define.
53233
07f494a0
MP
532342011-06-23 Marek Polacek <mpolacek@redhat.com>
53235
53236 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53237
fa3fc0fe
UD
532382011-06-22 Ulrich Drepper <drepper@gmail.com>
53239
53240 [BZ #12907]
53241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53242 until it is clear that the information is realy needed.
53243 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53244
e12df166
AS
532452011-06-22 Andreas Schwab <schwab@redhat.com>
53246
53247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53248
852eb34d
UD
532492011-06-22 Ulrich Drepper <drepper@gmail.com>
53250
84e2a551
UD
53251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53252 /sys/devices/system/cpu/online if it is usable.
53253
852eb34d
UD
53254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53255 reading the information from the /proc filesystem to once a second.
53256
6e502e19
UD
532572011-06-21 Andreas Jaeger <aj@suse.de>
53258
53259 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53260 NULL after inclusion of kernel headers.
53261
75d39ff2
UD
532622011-06-21 Ulrich Drepper <drepper@gmail.com>
53263
51f9aa6a
UD
53264 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53265 calls to internal_setent.
53266
c0244a9d
UD
53267 [BZ #12885]
53268 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53269 addresses using gethostbyname4_r ignore IPv4 addresses.
53270
c5e3c2ae
UD
53271 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53272 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53273
75d39ff2
UD
53274 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53275
42675c6f
DM
532762011-06-20 David S. Miller <davem@davemloft.net>
53277
53278 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53279 inclusions.
53280 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53281
53282 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53283 (elf_irel): Use it.
53284 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53285 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53286 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53287 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53288 * sysdeps/x86_64/dl-irel.h: Likewise.
53289
53290 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53291 * elf/dl-sym.c: Likewise.
53292
57912a71
UD
532932011-06-15 Ulrich Drepper <drepper@gmail.com>
53294
53295 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53296 need to dereference resplen2.
53297
ee22793d
AS
532982011-06-14 Andreas Schwab <schwab@redhat.com>
53299
53300 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53301
a9e836b0
UD
533022011-06-15 Ulrich Drepper <drepper@gmail.com>
53303
77fb9117
UD
53304 * Makeconfig: Define vardbdir and inst_vardbdir.
53305 * nss/Makefile: Add rules to install db-Makefile.
53306
40c1b22c
UD
53307 * nss/nss_db/db-XXX.c: Cleanup.
53308
9f2da732
UD
53309 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53310 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53311 GLIBC_PRIVATE.
53312 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53313 * nss/makedb.c: Implement -g option to specify that value strings
53314 are generated and should not be added to table iterated over for
53315 get*ent calls.
53316 * nss/nss_db/db-initgroups.c: New file.
53317
82e9a1f7
UD
53318 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53319 interface.
53320
c41af17e
UD
53321 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53322 (internal_getgrouplist): Adjust to name change.
53323 Update use_initgroups_entry if this is not the first call.
53324 * nss/databases.def: Add initgroups entry.
53325
a9e836b0
UD
53326 * nss/makedb.c (compute_tables): Check result of multiple hash table
53327 sizes to minimize maximum chain length.
53328
2666d441
UD
533292011-06-14 Ulrich Drepper <drepper@gmail.com>
53330
53331 * Versions.def: Add entry for libnss_db.
53332 * shlib-versions: Likewise.
53333 * nss/Makefile: Add rules to build libnss_db.
53334 * nss/Versions: Add libnss_db information. Organize libnss_files
53335 entries better.
53336 * nss/db-Makefile: Add gshadow support. Change rules for the new
53337 makedb progra. Some minor improvements to generate smaller files.
53338 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53339 here from...
53340 * nss/makedb.c: ...here.
53341 Improve database format to be smaller and require less memory at
53342 runtime.
53343 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53344 db anymore.
53345 * nss/nss_db/db-netgrp.c: Likewise.
53346 * nss/nss_db/db-open.c: Likewise.
53347 * nss/nss_files/flies-XXX.x: Adjust comments.
53348 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53349 * nss/nss_files/files-grp.c: Likewise.
53350 * nss/nss_files/files-hosts.c: Likewise.
53351 * nss/nss_files/files-network.c: Likewise.
53352 * nss/nss_files/files-proto.c: Likewise.
53353 * nss/nss_files/files-pwd.c: Likewise.
53354 * nss/nss_files/files-rpc.c: Likewise.
53355 * nss/nss_files/files-service.c: Likewise.
53356 * nss/nss_files/files-sgrp.c: Likewise.
53357 * nss/nss_files/files-spwd.c: Likewise.
53358 * nss/nss_db/db-alias.c: Removed.
53359 * nss/nss_db/dummy-db.h: Removed.
53360
9ee76b5a
UD
533612011-06-02 Ulrich Drepper <drepper@gmail.com>
53362
53363 * nss/makedb.c: Rewritten to not use database library.
53364 * nss/Makefile: Update to build new makedb program.
53365
c71ca1f8
AJ
533662011-06-14 Andreas Jaeger <aj@suse.de>
53367
53368 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53369 memset declaration.
53370
3154bfb8
UD
533712011-06-10 Andreas Schwab <schwab@redhat.com>
53372
53373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53374 tmpbuf.
53375
b350afab
RM
533762011-06-10 Roland McGrath <roland@hack.frob.com>
53377
decd4e50
RM
53378 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53379 * elf/Makefile ($(objpfx)ld.so): Likewise.
53380
5615eaf2
RM
53381 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53382 Don't list ld.so twice in dependencies.
53383
53384 * posix/bug-regex31.c: Include <stdlib.h>.
53385
53386 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53387
53388 * nis/nss_compat/compat-spwd.c
53389 (getspent_next_nss_netgr): Remove unused variable.
53390 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53391
53392 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53393 nonmembers" output to use the right array.
53394
53395 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53396
53397 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53398
53399 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53400 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53401 * catgets/gencat.c (read_input_file): Likewise.
53402 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53403
53404 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53405 variable definition inside #if's controlling its use.
53406
53407 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53408
53409 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53410
53411 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53412
53413 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53414 unreachable code.
53415
53416 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53417
b68e08db
RM
53418 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53419 * configure: Regenerated.
53420
b350afab
RM
53421 * Makerules: Revert last change.
53422 * elf/Makefile: Likewise.
53423
28368601
RM
534242011-06-09 Roland McGrath <roland@hack.frob.com>
53425
53426 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53427 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53428 (reloc-link): Likewise.
53429
11988f8f
UD
534302011-06-09 Ulrich Drepper <drepper@gmail.com>
53431
53432 * elf/Makefile: Add rules to build pldd.
53433 * elf/pldd.c: New file.
53434 * elf/pldd-xx.c: New file.
53435
e80fab37
UD
534362011-06-07 Ulrich Drepper <drepper@gmail.com>
53437
53438 * version.h: Update for 2.15 development version.
53439
9b849836
DM
534402011-06-07 David S. Miller <davem@davemloft.net>
53441
53442 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53443 ifuncs.
53444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53445 elf_machine_lazy_rel): Likewise.
53446 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53447 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53448 elf_machine_lazy_rel): Likewise.
53449 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53450 dl_hwcap via passed in argument.
53451 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53452 Likewise.
53453
5a31b283
AK
534542011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53455
53456 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53457
069e52f8
RM
534582011-06-06 Roland McGrath <roland@hack.frob.com>
53459
53460 [BZ #12849]
53461 * manual/fdl-1.1.texi: New file, verbatim from:
53462 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53463 * manual/lgpl-2.1.texi: New file, verbatim from:
53464 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53465 * manual/Makefile (licenses): New variable, list those new file names.
53466 (texis): Use it.
53467 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53468
53469 * manual/fdl.texi: File removed.
53470 * manual/lesser.texi: File removed.
53471 * manual/libc.texinfo (Copying, Documentation License):
53472 Use new @include file names, put @appendix directive before @include.
53473
f16846a5
JJ
534742011-06-04 Jakub Jelinek <jakub@redhat.com>
53475
53476 [BZ #12841]
53477 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53478 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53479 (mq_open): Add __NTH.
53480
3d29045b
L
534812011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53482
53483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53484 Assume Intel Core i3/i5/i7 processor if AVX is available.
53485
8c297311
UD
534862011-05-31 Ulrich Drepper <drepper@gmail.com>
53487
53488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53489 typo.
53490
c8fc0c91
UD
534912011-05-31 Andreas Schwab <schwab@redhat.com>
53492
53493 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53494 memory. Use alloca_account. Fix memory leak when retrying.
53495
5b27a807
UD
534962011-05-31 Ulrich Drepper <drepper@gmail.com>
53497
356f8bc6
UD
53498 * version.h (RELEASE): Bump for 2.14 release.
53499 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53500
5b27a807
UD
53501 * config.make.in (RANLIB): Remove entry.
53502
01f16ab0
UD
535032011-05-30 Ulrich Drepper <drepper@gmail.com>
53504
41fce8bd
UD
53505 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53506 (libc.pot): Work around missing support for .ksh extension in xgettext.
53507
4769ae77
UD
53508 [BZ #12684]
53509 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53510 if both request failed.
53511 (send_dg): In case of server errors clear resplen or *resplen2.
53512
6b1e7d19
UD
53513 [BZ #12454]
53514 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53515 when there are multiple maps.
53516 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53517 (_dl_fini): Remove test here.
53518
01f16ab0
UD
53519 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53520
b1ebd700
UD
535212011-05-29 Ulrich Drepper <drepper@gmail.com>
53522
7ae22829
UD
53523 [BZ #12350]
53524 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53525 bit from old_res_options.
53526 (gaih_inet): Likewise.
53527
553149f6 53528 [BZ #11099]
18a84741 53529 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53530 as signed.
53531
652ffab1
UD
53532 * resolv/res_init.c (res_setoptions): Make the code more compact.
53533
16985fd0
UD
53534 [BZ #11558]
53535 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53536 set RES_USEVC.
53537
0464f746
UD
53538 [BZ #11634]
53539 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53540
7d17596c
UD
53541 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53542
cf6bbbd7
UD
53543 [BZ #11781]
53544 * malloc/malloc.h: Declare malloc hook variables as volatile.
53545
13f1ab36
UD
53546 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53547 in last patch.
53548
b1ebd700
UD
53549 [BZ #11799]
53550 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53551 raise in the comment.
80e2212d
UD
53552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53554 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53555
ce67228d
UD
535562011-05-28 Ulrich Drepper <drepper@gmail.com>
53557
8887a920
UD
53558 [BZ #12811]
53559 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53560 grow the buffers more if it already has to be sufficient.
53561 (build_wcs_upper_buffer): Likewise.
53562 * posix/regexec.c (check_matching): Likewise.
53563 (clean_state_log_if_needed): Likewise.
53564 (extend_buffers): Don't enlarge buffers beyond size of the input
53565 buffer.
53566 Patches mostly by Emil Wojak <emil@wojak.eu>.
53567 * posix/bug-regex32.c: New file.
53568 * posix/Makefile (tests): Add bug-regex32.
53569
4f031072
UD
53570 * locale/findlocale.c (_nl_find_locale): Return right away if
53571 _nl_explode_name failed.
53572 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53573
d0478f0c
UD
53574 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53575
de81b246
UD
53576 * debug/xtrace.sh: Unify messages.
53577 * malloc/memusage.sh: Likewise.
53578
c738465a
UD
53579 [BZ #12813]
53580 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53581 time symbol from vDSO. Substitute with vsyscall if not available.
53582 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53583 __vdso_time.
53584
f1f929d7
UD
53585 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53586 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53587 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53588 Add sendmmsg and internal_sendmmsg.
53589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53590 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53591 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53592
ce67228d
UD
53593 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53594 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53595 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53596
e57420c6
UD
535972011-05-27 Ulrich Drepper <drepper@gmail.com>
53598
a8509ca5
UD
53599 [BZ #12813]
53600 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53601 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53602 available.
53603 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53604 __vdso_getcpu.
53605
e57420c6
UD
53606 [BZ #12814]
53607 * iconvdata/Makefile (tests): Add bug-iconv9.
53608 * iconvdata/bug-iconv9.c: New file.
53609
4d07db15
AS
536102011-05-27 Andreas Schwab <schwab@redhat.com>
53611
53612 [BZ #12814]
53613 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53614
ea486f69
JJ
536152011-05-25 Jakub Jelinek <jakub@redhat.com>
53616
53617 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53618 (struct user_regs_struct): Change intcs field back to cs.
53619
6f038433
UD
536202011-05-25 Ulrich Drepper <drepper@gmail.com>
53621
53622 * po/ja.po: Update from translation team.
53623
67f86a25
UD
536242011-05-23 Ulrich Drepper <drepper@gmail.com>
53625
53626 [BZ #12795]
53627 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53628 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53629
def7fbd6
AS
536302011-05-20 Andreas Schwab <schwab@redhat.com>
53631
53632 * stdlib/longlong.h: Update from GCC.
53633
f50ef8f1
AS
536342011-05-23 Andreas Schwab <schwab@redhat.com>
53635
53636 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53637 parameter name.
53638 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53639 Add parameter name.
53640 (__sysconf): Pass it down.
53641
de7ce8f1
UD
536422011-05-22 Ulrich Drepper <drepper@gmail.com>
53643
f2962a71
UD
53644 [BZ #12671]
53645 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53646 some situations.
53647 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53648 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53649 add in in __libc_use_alloca calls. Adjust callers.
53650 (glob): Use malloc in some situations.
53651
de7ce8f1
UD
53652 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53653 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53654 pltexit.
53655
aec84f53
UD
536562011-05-21 Ulrich Drepper <drepper@gmail.com>
53657
05bb4a68
UD
53658 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53659 and CLOCK_BOOTTIME_ALARM.
53660
7ea72f99
UD
53661 [BZ #12782]
53662 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53663 is returned.
53664
7e4afad5
UD
53665 * string/_strerror.c (__strerror_r): Print negative errors as signed
53666 numbers.
53667
8e211fec
UD
53668 [BZ #12777]
53669 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53670 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53671 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53672
f7d82dc9
UD
53673 * configure.in: Fix typo in redirection and correct removal of test
53674 files in two cases.
53675
cc9e536d
UD
53676 [BZ #12788]
53677 * locale/setlocale.c (new_composite_name): Fix test to check for
53678 identical name of all categories.
53679
aec84f53
UD
53680 [BZ #12792]
53681 * libio/filedoalloc.c (local_isatty): New function.
53682 (_IO_file_doallocate): Use local_isatty.
53683 * stdio-common/perror.c (perror): In case a new stream is used
53684 forward the stream error.
53685 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53686 error flag.
53687
78e64fdc
RT
536882011-05-20 Ulrich Drepper <drepper@gmail.com>
53689
34a9094f
UD
53690 [BZ #11869]
53691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53692 alloca.
53693 * include/alloca.h (extend_alloca_account): Define.
53694
78e64fdc
RT
53695 [BZ #11857]
53696 * posix/regex.h: Fix comments with documentation of user-accessible
53697 fields after compilation and describe correct free'ing of pattern
53698 after re_compile_pattern.
53699 Patch by Reuben Thomas <rrt@sc3d.org>.
53700
457bddfc
RA
537012011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53702
53703 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53704 and -mno-altivec to prevent the compiler from using Altivec and/or
53705 VSX instructions when the corresponding registers are not available.
53706
a4527b51
AS
537072011-05-19 Andreas Schwab <schwab@redhat.com>
53708
53709 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53710
ed690b2f
UD
537112011-05-19 Ulrich Drepper <drepper@gmail.com>
53712
53713 * libio/freopen.c (freopen): Use __dup2, not dup2.
53714 * libio/freopen64.c (freopen64): Likewise.
53715
8db73634
L
537162011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53717
53718 [BZ #12775]
53719 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53720 * math/Makefile (tests): Add test-powl.
53721 (CFLAGS-test-powl.c): Define.
53722 * math/test-powl.c: New file.
53723
0a197a9d
L
537242011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53725
53726 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53727
ee30c380
UD
537282011-05-17 Ulrich Drepper <drepper@gmail.com>
53729
53730 [BZ #11837]
53731 * iconvdata/gb18030.c: Update to GB18020-2005.
53732
6ce75379
UD
537332011-05-16 Ulrich Drepper <drepper@gmail.com>
53734
a4b89fd8
AR
53735 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53736 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53737 Patch by Aharon Robbins <arnold@skeeve.com>.
53738
ea389b12
UD
53739 [BZ #11892]
53740 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53741 on the stack.
53742
68a3f91f
UD
53743 [BZ #11895]
53744 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53745 through underflows.
53746
15cc7dd1
UD
53747 [BZ #12766]
53748 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53749 point to strings before performing equality test for error_one_per_line
53750 mode.
53751
f3799213
UD
53752 [BZ #11697]
53753 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53754
d79a9c94
UD
53755 [BZ #11820]
53756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53757 (struct user_fpregs_struct): Avoid __uint*_t types.
53758
56e5eb46
UD
53759 [BZ #6420]
53760 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53761 symbol info. Use it instead of calling _dl_addr locally.
53762 (lock_and_info): New function.
53763 (tr_freehook): Call lock_and_info and pass symbol info as additional
53764 parameter to tr_where.
53765 (tr_mallochook): Likewise.
53766 (tr_reallochook): Likewise.
53767 (tr_memalignhook): Likewise.
53768
6ce75379
UD
53769 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53770 used and couldn't be at all thread-safe.
53771
f8a3b5bf
UD
537722011-05-15 Ulrich Drepper <drepper@gmail.com>
53773
94b7cc37
UD
53774 * libio/freopen.c (freopen): Don't close old file descriptor
53775 before the new one is opened. Instead dup the new file descriptor
53776 to the old one after the new stream is created.
53777 * libio/freopen64.c (freopen64): Likewise.
53778 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53779 * libio/fileops.c (_IO_new_file_close_it): Handle new
53780 _IO_FLAGS2_NOCLOSE flag.
53781 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53782 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53783 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53784 _IO_FLAGS2_NOCLOSE flag.
53785 * include/unistd.h: Add hidden_proto for dup3.
53786 Define __have_dup3.
53787 * io/dup3.c: Define hidden symbol.
53788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53789
bd25564e
UD
53790 [BZ #7101]
53791 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53792 when an incomplete long option is used.
53793 * posix/tst-getopt_long1.c: New file.
53794 * posix/Makefile (tests): Add tst-getopt_long1.
53795
c84cfef4
UD
53796 [BZ #10138]
53797 * scripts/config.guess: Update from autoconf-2.68.
53798 * scripts/config.sub: Likewise.
53799
3b85df27
UD
53800 [BZ #10157]
53801 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53802 tests into ...
53803 (has_cpuclock): ...this. New function.
53804 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53805 macro here based on has_cpuclock code.
53806
15a856b1
UD
53807 [BZ #10149]
53808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53809 First byte (not low byte) is now always NUL.
53810 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53811
05f399e6
UD
53812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53813 Use non-cancelable interfaces.
53814
10a52685 53815 [BZ #9809]
94ecc67d
UD
53816 * locale/iso-639.def: Add entry for Sorani.
53817
f8a3b5bf
UD
53818 [BZ #11901]
53819 * include/stdlib.h: Move include protection to the right place.
53820 Define abort_msg_s. Declare __abort_msg with it.
53821 * stdlib/abort.c (__abort_msg): Adjust type.
53822 * assert/assert.c (__assert_fail_base): New function. Majority
53823 of code from __assert_fail. Allocate memory for __abort_msg with
53824 mmap.
53825 (__assert_fail): Now call __assert_fail_base.
53826 * assert/assert-perr.c: Remove bulk of implementation. Use
53827 __assert_fail_base.
53828 * include/assert.hL Declare __assert_fail_base.
53829 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53830 mmap.
53831 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53832
1af4e298
UD
538332011-05-14 Ulrich Drepper <drepper@gmail.com>
53834
f8a3b5bf 53835 [BZ #11952]
d26dfc60
MG
53836 [BZ #12453]
53837 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53838 until all modules are registered in the DTV.
53839 * elf/Makefile: Add rules to build and run tst-tls19.
53840 * elf/tst-tls19.c: New file.
53841 * elf/tst-tls19mod1.c: New file.
53842 * elf/tst-tls19mod2.c: New file.
53843 * elf/tst-tls19mod3.c: New file.
53844 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53845
2fc54d6f
UD
53846 [BZ #12083]
53847 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53848 correctly.
53849
98d76b46
UD
53850 [BZ #12601]
53851 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53852 two-byte sequence errors.
53853 * iconvdata/Makefile (tests): Add bug-iconv8.
53854 * iconvdata/bug-iconv8.c: New file.
53855
da3c19ef
UD
53856 [BZ #12626]
53857 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53858 buf2 definition.
53859
ca408c15
UD
53860 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53861
d6f67f7d
UD
53862 [BZ #12432]
53863 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53864 (dummy_getcfa): New function.
53865 (init): Get _Unwind_GetCFA address, use dummy if not found.
53866 (backtrace_helper): In recursion check, also check whether CFA changes.
53867 (__backtrace): Completely initialize arg.
53868
1af4e298 53869 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53870 storing incomplete byte sequence in state object. Avoid testing for
53871 guaranteed too small input if we know there is enough data available.
1af4e298 53872
da62f81b
AS
538732011-05-11 Andreas Schwab <schwab@redhat.com>
53874
53875 * Makeconfig (+link-pie): Indent.
53876 * Rules (binaries-pie): Define if $(have-fpie) and
53877 $(build-shared).
53878 (binaries-shared): Also filter out $(binaries-pie).
53879 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53880 * nscd/Makefile (others-pie): Add nscd.
53881 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53882 ($(objpfx)nscd): Remove command override.
53883 * login/Makefile (others-pie): Add pt_chown.
53884 ($(objpfx)pt_chown): Remove command override.
53885 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53886 remove command overrides.
53887
fcabc0f8
UD
538882011-05-13 Ulrich Drepper <drepper@gmail.com>
53889
20030ae6
UD
53890 * libio/tst_putwc.c: Fix error messages.
53891
fcabc0f8
UD
53892 [BZ #12724]
53893 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53894 currently writing and seek to current position when not.
53895 * libio/Makefile (tests): Add bug-fclose1.
53896 * libio/bug-fclose1.c: New file.
53897
320a5dc0
PB
538982011-05-12 Ulrich Drepper <drepper@gmail.com>
53899
53900 [BZ #12511]
53901 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53902 don't set DF_1_NODELETE here.
53903 (do_lookup_x): When entering new entry test for copy relocation
53904 and if necessary set DF_1_NODELETE flag.
53905 * elf/tst-unique4.cc: New file.
53906 * elf/tst-unique4.h: New file.
53907 * elf/tst-unique4lib.cc: New file.
53908 * elf/Makefile: Add rules to build and run tst-unique4.
53909 Patch by Piotr Bury <pbury@goahead.com>.
53910
22836f52
UD
539112011-05-11 Ulrich Drepper <drepper@gmail.com>
53912
f574184a
UD
53913 [BZ #12052]
53914 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53915
e1fb097f
UD
53916 [BZ #12625]
53917 * misc/mntent_r.c (addmntent): Flush the stream after the output
53918
22836f52
UD
53919 [BZ #12393]
53920 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53921 (is_trusted_path_normalize): Skip initial colon. Append slash
53922 to empty buffer. Duplicate is_trusted_path code but allow
53923 constructed patch to be prefix.
53924 (is_dst): Allow $ORIGIN followed by /.
53925 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53926 Correct testing of result of is_trusted_path_normalize
53927 (decompose_rpath): Fix warning.
53928
7b3b0b2a
UD
539292011-05-10 Ulrich Drepper <drepper@gmail.com>
53930
53931 [BZ #11257]
53932 * grp/initgroups.c (internal_getgrouplist): When we found the service
53933 list through the initgroups entry in nsswitch.conf do not always
53934 continue on a successful lookup. Don't always use the
eac80ce2 53935 __nss_group_database value if it is set.
7b3b0b2a
UD
53936 * nss/nsswitch.conf (initgroups): Change action for successful db
53937 lookup to continue for compatibility.
53938
2a81eaa5
UD
539392011-05-09 Ulrich Drepper <drepper@gmail.com>
53940
be97a69e
UD
53941 [BZ #11532]
53942 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53943 and CP774 modules.
53944 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53945 and CP774 modules.
53946 * iconvdata/tst-tables.sh: Likewise.
53947 * iconvdata/cp770.c: New file.
53948 * iconvdata/cp771.c: New file.
53949 * iconvdata/cp772.c: New file.
53950 * iconvdata/cp773.c: New file.
53951 * iconvdata/cp774.c: New file.
53952 * iconvdata/testdata/CP770: New file.
53953 * iconvdata/testdata/CP770..UTF8: New file.
53954 * iconvdata/testdata/CP771: New file.
53955 * iconvdata/testdata/CP771..UTF8: New file.
53956 * iconvdata/testdata/CP772: New file.
53957 * iconvdata/testdata/CP772..UTF8: New file.
53958 * iconvdata/testdata/CP773: New file.
53959 * iconvdata/testdata/CP773..UTF8: New file.
53960 * iconvdata/testdata/CP774: New file.
53961 * iconvdata/testdata/CP774..UTF8: New file.
53962
53963 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53964 END CHARMAP line.
53965 * iconvdata/gen-8bit-gap.sh: Likewise.
53966 * iconvdata/gen-8bit.sh: Likewise.
53967
c1e9e399
UD
53968 * locale/iso-639.def: Add ary entry.
53969
24c55fb3 53970 [BZ #11258]
96b4b1b0
UD
53971 * locale/C-translit.h.in: Add U20A1 transliteration.
53972
bdc2f971
KB
53973 [BZ #12178]
53974 * locale/iso-639.def: Add wae entry.
53975 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53976
2952b117
UD
53977 [BZ #12545]
53978 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53979 for n.
53980
2a81eaa5
UD
53981 [BZ #12711]
53982 * locale/C-translit.h.in: Add entry for U20B9.
53983 Patch by pravin.d.s@gmail.com.
53984
28377d1b
UD
539852011-05-08 Ulrich Drepper <drepper@gmail.com>
53986
7fb90fb8
UD
53987 [BZ #12713]
53988 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53989 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53990 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53991 in rtld. Use *stat64.
7fb90fb8 53992 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53993 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53994 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53995 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53996 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53997 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53998 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53999 __fstatat64 macros.
7fb90fb8
UD
54000 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54001 * dirent/rewinddir.c: Add libc_hidden_def.
54002 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54003 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54004
28377d1b
UD
54005 * include/dirent.h (__alloc_dir): Add flags parameter.
54006 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54007 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54008 __alloc_dir.
54009 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54010 from fdopendir if O_CLOEXEC is already set.
54011
66bdbaa4
AM
540122011-03-15 Alan Modra <amodra@gmail.com>
54013
54014 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54015 l_tls_firstbyte_offset non-zero. Save padding offset in
54016 l_tls_firstbyte_offset for later use.
54017 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54018 freeing static tls block.
54019
95721191
JN
540202011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54021
54022 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54023 where #ifdef was intended. The intent is to prevent ARG_MAX from
54024 being defined by the kernel headers.
54025
f87dfb1f
UD
540262011-05-07 Ulrich Drepper <drepper@gmail.com>
54027
54028 [BZ #12734]
54029 * resolv/resolv.h: Define RES_NOTLDQUERY.
54030 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54031 no-tld-query and set RES_NOTLDQUERY.
54032 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54033 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54034 modern BIND to search name as TLD unless forbidden.
54035
47c3cd7a
UD
540362011-05-07 Petr Baudis <pasky@suse.cz>
54037 Ulrich Drepper <drepper@gmail.com>
54038
54039 [BZ #12393]
54040 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54041 (is_trusted_path): ...to here.
c1e9ea35 54042 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54043 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54044 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54045
8a35c912
PP
540462011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54047
54048 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54049 __BEGIN/__END_DECLS.
54050
acd41f47
UD
540512011-05-06 Ulrich Drepper <drepper@gmail.com>
54052
54053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54054 NSS_STATUS_NOTFOUND if no record was found.
54055
597df647
AS
540562011-05-05 Andreas Schwab <schwab@redhat.com>
54057
54058 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54059 (headers-not-in-tirpc): Remove rpc/netdb.h
54060 * resolv/netdb.h: Revert last change.
54061
b9af1301
PP
540622011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54063
54064 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54065 circular dependency between libgcc.a and libc.a.
54066
4e34d5f5
AS
540672011-05-05 Andreas Schwab <schwab@redhat.com>
54068
54069 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54070 * nis/Makefile: Don't install rpcsvc/*.
54071 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54072 instead of <rpc/types.h>.
54073 (MAXHOSTNAMELEN): Define.
54074
00ee369c
AS
540752011-05-03 Andreas Schwab <schwab@redhat.com>
54076
54077 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54078
0b592a30
MB
540792011-04-28 Maciej Babinski <mbabinski@google.com>
54080
54081 [BZ #12714]
54082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54083 gethostbyname4_r when IPv6 results are possible.
54084
6e04cbbe
UD
540852011-05-02 Ulrich Drepper <drepper@gmail.com>
54086
54087 [BZ #12723]
54088 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54089 _PC_PIPE_BUF handling.
54090
e4ecafe0
BH
540912011-04-30 Bruno Haible <bruno@clisp.org>
54092
54093 [BZ #12717]
54094 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54095 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54096 to 'int'.
54097 * inet/getnameinfo.c (getnameinfo): Likewise.
54098
125ee683
UD
540992011-04-29 Ulrich Drepper <drepper@gmail.com>
54100
54101 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54102 to groups setting in database lookup.
54103 * nss/nsswitch.conf: Add initgroups entry.
54104
b722481a
EB
541052011-04-22 Ulrich Drepper <drepper@gmail.com>
54106
54107 [BZ #12685]
54108 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54109 mode string.
54110 Patch by Eric Blake <eblake@redhat.com>.
54111
4df46dbd
L
541122011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54113
54114 * sunrpc/Makefile (need-export-routines): Add svc_run.
54115 (routines): Remove svc_run.
54116 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54117 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54118 * sunrpc/svc_run.c (svc_run): Likewise.
54119 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54120
e84142d2
UD
541212011-04-21 Ulrich Drepper <drepper@gmail.com>
54122
54123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54124 problem in reallocation in last patch.
54125
877175d8
UD
541262011-04-20 Ulrich Drepper <drepper@gmail.com>
54127
54128 * sunrpc/Makefile: Move inclusion of Rules.
54129
ab8eed78
UD
541302011-04-19 Ulrich Drepper <drepper@gmail.com>
54131
54132 * nss/nss_files/files-initgroups.c: New file.
54133 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54134 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54135 _nss_files_initgroups_dyn.
54136
e3d8f584
RS
541372011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54138
54139 * elf/elf.h (R_ARM_IRELATIVE): Define.
54140
af190f45
UD
541412011-04-19 Ulrich Drepper <drepper@gmail.com>
54142
54143 * po/ru.po: Update from translation team.
54144
53cf59ef
UD
541452011-04-17 Ulrich Drepper <drepper@gmail.com>
54146
54147 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54148 dependencies.
54149
4c559bcd
MF
541502011-02-06 Mike Frysinger <vapier@gentoo.org>
54151
54152 [BZ #12653]
54153 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54154 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54155 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54156 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54158
4420675c
AS
541592011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54160
54161 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54162 differing bytes.
54163 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54164 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54165 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54166
75ea32ab
UD
541672011-04-17 Ulrich Drepper <drepper@gmail.com>
54168
54169 [BZ #12420]
54170 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54171 storing it.
54172 * stdlib/bug-getcontext.c: New file.
54173 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54174
27390476
AK
541752011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54176
54177 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54178 instructions into .machine "z9-109".
54179 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54180 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54181
10442705
AK
541822011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54183
54184 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54185 between environment variables and auxiliary vector.
54186
7b57bfe5
UD
541872011-04-16 Ulrich Drepper <drepper@gmail.com>
54188
54189 * Makefile: Add rules to build linkobj/libc.so.
54190 * include/libc-symbols.h: Define libc_hidden_nolink.
54191 * include/rpc/auth.h: Mark functions which are to be hidden.
54192 * include/rpc/auth_des.h: Likewise.
54193 * include/rpc/auth_unix.h: Likewise.
54194 * include/rpc/clnt.h: Likewise.
54195 * include/rpc/des_crypt.h: Likewise.
54196 * include/rpc/key_prot.h: Likewise.
54197 * include/rpc/pmap_clnt.h: Likewise.
54198 * include/rpc/pmap_prot.h: Likewise.
54199 * include/rpc/pmap_rmt.h: Likewise.
54200 * include/rpc/rpc_msg.h: Likewise.
54201 * include/rpc/svc.h: Likewise.
54202 * include/rpc/svc_auth.h: Likewise.
54203 * include/rpc/xdr.h: Likewise.
54204 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54205 * nss/Makefile: Likewise.
54206 * sunrpc/Makefile: Don't install headers. Build library with normal
54207 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54208 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54209 for the compat linking library. Remove use of INTDEF/INTUSE.
54210 * sunrpc/auth_none.c: Likewise.
54211 * sunrpc/auth_unix.c: Likewise.
54212 * sunrpc/authdes_prot.c: Likewise.
54213 * sunrpc/authuxprot.c: Likewise.
54214 * sunrpc/clnt_gen.c: Likewise.
54215 * sunrpc/clnt_perr.c: Likewise.
54216 * sunrpc/clnt_raw.c: Likewise.
54217 * sunrpc/clnt_simp.c: Likewise.
54218 * sunrpc/clnt_tcp.c: Likewise.
54219 * sunrpc/clnt_udp.c: Likewise.
54220 * sunrpc/clnt_unix.c: Likewise.
54221 * sunrpc/des_crypt.c: Likewise.
54222 * sunrpc/des_soft.c: Likewise.
54223 * sunrpc/get_myaddr.c: Likewise.
54224 * sunrpc/key_call.c: Likewise.
54225 * sunrpc/key_prot.c: Likewise.
54226 * sunrpc/netname.c: Likewise.
54227 * sunrpc/pm_getmaps.c: Likewise.
54228 * sunrpc/pm_getport.c: Likewise.
54229 * sunrpc/pmap_clnt.c: Likewise.
54230 * sunrpc/pmap_prot.c: Likewise.
54231 * sunrpc/pmap_prot2.c: Likewise.
54232 * sunrpc/pmap_rmt.c: Likewise.
54233 * sunrpc/publickey.c: Likewise.
54234 * sunrpc/rpc_cmsg.c: Likewise.
54235 * sunrpc/rpc_common.c: Likewise.
54236 * sunrpc/rpc_dtable.c: Likewise.
54237 * sunrpc/rpc_prot.c: Likewise.
54238 * sunrpc/rpc_thread.c: Likewise.
54239 * sunrpc/rtime.c: Likewise.
54240 * sunrpc/svc.c: Likewise.
54241 * sunrpc/svc_auth.c: Likewise.
54242 * sunrpc/svc_authux.c: Likewise.
54243 * sunrpc/svc_raw.c: Likewise.
54244 * sunrpc/svc_run.c: Likewise.
54245 * sunrpc/svc_simple.c: Likewise.
54246 * sunrpc/svc_tcp.c: Likewise.
54247 * sunrpc/svc_udp.c: Likewise.
54248 * sunrpc/svc_unix.c: Likewise.
54249 * sunrpc/svcauth_des.c: Likewise.
54250 * sunrpc/xcrypt.c: Likewise.
54251 * sunrpc/xdr.c: Likewise.
54252 * sunrpc/xdr_array.c: Likewise.
54253 * sunrpc/xdr_float.c: Likewise.
54254 * sunrpc/xdr_intXX_t.c: Likewise.
54255 * sunrpc/xdr_mem.c: Likewise.
54256 * sunrpc/xdr_rec.c: Likewise.
54257 * sunrpc/xdr_ref.c: Likewise.
54258 * sunrpc/xdr_sizeof.c: Likewise.
54259 * sunrpc/xdr_stdio.c: Likewise.
54260
e6c61494
UD
542612011-04-10 Ulrich Drepper <drepper@gmail.com>
54262
54263 [BZ #12650]
54264 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54265 * sysdeps/ia64/dl-tls.h: Likewise.
54266 * sysdeps/powerpc/dl-tls.h: Likewise.
54267 * sysdeps/s390/dl-tls.h: Likewise.
54268 * sysdeps/sh/dl-tls.h: Likewise.
54269 * sysdeps/sparc/dl-tls.h: Likewise.
54270 * sysdeps/x86_64/dl-tls.h: Likewise.
54271 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54272
34fe483e
AS
542732011-03-14 Andreas Schwab <schwab@redhat.com>
54274
54275 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54276 rpath element also skip the following colon.
54277 (expand_dynamic_string_token): Add is_path parameter and pass
54278 down to DL_DST_REQUIRED and _dl_dst_substitute.
54279 (decompose_rpath): Call expand_dynamic_string_token with
54280 non-zero is_path. Ignore empty rpaths.
54281 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54282 with zero is_path.
54283
f12a32e6
AS
542842011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54285
54286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54287 Make cancelable.
54288
38a7d692
UD
542892011-04-09 Ulrich Drepper <drepper@gmail.com>
54290
54291 [BZ #12655]
54292 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54293 Patch by Filipe David Manana <fdmanana@apache.org>.
54294
e451d22b
AS
542952011-04-07 Andreas Schwab <schwab@redhat.com>
54296
54297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54298 Maintain aligned stack.
54299 (CHECK_RSP): Remove unused macro.
54300
dedc7c7b
UD
543012011-04-03 Ulrich Drepper <drepper@gmail.com>
54302
54303 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54304 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54305
94521213
UD
543062011-04-02 Ulrich Drepper <drepper@gmail.com>
54307
54308 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54309
8cb700c0 54310 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54311
0354e355
L
543122011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54313
54314 [BZ #12518]
54315 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54316 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54317 * sysdeps/x86_64/memmove.c: New file.
54318 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54319 (memcpy): Renamed to ...
54320 (__new_memcpy): This.
54321 (memcpy): Provide GLIBC_2_14 memcpy.
54322 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54323 (memcpy): Provide GLIBC_2_2_5 memcpy.
54324
8593482f
UD
543252011-04-01 Ulrich Drepper <drepper@gmail.com>
54326
54327 [BZ #12631]
54328 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54329
81a5726b
AS
543302011-03-30 Andreas Schwab <schwab@redhat.com>
54331
54332 * misc/syncfs.c: New file.
54333 * misc/Makefile (routines): Add syncfs.
54334 * posix/unistd.h: Declare syncfs.
54335 * sysdeps/unix/syscalls.list: Add syncfs.
54336
00e5419f
AS
543372011-04-01 Andreas Schwab <schwab@redhat.com>
54338
54339 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54340 open_by_handle_at.
54341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54346 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54348
748876bf
UD
543492011-04-01 Ulrich Drepper <drepper@gmail.com>
54350
658e451d
UD
54351 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54353 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54355 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54358
748876bf
UD
54359 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54360 sync_file_range.c with -fexceptions.
54361 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54362 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54363 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54364 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54365 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54366 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54368 sync_file_range as cancellation point
54369 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54370 now a wrapper around __call_sync_file_range with cancellation handling.
54371 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54372 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54373 function name to __call_sync_file_range.
54374 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54375 Add call_sync_file_range.
748876bf 54376
6e63d5e1
AS
543772011-04-01 Andreas Schwab <schwab@redhat.com>
54378
54379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54380 bits/timex.h.
6e63d5e1 54381
46998f74
UD
543822011-04-01 Ulrich Drepper <drepper@gmail.com>
54383
4c1423ed
UD
54384 * iconv/iconv.h: Fix typo in comment.
54385 * io/fcntl.h: Likewise.
54386 * libio/stdio.h: Likewise.
54387 * posix/spawn.h: Likewise.
54388 * posix/unistd.h: Likewise.
54389 * stdlib/stdlib.h: Likewise.
54390 * time/time.h: Likewise.
54391 * wcsmbs/wchar.h: Likewise.
54392
158648c0
UD
54393 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54394 open_by_handle): Add.
54395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54396 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54397 Augment a few comments.
54398 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54400 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54401 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54402 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54403 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54404 open_by_handle.
54405
46998f74
UD
54406 * io/fcntl.h (AT_EMPTY_PATH): Define.
54407
83fe108b
UD
544082011-03-30 Ulrich Drepper <drepper@gmail.com>
54409
54410 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54411 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54412 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54413 to...
54414 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54415 * Versions.def: Add GLIBC_2.14.
54416 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54417 Export.
83fe108b 54418
bb242059
UD
544192011-03-22 Ulrich Drepper <drepper@gmail.com>
54420
54421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54422 round counter.
54423 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54424
c97a1282
L
544252011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54426
54427 [BZ #12597]
54428 * string/test-strncmp.c (do_page_test): New function.
54429 (check2): Likewise.
54430 (test_main): Call check2.
54431 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54432
2a115601
UD
544332011-03-20 Ulrich Drepper <drepper@gmail.com>
54434
54435 [BZ #12587]
54436 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54437 Handle cache information in CPU leaf 4.
54438 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54439
8126d904
UD
544402011-03-18 Ulrich Drepper <drepper@gmail.com>
54441
042c49c6 54442 [BZ #12583]
8126d904
UD
54443 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54444 character representation.
54445 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54446
ccfe366e
RA
544472011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54448
54449 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54450 END(__isnan) to END(__isnanf) to match function entry point/label
54451 EALIGN(__isnanf,...).
54452
c6e13027
JJ
544532011-03-10 Jakub Jelinek <jakub@redhat.com>
54454
54455 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54456
33f85a3f
UD
544572011-03-10 Ulrich Drepper <drepper@gmail.com>
54458
028478fa
UD
54459 [BZ #12510]
54460 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54461 copy from the symbol referenced in the relocation to initialize the
54462 used variable.
54463 Patch by Piotr Bury <pbury@goahead.com>.
54464 * elf/Makefile: Add rules to build and tst-unique3.
54465 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54466 * elf/tst-unique3.cc: New file.
54467 * elf/tst-unique3.h: New file.
54468 * elf/tst-unique3lib.cc: New file.
54469 * elf/tst-unique3lib2.cc: New file.
54470
33f85a3f
UD
54471 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54472
03592fc7
MF
544732011-03-10 Mike Frysinger <vapier@gentoo.org>
54474
54475 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54476 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54477 to _start.
03592fc7 54478
6a5ee102
UD
544792011-03-06 Ulrich Drepper <drepper@gmail.com>
54480
54481 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54482 to-be-loaded object along a path to loader is ld.so.
54483
7e4ba49c
HJ
544842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54485 Ulrich Drepper <drepper@gmail.com>
54486
54487 * sysdeps/x86_64/memset.S: After aligning destination, code
54488 branches to different locations depending on the value of
54489 misalignment, when multiarch is enabled. Fix this.
54490
544912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54492
54493 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54494 Set _x86_64_preferred_memory_instruction for AMD processsors.
54495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54496 Set bit_Prefer_SSE_for_memop for AMD processors.
54497
13a804de
UD
544982011-03-04 Ulrich Drepper <drepper@gmail.com>
54499
54500 * libio/fmemopen.c (fmemopen): Optimize a bit.
54501
9d25c392
AS
545022011-03-03 Andreas Schwab <schwab@redhat.com>
54503
54504 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54505
a5543c6a
RM
545062011-03-03 Roland McGrath <roland@redhat.com>
54507
54508 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54509
012d35f7
DM
545102011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54511
7e4ba49c 54512 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54513 __bzero_ultra1 instead of __memset_ultra1.
54514
4bff6e01
AS
545152011-02-23 Andreas Schwab <schwab@redhat.com>
54516 Ulrich Drepper <drepper@gmail.com>
54517
54518 [BZ #12509]
54519 * include/link.h (struct link_map): Add l_orig_initfini.
54520 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54521 returning unsuccessfully.
54522 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54523 close of a file loaded at startup, restore the original l_initfini
54524 list.
54525 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54526 list, store the pointer.
54527 * elf/Makefile ($(objpfx)noload-mem): New rule.
54528 (noload-ENV): Define.
54529 (tests): Add $(objpfx)noload-mem.
54530 * elf/noload.c: Include <memcheck.h>.
54531 (main): Call mtrace. Close all opened handles.
54532
f2092faf
AS
545332011-02-17 Andreas Schwab <schwab@redhat.com>
54534
54535 [BZ #12454]
54536 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54537 dependencies are missing.
54538
6c8a2e88
ST
545392011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54540
f2092faf 54541 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54542 Hurd needs munmap.
54543 * sysdeps/mach/hurd/ifreq.h: New file.
54544
84a42118
PB
545452011-01-27 Petr Baudis <pasky@suse.cz>
54546 Ulrich Drepper <drepper@gmail.com>
54547
071f805e 54548 [BZ 12445]#
84a42118
PB
54549 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54550 to extend_alloca().
54551 * stdio-common/bug23.c: New file.
54552 * stdio-common/Makefile (tests): Add bug23.
54553
e23fe25b
AS
545542010-09-28 Andreas Schwab <schwab@redhat.com>
54555 Ulrich Drepper <drepper@gmail.com>
54556
54557 [BZ #12489]
54558 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54559 before performing relro protection. At old place add assertion
54560 to make sure nothing changed.
54561
d3f02e10
NS
545622011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54563 Glauber de Oliveira Costa <glommer@gmail.com>
54564
54565 * elf/elf.h: Add new ARM TLS relocs.
54566
d55fd7a5
RA
545672011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54568
54569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54570 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54571 cast from r3.
54572 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54573 'tests' variable.
54574 * sysdeps/wordsize-64/tst-writev.c: New file.
54575
2206397e
RA
545762011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54577
54578 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54579 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54580 insns in _dl_start to prevent a TOC reference before relocs are
54581 resolved.
54582
e9433893
UD
545832011-02-15 Ulrich Drepper <drepper@gmail.com>
54584
54585 [BZ #12469]
54586 * Makeconfig: Remove RANLIB definition.
54587 * Makerules: Don't use RANLIB.
54588 * aclocal.m4: Remove ranlib test.
54589 * configure.in: No need to check for ranlib.
54590 * elf/rtld-Rules: Don't use RANLIB.
54591
f75286c6
ST
545922011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54593
8e31c82d
ST
54594 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54595 protection macro.
54596 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54597 inclusion protection macro.
54598
f75286c6
ST
54599 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54600 SIGRTMIN and SIGRTMAX and print information in that case only when
54601 SIGRTMIN is defined.
54602
c1d0e639
JJ
546032011-02-11 Jakub Jelinek <jakub@redhat.com>
54604
54605 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54606 arginfo fn returning -1.
54607
54608 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54609 and thousands string is zero terminated.
54610
edf9294e
AS
546112011-02-03 Andreas Schwab <schwab@redhat.com>
54612
54613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54614 sysdeps/unix/sysv/linux/bits/socket.h.
54615
2b7e92df
ST
546162011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54617
edf9294e
AS
54618 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54619 (__CPU_COUNT): Remove old macros.
54620 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54621 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54622 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54623 (__sched_cpualloc, __sched_cpufree): Add declarations.
54624
a4c7ea7b
UD
546252011-02-05 Ulrich Drepper <drepper@gmail.com>
54626
54627 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54628 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54629 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54630 (readdhstai): Return value of addhstaiX call.
54631 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54632 (addgrbyX): Return value returned by cache_addgr.
54633 (readdgrbyname): Return value returned by addgrbyX.
54634 (readdgrbygid): Likewise.
54635 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54636 (addpwbyX): Return value returned by cache_addpw.
54637 (readdpwbyname): Return value returned by addhstbyX.
54638 (readdpwbyuid): Likewise.
54639 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54640 (addservbyX): Return value returned by cache_addserv.
54641 (readdservbyname): Return value returned by addservbyX:
54642 (readdservbyport): Likewise.
54643 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54644 (addhstbyX): Return value returned by cache_addhst.
54645 (readdhstbyname): Return value returned by addhstbyX.
54646 (readdhstbyaddr): Likewise.
54647 (readdhstbynamev6): Likewise.
54648 (readdhstbyaddrv6): Likewise.
54649 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54650 (readdinitgroups): Return value returned by addinitgroupsX.
54651 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54652 (prune_cache): Keep track of timeout value of re-added entries.
54653 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54654 * nscd/nscd.h: Adjust prototypes of readd* functions.
54655
a0bf67cc
RM
546562011-02-04 Roland McGrath <roland@redhat.com>
54657
54658 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54659 (nis_stats): Likewise.
54660 * nis/nis_modify.c (nis_modify): Likewise.
54661 * nis/nis_remove.c (nis_remove): Likewise.
54662 * nis/nis_add.c (nis_add): Likewise.
54663
54664 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54665
54666 * posix/fnmatch_loop.c: Add some consts.
54667
54668 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54669
435b95eb
L
546702011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54671
54672 [BZ #12460]
54673 * config.make.in (config-cflags-novzeroupper): Define.
54674 * configure.in: Substitute libc_cv_cc_novzeroupper.
54675 * elf/Makefile (AVX-CFLAGS): Define.
54676 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54677 (CFLAGS-tst-auditmod4a.c): Likewise.
54678 (CFLAGS-tst-auditmod4b.c): Likewise.
54679 (CFLAGS-tst-auditmod6b.c): Likewise.
54680 (CFLAGS-tst-auditmod6c.c): Likewise.
54681 (CFLAGS-tst-auditmod7b.c): Likewise.
54682 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54683
8517b15e
UD
546842011-02-02 Ulrich Drepper <drepper@gmail.com>
54685
54686 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54687 function to the callback.
54688 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54689
10a656fe
AS
546902011-02-02 Andreas Schwab <schwab@redhat.com>
54691
54692 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54693 of errno.
54694
968dad0a
UD
546952011-01-19 Ulrich Drepper <drepper@gmail.com>
54696
9f94d2ea 54697 [BZ #11724]
968dad0a
UD
54698 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54699 of constructors.
54700 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54701 of destructors.
54702 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54703
54704 [BZ #11724]
54705 * elf/Makefile: Add rules to build and run new test.
54706 * elf/tst-initorder.c: New file.
54707 * elf/tst-initorder.exp: New file.
54708 * elf/tst-initordera1.c: New file.
54709 * elf/tst-initordera2.c: New file.
54710 * elf/tst-initordera3.c: New file.
54711 * elf/tst-initordera4.c: New file.
54712 * elf/tst-initorderb1.c: New file.
54713 * elf/tst-initorderb2.c: New file.
54714 * elf/tst-order-a1.c: New file.
54715 * elf/tst-order-a2.c: New file.
54716 * elf/tst-order-a3.c: New file.
54717 * elf/tst-order-a4.c: New file.
54718 * elf/tst-order-b1.c: New file.
54719 * elf/tst-order-b2.c: New file.
54720 * elf/tst-order-main.c: New file.
54721 New test case by George Gensure <werkt0@gmail.com>.
54722
86e92359
UD
547232010-10-01 Andreas Schwab <schwab@redhat.com>
54724
54725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54726 decoding ACE if AI_CANONIDN.
54727
5d5732b0
UD
547282011-01-18 Ulrich Drepper <drepper@gmail.com>
54729
54730 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54731
a77e8cbc
UD
547322011-01-17 Ulrich Drepper <drepper@gmail.com>
54733
6392473f
UD
54734 * version.h (RELEASE): Bump for 2.13 release.
54735 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54736
620a0529
UD
54737 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54738
18ba70a5
UD
54739 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54740 MADV_NOHUGEPAGE.
32465c3e
UD
54741 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54742 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54746 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54747
c0dafcf1
UD
54748 * posix/getconf.c: Update copyright year.
54749 * catgets/gencat.c: Likewise.
54750 * csu/version.c: Likewise.
54751 * debug/catchsegv.sh: Likewise.
54752 * debug/xtrace.sh: Likewise.
54753 * elf/ldconfig.c: Likewise.
54754 * elf/ldd.bash.in: Likewise.
54755 * elf/sprof.c (print_version): Likewise.
54756 * iconv/iconv_prog.c: Likewise.
54757 * iconv/iconvconfig.c: Likewise.
54758 * locale/programs/locale.c: Likewise.
54759 * locale/programs/localedef.c: Likewise.
54760 * malloc/memusage.sh: Likewise.
54761 * malloc/mtrace.pl: Likewise.
54762 * nscd/nscd.c (print_version): Likewise.
54763 * nss/getent.c: Likewise.
54764
a77e8cbc
UD
54765 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54766 PF_CAIF, and PF_ALG.
54767 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54768
77e8bddf
AS
547692011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54770
1f20b93a
AS
54771 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54772 (modules-names): Use them.
54773 (ifunc-test-modules, ifunc-pie-tests): Define.
54774 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54775 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54776 (test-extras): Likewise.
54777 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54778 $(compile-command.c).
54779 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54780 (all-built-dso): Define.
54781 (check-textrel.out, check-execstack.out): Depend on it.
54782
77e8bddf
AS
54783 * configure.in: Don't override --enable-multi-arch.
54784
bc425b33
UD
547852011-01-15 Ulrich Drepper <drepper@gmail.com>
54786
54787 [BZ #6812]
54788 * nscd/hstcache.c (tryagain): Define.
54789 (cache_addhst): Return tryagain not notfound for temporary errors.
54790 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54791 failed.
54792
794c3ad3
UD
547932011-01-14 Ulrich Drepper <drepper@gmail.com>
54794
70181fdd
UD
54795 [BZ #10563]
54796 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54797 to make the syscall.
54798 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54799
794c3ad3
UD
54800 [BZ #12378]
54801 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54802 and fall back to matching as normal character if the string ends before
54803 the matching ']' is found. This is what POSIX requires.
54804 * posix/testfnm.c: Adjust test result.
54805 * posix/globtest.sh: Adjust test result. Add new test.
54806 * posix/tst-fnmatch.input: Likewise.
54807 * posix/tst-fnmatch2.c: Add new test.
54808
68dc9497
AS
548092010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54810
54811 * elf/Makefile (check-execstack): Revert last change. Depend on
54812 check-execstack.h.
54813 (check-execstack.h): New target.
54814 (generated): Add check-execstack.h.
54815 * elf/check-execstack.c: Include "check-execstack.h".
54816 (main): Revert last change.
54817 (handle_file): Return zero if GNU_STACK is absent and
54818 DEFAULT_STACK_PERMS doesn't include PF_X.
54819
451f001b
UD
548202011-01-13 Ulrich Drepper <drepper@gmail.com>
54821
cfa28e56
UD
54822 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54823 in child fails because the descriptor is already closed.
8cf8ce17
UD
54824 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54825 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54826 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54827
1086d70d
UD
54828 [BZ #12397]
54829 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54830 syscall.
54831
451f001b
UD
54832 [BZ #10484]
54833 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54834 temporary buffer used to handle multi lookups locally.
a85b5cb4 54835 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54836
08769175
UD
548372011-01-12 Ulrich Drepper <drepper@gmail.com>
54838
54839 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54840 loader is ld.so.
54841
5e49c52e
UD
548422011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54843
54844 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54845 alignment for SSE2.
54846
60522a5f
UD
548472011-01-12 Ulrich Drepper <drepper@gmail.com>
54848
54849 [BZ #12394]
54850 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54851 characters. When rounding increased number of integer digits recompute
54852 number of groups.
54853 * stdio-common/tst-grouping.c: New file.
54854 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54855
f257bbd7
UD
548562011-01-09 Ulrich Drepper <drepper@gmail.com>
54857
54858 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54859 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54860
54861 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54862 void.
54863 * bits/select.h: Likewise.
54864
fa9c15cb
UD
548652011-01-08 Ulrich Drepper <drepper@gmail.com>
54866
54867 * po/ja.po: Update from translation team.
54868
16c2895f
DM
548692011-01-04 David S. Miller <davem@sunset.davemloft.net>
54870
54871 [BZ #11155]
54872 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54873 implementation just like for lxstat, fxstatat, et al.
54874
2543fef2
JM
548752010-12-27 Jim Meyering <meyering@redhat.com>
54876
54877 [BZ #12348]
54878 * posix/regexec.c (build_trtable): Return failure indication upon
54879 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54880
98727dbe
UD
548812010-12-25 Ulrich Drepper <drepper@gmail.com>
54882
5bd6dc5c
UD
54883 [BZ #12201]
54884 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54885 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54886 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54887 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54888
97983464
UD
54889 [BZ #12207]
54890 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54891
98727dbe
UD
54892 [BZ #12204]
54893 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54894 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54895
4a531bb0
L
548962010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54897
54898 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54899 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54900 script has SORT_BY_INIT_PRIORITY.
54901 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54902 NO_CTORS_DTORS_SECTIONS is defined.
54903 * elf/soinit.c: Likewise.
54904 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54905 NO_CTORS_DTORS_SECTIONS is defined.
54906 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54907 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54908 * sysdeps/sh/init-first.c: Likewise.
54909 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54910
07eb4b71
UD
549112010-12-24 Ulrich Drepper <drepper@gmail.com>
54912
54913 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54914 always use the slow path.
54915
30950a5f
RA
549162010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54917
54918 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54919 similar rule which adds the sysdep directories to the header search in
54920 order to pick up the correct platform stackinfo.h.
54921 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54922 perform test if it is, otherwise return successfully without testing.
54923 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54924 DEFAULT_STACK_PERMS define in stackinfo.h.
54925 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54926 defined in stackinfo.h.
54927 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54928 DEFAULT_STACK_PERMS defined in stackinfo.h.
54929 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54930 * sysdeps/ia64/stackinfo.h: Likewise.
54931 * sysdeps/s390/stackinfo.h: Likewise.
54932 * sysdeps/sh/stackinfo.h: Likewise.
54933 * sysdeps/sparc/stackinfo.h: Likewise.
54934 * sysdeps/x86_64/stackinfo.h: Likewise.
54935 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54936 PF_X for powerpc64. Retain PF_X for powerpc32.
54937
db753e2c
UD
549382010-12-19 Ulrich Drepper <drepper@gmail.com>
54939
14b697f7
UD
54940 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54941 accurately.
db753e2c
UD
54942 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54943 GETDENTS_64BIT_ALIGNED.
54944
28300719
UD
549452010-12-14 Ulrich Drepper <dreper@gmail.com>
54946
14b697f7 54947 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54948
4f197237
AS
549492010-12-10 Andreas Schwab <schwab@redhat.com>
54950
dbb0472f
AS
54951 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54952 _GNU_SOURCE.
54953
4f197237
AS
54954 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54955 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54956 Remove __restrict.
54957 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54958 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54959
fb88ac72
UD
549602010-12-09 Ulrich Drepper <drepper@gmail.com>
54961
54962 [BZ #11655]
54963 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54964 are initialized.
54965
42acbb92
JJ
549662010-12-09 Jakub Jelinek <jakub@redhat.com>
54967
54968 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54969
c038d98d
UD
549702010-12-03 Ulrich Drepper <drepper@gmail.com>
54971
54972 * po/it.po: Update from translation team.
54973
3a4a2499
L
549742010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54975
54976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54977 unused codes.
54978
1e24cf6e
UD
549792010-11-30 Ulrich Drepper <drepper@gmail.com>
54980
54981 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54982
a7690819
AS
549832010-11-24 Andreas Schwab <schwab@redhat.com>
54984
54985 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54986 specially.
54987 (gaih_getanswer_slice): Likewise.
54988
3bf8d1b1
JJ
549892010-10-20 Jakub Jelinek <jakub@redhat.com>
54990
54991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54992
6db52fbb
PB
549932010-05-31 Petr Baudis <pasky@suse.cz>
54994
54995 [BZ #11149]
54996 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54997 silently even in the chroot mode.
54998
eaca7569
UD
549992010-11-22 Ulrich Drepper <drepper@gmail.com>
55000
55001 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55002 last patch a bit. Pretty printing
55003
3056dcdb
UD
550042010-05-31 Petr Baudis <pasky@suse.cz>
55005
55006 [BZ #10085]
55007 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55008 initialization of skip_initgroups_dyn.
55009
cf7c9078
UD
550102010-11-19 Ulrich Drepper <drepper@gmail.com>
55011
55012 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55013 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55014
a1fb5e3e
UD
550152010-11-16 Ulrich Drepper <drepper@gmail.com>
55016
55017 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55018
3540d66b
AS
550192010-11-11 Andreas Schwab <schwab@redhat.com>
55020
55021 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55022 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55023 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55024 ($(objpfx)tst-fnmatch-mem): New rule.
55025 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55026 * posix/tst-fnmatch.c (main): Call mtrace.
55027
13b69574
L
550282010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55029
55030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55031 Support Intel processor model 6 and model 0x2c.
55032
da93d214
LM
550332010-11-10 Luis Machado <luisgpm@br.ibm.com>
55034
55035 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55036 signed comparison.
55037
8ca52c6e
L
550382010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55039
55040 [BZ #12205]
55041 * string/test-strncasecmp.c (check_result): New function.
55042 (do_one_test): Use it.
55043 (check1): New function.
55044 (test_main): Use it.
55045 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55046 Support strcasecmp and strncasecmp.
55047
69da074d
UD
550482010-11-08 Ulrich Drepper <drepper@gmail.com>
55049
55050 [BZ #12194]
55051 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55052 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55053
ff02d528
L
550542010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55055
55056 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55057 IFUNC support.
55058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55059 memset-x86-64.
55060 * sysdeps/x86_64/multiarch/bzero.S: New file.
55061 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55062 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55063 * sysdeps/x86_64/multiarch/memset.S: New file.
55064 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55066 Set bit_Prefer_SSE_for_memop for Intel processors.
55067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55068 Define.
55069 (index_Prefer_SSE_for_memop): Define.
55070 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55071
344d0b54
LM
550722010-11-04 Luis Machado <luisgpm@br.ibm.com>
55073
55074 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55075 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55076
c0dde15b
UD
550772010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55078
55079 [BZ #12191]
55080 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55081 (__x86_64_raw_data_cache_size_half): Likewise.
55082 (__x86_64_raw_shared_cache_size): Likewise.
55083 (__x86_64_raw_shared_cache_size_half): Likewise.
55084
55085 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55086 (__x86_64_raw_data_cache_size_half): Likewise.
55087 (__x86_64_raw_shared_cache_size): Likewise.
55088 (__x86_64_raw_shared_cache_size_half): Likewise.
55089 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55090 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55091 and __x86_64_raw_shared_cache_size_half. Round
55092 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55093 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55094 to multiple of 256 bytes.
55095
0e516e0e
MS
550962010-11-03 Ulrich Drepper <drepper@gmail.com>
55097
55098 [BZ #12167]
55099 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55100 of inacessible symlinks. Verify result of symlink before returning it.
55101 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55102 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55103
0e012e87
ER
551042010-10-28 Erich Ritz <erichritz@gmail.com>
55105
55106 * math/math.h (isinf): Fix typo in comment.
55107
de0ff7bc
UD
551082010-11-01 Ulrich Drepper <drepper@gmail.com>
55109
55110 * po/da.po: Update from translation team.
55111
fa41c84d
UD
551122010-10-26 Ulrich Drepper <drepper@gmail.com>
55113
55114 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55115 is added to the list.
55116
f0967738
AK
551172010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55118 Ulrich Drepper <drepper@gmail.com>
55119
55120 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55121 the global list here. Move code to...
55122 (_dl_add_to_namespace_list): ...here. New function.
55123 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55124 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55125 * elf/dl-load.c (lose): Don't remove the element from the list.
55126 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55127 (_dl_map_object): Likewise.
55128
551292010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55130
55131 [BZ #12159]
55132 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55133 into all bytes of SSE register.
55134 Patch by Richard Li <richardpku@gmail.com>.
55135
f0967738 551362010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55137
55138 [BZ #12140]
55139 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55140 perturbing.
55141
d0b9e94f
MB
551422010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55143
55144 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55145 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55146 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55147 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55149 submachine.
55150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55151
8e9f92e9
AS
551522010-10-22 Andreas Schwab <schwab@redhat.com>
55153
55154 * include/dlfcn.h (__RTLD_SECURE): Define.
55155 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55156 mode & __RTLD_SECURE instead.
55157 (open_path): Rename preloaded parameter to secure.
55158 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55159 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55160 * elf/dl-deps.c (openaux): Likewise.
55161 * elf/rtld.c (struct map_args): Remove is_preloaded.
55162 (map_doit): Don't use it.
55163 (dl_main): Likewise.
55164 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55165 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55166
bc96fbda
AS
551672010-09-09 Andreas Schwab <schwab@redhat.com>
55168
55169 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55170 (sysd-rules-targets): Remove duplicates.
55171 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55172 rtld-%.$o dependency.
55173
22cd1c9b
AS
551742010-10-18 Andreas Schwab <schwab@redhat.com>
55175
55176 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55177 _dl_map_object do it.
55178
18edac48
UD
551792010-10-19 Ulrich Drepper <drepper@gmail.com>
55180
55181 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55182 fast fma builtins, define the macros in the C99 standard.
55183 (FP_FAST_FMAF): Likewise.
55184 (FP_FAST_FMAL): Likewise.
55185 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55186
55187 * bits/mathdef.h: Update copyright year.
55188 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55189
d2050124
MM
551902010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55191
55192 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55193 builtins, define the macros in the C99 standard.
55194 (FP_FAST_FMAF): Likewise.
55195 (FP_FAST_FMAL): Likewise.
55196 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55197 multiply/add.
55198 (FP_FAST_FMAF): Likewise.
55199
475facd1
JJ
552002010-10-15 Jakub Jelinek <jakub@redhat.com>
55201
55202 [BZ #3268]
55203 * math/libm-test.inc (fma_test): Some new testcases.
55204 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55205 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55206 y and infinite z. Do multiplication by C already in long double.
55207 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55209 y and infinite z. Do bitwise or of inexact bit into u.d.
55210 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55211 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55212 * sysdeps/i386/fpu/s_fma.S: Removed.
55213 * sysdeps/i386/fpu/s_fmal.S: Removed.
55214
7c08a05c
JJ
552152010-10-16 Jakub Jelinek <jakub@redhat.com>
55216
55217 [BZ #3268]
55218 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55220 computation is not scheduled after fetestexcept. Fix value
55221 of minimum denormal long double.
55222
f3f7372d
JJ
552232010-10-14 Jakub Jelinek <jakub@redhat.com>
55224
55225 [BZ #3268]
55226 * math/libm-test.inc (fma_test): Add some more tests.
55227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55228 correctly.
55229
14d43591
AS
552302010-10-15 Andreas Schwab <schwab@redhat.com>
55231
55232 * scripts/data/localplt-s390-linux-gnu.data: New file.
55233 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55234
5e908464
JJ
552352010-10-13 Jakub Jelinek <jakub@redhat.com>
55236
55237 [BZ #3268]
55238 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55239 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55240 instead of dbl-64.
55241 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55242 inlines.
55243 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55245 if one of x and y is very large and the other is subnormal.
55246 * sysdeps/s390/fpu/s_fmaf.c: New file.
55247 * sysdeps/s390/fpu/s_fma.c: New file.
55248 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55249 * sysdeps/powerpc/fpu/s_fma.S: New file.
55250 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55251 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55252 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55253
552542010-10-12 Jakub Jelinek <jakub@redhat.com>
55255
55256 [BZ #3268]
55257 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55258 fma tests.
55259 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55260 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55261 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55262 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55263 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55264 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55265 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55266
b833d51f
UD
552672010-10-12 Ulrich Drepper <drepper@redhat.com>
55268
55269 [BZ #12078]
55270 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55271 * posix/bug-regex31.input: Add test case.
55272
1751705d
UD
552732010-10-11 Ulrich Drepper <drepper@gmail.com>
55274
e9b9cbf5
UD
55275 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55276 * posix/bug-regex31.input: New file.
55277
55278 [BZ #12078]
55279 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55280 (parse_sub_exp): Fix last change, use postorder.
55281
ef06edbe
UD
55282 * posix/bug-regex31.c: New file.
55283 * posix/Makefile: Add rules to build and run bug-regex31.
55284
a129c80d
UD
55285 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55286
55287 [BZ #12078]
55288 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55289
b76b818e
UD
55290 [BZ #12108]
55291 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55292 to have entries in sys_siglist.
55293
1751705d
UD
55294 [BZ #12093]
55295 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55296 be NULL.
55297
9ff8d36f
JJ
552982010-10-07 Jakub Jelinek <jakub@redhat.com>
55299
55300 [BZ #3268]
55301 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55302 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55303 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55304 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55305 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55306 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55307 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55308 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55309 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55310 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55311 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55312 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55313 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55314 * math/ftestexcept.c (fetestexcept): Likewise.
55315 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55316 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55317 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55318 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55319 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55320 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55322
af325969
UD
553232010-10-11 Ulrich Drepper <drepper@gmail.com>
55324
c579b202 55325 [BZ #12107]
af325969
UD
55326 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55327 newline.
55328
67a67b95
UD
553292010-10-06 Ulrich Drepper <drepper@gmail.com>
55330
55331 * string/bug-strstr1.c: New file.
55332 * string/Makefile: Add rules to build and run bug-strstr1.
55333
5fb308bc
EB
553342010-10-05 Eric Blake <eblake@redhat.com>
55335
55336 [BZ #12092]
55337 * string/str-two-way.h (two_way_long_needle): Always clear memory
55338 when skipping input due to the shift table.
55339
45db99c7
UD
553402010-10-03 Ulrich Drepper <drepper@gmail.com>
55341
3b111893
UD
55342 [BZ #12005]
55343 * malloc/mcheck.c: Handle large requests.
55344
45db99c7
UD
55345 [BZ #12077]
55346 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55347 for strncmp and strncasecmp.
55348 * string/stratcliff.c: Add tests for strcmp and strncmp.
55349 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55350
cf7a1eb8
NI
553512010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55352
55353 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55354 __set_fpscr.
55355
6484ba5e
AJ
553562010-09-30 Andreas Jaeger <aj@suse.de>
55357
55358 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55359 (CGROUP_SUPER_MAGIC): Define.
55360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55361 Handle btrfs and cgroup file systems.
55362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55363 Likewise.
55364
91c42559
LM
553652010-09-27 Luis Machado <luisgpm@br.ibm.com>
55366
55367 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55368 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55369
87a97932
AK
553702010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55371
55372 [BZ #12067]
55373 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55374 trying to locate the ELF header.
55375
c21cc9bc
AS
553762010-09-27 Andreas Schwab <schwab@redhat.com>
55377
55378 [BZ #11611]
55379 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55380 Mask out sign-bit copies when constructing f_fsid.
55381
315970f6
PB
553822010-09-24 Petr Baudis <pasky@suse.cz>
55383
55384 * debug/stack_chk_fail_local.c: Add missing licence exception.
55385 * debug/warning-nop.c: Likewise.
55386
1ac7a2c7
JM
553872010-09-15 Joseph Myers <joseph@codesourcery.com>
55388
55389 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55390 implementing getdents64 using getdents syscall, set d_type if
55391 __ASSUME_GETDENTS32_D_TYPE.
55392
56801c50
AS
553932010-09-16 Andreas Schwab <schwab@redhat.com>
55394
55395 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55396 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55397
dda51327
UD
553982010-09-21 Ulrich Drepper <drepper@redhat.com>
55399
55400 [BZ #12037]
55401 * posix/unistd.h: Undo change of feature selection for ftruncate from
55402 2010-01-11.
55403
8ffcee4a
UD
554042010-09-20 Ulrich Drepper <drepper@redhat.com>
55405
a545ecd9 55406 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55407 detection.
55408
e24f0a8b
AS
554092010-09-20 Andreas Schwab <schwab@redhat.com>
55410
55411 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55412 fanotify_mark.
55413 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55414
7291c56f
AS
554152010-09-14 Andreas Schwab <schwab@redhat.com>
55416
55417 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55418 variables after CHECK_SP call.
55419 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55420
bc5fb037
AS
554212010-09-13 Andreas Schwab <schwab@redhat.com>
55422 Ulrich Drepper <drepper@redhat.com>
55423
55424 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55425 re-relocationg ld.so.
55426 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55427 _dl_init_paths call.
55428 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55429 here anymore.
55430
e66e7419
UD
554312010-09-14 Ulrich Drepper <drepper@redhat.com>
55432
55433 * resolv/res_init.c (__res_vinit): Count the default server we added.
55434
c044aa75
CLT
554352010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55436 Ulrich Drepper <drepper@redhat.com>
55437
55438 [BZ #11968]
55439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55440 (____longjmp_chk): Use %ebx for saving value across system call.
55441 Add unwind info.
55442
32cf4069
AS
554432010-09-06 Andreas Schwab <schwab@redhat.com>
55444
55445 * manual/Makefile: Don't mix pattern rules with normal rules.
55446
817328ee
AS
554472010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55448
55449 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55450 operation.
55451 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55452 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55453 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55454 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55455 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55456 Likewise.
55457
29fddf61
UD
554582010-09-04 Ulrich Drepper <drepper@redhat.com>
55459
55460 [BZ #11979]
55461 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55462 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55463
0959ffc9
UD
554642010-09-02 Ulrich Drepper <drepper@redhat.com>
55465
55466 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55467 * sysdeps/x86_64/addmul_1.S: Likewise.
55468 * sysdeps/x86_64/lshift.S: Likewise.
55469 * sysdeps/x86_64/mul_1.S: Likewise.
55470 * sysdeps/x86_64/rshift.S: Likewise.
55471 * sysdeps/x86_64/sub_n.S: Likewise.
55472 * sysdeps/x86_64/submul_1.S: Likewise.
55473
ece29840
ST
554742010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55475
0959ffc9
UD
55476 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55477 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55478 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55479 * bits/sched.h [__need_schedparam]
ece29840 55480 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55481 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55482 (__defined_schedparam): Define to 1.
ece29840
ST
55483 (__sched_param): New structure, identical to sched_param.
55484 (__need_schedparam): Undefine.
55485
e53a31fe
MF
554862010-08-31 Mike Frysinger <vapier@gentoo.org>
55487
fdc0c10d
MF
55488 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55489 (epoll_create1): Declare.
55490
e53a31fe
MF
55491 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55492
a726d796
AS
554932010-08-31 Andreas Schwab <schwab@redhat.com>
55494
55495 [BZ #7066]
55496 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55497 shifting retval into place.
55498
2f3e3dc7
UD
554992010-09-01 Ulrich Drepper <drepper@redhat.com>
55500
f2933da9
UD
55501 * nis/rpcsvc/nis.h: Update copyright notice.
55502 * nis/rpcsvc/nis.x: Likewise.
55503 * nis/rpcsvc/nis_callback.h: Likewise.
55504 * nis/rpcsvc/nis_callback.x: Likewise.
55505 * nis/rpcsvc/nis_object.x: Likewise.
55506 * nis/rpcsvc/nis_tags.h: Likewise.
55507 * nis/rpcsvc/yp.h: Likewise.
55508 * nis/rpcsvc/yp.x: Likewise.
55509 * nis/rpcsvc/ypupd.h: Likewise.
55510 * nis/yp_xdr.c: Likewise.
55511 * nis/ypupdate_xdr.c: Likewise.
55512
2f3e3dc7
UD
55513 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55514 mainly the body of pmap_getport. Add parameters to specify timeouts.
55515 (pmap_getport): Use __libc_rpc_getport.
55516 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55517 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55518 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55519
f3dcc2f9
AS
555202010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55521
55522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55523 fanotify_mark.
55524
6d34eb5b
RM
555252010-08-27 Roland McGrath <roland@redhat.com>
55526
55527 * sysdeps/i386/i686/multiarch/Makefile
55528 (CFLAGS-varshift.c): New variable.
55529
9ea3de11
UD
555302010-08-27 Ulrich Drepper <drepper@redhat.com>
55531
c96d23fc
UD
55532 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55533 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55534
9ea3de11
UD
55535 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55536
55537 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55538
623aac7f
L
555392010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55540
55541 * sysdeps/x86_64/strlen.S: Unroll the loop.
55542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55543 strlen-sse2 strlen-sse2-bsf.
55544 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55545 __strlen_no_bsf if bit_Slow_BSF is set.
55546 (__strlen_sse42): Removed.
55547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55548 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55549
8b2b7715
RM
555502010-08-25 Roland McGrath <roland@redhat.com>
55551
55552 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55553 * sysdeps/x86_64/multiarch/varshift.c: New file.
55554 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55555 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55556 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55557 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55558
e73015f2
L
555592010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55560
55561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55562 strlen-sse2 strlen-sse2-bsf.
55563 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55564 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55565 (__strlen_sse2): Removed.
55566 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55567 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55569 bit_Slow_BSF for Atom.
55570 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55571 (index_Slow_BSF): Define.
55572 (HAS_SLOW_BSF): Define.
55573
df24a73e
UD
555742010-08-25 Ulrich Drepper <drepper@redhat.com>
55575
55576 [BZ #10851]
55577 * resolv/res_init.c (__res_vinit): When no server address at all
55578 is given default to loopback.
55579
f2ac4868
RM
555802010-08-24 Roland McGrath <roland@redhat.com>
55581
09055553
RM
55582 * configure.in: Remove config-name.h generation.
55583 * configure: Regenerated.
55584 * config-name.in: File removed.
55585 * scripts/config-uname.sh: New file.
55586 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55587 ($(objdir)config-name.h): New target.
55588
f2ac4868
RM
55589 * sunrpc/rpc_parse.h: Avoid nested comment.
55590
73f27d5e
RH
555912010-08-24 Richard Henderson <rth@redhat.com>
55592 Ulrich Drepper <drepper@redhat.com>
55593 H.J. Lu <hongjiu.lu@intel.com>
55594
55595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55597 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55598 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55599 _mm_alignr_epi8 with _mm_loadu_si128.
55600 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55601 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55602 (__m128i_shift_right): Removed.
55603 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55604 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55605 * sysdeps/x86_64/multiarch/varshift.h: New file.
55606 * sysdeps/x86_64/multiarch/varshift.S: New file.
55607
84b9230c
MF
556082010-08-21 Mike Frysinger <vapier@gentoo.org>
55609
55610 * configure.in: Move assembler checks to before sysdep dir checking.
55611
9bbd0ddc
PB
556122010-08-20 Petr Baudis <pasky@suse.cz>
55613
55614 * LICENSES: Sync the sunrpc license.
55615
9da4bb31
UD
556162010-08-19 Ulrich Drepper <drepper@redhat.com>
55617
a7ab6ec8
UD
55618 * sunrpc/auth_des.c: Update copyright notice once again.
55619 * sunrpc/auth_none.c: Likewise.
55620 * sunrpc/auth_unix.c: Likewise.
55621 * sunrpc/authdes_prot.c: Likewise.
55622 * sunrpc/authuxprot.c: Likewise.
55623 * sunrpc/bindrsvprt.c: Likewise.
55624 * sunrpc/clnt_gen.c: Likewise.
55625 * sunrpc/clnt_perr.c: Likewise.
55626 * sunrpc/clnt_raw.c: Likewise.
55627 * sunrpc/clnt_simp.c: Likewise.
55628 * sunrpc/clnt_tcp.c: Likewise.
55629 * sunrpc/clnt_udp.c: Likewise.
55630 * sunrpc/clnt_unix.c: Likewise.
55631 * sunrpc/des_crypt.c: Likewise.
55632 * sunrpc/des_soft.c: Likewise.
55633 * sunrpc/get_myaddr.c: Likewise.
55634 * sunrpc/getrpcport.c: Likewise.
55635 * sunrpc/key_call.c: Likewise.
55636 * sunrpc/key_prot.c: Likewise.
55637 * sunrpc/openchild.c: Likewise.
55638 * sunrpc/pm_getmaps.c: Likewise.
55639 * sunrpc/pm_getport.c: Likewise.
55640 * sunrpc/pmap_clnt.c: Likewise.
55641 * sunrpc/pmap_prot.c: Likewise.
55642 * sunrpc/pmap_prot2.c: Likewise.
55643 * sunrpc/pmap_rmt.c: Likewise.
55644 * sunrpc/rpc/auth.h: Likewise.
55645 * sunrpc/rpc/auth_unix.h: Likewise.
55646 * sunrpc/rpc/clnt.h: Likewise.
55647 * sunrpc/rpc/des_crypt.h: Likewise.
55648 * sunrpc/rpc/key_prot.h: Likewise.
55649 * sunrpc/rpc/netdb.h: Likewise.
55650 * sunrpc/rpc/pmap_clnt.h: Likewise.
55651 * sunrpc/rpc/pmap_prot.h: Likewise.
55652 * sunrpc/rpc/pmap_rmt.h: Likewise.
55653 * sunrpc/rpc/rpc.h: Likewise.
55654 * sunrpc/rpc/rpc_des.h: Likewise.
55655 * sunrpc/rpc/rpc_msg.h: Likewise.
55656 * sunrpc/rpc/svc.h: Likewise.
55657 * sunrpc/rpc/svc_auth.h: Likewise.
55658 * sunrpc/rpc/types.h: Likewise.
55659 * sunrpc/rpc/xdr.h: Likewise.
55660 * sunrpc/rpc_clntout.c: Likewise.
55661 * sunrpc/rpc_cmsg.c: Likewise.
55662 * sunrpc/rpc_common.c: Likewise.
55663 * sunrpc/rpc_cout.c: Likewise.
55664 * sunrpc/rpc_dtable.c: Likewise.
55665 * sunrpc/rpc_hout.c: Likewise.
55666 * sunrpc/rpc_main.c: Likewise.
55667 * sunrpc/rpc_parse.c: Likewise.
55668 * sunrpc/rpc_parse.h: Likewise.
55669 * sunrpc/rpc_prot.c: Likewise.
55670 * sunrpc/rpc_sample.c: Likewise.
55671 * sunrpc/rpc_scan.c: Likewise.
55672 * sunrpc/rpc_scan.h: Likewise.
55673 * sunrpc/rpc_svcout.c: Likewise.
55674 * sunrpc/rpc_tblout.c: Likewise.
55675 * sunrpc/rpc_util.c: Likewise.
55676 * sunrpc/rpc_util.h: Likewise.
55677 * sunrpc/rpcinfo.c: Likewise.
55678 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55679 * sunrpc/rpcsvc/key_prot.x: Likewise.
55680 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55681 * sunrpc/rpcsvc/mount.x: Likewise.
55682 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55683 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55684 * sunrpc/rpcsvc/rex.x: Likewise.
55685 * sunrpc/rpcsvc/rstat.x: Likewise.
55686 * sunrpc/rpcsvc/rusers.x: Likewise.
55687 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55688 * sunrpc/rpcsvc/spray.x: Likewise.
55689 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55690 * sunrpc/rtime.c: Likewise.
55691 * sunrpc/svc.c: Likewise.
55692 * sunrpc/svc_auth.c: Likewise.
55693 * sunrpc/svc_authux.c: Likewise.
55694 * sunrpc/svc_raw.c: Likewise.
55695 * sunrpc/svc_run.c: Likewise.
55696 * sunrpc/svc_simple.c: Likewise.
55697 * sunrpc/svc_tcp.c: Likewise.
55698 * sunrpc/svc_udp.c: Likewise.
55699 * sunrpc/svc_unix.c: Likewise.
55700 * sunrpc/svcauth_des.c: Likewise.
55701 * sunrpc/xcrypt.c: Likewise.
55702 * sunrpc/xdr.c: Likewise.
55703 * sunrpc/xdr_array.c: Likewise.
55704 * sunrpc/xdr_float.c: Likewise.
55705 * sunrpc/xdr_mem.c: Likewise.
55706 * sunrpc/xdr_rec.c: Likewise.
55707 * sunrpc/xdr_ref.c: Likewise.
55708 * sunrpc/xdr_sizeof.c: Likewise.
55709 * sunrpc/xdr_stdio.c: Likewise.
55710
9da4bb31
UD
55711 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55712 handling.
55713
bdaa77bc
AS
557142010-08-19 Andreas Schwab <schwab@redhat.com>
55715
55716 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55717
fe2f79db
LM
557182010-08-19 Luis Machado <luisgpm@br.ibm.com>
55719
55720 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55721 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55722 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55723 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55724 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55725 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55726 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55727 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55729 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55730 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55731 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55732 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55733 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55734
b9b42ee0
AB
557352010-07-26 Anton Blanchard <anton@samba.org>
55736
55737 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55738 * malloc/arena.c (heap_trim): Likewise.
55739
1c06ba31
UD
557402010-08-16 Ulrich Drepper <drepper@redhat.com>
55741
55742 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55743 here. Not...
55744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55745 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55746
f8392f40
L
557472010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55748
55749 * sysdeps/i386/elf/Makefile: New file.
55750
3162f12e
AS
557512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55752
55753 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55754 from fanotify_init.
55755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55757
28c90b2c
UD
557582010-08-15 Ulrich Drepper <drepper@redhat.com>
55759
55760 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55761 of strncasecmp_l.
1feccb6c 55762 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55763
ca6bb004
UD
557642010-08-14 Ulrich Drepper <drepper@redhat.com>
55765
e9f82e0d
UD
55766 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55767 strncase_l-nonascii.
55768 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55769 Add strncase_l-ssse3.
55770 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55771 * sysdeps/x86_64/strcmp.S: Likewise.
55772 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55773 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55774 * sysdeps/x86_64/strncase.S: New file.
55775 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55776 * sysdeps/x86_64/strncase_l.S: New file.
55777 * string/Makefile (strop-tests): Add strncasecmp.
55778 * string/test-strncasecmp.c: New file.
55779
55780 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55781 warning.
55782
ca6bb004
UD
55783 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55784 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55785
052fa7b3
AS
557862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55787
55788 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55789
962dba78
UD
557902010-08-12 Ulrich Drepper <drepper@redhat.com>
55791
55792 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55793 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55794 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55795
bebff237
AM
557962010-05-01 Alan Modra <amodra@gmail.com>
55797
55798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55799 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55800 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55801 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55802 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55803 tidying. Don't tail-call __sigjmp_save for static lib.
55804 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55805 save location.
55806 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55807 (CALL_MCOUNT): Add eh info, and nop after bl.
55808 (TAIL_CALL_SYSCALL_ERROR): New macro.
55809 (PSEUDO_RET): Use it.
55810 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55811 Correct save location of integer regs and cr.
55812 (_dl_profile_resolve): Correct cr save location. Delete nops
55813 after bl when SHARED. Reduce cfi size a little by better
55814 placement of cfi directives.
55815 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55816 make a stack frame. Instead use parm save area as a temp.
55817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55818 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55820 Don't make a stack frame for parent, use parm save area.
55821 Increase child stack frame to 112 bytes. Don't save unused reg,
55822 and adjust reg usage. Set up cfi on error recovery and
55823 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55825 (__makecontext): Add dummy nop after jump to exit.
55826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55827 Use correct parm save area and cr save, reduce stack frame.
55828 Correct cfi for possible PSEUDO_RET frame setup.
55829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55830 Branch to local label emitted by PSEUDO_RET rather than
55831 __syscall_error.
55832
02637374
AS
558332010-08-12 Andreas Schwab <schwab@redhat.com>
55834
55835 [BZ #11904]
55836 * locale/programs/locale.c (print_assignment): New function.
55837 (show_locale_vars): Use it.
55838
c3e2f19b
UD
558392010-08-11 Ulrich Drepper <drepper@redhat.com>
55840
3cdaa6ad
UD
55841 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55842 field.
55843 (struct statfs64): Likewise.
55844 (_STATFS_F_FLAGS): Define.
55845 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55846 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55847 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55848 (ST_VALID): Define locally.
55849 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55850 __statvfs_getflags, use the provided value.
55851 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55852 __ASSUME_STATFS_F_FLAGS.
55853
754f7da3
UD
55854 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55855
10b3bedc
UD
55856 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55857 Add sys/fanotify.h.
55858 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55859 fanotify_mask for GLIBC_2.13.
55860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55861 fanotify_init and fanotify_mark.
55862 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55863 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55864
c08fb0d7
UD
55865 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55866 Add prlimit.
55867 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55868 prlimit64 for GLIBC_2.13.
55869 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55870 prlimit64.
55871 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55872 syscall.
55873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55875 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55876 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55878 add prlimit alias.
55879 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55880
15bac72b
UD
55881 [BZ #11903]
55882 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55883 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55884
c3e2f19b
UD
55885 * nss/Makefile: Add rules to build and run tst-nss-test1.
55886 * shlib-versions: Add entry for libnss_test1.
55887 * nss/nss_test1.c: New file.
55888 * nss/tst-nss-test1.c: New file.
55889
55890 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55891 (__nss_configure_lookup): Set appropriate entry in
55892 __nss_configure_lookup to true.
55893 * nss/nsswitch.h: Define enum with indeces of databases in
55894 databases and __nss_database_custom arrays. Declare
55895 __nss_database_custom.
55896 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55897 to avoid using nscd when custom rules are installed.
55898 * nss/getXXbyYY_r.c: Likewise.
55899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55900
55901 * nss/nss_files/files-parse.c: Whitespace fixes.
55902
f15ce4d8
UD
559032010-08-09 Ulrich Drepper <drepper@redhat.com>
55904
55905 [BZ #11883]
55906 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55907 * posix/fnmatch_loop.c: Likewise.
55908
d22e4cc9
AK
559092010-07-17 Andi Kleen <ak@linux.intel.com>
55910
55911 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55912 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55913 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55914 * Versions.def [GLIBC_2.13]: Add.
55915
805bc17d
UD
559162010-08-06 Ulrich Drepper <drepper@redhat.com>
55917
55918 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55919 Also fail if tpwd after pwuid call is NULL.
55920
5a42321d
ST
559212010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55922
55923 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55924 when converting to ms.
55925
fd3ebeda
ST
559262010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55927
55928 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55929 EOPNOTSUPP errors with ENOTTY.
55930 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55931 EOPNOTSUPP errors with ENOTTY.
55932
73507d3a
UD
559332010-07-31 Ulrich Drepper <drepper@redhat.com>
55934
55935 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55936 Add strcasecmp_l-ssse3.
55937 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55938 strcasecmp.
55939 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55940 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55941 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55942
fe36dd02
UD
559432010-07-30 Ulrich Drepper <drepper@redhat.com>
55944
66f6765a
UD
55945 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55946
42e08a54
UD
55947 * string/Makefile (strop-tests): Add strcasecmp.
55948 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55949 strcasecmp_l-nonascii.
55950 (gen-as-const-headers): Add locale-defines.sym.
55951 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55952 * sysdeps/x86_64/strcasecmp.S: New file.
55953 * sysdeps/x86_64/strcasecmp_l.S: New file.
55954 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55955 * sysdeps/x86_64/locale-defines.sym: New file.
55956 * string/test-strcasecmp.c: New file.
55957
fe36dd02
UD
55958 * string/test-strcasestr.c: Test both ends of the range of characters.
55959 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55960
48cbc0d6
RM
559612010-07-29 Roland McGrath <roland@redhat.com>
55962
76e6d6bc 55963 [BZ #11856]
48cbc0d6
RM
55964 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55965
880113d9
UD
559662010-07-27 Ulrich Drepper <drepper@redhat.com>
55967
55968 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55969 for ld.so.
55970
deb9cabb
AS
559712010-07-27 Andreas Schwab <schwab@redhat.com>
55972
55973 * manual/memory.texi (Malloc Tunable Parameters): Document
55974 M_PERTURB.
55975
1c7570ff
RM
559762010-07-26 Roland McGrath <roland@redhat.com>
55977
55978 [BZ #11840]
55979 * configure.in (-fgnu89-inline check): Set and substitute
55980 gnu89_inline, not libc_cv_gnu89_inline.
55981 * configure: Regenerated.
55982 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55983
24fb0f88
UD
559842010-07-26 Ulrich Drepper <drepper@redhat.com>
55985
55986 * string/test-strnlen.c: New file.
55987 * string/Makefile (strop-tests): Add strnlen.
55988 * string/tester.c (test_strnlen): Add a few more test cases.
55989 * string/tst-strlen.c: Better error reporting.
55990
55991 * sysdeps/x86_64/strnlen.S: New file.
55992
8e96b93a
UD
559932010-07-24 Ulrich Drepper <drepper@redhat.com>
55994
55995 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55996 lower-latency instructions.
55997
dbc676d4
UD
559982010-07-23 Ulrich Drepper <drepper@redhat.com>
55999
56000 * string/test-strcasestr.c: New file.
56001 * string/test-strstr.c: New file.
56002 * string/Makefile (strop-tests): Add strstr and strcasestr.
56003 * string/str-two-way.h: Don't undefine MAX.
56004 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56005
f6a31e0e
AS
560062010-07-21 Andreas Schwab <schwab@redhat.com>
56007
56008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56009 strcasestr-nonascii.
56010 (CFLAGS-strcasestr-nonascii.c): Define.
56011 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56012 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56013 Remove unused attribute.
56014
5dbc3b6c
RM
560152010-07-20 Roland McGrath <roland@redhat.com>
56016
56017 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56018 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56019 ld.so.cache was broken. With it, there is no way to disable dsocaps
56020 like LD_HWCAP_MASK can disable hwcaps.
56021
23d101d8
EPM
560222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56023
56024 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56025
cc9f2e47
UD
560262010-07-16 Ulrich Drepper <drepper@redhat.com>
56027
56028 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56029 call in strcasestr.
56030 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56031 __strcasestr_sse42_nonascii.
56032 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56033 strcasestr-nonascii.c.
56034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56035
77c1b069
LM
560362010-06-15 Luis Machado <luisgpm@br.ibm.com>
56037
56038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56039 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56040 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56041 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56042
440566c3
UD
560432010-07-09 Ulrich Drepper <drepper@redhat.com>
56044
56045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56046 fcntl.
56047
5be9d05d
AS
560482010-07-06 Andreas Schwab <schwab@redhat.com>
56049
c30b7ee2 56050 [BZ #11577]
5be9d05d
AS
56051 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56052 dl_signal_cerror.
56053
8a492a67
UD
560542010-07-06 Ulrich Drepper <drepper@redhat.com>
56055
56056 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56057 _PC_PIPE_BUF using F_GETPIPE_SZ.
56058
713df3d5
RM
560592010-07-05 Roland McGrath <roland@redhat.com>
56060
56061 * manual/arith.texi (Rounding Functions): Fix rint description
56062 implicit in round description.
56063
702e8f14
UD
560642010-07-02 Ulrich Drepper <drepper@redhat.com>
56065
56066 * elf/Makefile: Fix linking for a few tests to make recent linker
56067 happy.
56068
52ed8be9
AS
560692010-06-30 Andreas Schwab <schwab@redhat.com>
56070
56071 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56072 $(common-objpfx)libc_nonshared.a.
56073
f47c9a11
LM
560742010-06-21 Luis Machado <luisgpm@br.ibm.com>
56075
56076 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56077 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56078 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56079 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56080 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56081 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56082 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56083 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56098 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56099 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56100 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56101 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56102 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56103 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56104 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56105 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56106 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56107 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56108 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56109 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56124
6fb8cbcb
L
561252010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56126
56127 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56128 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56129 * string/memmove.c (memmove): Renamed to ...
56130 (MEMMOVE): ...this. Default to memmove.
56131 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56132 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56133 (END_CHK): Define.
56134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56135 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56136 mempcpy-ssse3-back memmove-ssse3-back.
56137 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56138 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56139 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56140 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56141 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56142 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56143 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56144 * sysdeps/x86_64/multiarch/memmove.c: New file.
56145 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56146 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56147 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56148 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56149 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56151 Define.
56152 (index_Fast_Copy_Backward): Define.
56153 (HAS_ARCH_FEATURE): Define.
56154 (HAS_FAST_REP_STRING): Define.
56155 (HAS_FAST_COPY_BACKWARD): Define.
56156
4e733bac 561572010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56158
56159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56160 Restore proper fallback handling.
56161
63c4ed22
UD
561622010-06-19 Ulrich Drepper <drepper@redhat.com>
56163
ac2b484c
UD
56164 [BZ #11701]
56165 * posix/group_member.c (__group_member): Correct checking loop.
56166
63c4ed22
UD
56167 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56168 OOM in getpwuid_r correctly. Return error number when the caller
56169 should return, otherwise -1.
56170 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56171 call returning > 0 value.
56172 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56173
765ade4b
AS
561742010-06-07 Andreas Schwab <schwab@redhat.com>
56175
56176 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56177 libc_nonshared.a from targets in modules-names.
56178
80da2e09
KS
561792010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56180
56181 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56182 requires it.
56183
158db122
LM
561842010-06-10 Luis Machado <luisgpm@br.ibm.com>
56185
56186 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56190
caa78cf8
AS
561912010-06-02 Andreas Schwab <schwab@redhat.com>
56192
56193 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56194
b2ef2c01
UD
561952010-06-14 Ulrich Drepper <drepper@redhat.com>
56196
56197 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56198 and F_GETPIPE_SZ.
56199 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56203 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56204 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56205
fbd643b6
RM
562062010-06-14 Roland McGrath <roland@redhat.com>
56207
56208 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56209
f32f2869
JJ
562102010-06-07 Jakub Jelinek <jakub@redhat.com>
56211
56212 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56213 __REDIRECT followed by __THROW.
56214 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56215 * posix/getopt.h (getopt): Likewise.
56216
2a50c078
EPM
562172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56218
56219 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56220 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56221 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56222 in AT_FLAGS.
56223 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56224 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56225
eb5ad2eb
LM
562262010-05-28 Luis Machado <luisgpm@br.ibm.com>
56227
56228 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56229
3c88fe1e
L
562302010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56231
56232 [BZ #11640]
56233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56234 Properly check family and model.
56235
d2f73151
TY
562362010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56237
56238 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56239
ebd2e13d
LM
562402010-05-24 Luis Machado <luisgpm@br.ibm.com>
56241
56242 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56243
b32b8b45
UD
562442010-05-21 Ulrich Drepper <drepper@redhat.com>
56245
56246 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56247 symbol reference.
56248
9acbe24d
AS
562492010-05-19 Andreas Schwab <schwab@redhat.com>
56250
56251 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56252 symbol reference.
56253
f0ccf6ea
AS
562542010-05-21 Andreas Schwab <schwab@redhat.com>
56255
3d04ff3a
AS
56256 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56257 and internal_recvmmsg.
56258 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56259 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56260 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56261 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56262
f0ccf6ea
AS
56263 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56264 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56265 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56266
5b08ac57
AS
562672010-05-20 Andreas Schwab <schwab@redhat.com>
56268
56269 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56270
4828935d
LM
562712010-05-17 Luis Machado <luisgpm@br.ibm.com>
56272
56273 POWER7 optimizations.
56274 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56275 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56276
373d545e
UD
562772010-05-19 Ulrich Drepper <drepper@redhat.com>
56278
56279 * version.h: Update for 2.13 development version.
56280
21a2b1ae
AS
562812010-05-12 Andrew Stubbs <ams@codesourcery.com>
56282
56283 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56284 exceptions. Return 0.
56285
3f7dcb2b
RM
562862010-05-07 Roland McGrath <roland@redhat.com>
56287
56288 * elf/ldconfig.c (main): Add a const.
56289
5f24d53a 562902010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56291
a160f8d8
UD
56292 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56293 (args_options): Add no-idn option.
56294 (ahosts_keys_int): Add idn_flags to ai_flags.
56295 (parse_option): Handle 'i' option to clear idn_flags.
56296
5f24d53a
UD
56297 * malloc/malloc.c (_int_free): Possible race in the most recently
56298 added check. Only act on the data if no current modification
56299 happened.
265bb1ce
UD
56300
56301See ChangeLog.17 for earlier changes.
This page took 8.439794 seconds and 5 git commands to generate.